Lines Matching refs:p_hwfn

277 struct qed_mcp_link_params *qed_mcp_get_link_params(struct qed_hwfn *p_hwfn);
286 struct qed_mcp_link_state *qed_mcp_get_link_state(struct qed_hwfn *p_hwfn);
297 *qed_mcp_get_link_capabilities(struct qed_hwfn *p_hwfn);
309 int qed_mcp_set_link(struct qed_hwfn *p_hwfn,
323 int qed_mcp_get_mfw_ver(struct qed_hwfn *p_hwfn,
336 int qed_mcp_get_mbi_ver(struct qed_hwfn *p_hwfn,
349 int qed_mcp_get_media_type(struct qed_hwfn *p_hwfn,
363 int qed_mcp_get_transceiver_data(struct qed_hwfn *p_hwfn,
379 int qed_mcp_trans_speed_mask(struct qed_hwfn *p_hwfn,
392 int qed_mcp_get_board_config(struct qed_hwfn *p_hwfn,
413 int qed_mcp_cmd(struct qed_hwfn *p_hwfn,
438 int qed_mcp_cmd_nosleep(struct qed_hwfn *p_hwfn,
455 int qed_mcp_drain(struct qed_hwfn *p_hwfn,
467 int qed_mcp_get_flash_size(struct qed_hwfn *p_hwfn,
481 qed_mcp_send_drv_version(struct qed_hwfn *p_hwfn,
493 u32 qed_get_process_kill_counter(struct qed_hwfn *p_hwfn,
504 int qed_start_recovery_process(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
528 int qed_mcp_ov_update_current_config(struct qed_hwfn *p_hwfn,
541 int qed_mcp_ov_update_driver_state(struct qed_hwfn *p_hwfn,
554 int qed_mcp_ov_update_mtu(struct qed_hwfn *p_hwfn,
566 int qed_mcp_ov_update_mac(struct qed_hwfn *p_hwfn,
578 int qed_mcp_ov_update_wol(struct qed_hwfn *p_hwfn,
591 int qed_mcp_set_led(struct qed_hwfn *p_hwfn,
646 qed_mcp_get_nvm_image_att(struct qed_hwfn *p_hwfn,
660 int qed_mcp_get_nvm_image(struct qed_hwfn *p_hwfn,
672 int qed_mcp_bist_register_test(struct qed_hwfn *p_hwfn,
683 int qed_mcp_bist_clock_test(struct qed_hwfn *p_hwfn,
696 int qed_mcp_bist_nvm_get_num_images(struct qed_hwfn *p_hwfn,
711 int qed_mcp_bist_nvm_get_image_att(struct qed_hwfn *p_hwfn,
726 int qed_mfw_process_tlv_req(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
739 qed_mcp_send_raw_debug_data(struct qed_hwfn *p_hwfn,
748 #define MCP_PF_ID_BY_REL(p_hwfn, rel_pfid) (QED_IS_BB((p_hwfn)->cdev) ? \ argument
750 ((p_hwfn)->abs_pf_id & 1) << 3) : \
752 #define MCP_PF_ID(p_hwfn) MCP_PF_ID_BY_REL(p_hwfn, (p_hwfn)->rel_pf_id) argument
834 qed_mcp_is_ext_speed_supported(const struct qed_hwfn *p_hwfn) in qed_mcp_is_ext_speed_supported() argument
836 return !!(p_hwfn->mcp_info->capabilities & in qed_mcp_is_ext_speed_supported()
848 int qed_mcp_cmd_init(struct qed_hwfn *p_hwfn,
861 void qed_mcp_cmd_port_init(struct qed_hwfn *p_hwfn,
871 int qed_mcp_free(struct qed_hwfn *p_hwfn);
885 int qed_mcp_handle_events(struct qed_hwfn *p_hwfn,
915 int qed_mcp_load_req(struct qed_hwfn *p_hwfn,
927 int qed_mcp_load_done(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
937 int qed_mcp_unload_req(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
947 int qed_mcp_unload_done(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
957 void qed_mcp_read_mb(struct qed_hwfn *p_hwfn,
969 int qed_mcp_ack_vf_flr(struct qed_hwfn *p_hwfn,
981 int qed_mcp_fill_shmem_func_info(struct qed_hwfn *p_hwfn,
992 int qed_mcp_reset(struct qed_hwfn *p_hwfn,
1012 int qed_mcp_nvm_rd_cmd(struct qed_hwfn *p_hwfn,
1033 int qed_mcp_phy_sfp_read(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt,
1044 bool qed_mcp_is_init(struct qed_hwfn *p_hwfn);
1056 int qed_mcp_config_vf_msix(struct qed_hwfn *p_hwfn,
1067 int qed_mcp_halt(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
1077 int qed_mcp_resume(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
1081 int __qed_configure_pf_max_bandwidth(struct qed_hwfn *p_hwfn,
1085 int __qed_configure_pf_min_bandwidth(struct qed_hwfn *p_hwfn,
1090 int qed_mcp_mask_parities(struct qed_hwfn *p_hwfn,
1102 qed_mcp_mdump_get_retain(struct qed_hwfn *p_hwfn,
1118 qed_mcp_set_resc_max_val(struct qed_hwfn *p_hwfn,
1137 qed_mcp_get_resc_info(struct qed_hwfn *p_hwfn,
1151 int qed_mcp_ov_update_eswitch(struct qed_hwfn *p_hwfn,
1176 int qed_mcp_initiate_pf_flr(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
1216 qed_mcp_resc_lock(struct qed_hwfn *p_hwfn,
1240 qed_mcp_resc_unlock(struct qed_hwfn *p_hwfn,
1268 bool qed_mcp_is_smart_an_supported(struct qed_hwfn *p_hwfn);
1279 int qed_mcp_get_capabilities(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
1291 int qed_mcp_set_capabilities(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
1301 void qed_mcp_read_ufp_config(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
1311 int qed_mcp_nvm_info_populate(struct qed_hwfn *p_hwfn);
1321 void qed_mcp_nvm_info_free(struct qed_hwfn *p_hwfn);
1331 int qed_mcp_get_engine_config(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
1341 int qed_mcp_get_ppfid_bitmap(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
1356 int qed_mcp_nvm_get_cfg(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt,
1373 int qed_mcp_nvm_set_cfg(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt,
1384 bool qed_mcp_is_esl_supported(struct qed_hwfn *p_hwfn);
1395 int qed_mcp_get_esl_status(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, bool *active);