Lines Matching refs:p_hwfn
275 struct qed_mcp_link_params *qed_mcp_get_link_params(struct qed_hwfn *p_hwfn);
284 struct qed_mcp_link_state *qed_mcp_get_link_state(struct qed_hwfn *p_hwfn);
295 *qed_mcp_get_link_capabilities(struct qed_hwfn *p_hwfn);
307 int qed_mcp_set_link(struct qed_hwfn *p_hwfn,
321 int qed_mcp_get_mfw_ver(struct qed_hwfn *p_hwfn,
334 int qed_mcp_get_mbi_ver(struct qed_hwfn *p_hwfn,
347 int qed_mcp_get_media_type(struct qed_hwfn *p_hwfn,
361 int qed_mcp_get_transceiver_data(struct qed_hwfn *p_hwfn,
377 int qed_mcp_trans_speed_mask(struct qed_hwfn *p_hwfn,
390 int qed_mcp_get_board_config(struct qed_hwfn *p_hwfn,
410 int qed_mcp_cmd(struct qed_hwfn *p_hwfn,
427 int qed_mcp_drain(struct qed_hwfn *p_hwfn,
439 int qed_mcp_get_flash_size(struct qed_hwfn *p_hwfn,
453 qed_mcp_send_drv_version(struct qed_hwfn *p_hwfn,
465 u32 qed_get_process_kill_counter(struct qed_hwfn *p_hwfn,
476 int qed_start_recovery_process(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
500 int qed_mcp_ov_update_current_config(struct qed_hwfn *p_hwfn,
513 int qed_mcp_ov_update_driver_state(struct qed_hwfn *p_hwfn,
526 int qed_mcp_ov_update_mtu(struct qed_hwfn *p_hwfn,
538 int qed_mcp_ov_update_mac(struct qed_hwfn *p_hwfn,
550 int qed_mcp_ov_update_wol(struct qed_hwfn *p_hwfn,
563 int qed_mcp_set_led(struct qed_hwfn *p_hwfn,
618 qed_mcp_get_nvm_image_att(struct qed_hwfn *p_hwfn,
632 int qed_mcp_get_nvm_image(struct qed_hwfn *p_hwfn,
644 int qed_mcp_bist_register_test(struct qed_hwfn *p_hwfn,
655 int qed_mcp_bist_clock_test(struct qed_hwfn *p_hwfn,
668 int qed_mcp_bist_nvm_get_num_images(struct qed_hwfn *p_hwfn,
683 int qed_mcp_bist_nvm_get_image_att(struct qed_hwfn *p_hwfn,
698 int qed_mfw_process_tlv_req(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
711 qed_mcp_send_raw_debug_data(struct qed_hwfn *p_hwfn,
720 #define MCP_PF_ID_BY_REL(p_hwfn, rel_pfid) (QED_IS_BB((p_hwfn)->cdev) ? \ argument
722 ((p_hwfn)->abs_pf_id & 1) << 3) : \
724 #define MCP_PF_ID(p_hwfn) MCP_PF_ID_BY_REL(p_hwfn, (p_hwfn)->rel_pf_id) argument
798 qed_mcp_is_ext_speed_supported(const struct qed_hwfn *p_hwfn) in qed_mcp_is_ext_speed_supported() argument
800 return !!(p_hwfn->mcp_info->capabilities & in qed_mcp_is_ext_speed_supported()
812 int qed_mcp_cmd_init(struct qed_hwfn *p_hwfn,
825 void qed_mcp_cmd_port_init(struct qed_hwfn *p_hwfn,
835 int qed_mcp_free(struct qed_hwfn *p_hwfn);
849 int qed_mcp_handle_events(struct qed_hwfn *p_hwfn,
879 int qed_mcp_load_req(struct qed_hwfn *p_hwfn,
891 int qed_mcp_load_done(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
901 int qed_mcp_unload_req(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
911 int qed_mcp_unload_done(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
921 void qed_mcp_read_mb(struct qed_hwfn *p_hwfn,
933 int qed_mcp_ack_vf_flr(struct qed_hwfn *p_hwfn,
945 int qed_mcp_fill_shmem_func_info(struct qed_hwfn *p_hwfn,
956 int qed_mcp_reset(struct qed_hwfn *p_hwfn,
976 int qed_mcp_nvm_rd_cmd(struct qed_hwfn *p_hwfn,
997 int qed_mcp_phy_sfp_read(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt,
1008 bool qed_mcp_is_init(struct qed_hwfn *p_hwfn);
1020 int qed_mcp_config_vf_msix(struct qed_hwfn *p_hwfn,
1031 int qed_mcp_halt(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
1041 int qed_mcp_resume(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
1045 int __qed_configure_pf_max_bandwidth(struct qed_hwfn *p_hwfn,
1049 int __qed_configure_pf_min_bandwidth(struct qed_hwfn *p_hwfn,
1054 int qed_mcp_mask_parities(struct qed_hwfn *p_hwfn,
1066 qed_mcp_mdump_get_retain(struct qed_hwfn *p_hwfn,
1082 qed_mcp_set_resc_max_val(struct qed_hwfn *p_hwfn,
1101 qed_mcp_get_resc_info(struct qed_hwfn *p_hwfn,
1115 int qed_mcp_ov_update_eswitch(struct qed_hwfn *p_hwfn,
1140 int qed_mcp_initiate_pf_flr(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
1180 qed_mcp_resc_lock(struct qed_hwfn *p_hwfn,
1204 qed_mcp_resc_unlock(struct qed_hwfn *p_hwfn,
1232 bool qed_mcp_is_smart_an_supported(struct qed_hwfn *p_hwfn);
1243 int qed_mcp_get_capabilities(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
1255 int qed_mcp_set_capabilities(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
1265 void qed_mcp_read_ufp_config(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
1275 int qed_mcp_nvm_info_populate(struct qed_hwfn *p_hwfn);
1285 void qed_mcp_nvm_info_free(struct qed_hwfn *p_hwfn);
1295 int qed_mcp_get_engine_config(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
1305 int qed_mcp_get_ppfid_bitmap(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
1320 int qed_mcp_nvm_get_cfg(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt,
1337 int qed_mcp_nvm_set_cfg(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt,