Lines Matching defs:p_hwfn

89 bool ecore_mcp_is_init(struct ecore_hwfn *p_hwfn)  in ecore_mcp_is_init()
96 void ecore_mcp_cmd_port_init(struct ecore_hwfn *p_hwfn, in ecore_mcp_cmd_port_init()
110 void ecore_mcp_read_mb(struct ecore_hwfn *p_hwfn, in ecore_mcp_read_mb()
135 enum _ecore_status_t ecore_mcp_free(struct ecore_hwfn *p_hwfn) in ecore_mcp_free()
151 enum _ecore_status_t ecore_load_mcp_offsets(struct ecore_hwfn *p_hwfn, in ecore_load_mcp_offsets()
205 enum _ecore_status_t ecore_mcp_cmd_init(struct ecore_hwfn *p_hwfn, in ecore_mcp_cmd_init()
256 static enum _ecore_status_t ecore_mcp_mb_lock(struct ecore_hwfn *p_hwfn, in ecore_mcp_mb_lock()
292 static void ecore_mcp_mb_unlock(struct ecore_hwfn *p_hwfn, u32 cmd) in ecore_mcp_mb_unlock()
298 enum _ecore_status_t ecore_mcp_reset(struct ecore_hwfn *p_hwfn, in ecore_mcp_reset()
344 void ecore_mcp_print_cpu_info(struct ecore_hwfn *p_hwfn, in ecore_mcp_print_cpu_info()
362 static enum _ecore_status_t ecore_do_mcp_cmd(struct ecore_hwfn *p_hwfn, in ecore_do_mcp_cmd()
435 static enum _ecore_status_t ecore_mcp_cmd_and_union(struct ecore_hwfn *p_hwfn, in ecore_mcp_cmd_and_union()
489 enum _ecore_status_t ecore_mcp_cmd(struct ecore_hwfn *p_hwfn, in ecore_mcp_cmd()
521 enum _ecore_status_t ecore_mcp_nvm_wr_cmd(struct ecore_hwfn *p_hwfn, in ecore_mcp_nvm_wr_cmd()
548 enum _ecore_status_t ecore_mcp_nvm_rd_cmd(struct ecore_hwfn *p_hwfn, in ecore_mcp_nvm_rd_cmd()
583 static void ecore_mcp_mf_workaround(struct ecore_hwfn *p_hwfn, in ecore_mcp_mf_workaround()
635 static enum _ecore_status_t ecore_mcp_cancel_load_req(struct ecore_hwfn *p_hwfn, in ecore_mcp_cancel_load_req()
711 __ecore_mcp_load_req(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in __ecore_mcp_load_req()
803 static enum _ecore_status_t eocre_get_mfw_drv_role(struct ecore_hwfn *p_hwfn, in eocre_get_mfw_drv_role()
830 ecore_get_mfw_force_cmd(struct ecore_hwfn *p_hwfn, in ecore_get_mfw_force_cmd()
852 enum _ecore_status_t ecore_mcp_load_req(struct ecore_hwfn *p_hwfn, in ecore_mcp_load_req()
996 enum _ecore_status_t ecore_mcp_unload_req(struct ecore_hwfn *p_hwfn, in ecore_mcp_unload_req()
1021 enum _ecore_status_t ecore_mcp_unload_done(struct ecore_hwfn *p_hwfn, in ecore_mcp_unload_done()
1051 static void ecore_mcp_handle_vf_flr(struct ecore_hwfn *p_hwfn, in ecore_mcp_handle_vf_flr()
1081 enum _ecore_status_t ecore_mcp_ack_vf_flr(struct ecore_hwfn *p_hwfn, in ecore_mcp_ack_vf_flr()
1120 static void ecore_mcp_handle_transceiver_change(struct ecore_hwfn *p_hwfn, in ecore_mcp_handle_transceiver_change()
1144 static void ecore_mcp_read_eee_config(struct ecore_hwfn *p_hwfn, in ecore_mcp_read_eee_config()
1167 static void ecore_mcp_handle_link_change(struct ecore_hwfn *p_hwfn, in ecore_mcp_handle_link_change()
1309 enum _ecore_status_t ecore_mcp_set_link(struct ecore_hwfn *p_hwfn, in ecore_mcp_set_link()
1381 u32 ecore_get_process_kill_counter(struct ecore_hwfn *p_hwfn, in ecore_get_process_kill_counter()
1403 static void ecore_mcp_handle_process_kill(struct ecore_hwfn *p_hwfn, in ecore_mcp_handle_process_kill()
1436 static void ecore_mcp_send_protocol_stats(struct ecore_hwfn *p_hwfn, in ecore_mcp_send_protocol_stats()
1480 static void ecore_read_pf_bandwidth(struct ecore_hwfn *p_hwfn, in ecore_read_pf_bandwidth()
1514 static u32 ecore_mcp_get_shmem_func(struct ecore_hwfn *p_hwfn, in ecore_mcp_get_shmem_func()
1570 ecore_mcp_update_bw(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt) in ecore_mcp_update_bw()
1592 static void ecore_mcp_update_stag(struct ecore_hwfn *p_hwfn, in ecore_mcp_update_stag()
1619 static void ecore_mcp_handle_fan_failure(struct ecore_hwfn *p_hwfn, in ecore_mcp_handle_fan_failure()
1642 ecore_mcp_mdump_cmd(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_mdump_cmd()
1675 static enum _ecore_status_t ecore_mcp_mdump_ack(struct ecore_hwfn *p_hwfn, in ecore_mcp_mdump_ack()
1686 enum _ecore_status_t ecore_mcp_mdump_set_values(struct ecore_hwfn *p_hwfn, in ecore_mcp_mdump_set_values()
1700 enum _ecore_status_t ecore_mcp_mdump_trigger(struct ecore_hwfn *p_hwfn, in ecore_mcp_mdump_trigger()
1712 ecore_mcp_mdump_get_config(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_mdump_get_config()
1738 ecore_mcp_mdump_get_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_mdump_get_info()
1780 enum _ecore_status_t ecore_mcp_mdump_clear_logs(struct ecore_hwfn *p_hwfn, in ecore_mcp_mdump_clear_logs()
1792 ecore_mcp_mdump_get_retain(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_mdump_get_retain()
1823 enum _ecore_status_t ecore_mcp_mdump_clr_retain(struct ecore_hwfn *p_hwfn, in ecore_mcp_mdump_clr_retain()
1834 static void ecore_mcp_handle_critical_error(struct ecore_hwfn *p_hwfn, in ecore_mcp_handle_critical_error()
1869 enum _ecore_status_t ecore_mcp_handle_events(struct ecore_hwfn *p_hwfn, in ecore_mcp_handle_events()
1968 enum _ecore_status_t ecore_mcp_get_mfw_ver(struct ecore_hwfn *p_hwfn, in ecore_mcp_get_mfw_ver()
2013 enum _ecore_status_t ecore_mcp_get_mbi_ver(struct ecore_hwfn *p_hwfn, in ecore_mcp_get_mbi_ver()
2053 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[0]; in ecore_mcp_get_media_type() local
2081 ecore_mcp_get_shmem_proto_legacy(struct ecore_hwfn *p_hwfn, in ecore_mcp_get_shmem_proto_legacy()
2099 ecore_mcp_get_shmem_proto_mfw(struct ecore_hwfn *p_hwfn, in ecore_mcp_get_shmem_proto_mfw()
2144 ecore_mcp_get_shmem_proto(struct ecore_hwfn *p_hwfn, in ecore_mcp_get_shmem_proto()
2174 enum _ecore_status_t ecore_mcp_fill_shmem_func_info(struct ecore_hwfn *p_hwfn, in ecore_mcp_fill_shmem_func_info()
2249 *ecore_mcp_get_link_params(struct ecore_hwfn *p_hwfn) in ecore_mcp_get_link_params()
2257 *ecore_mcp_get_link_state(struct ecore_hwfn *p_hwfn) in ecore_mcp_get_link_state()
2273 *ecore_mcp_get_link_capabilities(struct ecore_hwfn *p_hwfn) in ecore_mcp_get_link_capabilities()
2280 enum _ecore_status_t ecore_mcp_drain(struct ecore_hwfn *p_hwfn, in ecore_mcp_drain()
2298 *ecore_mcp_get_function_info(struct ecore_hwfn *p_hwfn) in ecore_mcp_get_function_info()
2306 enum _ecore_status_t ecore_mcp_nvm_command(struct ecore_hwfn *p_hwfn, in ecore_mcp_nvm_command()
2343 int ecore_mcp_get_personality_cnt(struct ecore_hwfn *p_hwfn, in ecore_mcp_get_personality_cnt()
2372 enum _ecore_status_t ecore_mcp_get_flash_size(struct ecore_hwfn *p_hwfn, in ecore_mcp_get_flash_size()
2398 enum _ecore_status_t ecore_start_recovery_process(struct ecore_hwfn *p_hwfn, in ecore_start_recovery_process()
2416 ecore_mcp_config_vf_msix_bb(struct ecore_hwfn *p_hwfn, in ecore_mcp_config_vf_msix_bb()
2450 ecore_mcp_config_vf_msix_ah(struct ecore_hwfn *p_hwfn, in ecore_mcp_config_vf_msix_ah()
2472 enum _ecore_status_t ecore_mcp_config_vf_msix(struct ecore_hwfn *p_hwfn, in ecore_mcp_config_vf_msix()
2483 ecore_mcp_send_drv_version(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_send_drv_version()
2523 enum _ecore_status_t ecore_mcp_halt(struct ecore_hwfn *p_hwfn, in ecore_mcp_halt()
2555 enum _ecore_status_t ecore_mcp_resume(struct ecore_hwfn *p_hwfn, in ecore_mcp_resume()
2580 ecore_mcp_ov_update_current_config(struct ecore_hwfn *p_hwfn, in ecore_mcp_ov_update_current_config()
2613 ecore_mcp_ov_update_driver_state(struct ecore_hwfn *p_hwfn, in ecore_mcp_ov_update_driver_state()
2646 ecore_mcp_ov_get_fc_npiv(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_ov_get_fc_npiv()
2698 ecore_mcp_ov_update_mtu(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_ov_update_mtu()
2715 ecore_mcp_ov_update_mac(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_ov_update_mac()
2749 ecore_mcp_ov_update_wol(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_ov_update_wol()
2789 ecore_mcp_ov_update_eswitch(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_ov_update_eswitch()
2819 enum _ecore_status_t ecore_mcp_set_led(struct ecore_hwfn *p_hwfn, in ecore_mcp_set_led()
2849 enum _ecore_status_t ecore_mcp_mask_parities(struct ecore_hwfn *p_hwfn, in ecore_mcp_mask_parities()
2872 struct ecore_hwfn *p_hwfn = ECORE_LEADING_HWFN(p_dev); in ecore_mcp_nvm_read() local
2923 struct ecore_hwfn *p_hwfn = ECORE_LEADING_HWFN(p_dev); in ecore_mcp_phy_read() local
2952 struct ecore_hwfn *p_hwfn = ECORE_LEADING_HWFN(p_dev); in ecore_mcp_nvm_resp() local
2970 struct ecore_hwfn *p_hwfn = ECORE_LEADING_HWFN(p_dev); in ecore_mcp_nvm_del_file() local
2992 struct ecore_hwfn *p_hwfn = ECORE_LEADING_HWFN(p_dev); in ecore_mcp_nvm_put_file_begin() local
3017 struct ecore_hwfn *p_hwfn = ECORE_LEADING_HWFN(p_dev); in ecore_mcp_nvm_write() local
3080 struct ecore_hwfn *p_hwfn = ECORE_LEADING_HWFN(p_dev); in ecore_mcp_phy_write() local
3109 struct ecore_hwfn *p_hwfn = ECORE_LEADING_HWFN(p_dev); in ecore_mcp_nvm_set_secure_mode() local
3129 enum _ecore_status_t ecore_mcp_phy_sfp_read(struct ecore_hwfn *p_hwfn, in ecore_mcp_phy_sfp_read()
3174 enum _ecore_status_t ecore_mcp_phy_sfp_write(struct ecore_hwfn *p_hwfn, in ecore_mcp_phy_sfp_write()
3216 enum _ecore_status_t ecore_mcp_gpio_read(struct ecore_hwfn *p_hwfn, in ecore_mcp_gpio_read()
3237 enum _ecore_status_t ecore_mcp_gpio_write(struct ecore_hwfn *p_hwfn, in ecore_mcp_gpio_write()
3259 enum _ecore_status_t ecore_mcp_gpio_info(struct ecore_hwfn *p_hwfn, in ecore_mcp_gpio_info()
3285 enum _ecore_status_t ecore_mcp_bist_register_test(struct ecore_hwfn *p_hwfn, in ecore_mcp_bist_register_test()
3307 enum _ecore_status_t ecore_mcp_bist_clock_test(struct ecore_hwfn *p_hwfn, in ecore_mcp_bist_clock_test()
3330 struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u32 *num_images) in ecore_mcp_bist_nvm_test_get_num_images()
3351 struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_bist_nvm_test_get_image_att()
3381 ecore_mcp_get_nvm_image_att(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_get_nvm_image_att()
3434 enum _ecore_status_t ecore_mcp_get_nvm_image(struct ecore_hwfn *p_hwfn, in ecore_mcp_get_nvm_image()
3471 ecore_mcp_get_temperature_info(struct ecore_hwfn *p_hwfn, in ecore_mcp_get_temperature_info()
3510 struct ecore_hwfn *p_hwfn, in ecore_mcp_get_mba_versions()
3539 enum _ecore_status_t ecore_mcp_mem_ecc_events(struct ecore_hwfn *p_hwfn, in ecore_mcp_mem_ecc_events()
3627 ecore_mcp_resc_allocation_msg(struct ecore_hwfn *p_hwfn, in ecore_mcp_resc_allocation_msg()
3703 ecore_mcp_set_resc_max_val(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_set_resc_max_val()
3727 ecore_mcp_get_resc_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_get_resc_info()
3754 enum _ecore_status_t ecore_mcp_initiate_pf_flr(struct ecore_hwfn *p_hwfn, in ecore_mcp_initiate_pf_flr()
3763 enum _ecore_status_t ecore_mcp_get_lldp_mac(struct ecore_hwfn *p_hwfn, in ecore_mcp_get_lldp_mac()
3797 enum _ecore_status_t ecore_mcp_set_lldp_mac(struct ecore_hwfn *p_hwfn, in ecore_mcp_set_lldp_mac()
3832 static enum _ecore_status_t ecore_mcp_resource_cmd(struct ecore_hwfn *p_hwfn, in ecore_mcp_resource_cmd()
3863 __ecore_mcp_resc_lock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in __ecore_mcp_resc_lock()
3925 ecore_mcp_resc_lock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_resc_lock()
3957 ecore_mcp_resc_unlock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_resc_unlock()
4009 ecore_mcp_update_fcoe_cvid(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_update_fcoe_cvid()
4025 ecore_mcp_update_fcoe_fabric_name(struct ecore_hwfn *p_hwfn, in ecore_mcp_update_fcoe_fabric_name()
4047 void ecore_mcp_wol_wr(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_wol_wr()
4073 enum _ecore_status_t ecore_mcp_get_capabilities(struct ecore_hwfn *p_hwfn, in ecore_mcp_get_capabilities()
4089 enum _ecore_status_t ecore_mcp_set_capabilities(struct ecore_hwfn *p_hwfn, in ecore_mcp_set_capabilities()