/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_mac.h | 7 #include "igc_hw.h" 12 s32 igc_disable_pcie_master(struct igc_hw *hw); 13 s32 igc_check_for_copper_link(struct igc_hw *hw); 14 s32 igc_config_fc_after_link_up(struct igc_hw *hw); 15 s32 igc_force_mac_fc(struct igc_hw *hw); 16 void igc_init_rx_addrs(struct igc_hw *hw, u16 rar_count); 17 s32 igc_setup_link(struct igc_hw *hw); 18 void igc_clear_hw_cntrs_base(struct igc_hw *hw); 19 s32 igc_get_auto_rd_done(struct igc_hw *hw); 20 void igc_put_hw_semaphore(struct igc_hw *h [all...] |
H A D | igc_hw.h | 38 s32 (*check_for_link)(struct igc_hw *hw); 39 s32 (*reset_hw)(struct igc_hw *hw); 40 s32 (*init_hw)(struct igc_hw *hw); 41 s32 (*setup_physical_interface)(struct igc_hw *hw); 42 void (*rar_set)(struct igc_hw *hw, u8 *address, u32 index); 43 s32 (*read_mac_addr)(struct igc_hw *hw); 44 s32 (*get_speed_and_duplex)(struct igc_hw *hw, u16 *speed, 46 s32 (*acquire_swfw_sync)(struct igc_hw *hw, u16 mask); 47 void (*release_swfw_sync)(struct igc_hw *hw, u16 mask); 68 s32 (*get_invariants)(struct igc_hw *h 178 struct igc_hw { global() struct 179 backigc_hw global() argument 204 revision_idigc_hw global() argument [all...] |
H A D | igc_phy.h | 9 s32 igc_check_reset_block(struct igc_hw *hw); 10 s32 igc_phy_hw_reset(struct igc_hw *hw); 11 s32 igc_get_phy_id(struct igc_hw *hw); 12 s32 igc_phy_has_link(struct igc_hw *hw, u32 iterations, 14 void igc_check_downshift(struct igc_hw *hw); 15 s32 igc_setup_copper_link(struct igc_hw *hw); 16 void igc_power_up_phy_copper(struct igc_hw *hw); 17 void igc_power_down_phy_copper(struct igc_hw *hw); 18 s32 igc_write_phy_reg_gpy(struct igc_hw *hw, u32 offset, u16 data); 19 s32 igc_read_phy_reg_gpy(struct igc_hw *h [all...] |
H A D | igc_i225.h | 7 s32 igc_acquire_swfw_sync_i225(struct igc_hw *hw, u16 mask); 8 void igc_release_swfw_sync_i225(struct igc_hw *hw, u16 mask); 10 s32 igc_init_nvm_params_i225(struct igc_hw *hw); 11 bool igc_get_flash_presence_i225(struct igc_hw *hw); 12 s32 igc_set_eee_i225(struct igc_hw *hw, bool adv2p5G, bool adv1G, 14 s32 igc_set_ltr_i225(struct igc_hw *hw, bool link);
|
H A D | igc_i225.c | 7 #include "igc_hw.h" 18 static s32 igc_acquire_nvm_i225(struct igc_hw *hw) in igc_acquire_nvm_i225() 30 static void igc_release_nvm_i225(struct igc_hw *hw) in igc_release_nvm_i225() 41 static s32 igc_get_hw_semaphore_i225(struct igc_hw *hw) in igc_get_hw_semaphore_i225() 110 s32 igc_acquire_swfw_sync_i225(struct igc_hw *hw, u16 mask) in igc_acquire_swfw_sync_i225() 156 void igc_release_swfw_sync_i225(struct igc_hw *hw, u16 mask) in igc_release_swfw_sync_i225() 187 static s32 igc_read_nvm_srrd_i225(struct igc_hw *hw, u16 offset, u16 words, in igc_read_nvm_srrd_i225() 226 static s32 igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words, in igc_write_nvm_srwr() 285 static s32 igc_write_nvm_srwr_i225(struct igc_hw *hw, u16 offset, u16 words, in igc_write_nvm_srwr_i225() 319 static s32 igc_validate_nvm_checksum_i225(struct igc_hw *h [all...] |
H A D | igc_base.c | 6 #include "igc_hw.h" 19 static s32 igc_reset_hw_base(struct igc_hw *hw) in igc_reset_hw_base() 65 static s32 igc_init_nvm_params_base(struct igc_hw *hw) in igc_init_nvm_params_base() 111 static s32 igc_setup_copper_link_base(struct igc_hw *hw) in igc_setup_copper_link_base() 130 static s32 igc_init_mac_params_base(struct igc_hw *hw) in igc_init_mac_params_base() 159 static s32 igc_init_phy_params_base(struct igc_hw *hw) in igc_init_phy_params_base() 191 static s32 igc_get_invariants_base(struct igc_hw *hw) in igc_get_invariants_base() 254 static s32 igc_acquire_phy_base(struct igc_hw *hw) in igc_acquire_phy_base() 268 static void igc_release_phy_base(struct igc_hw *hw) in igc_release_phy_base() 281 static s32 igc_init_hw_base(struct igc_hw *h [all...] |
H A D | igc_nvm.h | 7 s32 igc_read_mac_addr(struct igc_hw *hw); 8 s32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words, u16 *data); 9 s32 igc_validate_nvm_checksum(struct igc_hw *hw); 10 s32 igc_update_nvm_checksum(struct igc_hw *hw);
|
H A D | igc_mac.c | 8 #include "igc_hw.h" 21 s32 igc_disable_pcie_master(struct igc_hw *hw) in igc_disable_pcie_master() 58 void igc_init_rx_addrs(struct igc_hw *hw, u16 rar_count) in igc_init_rx_addrs() 82 static s32 igc_set_fc_watermarks(struct igc_hw *hw) in igc_set_fc_watermarks() 119 s32 igc_setup_link(struct igc_hw *hw) in igc_setup_link() 176 s32 igc_force_mac_fc(struct igc_hw *hw) in igc_force_mac_fc() 235 void igc_clear_hw_cntrs_base(struct igc_hw *hw) in igc_clear_hw_cntrs_base() 320 void igc_rar_set(struct igc_hw *hw, u8 *addr, u32 index) in igc_rar_set() 355 s32 igc_check_for_copper_link(struct igc_hw *hw) in igc_check_for_copper_link() 421 void igc_config_collision_dist(struct igc_hw *h [all...] |
H A D | igc_base.h | 8 void igc_rx_fifo_flush_base(struct igc_hw *hw); 9 void igc_power_down_phy_copper_base(struct igc_hw *hw); 10 bool igc_is_device_id_i225(struct igc_hw *hw); 11 bool igc_is_device_id_i226(struct igc_hw *hw);
|
H A D | igc_nvm.c | 15 static s32 igc_poll_eerd_eewr_done(struct igc_hw *hw, int ee_reg) in igc_poll_eerd_eewr_done() 47 s32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words, u16 *data) in igc_read_nvm_eerd() 83 s32 igc_read_mac_addr(struct igc_hw *hw) in igc_read_mac_addr() 111 s32 igc_validate_nvm_checksum(struct igc_hw *hw) in igc_validate_nvm_checksum() 144 s32 igc_update_nvm_checksum(struct igc_hw *hw) in igc_update_nvm_checksum()
|
H A D | igc_ptp.c | 27 struct igc_hw *hw = &adapter->hw; in igc_ptp_read() 41 struct igc_hw *hw = &adapter->hw; in igc_ptp_write_i225() 51 struct igc_hw *hw = &igc->hw; in igc_ptp_adjfine_i225() 97 struct igc_hw *hw = &igc->hw; in igc_ptp_gettimex64_i225() 175 struct igc_hw *hw = &igc->hw; in igc_pin_perout() 221 struct igc_hw *hw = &igc->hw; in igc_pin_extts() 251 struct igc_hw *hw = &igc->hw; in igc_ptp_feature_enable_i225() 495 struct igc_hw *hw = &adapter->hw; in igc_ptp_disable_rx_timestamp() 514 struct igc_hw *hw = &adapter->hw; in igc_ptp_enable_rx_timestamp() 581 struct igc_hw *h in igc_ptp_disable_tx_timestamp() [all...] |
H A D | igc_diag.c | 38 struct igc_hw *hw = &adapter->hw; in reg_pattern_test() 64 struct igc_hw *hw = &adapter->hw; in reg_set_and_check() 85 struct igc_hw *hw = &adapter->hw; in igc_reg_test() 157 struct igc_hw *hw = &adapter->hw; in igc_eeprom_test()
|
H A D | igc_tsn.c | 6 #include "igc_hw.h" 253 struct igc_hw *hw = &adapter->hw; in igc_tsn_is_tx_mode_in_tsn() 260 struct igc_hw *hw = &adapter->hw; in igc_tsn_adjust_txtime_offset() 289 struct igc_hw *hw = &adapter->hw; in igc_tsn_restore_retx_default() 298 struct igc_hw *hw = &adapter->hw; in igc_tsn_is_taprio_activated_by_user() 306 struct igc_hw *hw = &adapter->hw; in igc_tsn_tx_arb() 344 struct igc_hw *hw = &adapter->hw; in igc_tsn_set_rxpbsize() 359 struct igc_hw *hw = &adapter->hw; in igc_tsn_disable_offload() 413 struct igc_hw *hw = &adapter->hw; in igc_tsn_set_retx_qbvfullthreshold() 448 struct igc_hw *h in igc_tsn_enable_offload() [all...] |
H A D | igc_main.c | 20 #include "igc_hw.h" 82 struct igc_hw *hw = &adapter->hw; in igc_reset() 151 struct igc_hw *hw = &adapter->hw; in igc_release_hw_control() 173 struct igc_hw *hw = &adapter->hw; in igc_get_hw_control() 321 struct igc_hw *hw = &ring->q_vector->adapter->hw; in igc_disable_tx_ring_hw() 628 struct igc_hw *hw = &adapter->hw; in igc_configure_rx_ring() 731 struct igc_hw *hw = &adapter->hw; in igc_configure_tx_ring() 778 struct igc_hw *hw = &adapter->hw; in igc_setup_mrqc() 835 struct igc_hw *hw = &adapter->hw; in igc_setup_rctl() 882 struct igc_hw *h in igc_setup_tctl() [all...] |
H A D | igc_regs.h | 345 struct igc_hw; 346 u32 igc_rd32(struct igc_hw *hw, u32 reg);
|
H A D | igc.h | 20 #include "igc_hw.h" 279 /* structs defined in igc_hw.h */ 280 struct igc_hw hw; 691 static inline s32 igc_get_phy_info(struct igc_hw *hw) in igc_get_phy_info() 699 static inline s32 igc_reset_phy(struct igc_hw *hw) in igc_reset_phy() 755 static inline s32 igc_read_phy_reg(struct igc_hw *hw, u32 offset, u16 *data) in igc_read_phy_reg()
|
H A D | igc_leds.c | 78 struct igc_hw *hw = &adapter->hw; in igc_led_set() 104 struct igc_hw *hw = &adapter->hw; in igc_led_get()
|
H A D | igc_dump.c | 44 static void igc_regdump(struct igc_hw *hw, struct igc_reg_info *reginfo) in igc_regdump() 308 struct igc_hw *hw = &adapter->hw; in igc_regs_dump()
|