Home
last modified time | relevance | path

Searched refs:ixgbe_hw (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.h10 u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw);
11 int ixgbe_init_hw_generic(struct ixgbe_hw *hw);
12 int ixgbe_start_hw_generic(struct ixgbe_hw *hw);
13 int ixgbe_start_hw_gen2(struct ixgbe_hw *hw);
14 int ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw);
15 int ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num,
17 int ixgbe_get_mac_addr_generic(struct ixgbe_hw *hw, u8 *mac_addr);
20 int ixgbe_get_bus_info_generic(struct ixgbe_hw *hw);
21 void ixgbe_set_lan_id_multi_port_pcie(struct ixgbe_hw *hw);
22 int ixgbe_stop_adapter_generic(struct ixgbe_hw *hw);
[all …]
H A Dixgbe_phy.h126 int ixgbe_mii_bus_init(struct ixgbe_hw *hw);
128 int ixgbe_identify_phy_generic(struct ixgbe_hw *hw);
129 int ixgbe_reset_phy_generic(struct ixgbe_hw *hw);
130 int ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr,
132 int ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr,
134 int ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr,
136 int ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr,
138 int ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw);
139 int ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw,
142 int ixgbe_get_copper_link_capabilities_generic(struct ixgbe_hw *hw,
[all …]
H A Dixgbe_x540.h6 int ixgbe_get_invariants_X540(struct ixgbe_hw *hw);
7 int ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed,
9 int ixgbe_reset_hw_X540(struct ixgbe_hw *hw);
10 int ixgbe_start_hw_X540(struct ixgbe_hw *hw);
11 enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw);
12 int ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed,
14 int ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, u32 index);
15 int ixgbe_blink_led_stop_X540(struct ixgbe_hw *hw, u32 index);
16 int ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask);
17 void ixgbe_release_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask);
[all …]
H A Dixgbe_mbx.c18 int ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_read_mbx()
41 int ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_write_mbx()
61 int ixgbe_check_for_msg(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_msg()
78 int ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_ack()
95 int ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_rst()
112 static int ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_poll_for_msg()
137 static int ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_poll_for_ack()
165 static int ixgbe_read_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_read_posted_mbx()
192 static int ixgbe_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_write_posted_mbx()
211 static int ixgbe_check_for_bit_pf(struct ixgbe_hw *hw, u32 mask, s32 index) in ixgbe_check_for_bit_pf()
[all …]
H A Dixgbe_common.c13 static int ixgbe_acquire_eeprom(struct ixgbe_hw *hw);
14 static int ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw);
15 static void ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw);
16 static int ixgbe_ready_eeprom(struct ixgbe_hw *hw);
17 static void ixgbe_standby_eeprom(struct ixgbe_hw *hw);
18 static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data,
20 static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count);
21 static void ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec);
22 static void ixgbe_lower_eeprom_clk(struct ixgbe_hw *hw, u32 *eec);
23 static void ixgbe_release_eeprom(struct ixgbe_hw *hw);
[all …]
H A Dixgbe_phy.c12 static void ixgbe_i2c_start(struct ixgbe_hw *hw);
13 static void ixgbe_i2c_stop(struct ixgbe_hw *hw);
14 static int ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data);
15 static int ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data);
16 static int ixgbe_get_i2c_ack(struct ixgbe_hw *hw);
17 static int ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data);
18 static int ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data);
19 static void ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl);
20 static void ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl);
21 static int ixgbe_set_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl, bool data);
[all …]
H A Dixgbe_82599.c19 static void ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw);
20 static void ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw);
21 static void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw);
23 ixgbe_set_hard_rate_select_speed(struct ixgbe_hw *, ixgbe_link_speed);
24 static int ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw,
27 static void ixgbe_stop_mac_link_on_d3_82599(struct ixgbe_hw *hw);
28 static int ixgbe_start_mac_link_82599(struct ixgbe_hw *hw,
30 static int ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw,
33 static int ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw,
36 static int ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw);
[all …]
H A Dixgbe_dcb_82598.h49 int ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *, u8 pfc_en);
52 int ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, u16 *refill,
55 int ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw, u16 *refill,
58 int ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw, u16 *refill,
61 int ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill,
H A Dixgbe_dcb.h127 int ixgbe_dcb_calculate_tc_credits(struct ixgbe_hw *,
131 int ixgbe_dcb_hw_ets(struct ixgbe_hw *hw, struct ieee_ets *ets, int max);
132 int ixgbe_dcb_hw_ets_config(struct ixgbe_hw *hw, u16 *refill, u16 *max,
134 int ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *tc_prio);
135 int ixgbe_dcb_hw_config(struct ixgbe_hw *, struct ixgbe_dcb_config *);
137 void ixgbe_dcb_read_rtrup2tc(struct ixgbe_hw *hw, u8 *map);
H A Dixgbe_dcb_82599.h73 int ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc);
76 int ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, u16 *refill,
80 int ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, u16 *refill,
83 int ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, u16 *refill,
87 int ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill,
H A Dixgbe_dcb_82598.c18 int ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, in ixgbe_dcb_config_rx_arbiter_82598()
76 int ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, in ixgbe_dcb_config_tx_desc_arbiter_82598()
122 int ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, in ixgbe_dcb_config_tx_data_arbiter_82598()
166 int ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *hw, u8 pfc_en) in ixgbe_dcb_config_pfc_82598()
219 static int ixgbe_dcb_config_tc_stats_82598(struct ixgbe_hw *hw) in ixgbe_dcb_config_tc_stats_82598()
255 int ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, in ixgbe_dcb_hw_config_82598()
H A Dixgbe_ptp.c163 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_setup_sdp_X540()
243 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_setup_sdp_X550()
333 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_read_X550()
370 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_read_82599()
453 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_adjfine_82599()
494 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_adjfine_X550()
552 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_gettimex()
659 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_check_pps_event()
715 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_rx_hang()
757 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_clear_tx_timestamp()
[all …]
H A Dixgbe_dcb_82599.c20 int ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, in ixgbe_dcb_config_rx_arbiter_82599()
79 int ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, in ixgbe_dcb_config_tx_desc_arbiter_82599()
131 int ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, in ixgbe_dcb_config_tx_data_arbiter_82599()
190 int ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) in ixgbe_dcb_config_pfc_82599()
275 static int ixgbe_dcb_config_tc_stats_82599(struct ixgbe_hw *hw) in ixgbe_dcb_config_tc_stats_82599()
333 int ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, in ixgbe_dcb_hw_config_82599()
H A Dixgbe_dcb.c62 int ixgbe_dcb_calculate_tc_credits(struct ixgbe_hw *hw, in ixgbe_dcb_calculate_tc_credits()
250 int ixgbe_dcb_hw_config(struct ixgbe_hw *hw, in ixgbe_dcb_hw_config()
286 int ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) in ixgbe_dcb_hw_pfc_config()
303 int ixgbe_dcb_hw_ets(struct ixgbe_hw *hw, struct ieee_ets *ets, int max_frame) in ixgbe_dcb_hw_ets()
336 int ixgbe_dcb_hw_ets_config(struct ixgbe_hw *hw, in ixgbe_dcb_hw_ets_config()
367 static void ixgbe_dcb_read_rtrup2tc_82599(struct ixgbe_hw *hw, u8 *map) in ixgbe_dcb_read_rtrup2tc_82599()
377 void ixgbe_dcb_read_rtrup2tc(struct ixgbe_hw *hw, u8 *map) in ixgbe_dcb_read_rtrup2tc()
H A Dixgbe_sriov.c28 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_alloc_vf_macvlans()
55 struct ixgbe_hw *hw = &adapter->hw; in __ixgbe_enable_sriov()
370 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_set_vf_multicasts()
411 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_restore_vf_multicasts()
445 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_set_vf_vlan()
477 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_set_vf_lpe()
560 static void ixgbe_set_vmolr(struct ixgbe_hw *hw, u32 vf, bool aupe) in ixgbe_set_vmolr()
573 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_clear_vmvir()
580 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_clear_vf_vlans()
697 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_vf_reset_event()
[all …]
H A Dixgbe_main.c174 static bool ixgbe_check_cfg_remove(struct ixgbe_hw *hw, struct pci_dev *pdev);
210 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_get_parent_bus_info()
240 static inline bool ixgbe_pcie_from_parent(struct ixgbe_hw *hw) in ixgbe_pcie_from_parent()
254 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_check_minimum_link()
281 static void ixgbe_remove_adapter(struct ixgbe_hw *hw) in ixgbe_remove_adapter()
293 static u32 ixgbe_check_remove(struct ixgbe_hw *hw, u32 reg) in ixgbe_check_remove()
334 u32 ixgbe_read_reg(struct ixgbe_hw *hw, u32 reg) in ixgbe_read_reg()
368 static bool ixgbe_check_cfg_remove(struct ixgbe_hw *hw, struct pci_dev *pdev) in ixgbe_check_cfg_remove()
380 u16 ixgbe_read_pci_cfg_word(struct ixgbe_hw *hw, u32 reg) in ixgbe_read_pci_cfg_word()
395 static u32 ixgbe_read_pci_cfg_dword(struct ixgbe_hw *hw, u32 reg) in ixgbe_read_pci_cfg_dword()
[all …]
H A Dixgbe.h524 struct ixgbe_hw *hw;
727 struct ixgbe_hw hw;
952 int ixgbe_reinit_fdir_tables_82599(struct ixgbe_hw *hw);
953 int ixgbe_init_fdir_signature_82599(struct ixgbe_hw *hw, u32 fdirctrl);
954 int ixgbe_init_fdir_perfect_82599(struct ixgbe_hw *hw, u32 fdirctrl);
955 int ixgbe_fdir_add_signature_filter_82599(struct ixgbe_hw *hw,
959 int ixgbe_fdir_set_input_mask_82599(struct ixgbe_hw *hw,
961 int ixgbe_fdir_write_perfect_filter_82599(struct ixgbe_hw *hw,
964 int ixgbe_fdir_erase_perfect_filter_82599(struct ixgbe_hw *hw,
1062 int ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg,
H A Dixgbe_ipsec.c21 static void ixgbe_ipsec_set_tx_sa(struct ixgbe_hw *hw, u16 idx, in ixgbe_ipsec_set_tx_sa()
49 static void ixgbe_ipsec_set_rx_item(struct ixgbe_hw *hw, u16 idx, in ixgbe_ipsec_set_rx_item()
73 static void ixgbe_ipsec_set_rx_sa(struct ixgbe_hw *hw, u16 idx, __be32 spi, in ixgbe_ipsec_set_rx_sa()
103 static void ixgbe_ipsec_set_rx_ip(struct ixgbe_hw *hw, u16 idx, __be32 addr[]) in ixgbe_ipsec_set_rx_ip()
122 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ipsec_clear_hw_tables()
148 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ipsec_stop_data()
221 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ipsec_stop_engine()
263 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ipsec_start_engine()
306 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ipsec_restore()
482 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ipsec_check_mgmt_ip()
[all …]
H A Dixgbe_ethtool.c147 static void ixgbe_set_supported_10gtypes(struct ixgbe_hw *hw, in ixgbe_set_supported_10gtypes()
180 static void ixgbe_set_advertising_10gtypes(struct ixgbe_hw *hw, in ixgbe_set_advertising_10gtypes()
217 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_get_link_ksettings()
462 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_set_link_ksettings()
549 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_get_pauseparam()
571 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_set_pauseparam()
631 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_get_regs()
1004 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_get_eeprom()
1040 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_set_eeprom()
1449 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_link_test()
[all …]
/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dvf.h17 struct ixgbe_hw;
20 s32 (*init_hw)(struct ixgbe_hw *);
21 s32 (*reset_hw)(struct ixgbe_hw *);
22 s32 (*start_hw)(struct ixgbe_hw *);
23 s32 (*clear_hw_cntrs)(struct ixgbe_hw *);
24 enum ixgbe_media_type (*get_media_type)(struct ixgbe_hw *);
25 s32 (*get_mac_addr)(struct ixgbe_hw *, u8 *);
26 s32 (*stop_adapter)(struct ixgbe_hw *);
27 s32 (*get_bus_info)(struct ixgbe_hw *);
28 s32 (*negotiate_api_version)(struct ixgbe_hw *hw, int api);
[all …]
H A Dmbx.c13 static s32 ixgbevf_poll_for_msg(struct ixgbe_hw *hw) in ixgbevf_poll_for_msg()
35 static s32 ixgbevf_poll_for_ack(struct ixgbe_hw *hw) in ixgbevf_poll_for_ack()
58 static u32 ixgbevf_read_mailbox_vf(struct ixgbe_hw *hw) in ixgbevf_read_mailbox_vf()
74 static void ixgbevf_clear_msg_vf(struct ixgbe_hw *hw) in ixgbevf_clear_msg_vf()
90 static void ixgbevf_clear_ack_vf(struct ixgbe_hw *hw) in ixgbevf_clear_ack_vf()
107 static void ixgbevf_clear_rst_vf(struct ixgbe_hw *hw) in ixgbevf_clear_rst_vf()
126 static s32 ixgbevf_check_for_bit_vf(struct ixgbe_hw *hw, u32 mask) in ixgbevf_check_for_bit_vf()
143 static s32 ixgbevf_check_for_msg_vf(struct ixgbe_hw *hw) in ixgbevf_check_for_msg_vf()
161 static s32 ixgbevf_check_for_ack_vf(struct ixgbe_hw *hw) in ixgbevf_check_for_ack_vf()
180 static s32 ixgbevf_check_for_rst_vf(struct ixgbe_hw *hw) in ixgbevf_check_for_rst_vf()
[all …]
H A Dvf.c13 static inline s32 ixgbevf_write_msg_read_ack(struct ixgbe_hw *hw, u32 *msg, in ixgbevf_write_msg_read_ack()
33 static s32 ixgbevf_start_hw_vf(struct ixgbe_hw *hw) in ixgbevf_start_hw_vf()
48 static s32 ixgbevf_init_hw_vf(struct ixgbe_hw *hw) in ixgbevf_init_hw_vf()
64 static s32 ixgbevf_reset_hw_vf(struct ixgbe_hw *hw) in ixgbevf_reset_hw_vf()
132 static s32 ixgbevf_hv_reset_hw_vf(struct ixgbe_hw *hw) in ixgbevf_hv_reset_hw_vf()
158 static s32 ixgbevf_stop_hw_vf(struct ixgbe_hw *hw) in ixgbevf_stop_hw_vf()
212 static s32 ixgbevf_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) in ixgbevf_mta_vector()
243 static s32 ixgbevf_get_mac_addr_vf(struct ixgbe_hw *hw, u8 *mac_addr) in ixgbevf_get_mac_addr_vf()
250 static s32 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) in ixgbevf_set_uc_addr_vf()
281 static s32 ixgbevf_hv_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) in ixgbevf_hv_set_uc_addr_vf()
[all …]
H A Dixgbevf_main.c114 static void ixgbevf_remove_adapter(struct ixgbe_hw *hw) in ixgbevf_remove_adapter()
126 static void ixgbevf_check_remove(struct ixgbe_hw *hw, u32 reg) in ixgbevf_check_remove()
145 u32 ixgbevf_read_reg(struct ixgbe_hw *hw, u32 reg) in ixgbevf_read_reg()
169 struct ixgbe_hw *hw = &adapter->hw; in ixgbevf_set_ivar()
197 struct ixgbe_hw *hw = &adapter->hw; in ixgbevf_get_tx_pending()
367 struct ixgbe_hw *hw = &adapter->hw; in ixgbevf_clean_tx_irq()
918 struct ixgbe_hw *hw = &adapter->hw; in ixgbevf_irq_enable_queues()
1328 struct ixgbe_hw *hw = &adapter->hw; in ixgbevf_write_eitr()
1504 struct ixgbe_hw *hw = &adapter->hw; in ixgbevf_msix_other()
1650 struct ixgbe_hw *hw = &adapter->hw; in ixgbevf_irq_disable()
[all …]
H A Dixgbevf.h364 struct ixgbe_hw hw;
495 s32 ixgbevf_poll_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size);
496 s32 ixgbevf_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size);
H A Dmbx.h116 struct ixgbe_hw;

12