Lines Matching refs:qed_hwfn

53 bool qed_mcp_is_init(struct qed_hwfn *p_hwfn)  in qed_mcp_is_init()
60 void qed_mcp_cmd_port_init(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_cmd_port_init()
73 void qed_mcp_read_mb(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_read_mb()
101 qed_mcp_cmd_add_elem(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_add_elem()
119 static void qed_mcp_cmd_del_elem(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_del_elem()
127 static struct qed_mcp_cmd_elem *qed_mcp_cmd_get_elem(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_get_elem()
140 int qed_mcp_free(struct qed_hwfn *p_hwfn) in qed_mcp_free()
167 static int qed_load_mcp_offsets(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_load_mcp_offsets()
238 int qed_mcp_cmd_init(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_cmd_init()
276 static void qed_mcp_reread_offsets(struct qed_hwfn *p_hwfn, in qed_mcp_reread_offsets()
295 int qed_mcp_reset(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_reset()
339 static bool qed_mcp_has_pending_cmd(struct qed_hwfn *p_hwfn) in qed_mcp_has_pending_cmd()
357 qed_mcp_update_pending_cmd(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_update_pending_cmd()
402 static void __qed_mcp_cmd_and_union(struct qed_hwfn *p_hwfn, in __qed_mcp_cmd_and_union()
431 static void qed_mcp_cmd_set_blocking(struct qed_hwfn *p_hwfn, bool block_cmd) in qed_mcp_cmd_set_blocking()
439 static void qed_mcp_print_cpu_info(struct qed_hwfn *p_hwfn, in qed_mcp_print_cpu_info()
459 _qed_mcp_cmd_and_union(struct qed_hwfn *p_hwfn, in _qed_mcp_cmd_and_union()
578 static int qed_mcp_cmd_and_union(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_and_union()
617 int qed_mcp_cmd(struct qed_hwfn *p_hwfn, in qed_mcp_cmd()
642 qed_mcp_nvm_wr_cmd(struct qed_hwfn *p_hwfn, in qed_mcp_nvm_wr_cmd()
670 int qed_mcp_nvm_rd_cmd(struct qed_hwfn *p_hwfn, in qed_mcp_nvm_rd_cmd()
730 static int qed_mcp_cancel_load_req(struct qed_hwfn *p_hwfn, in qed_mcp_cancel_load_req()
801 __qed_mcp_load_req(struct qed_hwfn *p_hwfn, in __qed_mcp_load_req()
897 static int eocre_get_mfw_drv_role(struct qed_hwfn *p_hwfn, in eocre_get_mfw_drv_role()
922 static void qed_get_mfw_force_cmd(struct qed_hwfn *p_hwfn, in qed_get_mfw_force_cmd()
939 int qed_mcp_load_req(struct qed_hwfn *p_hwfn, in qed_mcp_load_req()
1053 int qed_mcp_load_done(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_load_done()
1074 int qed_mcp_unload_req(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_unload_req()
1103 int qed_mcp_unload_done(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_unload_done()
1132 static void qed_mcp_handle_vf_flr(struct qed_hwfn *p_hwfn, in qed_mcp_handle_vf_flr()
1163 int qed_mcp_ack_vf_flr(struct qed_hwfn *p_hwfn, in qed_mcp_ack_vf_flr()
1200 static void qed_mcp_handle_transceiver_change(struct qed_hwfn *p_hwfn, in qed_mcp_handle_transceiver_change()
1226 static void qed_mcp_read_eee_config(struct qed_hwfn *p_hwfn, in qed_mcp_read_eee_config()
1251 static u32 qed_mcp_get_shmem_func(struct qed_hwfn *p_hwfn, in qed_mcp_get_shmem_func()
1271 static void qed_read_pf_bandwidth(struct qed_hwfn *p_hwfn, in qed_read_pf_bandwidth()
1297 static void qed_mcp_handle_link_change(struct qed_hwfn *p_hwfn, in qed_mcp_handle_link_change()
1475 int qed_mcp_set_link(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, bool b_up) in qed_mcp_set_link()
1620 u32 qed_get_process_kill_counter(struct qed_hwfn *p_hwfn, in qed_get_process_kill_counter()
1641 static void qed_mcp_handle_process_kill(struct qed_hwfn *p_hwfn, in qed_mcp_handle_process_kill()
1674 static void qed_mcp_send_protocol_stats(struct qed_hwfn *p_hwfn, in qed_mcp_send_protocol_stats()
1715 static void qed_mcp_update_bw(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_update_bw()
1735 static void qed_mcp_update_stag(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_update_stag()
1773 static void qed_mcp_handle_fan_failure(struct qed_hwfn *p_hwfn, in qed_mcp_handle_fan_failure()
1794 qed_mcp_mdump_cmd(struct qed_hwfn *p_hwfn, in qed_mcp_mdump_cmd()
1828 static int qed_mcp_mdump_ack(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_mdump_ack()
1839 qed_mcp_mdump_get_retain(struct qed_hwfn *p_hwfn, in qed_mcp_mdump_get_retain()
1865 static void qed_mcp_handle_critical_error(struct qed_hwfn *p_hwfn, in qed_mcp_handle_critical_error()
1894 void qed_mcp_read_ufp_config(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_read_ufp_config()
1948 qed_mcp_handle_ufp_event(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_handle_ufp_event()
1976 int qed_mcp_handle_events(struct qed_hwfn *p_hwfn, in qed_mcp_handle_events()
2079 int qed_mcp_get_mfw_ver(struct qed_hwfn *p_hwfn, in qed_mcp_get_mfw_ver()
2119 int qed_mcp_get_mbi_ver(struct qed_hwfn *p_hwfn, in qed_mcp_get_mbi_ver()
2149 int qed_mcp_get_media_type(struct qed_hwfn *p_hwfn, in qed_mcp_get_media_type()
2175 int qed_mcp_get_transceiver_data(struct qed_hwfn *p_hwfn, in qed_mcp_get_transceiver_data()
2223 int qed_mcp_trans_speed_mask(struct qed_hwfn *p_hwfn, in qed_mcp_trans_speed_mask()
2337 int qed_mcp_get_board_config(struct qed_hwfn *p_hwfn, in qed_mcp_get_board_config()
2368 qed_mcp_get_shmem_proto_legacy(struct qed_hwfn *p_hwfn, in qed_mcp_get_shmem_proto_legacy()
2385 qed_mcp_get_shmem_proto_mfw(struct qed_hwfn *p_hwfn, in qed_mcp_get_shmem_proto_mfw()
2431 qed_mcp_get_shmem_proto(struct qed_hwfn *p_hwfn, in qed_mcp_get_shmem_proto()
2461 int qed_mcp_fill_shmem_func_info(struct qed_hwfn *p_hwfn, in qed_mcp_fill_shmem_func_info()
2531 *qed_mcp_get_link_params(struct qed_hwfn *p_hwfn) in qed_mcp_get_link_params()
2539 *qed_mcp_get_link_state(struct qed_hwfn *p_hwfn) in qed_mcp_get_link_state()
2547 *qed_mcp_get_link_capabilities(struct qed_hwfn *p_hwfn) in qed_mcp_get_link_capabilities()
2554 int qed_mcp_drain(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_drain()
2568 int qed_mcp_get_flash_size(struct qed_hwfn *p_hwfn, in qed_mcp_get_flash_size()
2586 int qed_start_recovery_process(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_start_recovery_process()
2606 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); in qed_recovery_prolog()
2624 qed_mcp_config_vf_msix_bb(struct qed_hwfn *p_hwfn, in qed_mcp_config_vf_msix_bb()
2656 qed_mcp_config_vf_msix_ah(struct qed_hwfn *p_hwfn, in qed_mcp_config_vf_msix_ah()
2676 int qed_mcp_config_vf_msix(struct qed_hwfn *p_hwfn, in qed_mcp_config_vf_msix()
2686 qed_mcp_send_drv_version(struct qed_hwfn *p_hwfn, in qed_mcp_send_drv_version()
2718 int qed_mcp_halt(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_halt()
2751 int qed_mcp_resume(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_resume()
2775 int qed_mcp_ov_update_current_config(struct qed_hwfn *p_hwfn, in qed_mcp_ov_update_current_config()
2806 int qed_mcp_ov_update_driver_state(struct qed_hwfn *p_hwfn, in qed_mcp_ov_update_driver_state()
2837 int qed_mcp_ov_update_mtu(struct qed_hwfn *p_hwfn, in qed_mcp_ov_update_mtu()
2853 int qed_mcp_ov_update_mac(struct qed_hwfn *p_hwfn, in qed_mcp_ov_update_mac()
2886 int qed_mcp_ov_update_wol(struct qed_hwfn *p_hwfn, in qed_mcp_ov_update_wol()
2925 int qed_mcp_ov_update_eswitch(struct qed_hwfn *p_hwfn, in qed_mcp_ov_update_eswitch()
2956 int qed_mcp_set_led(struct qed_hwfn *p_hwfn, in qed_mcp_set_led()
2983 int qed_mcp_mask_parities(struct qed_hwfn *p_hwfn, in qed_mcp_mask_parities()
3007 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); in qed_mcp_nvm_read()
3052 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); in qed_mcp_nvm_resp()
3069 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); in qed_mcp_nvm_write()
3149 int qed_mcp_phy_sfp_read(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, in qed_mcp_phy_sfp_read()
3198 int qed_mcp_bist_register_test(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_bist_register_test()
3219 int qed_mcp_bist_clock_test(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_bist_clock_test()
3240 int qed_mcp_bist_nvm_get_num_images(struct qed_hwfn *p_hwfn, in qed_mcp_bist_nvm_get_num_images()
3261 int qed_mcp_bist_nvm_get_image_att(struct qed_hwfn *p_hwfn, in qed_mcp_bist_nvm_get_image_att()
3288 int qed_mcp_nvm_info_populate(struct qed_hwfn *p_hwfn) in qed_mcp_nvm_info_populate()
3356 void qed_mcp_nvm_info_free(struct qed_hwfn *p_hwfn) in qed_mcp_nvm_info_free()
3364 qed_mcp_get_nvm_image_att(struct qed_hwfn *p_hwfn, in qed_mcp_get_nvm_image_att()
3418 int qed_mcp_get_nvm_image(struct qed_hwfn *p_hwfn, in qed_mcp_get_nvm_image()
3531 qed_mcp_resc_allocation_msg(struct qed_hwfn *p_hwfn, in qed_mcp_resc_allocation_msg()
3611 qed_mcp_set_resc_max_val(struct qed_hwfn *p_hwfn, in qed_mcp_set_resc_max_val()
3636 qed_mcp_get_resc_info(struct qed_hwfn *p_hwfn, in qed_mcp_get_resc_info()
3664 int qed_mcp_initiate_pf_flr(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_initiate_pf_flr()
3672 static int qed_mcp_resource_cmd(struct qed_hwfn *p_hwfn, in qed_mcp_resource_cmd()
3702 __qed_mcp_resc_lock(struct qed_hwfn *p_hwfn, in __qed_mcp_resc_lock()
3765 qed_mcp_resc_lock(struct qed_hwfn *p_hwfn, in qed_mcp_resc_lock()
3797 qed_mcp_resc_unlock(struct qed_hwfn *p_hwfn, in qed_mcp_resc_unlock()
3878 bool qed_mcp_is_smart_an_supported(struct qed_hwfn *p_hwfn) in qed_mcp_is_smart_an_supported()
3884 int qed_mcp_get_capabilities(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_get_capabilities()
3899 int qed_mcp_set_capabilities(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_set_capabilities()
3911 int qed_mcp_get_engine_config(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_get_engine_config()
3950 int qed_mcp_get_ppfid_bitmap(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_get_ppfid_bitmap()
3976 int qed_mcp_nvm_get_cfg(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, in qed_mcp_nvm_get_cfg()
4006 int qed_mcp_nvm_set_cfg(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, in qed_mcp_nvm_set_cfg()
4044 __qed_mcp_send_debug_data(struct qed_hwfn *p_hwfn, in __qed_mcp_send_debug_data()
4101 qed_mcp_send_debug_data(struct qed_hwfn *p_hwfn, in qed_mcp_send_debug_data()
4155 qed_mcp_send_raw_debug_data(struct qed_hwfn *p_hwfn, in qed_mcp_send_raw_debug_data()