Lines Matching refs:i40e_hw
17 i40e_status i40e_set_mac_type(struct i40e_hw *hw) in i40e_set_mac_type()
71 const char *i40e_aq_str(struct i40e_hw *hw, enum i40e_admin_queue_err aq_err) in i40e_aq_str()
131 const char *i40e_stat_str(struct i40e_hw *hw, i40e_status stat_err) in i40e_stat_str()
284 void i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, void *desc, in i40e_debug_aq()
340 bool i40e_check_asq_alive(struct i40e_hw *hw) in i40e_check_asq_alive()
357 i40e_status i40e_aq_queue_shutdown(struct i40e_hw *hw, in i40e_aq_queue_shutdown()
386 static i40e_status i40e_aq_get_set_rss_lut(struct i40e_hw *hw, in i40e_aq_get_set_rss_lut()
439 i40e_status i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_get_rss_lut()
456 i40e_status i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_set_rss_lut()
471 static i40e_status i40e_aq_get_set_rss_key(struct i40e_hw *hw, in i40e_aq_get_set_rss_key()
511 i40e_status i40e_aq_get_rss_key(struct i40e_hw *hw, in i40e_aq_get_rss_key()
526 i40e_status i40e_aq_set_rss_key(struct i40e_hw *hw, in i40e_aq_set_rss_key()
798 i40e_status i40e_init_shared_code(struct i40e_hw *hw) in i40e_init_shared_code()
838 static i40e_status i40e_aq_mac_address_read(struct i40e_hw *hw, in i40e_aq_mac_address_read()
865 i40e_status i40e_aq_mac_address_write(struct i40e_hw *hw, in i40e_aq_mac_address_write()
895 i40e_status i40e_get_mac_addr(struct i40e_hw *hw, u8 *mac_addr) in i40e_get_mac_addr()
916 i40e_status i40e_get_port_mac_addr(struct i40e_hw *hw, u8 *mac_addr) in i40e_get_port_mac_addr()
943 void i40e_pre_tx_queue_cfg(struct i40e_hw *hw, u32 queue, bool enable) in i40e_pre_tx_queue_cfg()
974 i40e_status i40e_read_pba_string(struct i40e_hw *hw, u8 *pba_num, in i40e_read_pba_string()
1029 static enum i40e_media_type i40e_get_media_type(struct i40e_hw *hw) in i40e_get_media_type()
1089 static i40e_status i40e_poll_globr(struct i40e_hw *hw, in i40e_poll_globr()
1116 i40e_status i40e_pf_reset(struct i40e_hw *hw) in i40e_pf_reset()
1209 void i40e_clear_hw(struct i40e_hw *hw) in i40e_clear_hw()
1301 void i40e_clear_pxe_mode(struct i40e_hw *hw) in i40e_clear_pxe_mode()
1326 static u32 i40e_led_is_mine(struct i40e_hw *hw, int idx) in i40e_led_is_mine()
1366 u32 i40e_led_get(struct i40e_hw *hw) in i40e_led_get()
1397 void i40e_led_set(struct i40e_hw *hw, u32 mode, bool blink) in i40e_led_set()
1455 i40e_status i40e_aq_get_phy_capabilities(struct i40e_hw *hw, in i40e_aq_get_phy_capabilities()
1534 enum i40e_status_code i40e_aq_set_phy_config(struct i40e_hw *hw, in i40e_aq_set_phy_config()
1557 i40e_set_fc_status(struct i40e_hw *hw, in i40e_set_fc_status()
1614 enum i40e_status_code i40e_set_fc(struct i40e_hw *hw, u8 *aq_failures, in i40e_set_fc()
1657 i40e_status i40e_aq_clear_pxe_mode(struct i40e_hw *hw, in i40e_aq_clear_pxe_mode()
1685 i40e_status i40e_aq_set_link_restart_an(struct i40e_hw *hw, in i40e_aq_set_link_restart_an()
1717 i40e_status i40e_aq_get_link_info(struct i40e_hw *hw, in i40e_aq_get_link_info()
1813 i40e_status i40e_aq_set_phy_int_mask(struct i40e_hw *hw, in i40e_aq_set_phy_int_mask()
1840 i40e_status i40e_aq_set_phy_debug(struct i40e_hw *hw, u8 cmd_flags, in i40e_aq_set_phy_debug()
1881 i40e_status i40e_aq_add_vsi(struct i40e_hw *hw, in i40e_aq_add_vsi()
1925 i40e_status i40e_aq_set_default_vsi(struct i40e_hw *hw, in i40e_aq_set_default_vsi()
1953 i40e_status i40e_aq_clear_default_vsi(struct i40e_hw *hw, in i40e_aq_clear_default_vsi()
1983 i40e_status i40e_aq_set_vsi_unicast_promiscuous(struct i40e_hw *hw, in i40e_aq_set_vsi_unicast_promiscuous()
2023 i40e_status i40e_aq_set_vsi_multicast_promiscuous(struct i40e_hw *hw, in i40e_aq_set_vsi_multicast_promiscuous()
2056 enum i40e_status_code i40e_aq_set_vsi_mc_promisc_on_vlan(struct i40e_hw *hw, in i40e_aq_set_vsi_mc_promisc_on_vlan()
2092 enum i40e_status_code i40e_aq_set_vsi_uc_promisc_on_vlan(struct i40e_hw *hw, in i40e_aq_set_vsi_uc_promisc_on_vlan()
2134 i40e_status i40e_aq_set_vsi_bc_promisc_on_vlan(struct i40e_hw *hw, in i40e_aq_set_vsi_bc_promisc_on_vlan()
2169 i40e_status i40e_aq_set_vsi_broadcast(struct i40e_hw *hw, in i40e_aq_set_vsi_broadcast()
2202 i40e_status i40e_aq_set_vsi_vlan_promisc(struct i40e_hw *hw, in i40e_aq_set_vsi_vlan_promisc()
2232 i40e_status i40e_aq_get_vsi_params(struct i40e_hw *hw, in i40e_aq_get_vsi_params()
2274 i40e_status i40e_aq_update_vsi_params(struct i40e_hw *hw, in i40e_aq_update_vsi_params()
2312 i40e_status i40e_aq_get_switch_config(struct i40e_hw *hw, in i40e_aq_get_switch_config()
2346 enum i40e_status_code i40e_aq_set_switch_config(struct i40e_hw *hw, in i40e_aq_set_switch_config()
2383 i40e_status i40e_aq_get_firmware_version(struct i40e_hw *hw, in i40e_aq_get_firmware_version()
2422 i40e_status i40e_aq_send_driver_version(struct i40e_hw *hw, in i40e_aq_send_driver_version()
2464 i40e_status i40e_get_link_status(struct i40e_hw *hw, bool *link_up) in i40e_get_link_status()
2485 noinline_for_stack i40e_status i40e_update_link_info(struct i40e_hw *hw) in i40e_update_link_info()
2535 i40e_status i40e_aq_add_veb(struct i40e_hw *hw, u16 uplink_seid, in i40e_aq_add_veb()
2593 i40e_status i40e_aq_get_veb_parameters(struct i40e_hw *hw, in i40e_aq_get_veb_parameters()
2688 i40e_aq_add_macvlan(struct i40e_hw *hw, u16 seid, in i40e_aq_add_macvlan()
2720 i40e_aq_add_macvlan_v2(struct i40e_hw *hw, u16 seid, in i40e_aq_add_macvlan_v2()
2747 i40e_status i40e_aq_remove_macvlan(struct i40e_hw *hw, u16 seid, in i40e_aq_remove_macvlan()
2795 i40e_aq_remove_macvlan_v2(struct i40e_hw *hw, u16 seid, in i40e_aq_remove_macvlan_v2()
2842 static i40e_status i40e_mirrorrule_op(struct i40e_hw *hw, in i40e_mirrorrule_op()
2902 i40e_status i40e_aq_add_mirrorrule(struct i40e_hw *hw, u16 sw_seid, in i40e_aq_add_mirrorrule()
2933 i40e_status i40e_aq_delete_mirrorrule(struct i40e_hw *hw, u16 sw_seid, in i40e_aq_delete_mirrorrule()
2965 i40e_status i40e_aq_send_msg_to_vf(struct i40e_hw *hw, u16 vfid, in i40e_aq_send_msg_to_vf()
3000 i40e_status i40e_aq_debug_read_register(struct i40e_hw *hw, in i40e_aq_debug_read_register()
3035 i40e_status i40e_aq_debug_write_register(struct i40e_hw *hw, in i40e_aq_debug_write_register()
3066 i40e_status i40e_aq_request_resource(struct i40e_hw *hw, in i40e_aq_request_resource()
3105 i40e_status i40e_aq_release_resource(struct i40e_hw *hw, in i40e_aq_release_resource()
3137 i40e_status i40e_aq_read_nvm(struct i40e_hw *hw, u8 module_pointer, in i40e_aq_read_nvm()
3183 i40e_status i40e_aq_erase_nvm(struct i40e_hw *hw, u8 module_pointer, in i40e_aq_erase_nvm()
3222 static void i40e_parse_discover_capabilities(struct i40e_hw *hw, void *buff, in i40e_parse_discover_capabilities()
3473 i40e_status i40e_aq_discover_capabilities(struct i40e_hw *hw, in i40e_aq_discover_capabilities()
3522 i40e_status i40e_aq_update_nvm(struct i40e_hw *hw, u8 module_pointer, in i40e_aq_update_nvm()
3575 i40e_status i40e_aq_rearrange_nvm(struct i40e_hw *hw, in i40e_aq_rearrange_nvm()
3615 i40e_status i40e_aq_get_lldp_mib(struct i40e_hw *hw, u8 bridge_type, in i40e_aq_get_lldp_mib()
3666 i40e_aq_set_lldp_mib(struct i40e_hw *hw, in i40e_aq_set_lldp_mib()
3704 i40e_status i40e_aq_cfg_lldp_mib_change_event(struct i40e_hw *hw, in i40e_aq_cfg_lldp_mib_change_event()
3734 i40e_aq_restore_lldp(struct i40e_hw *hw, u8 *setting, bool restore, in i40e_aq_restore_lldp()
3770 i40e_status i40e_aq_stop_lldp(struct i40e_hw *hw, bool shutdown_agent, in i40e_aq_stop_lldp()
3805 i40e_status i40e_aq_start_lldp(struct i40e_hw *hw, bool persist, in i40e_aq_start_lldp()
3838 i40e_aq_set_dcb_parameters(struct i40e_hw *hw, bool dcb_enable, in i40e_aq_set_dcb_parameters()
3870 i40e_status i40e_aq_get_cee_dcb_config(struct i40e_hw *hw, in i40e_aq_get_cee_dcb_config()
3901 i40e_status i40e_aq_add_udp_tunnel(struct i40e_hw *hw, in i40e_aq_add_udp_tunnel()
3932 i40e_status i40e_aq_del_udp_tunnel(struct i40e_hw *hw, u8 index, in i40e_aq_del_udp_tunnel()
3957 i40e_status i40e_aq_delete_element(struct i40e_hw *hw, u16 seid, in i40e_aq_delete_element()
3987 i40e_status i40e_aq_dcb_updated(struct i40e_hw *hw, in i40e_aq_dcb_updated()
4011 static i40e_status i40e_aq_tx_sched_cmd(struct i40e_hw *hw, u16 seid, in i40e_aq_tx_sched_cmd()
4069 i40e_status i40e_aq_config_vsi_bw_limit(struct i40e_hw *hw, in i40e_aq_config_vsi_bw_limit()
4097 i40e_status i40e_aq_config_vsi_tc_bw(struct i40e_hw *hw, in i40e_aq_config_vsi_tc_bw()
4115 i40e_status i40e_aq_config_switch_comp_ets(struct i40e_hw *hw, in i40e_aq_config_switch_comp_ets()
4132 i40e_status i40e_aq_config_switch_comp_bw_config(struct i40e_hw *hw, in i40e_aq_config_switch_comp_bw_config()
4149 i40e_status i40e_aq_query_vsi_bw_config(struct i40e_hw *hw, in i40e_aq_query_vsi_bw_config()
4166 i40e_status i40e_aq_query_vsi_ets_sla_config(struct i40e_hw *hw, in i40e_aq_query_vsi_ets_sla_config()
4183 i40e_status i40e_aq_query_switch_comp_ets_config(struct i40e_hw *hw, in i40e_aq_query_switch_comp_ets_config()
4200 i40e_status i40e_aq_query_port_ets_config(struct i40e_hw *hw, in i40e_aq_query_port_ets_config()
4217 i40e_status i40e_aq_query_switch_comp_bw_config(struct i40e_hw *hw, in i40e_aq_query_switch_comp_bw_config()
4239 static i40e_status i40e_validate_filter_settings(struct i40e_hw *hw, in i40e_validate_filter_settings()
4326 i40e_status i40e_set_filter_control(struct i40e_hw *hw, in i40e_set_filter_control()
4400 i40e_status i40e_aq_add_rem_control_packet_filter(struct i40e_hw *hw, in i40e_aq_add_rem_control_packet_filter()
4451 void i40e_add_filter_to_drop_tx_flow_control_frames(struct i40e_hw *hw, in i40e_add_filter_to_drop_tx_flow_control_frames()
4481 static i40e_status i40e_aq_alternate_read(struct i40e_hw *hw, in i40e_aq_alternate_read()
4517 i40e_status i40e_aq_suspend_port_tx(struct i40e_hw *hw, u16 seid, in i40e_aq_suspend_port_tx()
4539 i40e_status i40e_aq_resume_port_tx(struct i40e_hw *hw, in i40e_aq_resume_port_tx()
4559 void i40e_set_pci_config_data(struct i40e_hw *hw, u16 link_status) in i40e_set_pci_config_data()
4613 i40e_status i40e_aq_debug_dump(struct i40e_hw *hw, u8 cluster_id, in i40e_aq_debug_dump()
4665 i40e_status i40e_read_bw_from_alt_ram(struct i40e_hw *hw, in i40e_read_bw_from_alt_ram()
4705 i40e_status i40e_aq_configure_partition_bw(struct i40e_hw *hw, in i40e_aq_configure_partition_bw()
4740 i40e_status i40e_read_phy_register_clause22(struct i40e_hw *hw, in i40e_read_phy_register_clause22()
4785 i40e_status i40e_write_phy_register_clause22(struct i40e_hw *hw, in i40e_write_phy_register_clause22()
4826 i40e_status i40e_read_phy_register_clause45(struct i40e_hw *hw, in i40e_read_phy_register_clause45()
4900 i40e_status i40e_write_phy_register_clause45(struct i40e_hw *hw, in i40e_write_phy_register_clause45()
4967 i40e_status i40e_write_phy_register(struct i40e_hw *hw, in i40e_write_phy_register()
5005 i40e_status i40e_read_phy_register(struct i40e_hw *hw, in i40e_read_phy_register()
5040 u8 i40e_get_phy_address(struct i40e_hw *hw, u8 dev_num) in i40e_get_phy_address()
5056 i40e_status i40e_blink_phy_link_led(struct i40e_hw *hw, in i40e_blink_phy_link_led()
5128 static enum i40e_status_code i40e_led_get_reg(struct i40e_hw *hw, u16 led_addr, in i40e_led_get_reg()
5162 static enum i40e_status_code i40e_led_set_reg(struct i40e_hw *hw, u16 led_addr, in i40e_led_set_reg()
5197 i40e_status i40e_led_get_phy(struct i40e_hw *hw, u16 *led_addr, in i40e_led_get_phy()
5252 i40e_status i40e_led_set_phy(struct i40e_hw *hw, bool on, in i40e_led_set_phy()
5301 i40e_status i40e_aq_rx_ctl_read_register(struct i40e_hw *hw, in i40e_aq_rx_ctl_read_register()
5330 u32 i40e_read_rx_ctl(struct i40e_hw *hw, u32 reg_addr) in i40e_read_rx_ctl()
5367 i40e_status i40e_aq_rx_ctl_write_register(struct i40e_hw *hw, in i40e_aq_rx_ctl_write_register()
5392 void i40e_write_rx_ctl(struct i40e_hw *hw, u32 reg_addr, u32 reg_val) in i40e_write_rx_ctl()
5424 static void i40e_mdio_if_number_selection(struct i40e_hw *hw, bool set_mdio, in i40e_mdio_if_number_selection()
5457 enum i40e_status_code i40e_aq_set_phy_register_ext(struct i40e_hw *hw, in i40e_aq_set_phy_register_ext()
5502 enum i40e_status_code i40e_aq_get_phy_register_ext(struct i40e_hw *hw, in i40e_aq_get_phy_register_ext()
5543 i40e_status_code i40e_aq_write_ddp(struct i40e_hw *hw, void *buff, in i40e_aq_write_ddp()
5587 i40e_status_code i40e_aq_get_ddp_list(struct i40e_hw *hw, void *buff, in i40e_aq_get_ddp_list()
5694 i40e_status_code i40e_ddp_exec_aq_section(struct i40e_hw *hw, in i40e_ddp_exec_aq_section()
5741 i40e_validate_profile(struct i40e_hw *hw, struct i40e_profile_segment *profile, in i40e_validate_profile()
5806 i40e_write_profile(struct i40e_hw *hw, struct i40e_profile_segment *profile, in i40e_write_profile()
5869 i40e_rollback_profile(struct i40e_hw *hw, struct i40e_profile_segment *profile, in i40e_rollback_profile()
5921 i40e_add_pinfo_to_list(struct i40e_hw *hw, in i40e_add_pinfo_to_list()
5963 i40e_aq_add_cloud_filters(struct i40e_hw *hw, u16 seid, in i40e_aq_add_cloud_filters()
6000 i40e_aq_add_cloud_filters_bb(struct i40e_hw *hw, u16 seid, in i40e_aq_add_cloud_filters_bb()
6057 i40e_aq_rem_cloud_filters(struct i40e_hw *hw, u16 seid, in i40e_aq_rem_cloud_filters()
6094 i40e_aq_rem_cloud_filters_bb(struct i40e_hw *hw, u16 seid, in i40e_aq_rem_cloud_filters_bb()