Lines Matching refs:i40e_hw
21 int i40e_set_mac_type(struct i40e_hw *hw)
81 void i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, void *desc,
137 bool i40e_check_asq_alive(struct i40e_hw *hw)
154 int i40e_aq_queue_shutdown(struct i40e_hw *hw,
183 static int i40e_aq_get_set_rss_lut(struct i40e_hw *hw,
232 int i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 vsi_id,
249 int i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 vsi_id,
264 static int i40e_aq_get_set_rss_key(struct i40e_hw *hw,
302 int i40e_aq_get_rss_key(struct i40e_hw *hw,
317 int i40e_aq_set_rss_key(struct i40e_hw *hw,
330 * other function in the shared code. The i40e_hw structure should be
336 int i40e_init_shared_code(struct i40e_hw *hw)
377 i40e_aq_mac_address_read(struct i40e_hw *hw,
404 int i40e_aq_mac_address_write(struct i40e_hw *hw,
434 int i40e_get_mac_addr(struct i40e_hw *hw, u8 *mac_addr)
455 int i40e_get_port_mac_addr(struct i40e_hw *hw, u8 *mac_addr)
482 void i40e_pre_tx_queue_cfg(struct i40e_hw *hw, u32 queue, bool enable)
511 * to i40e_hw->pba_id field.
513 void i40e_get_pba_string(struct i40e_hw *hw)
578 static enum i40e_media_type i40e_get_media_type(struct i40e_hw *hw)
638 static int i40e_poll_globr(struct i40e_hw *hw,
665 int i40e_pf_reset(struct i40e_hw *hw)
757 void i40e_clear_hw(struct i40e_hw *hw)
844 void i40e_clear_pxe_mode(struct i40e_hw *hw)
869 static u32 i40e_led_is_mine(struct i40e_hw *hw, int idx)
908 u32 i40e_led_get(struct i40e_hw *hw)
938 void i40e_led_set(struct i40e_hw *hw, u32 mode, bool blink)
997 i40e_aq_get_phy_capabilities(struct i40e_hw *hw,
1076 int i40e_aq_set_phy_config(struct i40e_hw *hw,
1099 i40e_set_fc_status(struct i40e_hw *hw,
1156 int i40e_set_fc(struct i40e_hw *hw, u8 *aq_failures,
1199 int i40e_aq_clear_pxe_mode(struct i40e_hw *hw,
1227 int i40e_aq_set_link_restart_an(struct i40e_hw *hw,
1259 int i40e_aq_get_link_info(struct i40e_hw *hw,
1354 int i40e_aq_set_phy_int_mask(struct i40e_hw *hw,
1381 int i40e_aq_set_mac_loopback(struct i40e_hw *hw, bool ena_lpbk,
1407 int i40e_aq_set_phy_debug(struct i40e_hw *hw, u8 cmd_flags,
1433 int i40e_aq_add_vsi(struct i40e_hw *hw,
1476 int i40e_aq_set_default_vsi(struct i40e_hw *hw,
1503 int i40e_aq_clear_default_vsi(struct i40e_hw *hw,
1532 int i40e_aq_set_vsi_unicast_promiscuous(struct i40e_hw *hw,
1572 int i40e_aq_set_vsi_multicast_promiscuous(struct i40e_hw *hw,
1606 int i40e_aq_set_vsi_mc_promisc_on_vlan(struct i40e_hw *hw,
1642 int i40e_aq_set_vsi_uc_promisc_on_vlan(struct i40e_hw *hw,
1684 int i40e_aq_set_vsi_bc_promisc_on_vlan(struct i40e_hw *hw,
1719 int i40e_aq_set_vsi_broadcast(struct i40e_hw *hw,
1751 int i40e_aq_get_vsi_params(struct i40e_hw *hw,
1792 int i40e_aq_update_vsi_params(struct i40e_hw *hw,
1829 int i40e_aq_get_switch_config(struct i40e_hw *hw,
1863 int i40e_aq_set_switch_config(struct i40e_hw *hw,
1900 int i40e_aq_get_firmware_version(struct i40e_hw *hw,
1939 int i40e_aq_send_driver_version(struct i40e_hw *hw,
1981 int i40e_get_link_status(struct i40e_hw *hw, bool *link_up)
2002 noinline_for_stack int i40e_update_link_info(struct i40e_hw *hw)
2052 int i40e_aq_add_veb(struct i40e_hw *hw, u16 uplink_seid,
2110 int i40e_aq_get_veb_parameters(struct i40e_hw *hw,
2203 i40e_aq_add_macvlan(struct i40e_hw *hw, u16 seid,
2235 i40e_aq_add_macvlan_v2(struct i40e_hw *hw, u16 seid,
2263 i40e_aq_remove_macvlan(struct i40e_hw *hw, u16 seid,
2311 i40e_aq_remove_macvlan_v2(struct i40e_hw *hw, u16 seid,
2353 int i40e_aq_send_msg_to_vf(struct i40e_hw *hw, u16 vfid,
2388 int i40e_aq_debug_read_register(struct i40e_hw *hw,
2423 int i40e_aq_debug_write_register(struct i40e_hw *hw,
2454 int i40e_aq_request_resource(struct i40e_hw *hw,
2493 int i40e_aq_release_resource(struct i40e_hw *hw,
2525 int i40e_aq_read_nvm(struct i40e_hw *hw, u8 module_pointer,
2571 int i40e_aq_erase_nvm(struct i40e_hw *hw, u8 module_pointer,
2610 static void i40e_parse_discover_capabilities(struct i40e_hw *hw, void *buff,
2861 int i40e_aq_discover_capabilities(struct i40e_hw *hw,
2910 int i40e_aq_update_nvm(struct i40e_hw *hw, u8 module_pointer,
2968 int i40e_aq_get_lldp_mib(struct i40e_hw *hw, u8 bridge_type,
3018 i40e_aq_set_lldp_mib(struct i40e_hw *hw,
3056 int i40e_aq_cfg_lldp_mib_change_event(struct i40e_hw *hw,
3084 int i40e_aq_stop_lldp(struct i40e_hw *hw, bool shutdown_agent,
3119 int i40e_aq_start_lldp(struct i40e_hw *hw, bool persist,
3152 i40e_aq_set_dcb_parameters(struct i40e_hw *hw, bool dcb_enable,
3184 int i40e_aq_get_cee_dcb_config(struct i40e_hw *hw,
3215 int i40e_aq_add_udp_tunnel(struct i40e_hw *hw,
3246 int i40e_aq_del_udp_tunnel(struct i40e_hw *hw, u8 index,
3271 int i40e_aq_delete_element(struct i40e_hw *hw, u16 seid,
3301 int i40e_aq_dcb_updated(struct i40e_hw *hw,
3325 static int i40e_aq_tx_sched_cmd(struct i40e_hw *hw, u16 seid,
3383 int i40e_aq_config_vsi_bw_limit(struct i40e_hw *hw,
3411 int i40e_aq_config_vsi_tc_bw(struct i40e_hw *hw,
3430 i40e_aq_config_switch_comp_ets(struct i40e_hw *hw,
3448 i40e_aq_config_switch_comp_bw_config(struct i40e_hw *hw,
3466 i40e_aq_query_vsi_bw_config(struct i40e_hw *hw,
3484 i40e_aq_query_vsi_ets_sla_config(struct i40e_hw *hw,
3502 i40e_aq_query_switch_comp_ets_config(struct i40e_hw *hw,
3520 i40e_aq_query_port_ets_config(struct i40e_hw *hw,
3538 i40e_aq_query_switch_comp_bw_config(struct i40e_hw *hw,
3561 i40e_validate_filter_settings(struct i40e_hw *hw,
3647 int i40e_set_filter_control(struct i40e_hw *hw,
3716 int i40e_aq_add_rem_control_packet_filter(struct i40e_hw *hw,
3765 void i40e_add_filter_to_drop_tx_flow_control_frames(struct i40e_hw *hw,
3795 static int i40e_aq_alternate_read(struct i40e_hw *hw,
3831 int i40e_aq_suspend_port_tx(struct i40e_hw *hw, u16 seid,
3853 int i40e_aq_resume_port_tx(struct i40e_hw *hw,
3871 * Stores the PCI bus info (speed, width, type) within the i40e_hw structure
3873 void i40e_set_pci_config_data(struct i40e_hw *hw, u16 link_status)
3927 int i40e_aq_debug_dump(struct i40e_hw *hw, u8 cluster_id,
3979 int i40e_read_bw_from_alt_ram(struct i40e_hw *hw,
4020 i40e_aq_configure_partition_bw(struct i40e_hw *hw,
4055 int i40e_read_phy_register_clause22(struct i40e_hw *hw,
4099 int i40e_write_phy_register_clause22(struct i40e_hw *hw,
4140 int i40e_read_phy_register_clause45(struct i40e_hw *hw,
4213 int i40e_write_phy_register_clause45(struct i40e_hw *hw,
4277 u8 i40e_get_phy_address(struct i40e_hw *hw, u8 dev_num)
4291 static int i40e_led_get_reg(struct i40e_hw *hw, u16 led_addr,
4325 static int i40e_led_set_reg(struct i40e_hw *hw, u16 led_addr,
4360 int i40e_led_get_phy(struct i40e_hw *hw, u16 *led_addr,
4415 int i40e_led_set_phy(struct i40e_hw *hw, bool on,
4464 int i40e_aq_rx_ctl_read_register(struct i40e_hw *hw,
4493 u32 i40e_read_rx_ctl(struct i40e_hw *hw, u32 reg_addr)
4530 int i40e_aq_rx_ctl_write_register(struct i40e_hw *hw,
4555 void i40e_write_rx_ctl(struct i40e_hw *hw, u32 reg_addr, u32 reg_val)
4587 static void i40e_mdio_if_number_selection(struct i40e_hw *hw, bool set_mdio,
4621 int i40e_aq_set_phy_register_ext(struct i40e_hw *hw,
4666 int i40e_aq_get_phy_register_ext(struct i40e_hw *hw,
4706 int i40e_aq_write_ddp(struct i40e_hw *hw, void *buff,
4748 int i40e_aq_get_ddp_list(struct i40e_hw *hw, void *buff,
4821 static int i40e_ddp_exec_aq_section(struct i40e_hw *hw,
4868 i40e_validate_profile(struct i40e_hw *hw, struct i40e_profile_segment *profile,
4933 i40e_write_profile(struct i40e_hw *hw, struct i40e_profile_segment *profile,
4996 i40e_rollback_profile(struct i40e_hw *hw, struct i40e_profile_segment *profile,
5051 i40e_aq_add_cloud_filters(struct i40e_hw *hw, u16 seid,
5088 i40e_aq_add_cloud_filters_bb(struct i40e_hw *hw, u16 seid,
5144 i40e_aq_rem_cloud_filters(struct i40e_hw *hw, u16 seid,
5181 i40e_aq_rem_cloud_filters_bb(struct i40e_hw *hw, u16 seid,