Lines Matching refs:i40e_hw

21 int i40e_set_mac_type(struct i40e_hw *hw)  in i40e_set_mac_type()
76 const char *i40e_aq_str(struct i40e_hw *hw, enum i40e_admin_queue_err aq_err) in i40e_aq_str()
141 void i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, void *desc, in i40e_debug_aq()
197 bool i40e_check_asq_alive(struct i40e_hw *hw) in i40e_check_asq_alive()
214 int i40e_aq_queue_shutdown(struct i40e_hw *hw, in i40e_aq_queue_shutdown()
243 static int i40e_aq_get_set_rss_lut(struct i40e_hw *hw, in i40e_aq_get_set_rss_lut()
292 int i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_get_rss_lut()
309 int i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_set_rss_lut()
324 static int i40e_aq_get_set_rss_key(struct i40e_hw *hw, in i40e_aq_get_set_rss_key()
362 int i40e_aq_get_rss_key(struct i40e_hw *hw, in i40e_aq_get_rss_key()
377 int i40e_aq_set_rss_key(struct i40e_hw *hw, in i40e_aq_set_rss_key()
396 int i40e_init_shared_code(struct i40e_hw *hw) in i40e_init_shared_code()
437 i40e_aq_mac_address_read(struct i40e_hw *hw, in i40e_aq_mac_address_read()
464 int i40e_aq_mac_address_write(struct i40e_hw *hw, in i40e_aq_mac_address_write()
494 int i40e_get_mac_addr(struct i40e_hw *hw, u8 *mac_addr) in i40e_get_mac_addr()
515 int i40e_get_port_mac_addr(struct i40e_hw *hw, u8 *mac_addr) in i40e_get_port_mac_addr()
542 void i40e_pre_tx_queue_cfg(struct i40e_hw *hw, u32 queue, bool enable) in i40e_pre_tx_queue_cfg()
573 void i40e_get_pba_string(struct i40e_hw *hw) in i40e_get_pba_string()
638 static enum i40e_media_type i40e_get_media_type(struct i40e_hw *hw) in i40e_get_media_type()
698 static int i40e_poll_globr(struct i40e_hw *hw, in i40e_poll_globr()
725 int i40e_pf_reset(struct i40e_hw *hw) in i40e_pf_reset()
817 void i40e_clear_hw(struct i40e_hw *hw) in i40e_clear_hw()
903 void i40e_clear_pxe_mode(struct i40e_hw *hw) in i40e_clear_pxe_mode()
928 static u32 i40e_led_is_mine(struct i40e_hw *hw, int idx) in i40e_led_is_mine()
967 u32 i40e_led_get(struct i40e_hw *hw) in i40e_led_get()
997 void i40e_led_set(struct i40e_hw *hw, u32 mode, bool blink) in i40e_led_set()
1056 i40e_aq_get_phy_capabilities(struct i40e_hw *hw, in i40e_aq_get_phy_capabilities()
1135 int i40e_aq_set_phy_config(struct i40e_hw *hw, in i40e_aq_set_phy_config()
1158 i40e_set_fc_status(struct i40e_hw *hw, in i40e_set_fc_status()
1215 int i40e_set_fc(struct i40e_hw *hw, u8 *aq_failures, in i40e_set_fc()
1258 int i40e_aq_clear_pxe_mode(struct i40e_hw *hw, in i40e_aq_clear_pxe_mode()
1286 int i40e_aq_set_link_restart_an(struct i40e_hw *hw, in i40e_aq_set_link_restart_an()
1318 int i40e_aq_get_link_info(struct i40e_hw *hw, in i40e_aq_get_link_info()
1413 int i40e_aq_set_phy_int_mask(struct i40e_hw *hw, in i40e_aq_set_phy_int_mask()
1440 int i40e_aq_set_mac_loopback(struct i40e_hw *hw, bool ena_lpbk, in i40e_aq_set_mac_loopback()
1466 int i40e_aq_set_phy_debug(struct i40e_hw *hw, u8 cmd_flags, in i40e_aq_set_phy_debug()
1492 int i40e_aq_add_vsi(struct i40e_hw *hw, in i40e_aq_add_vsi()
1536 int i40e_aq_set_default_vsi(struct i40e_hw *hw, in i40e_aq_set_default_vsi()
1564 int i40e_aq_clear_default_vsi(struct i40e_hw *hw, in i40e_aq_clear_default_vsi()
1594 int i40e_aq_set_vsi_unicast_promiscuous(struct i40e_hw *hw, in i40e_aq_set_vsi_unicast_promiscuous()
1634 int i40e_aq_set_vsi_multicast_promiscuous(struct i40e_hw *hw, in i40e_aq_set_vsi_multicast_promiscuous()
1668 int i40e_aq_set_vsi_mc_promisc_on_vlan(struct i40e_hw *hw, in i40e_aq_set_vsi_mc_promisc_on_vlan()
1704 int i40e_aq_set_vsi_uc_promisc_on_vlan(struct i40e_hw *hw, in i40e_aq_set_vsi_uc_promisc_on_vlan()
1746 int i40e_aq_set_vsi_bc_promisc_on_vlan(struct i40e_hw *hw, in i40e_aq_set_vsi_bc_promisc_on_vlan()
1781 int i40e_aq_set_vsi_broadcast(struct i40e_hw *hw, in i40e_aq_set_vsi_broadcast()
1814 int i40e_aq_set_vsi_vlan_promisc(struct i40e_hw *hw, in i40e_aq_set_vsi_vlan_promisc()
1844 int i40e_aq_get_vsi_params(struct i40e_hw *hw, in i40e_aq_get_vsi_params()
1886 int i40e_aq_update_vsi_params(struct i40e_hw *hw, in i40e_aq_update_vsi_params()
1924 int i40e_aq_get_switch_config(struct i40e_hw *hw, in i40e_aq_get_switch_config()
1958 int i40e_aq_set_switch_config(struct i40e_hw *hw, in i40e_aq_set_switch_config()
1995 int i40e_aq_get_firmware_version(struct i40e_hw *hw, in i40e_aq_get_firmware_version()
2034 int i40e_aq_send_driver_version(struct i40e_hw *hw, in i40e_aq_send_driver_version()
2076 int i40e_get_link_status(struct i40e_hw *hw, bool *link_up) in i40e_get_link_status()
2097 noinline_for_stack int i40e_update_link_info(struct i40e_hw *hw) in i40e_update_link_info()
2147 int i40e_aq_add_veb(struct i40e_hw *hw, u16 uplink_seid, in i40e_aq_add_veb()
2205 int i40e_aq_get_veb_parameters(struct i40e_hw *hw, in i40e_aq_get_veb_parameters()
2300 i40e_aq_add_macvlan(struct i40e_hw *hw, u16 seid, in i40e_aq_add_macvlan()
2332 i40e_aq_add_macvlan_v2(struct i40e_hw *hw, u16 seid, in i40e_aq_add_macvlan_v2()
2360 i40e_aq_remove_macvlan(struct i40e_hw *hw, u16 seid, in i40e_aq_remove_macvlan()
2408 i40e_aq_remove_macvlan_v2(struct i40e_hw *hw, u16 seid, in i40e_aq_remove_macvlan_v2()
2455 static int i40e_mirrorrule_op(struct i40e_hw *hw, in i40e_mirrorrule_op()
2515 int i40e_aq_add_mirrorrule(struct i40e_hw *hw, u16 sw_seid, in i40e_aq_add_mirrorrule()
2547 int i40e_aq_delete_mirrorrule(struct i40e_hw *hw, u16 sw_seid, in i40e_aq_delete_mirrorrule()
2580 int i40e_aq_send_msg_to_vf(struct i40e_hw *hw, u16 vfid, in i40e_aq_send_msg_to_vf()
2615 int i40e_aq_debug_read_register(struct i40e_hw *hw, in i40e_aq_debug_read_register()
2650 int i40e_aq_debug_write_register(struct i40e_hw *hw, in i40e_aq_debug_write_register()
2681 int i40e_aq_request_resource(struct i40e_hw *hw, in i40e_aq_request_resource()
2720 int i40e_aq_release_resource(struct i40e_hw *hw, in i40e_aq_release_resource()
2752 int i40e_aq_read_nvm(struct i40e_hw *hw, u8 module_pointer, in i40e_aq_read_nvm()
2798 int i40e_aq_erase_nvm(struct i40e_hw *hw, u8 module_pointer, in i40e_aq_erase_nvm()
2837 static void i40e_parse_discover_capabilities(struct i40e_hw *hw, void *buff, in i40e_parse_discover_capabilities()
3088 int i40e_aq_discover_capabilities(struct i40e_hw *hw, in i40e_aq_discover_capabilities()
3137 int i40e_aq_update_nvm(struct i40e_hw *hw, u8 module_pointer, in i40e_aq_update_nvm()
3190 int i40e_aq_rearrange_nvm(struct i40e_hw *hw, in i40e_aq_rearrange_nvm()
3230 int i40e_aq_get_lldp_mib(struct i40e_hw *hw, u8 bridge_type, in i40e_aq_get_lldp_mib()
3280 i40e_aq_set_lldp_mib(struct i40e_hw *hw, in i40e_aq_set_lldp_mib()
3318 int i40e_aq_cfg_lldp_mib_change_event(struct i40e_hw *hw, in i40e_aq_cfg_lldp_mib_change_event()
3348 i40e_aq_restore_lldp(struct i40e_hw *hw, u8 *setting, bool restore, in i40e_aq_restore_lldp()
3384 int i40e_aq_stop_lldp(struct i40e_hw *hw, bool shutdown_agent, in i40e_aq_stop_lldp()
3419 int i40e_aq_start_lldp(struct i40e_hw *hw, bool persist, in i40e_aq_start_lldp()
3452 i40e_aq_set_dcb_parameters(struct i40e_hw *hw, bool dcb_enable, in i40e_aq_set_dcb_parameters()
3484 int i40e_aq_get_cee_dcb_config(struct i40e_hw *hw, in i40e_aq_get_cee_dcb_config()
3515 int i40e_aq_add_udp_tunnel(struct i40e_hw *hw, in i40e_aq_add_udp_tunnel()
3546 int i40e_aq_del_udp_tunnel(struct i40e_hw *hw, u8 index, in i40e_aq_del_udp_tunnel()
3571 int i40e_aq_delete_element(struct i40e_hw *hw, u16 seid, in i40e_aq_delete_element()
3601 int i40e_aq_dcb_updated(struct i40e_hw *hw, in i40e_aq_dcb_updated()
3625 static int i40e_aq_tx_sched_cmd(struct i40e_hw *hw, u16 seid, in i40e_aq_tx_sched_cmd()
3683 int i40e_aq_config_vsi_bw_limit(struct i40e_hw *hw, in i40e_aq_config_vsi_bw_limit()
3711 int i40e_aq_config_vsi_tc_bw(struct i40e_hw *hw, in i40e_aq_config_vsi_tc_bw()
3730 i40e_aq_config_switch_comp_ets(struct i40e_hw *hw, in i40e_aq_config_switch_comp_ets()
3748 i40e_aq_config_switch_comp_bw_config(struct i40e_hw *hw, in i40e_aq_config_switch_comp_bw_config()
3766 i40e_aq_query_vsi_bw_config(struct i40e_hw *hw, in i40e_aq_query_vsi_bw_config()
3784 i40e_aq_query_vsi_ets_sla_config(struct i40e_hw *hw, in i40e_aq_query_vsi_ets_sla_config()
3802 i40e_aq_query_switch_comp_ets_config(struct i40e_hw *hw, in i40e_aq_query_switch_comp_ets_config()
3820 i40e_aq_query_port_ets_config(struct i40e_hw *hw, in i40e_aq_query_port_ets_config()
3838 i40e_aq_query_switch_comp_bw_config(struct i40e_hw *hw, in i40e_aq_query_switch_comp_bw_config()
3861 i40e_validate_filter_settings(struct i40e_hw *hw, in i40e_validate_filter_settings()
3947 int i40e_set_filter_control(struct i40e_hw *hw, in i40e_set_filter_control()
4016 int i40e_aq_add_rem_control_packet_filter(struct i40e_hw *hw, in i40e_aq_add_rem_control_packet_filter()
4067 void i40e_add_filter_to_drop_tx_flow_control_frames(struct i40e_hw *hw, in i40e_add_filter_to_drop_tx_flow_control_frames()
4097 static int i40e_aq_alternate_read(struct i40e_hw *hw, in i40e_aq_alternate_read()
4133 int i40e_aq_suspend_port_tx(struct i40e_hw *hw, u16 seid, in i40e_aq_suspend_port_tx()
4155 int i40e_aq_resume_port_tx(struct i40e_hw *hw, in i40e_aq_resume_port_tx()
4175 void i40e_set_pci_config_data(struct i40e_hw *hw, u16 link_status) in i40e_set_pci_config_data()
4229 int i40e_aq_debug_dump(struct i40e_hw *hw, u8 cluster_id, in i40e_aq_debug_dump()
4281 int i40e_read_bw_from_alt_ram(struct i40e_hw *hw, in i40e_read_bw_from_alt_ram()
4322 i40e_aq_configure_partition_bw(struct i40e_hw *hw, in i40e_aq_configure_partition_bw()
4357 int i40e_read_phy_register_clause22(struct i40e_hw *hw, in i40e_read_phy_register_clause22()
4401 int i40e_write_phy_register_clause22(struct i40e_hw *hw, in i40e_write_phy_register_clause22()
4442 int i40e_read_phy_register_clause45(struct i40e_hw *hw, in i40e_read_phy_register_clause45()
4515 int i40e_write_phy_register_clause45(struct i40e_hw *hw, in i40e_write_phy_register_clause45()
4582 int i40e_write_phy_register(struct i40e_hw *hw, in i40e_write_phy_register()
4621 int i40e_read_phy_register(struct i40e_hw *hw, in i40e_read_phy_register()
4657 u8 i40e_get_phy_address(struct i40e_hw *hw, u8 dev_num) in i40e_get_phy_address()
4673 int i40e_blink_phy_link_led(struct i40e_hw *hw, in i40e_blink_phy_link_led()
4745 static int i40e_led_get_reg(struct i40e_hw *hw, u16 led_addr, in i40e_led_get_reg()
4779 static int i40e_led_set_reg(struct i40e_hw *hw, u16 led_addr, in i40e_led_set_reg()
4814 int i40e_led_get_phy(struct i40e_hw *hw, u16 *led_addr, in i40e_led_get_phy()
4869 int i40e_led_set_phy(struct i40e_hw *hw, bool on, in i40e_led_set_phy()
4918 int i40e_aq_rx_ctl_read_register(struct i40e_hw *hw, in i40e_aq_rx_ctl_read_register()
4947 u32 i40e_read_rx_ctl(struct i40e_hw *hw, u32 reg_addr) in i40e_read_rx_ctl()
4984 int i40e_aq_rx_ctl_write_register(struct i40e_hw *hw, in i40e_aq_rx_ctl_write_register()
5009 void i40e_write_rx_ctl(struct i40e_hw *hw, u32 reg_addr, u32 reg_val) in i40e_write_rx_ctl()
5041 static void i40e_mdio_if_number_selection(struct i40e_hw *hw, bool set_mdio, in i40e_mdio_if_number_selection()
5075 int i40e_aq_set_phy_register_ext(struct i40e_hw *hw, in i40e_aq_set_phy_register_ext()
5120 int i40e_aq_get_phy_register_ext(struct i40e_hw *hw, in i40e_aq_get_phy_register_ext()
5160 int i40e_aq_write_ddp(struct i40e_hw *hw, void *buff, in i40e_aq_write_ddp()
5203 int i40e_aq_get_ddp_list(struct i40e_hw *hw, void *buff, in i40e_aq_get_ddp_list()
5309 static int i40e_ddp_exec_aq_section(struct i40e_hw *hw, in i40e_ddp_exec_aq_section()
5356 i40e_validate_profile(struct i40e_hw *hw, struct i40e_profile_segment *profile, in i40e_validate_profile()
5421 i40e_write_profile(struct i40e_hw *hw, struct i40e_profile_segment *profile, in i40e_write_profile()
5484 i40e_rollback_profile(struct i40e_hw *hw, struct i40e_profile_segment *profile, in i40e_rollback_profile()
5536 i40e_add_pinfo_to_list(struct i40e_hw *hw, in i40e_add_pinfo_to_list()
5578 i40e_aq_add_cloud_filters(struct i40e_hw *hw, u16 seid, in i40e_aq_add_cloud_filters()
5615 i40e_aq_add_cloud_filters_bb(struct i40e_hw *hw, u16 seid, in i40e_aq_add_cloud_filters_bb()
5671 i40e_aq_rem_cloud_filters(struct i40e_hw *hw, u16 seid, in i40e_aq_rem_cloud_filters()
5708 i40e_aq_rem_cloud_filters_bb(struct i40e_hw *hw, u16 seid, in i40e_aq_rem_cloud_filters_bb()