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()
277 static void qed_mcp_reread_offsets(struct qed_hwfn *p_hwfn, in qed_mcp_reread_offsets()
296 int qed_mcp_reset(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_reset()
340 static bool qed_mcp_has_pending_cmd(struct qed_hwfn *p_hwfn) in qed_mcp_has_pending_cmd()
358 qed_mcp_update_pending_cmd(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_update_pending_cmd()
403 static void __qed_mcp_cmd_and_union(struct qed_hwfn *p_hwfn, in __qed_mcp_cmd_and_union()
432 static void qed_mcp_cmd_set_blocking(struct qed_hwfn *p_hwfn, bool block_cmd) in qed_mcp_cmd_set_blocking()
440 static void qed_mcp_print_cpu_info(struct qed_hwfn *p_hwfn, in qed_mcp_print_cpu_info()
460 _qed_mcp_cmd_and_union(struct qed_hwfn *p_hwfn, in _qed_mcp_cmd_and_union()
579 static int qed_mcp_cmd_and_union(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_and_union()
618 static int _qed_mcp_cmd(struct qed_hwfn *p_hwfn, in _qed_mcp_cmd()
644 int qed_mcp_cmd(struct qed_hwfn *p_hwfn, in qed_mcp_cmd()
655 int qed_mcp_cmd_nosleep(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_nosleep()
667 qed_mcp_nvm_wr_cmd(struct qed_hwfn *p_hwfn, in qed_mcp_nvm_wr_cmd()
695 int qed_mcp_nvm_rd_cmd(struct qed_hwfn *p_hwfn, in qed_mcp_nvm_rd_cmd()
755 static int qed_mcp_cancel_load_req(struct qed_hwfn *p_hwfn, in qed_mcp_cancel_load_req()
826 __qed_mcp_load_req(struct qed_hwfn *p_hwfn, in __qed_mcp_load_req()
922 static int eocre_get_mfw_drv_role(struct qed_hwfn *p_hwfn, in eocre_get_mfw_drv_role()
947 static void qed_get_mfw_force_cmd(struct qed_hwfn *p_hwfn, in qed_get_mfw_force_cmd()
964 int qed_mcp_load_req(struct qed_hwfn *p_hwfn, in qed_mcp_load_req()
1078 int qed_mcp_load_done(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_load_done()
1102 int qed_mcp_unload_req(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_unload_req()
1149 int qed_mcp_unload_done(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_unload_done()
1178 static void qed_mcp_handle_vf_flr(struct qed_hwfn *p_hwfn, in qed_mcp_handle_vf_flr()
1209 int qed_mcp_ack_vf_flr(struct qed_hwfn *p_hwfn, in qed_mcp_ack_vf_flr()
1246 static void qed_mcp_handle_transceiver_change(struct qed_hwfn *p_hwfn, in qed_mcp_handle_transceiver_change()
1272 static void qed_mcp_read_eee_config(struct qed_hwfn *p_hwfn, in qed_mcp_read_eee_config()
1297 static u32 qed_mcp_get_shmem_func(struct qed_hwfn *p_hwfn, in qed_mcp_get_shmem_func()
1317 static void qed_read_pf_bandwidth(struct qed_hwfn *p_hwfn, in qed_read_pf_bandwidth()
1343 static void qed_mcp_handle_link_change(struct qed_hwfn *p_hwfn, in qed_mcp_handle_link_change()
1521 int qed_mcp_set_link(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, bool b_up) in qed_mcp_set_link()
1666 u32 qed_get_process_kill_counter(struct qed_hwfn *p_hwfn, in qed_get_process_kill_counter()
1687 static void qed_mcp_handle_process_kill(struct qed_hwfn *p_hwfn, in qed_mcp_handle_process_kill()
1720 static void qed_mcp_send_protocol_stats(struct qed_hwfn *p_hwfn, in qed_mcp_send_protocol_stats()
1761 static void qed_mcp_update_bw(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_update_bw()
1781 static void qed_mcp_update_stag(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_update_stag()
1819 static void qed_mcp_handle_fan_failure(struct qed_hwfn *p_hwfn, in qed_mcp_handle_fan_failure()
1840 qed_mcp_mdump_cmd(struct qed_hwfn *p_hwfn, in qed_mcp_mdump_cmd()
1874 static int qed_mcp_mdump_ack(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_mdump_ack()
1885 qed_mcp_mdump_get_retain(struct qed_hwfn *p_hwfn, in qed_mcp_mdump_get_retain()
1911 static void qed_mcp_handle_critical_error(struct qed_hwfn *p_hwfn, in qed_mcp_handle_critical_error()
1940 void qed_mcp_read_ufp_config(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_read_ufp_config()
1994 qed_mcp_handle_ufp_event(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_handle_ufp_event()
2022 int qed_mcp_handle_events(struct qed_hwfn *p_hwfn, in qed_mcp_handle_events()
2141 int qed_mcp_get_mfw_ver(struct qed_hwfn *p_hwfn, in qed_mcp_get_mfw_ver()
2181 int qed_mcp_get_mbi_ver(struct qed_hwfn *p_hwfn, in qed_mcp_get_mbi_ver()
2211 int qed_mcp_get_media_type(struct qed_hwfn *p_hwfn, in qed_mcp_get_media_type()
2237 int qed_mcp_get_transceiver_data(struct qed_hwfn *p_hwfn, in qed_mcp_get_transceiver_data()
2285 int qed_mcp_trans_speed_mask(struct qed_hwfn *p_hwfn, in qed_mcp_trans_speed_mask()
2399 int qed_mcp_get_board_config(struct qed_hwfn *p_hwfn, in qed_mcp_get_board_config()
2430 qed_mcp_get_shmem_proto_legacy(struct qed_hwfn *p_hwfn, in qed_mcp_get_shmem_proto_legacy()
2447 qed_mcp_get_shmem_proto_mfw(struct qed_hwfn *p_hwfn, in qed_mcp_get_shmem_proto_mfw()
2493 qed_mcp_get_shmem_proto(struct qed_hwfn *p_hwfn, in qed_mcp_get_shmem_proto()
2523 int qed_mcp_fill_shmem_func_info(struct qed_hwfn *p_hwfn, in qed_mcp_fill_shmem_func_info()
2593 *qed_mcp_get_link_params(struct qed_hwfn *p_hwfn) in qed_mcp_get_link_params()
2601 *qed_mcp_get_link_state(struct qed_hwfn *p_hwfn) in qed_mcp_get_link_state()
2609 *qed_mcp_get_link_capabilities(struct qed_hwfn *p_hwfn) in qed_mcp_get_link_capabilities()
2616 int qed_mcp_drain(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_drain()
2630 int qed_mcp_get_flash_size(struct qed_hwfn *p_hwfn, in qed_mcp_get_flash_size()
2648 int qed_start_recovery_process(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_start_recovery_process()
2668 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); in qed_recovery_prolog()
2686 qed_mcp_config_vf_msix_bb(struct qed_hwfn *p_hwfn, in qed_mcp_config_vf_msix_bb()
2718 qed_mcp_config_vf_msix_ah(struct qed_hwfn *p_hwfn, in qed_mcp_config_vf_msix_ah()
2738 int qed_mcp_config_vf_msix(struct qed_hwfn *p_hwfn, in qed_mcp_config_vf_msix()
2748 qed_mcp_send_drv_version(struct qed_hwfn *p_hwfn, in qed_mcp_send_drv_version()
2780 int qed_mcp_halt(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_halt()
2813 int qed_mcp_resume(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_resume()
2837 int qed_mcp_ov_update_current_config(struct qed_hwfn *p_hwfn, in qed_mcp_ov_update_current_config()
2868 int qed_mcp_ov_update_driver_state(struct qed_hwfn *p_hwfn, in qed_mcp_ov_update_driver_state()
2899 int qed_mcp_ov_update_mtu(struct qed_hwfn *p_hwfn, in qed_mcp_ov_update_mtu()
2915 int qed_mcp_ov_update_mac(struct qed_hwfn *p_hwfn, in qed_mcp_ov_update_mac()
2948 int qed_mcp_ov_update_wol(struct qed_hwfn *p_hwfn, in qed_mcp_ov_update_wol()
2987 int qed_mcp_ov_update_eswitch(struct qed_hwfn *p_hwfn, in qed_mcp_ov_update_eswitch()
3018 int qed_mcp_set_led(struct qed_hwfn *p_hwfn, in qed_mcp_set_led()
3045 int qed_mcp_mask_parities(struct qed_hwfn *p_hwfn, in qed_mcp_mask_parities()
3069 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); in qed_mcp_nvm_read()
3114 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); in qed_mcp_nvm_resp()
3131 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); in qed_mcp_nvm_write()
3211 int qed_mcp_phy_sfp_read(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, in qed_mcp_phy_sfp_read()
3260 int qed_mcp_bist_register_test(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_bist_register_test()
3281 int qed_mcp_bist_clock_test(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_bist_clock_test()
3302 int qed_mcp_bist_nvm_get_num_images(struct qed_hwfn *p_hwfn, in qed_mcp_bist_nvm_get_num_images()
3323 int qed_mcp_bist_nvm_get_image_att(struct qed_hwfn *p_hwfn, in qed_mcp_bist_nvm_get_image_att()
3350 int qed_mcp_nvm_info_populate(struct qed_hwfn *p_hwfn) in qed_mcp_nvm_info_populate()
3418 void qed_mcp_nvm_info_free(struct qed_hwfn *p_hwfn) in qed_mcp_nvm_info_free()
3426 qed_mcp_get_nvm_image_att(struct qed_hwfn *p_hwfn, in qed_mcp_get_nvm_image_att()
3480 int qed_mcp_get_nvm_image(struct qed_hwfn *p_hwfn, in qed_mcp_get_nvm_image()
3593 qed_mcp_resc_allocation_msg(struct qed_hwfn *p_hwfn, in qed_mcp_resc_allocation_msg()
3673 qed_mcp_set_resc_max_val(struct qed_hwfn *p_hwfn, in qed_mcp_set_resc_max_val()
3698 qed_mcp_get_resc_info(struct qed_hwfn *p_hwfn, in qed_mcp_get_resc_info()
3726 int qed_mcp_initiate_pf_flr(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_initiate_pf_flr()
3734 static int qed_mcp_resource_cmd(struct qed_hwfn *p_hwfn, in qed_mcp_resource_cmd()
3764 __qed_mcp_resc_lock(struct qed_hwfn *p_hwfn, in __qed_mcp_resc_lock()
3827 qed_mcp_resc_lock(struct qed_hwfn *p_hwfn, in qed_mcp_resc_lock()
3859 qed_mcp_resc_unlock(struct qed_hwfn *p_hwfn, in qed_mcp_resc_unlock()
3940 bool qed_mcp_is_smart_an_supported(struct qed_hwfn *p_hwfn) in qed_mcp_is_smart_an_supported()
3946 int qed_mcp_get_capabilities(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_get_capabilities()
3961 int qed_mcp_set_capabilities(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_set_capabilities()
3973 int qed_mcp_get_engine_config(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_get_engine_config()
4012 int qed_mcp_get_ppfid_bitmap(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_get_ppfid_bitmap()
4038 int qed_mcp_nvm_get_cfg(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, in qed_mcp_nvm_get_cfg()
4068 int qed_mcp_nvm_set_cfg(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, in qed_mcp_nvm_set_cfg()
4106 __qed_mcp_send_debug_data(struct qed_hwfn *p_hwfn, in __qed_mcp_send_debug_data()
4163 qed_mcp_send_debug_data(struct qed_hwfn *p_hwfn, in qed_mcp_send_debug_data()
4217 qed_mcp_send_raw_debug_data(struct qed_hwfn *p_hwfn, in qed_mcp_send_raw_debug_data()
4224 bool qed_mcp_is_esl_supported(struct qed_hwfn *p_hwfn) in qed_mcp_is_esl_supported()
4230 int qed_mcp_get_esl_status(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, bool *active) in qed_mcp_get_esl_status()