/Linux-v5.10/drivers/net/ethernet/intel/igc/ |
D | igc_mac.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 *hw); 21 void igc_rar_set(struct igc_hw *hw, u8 *addr, u32 index); [all …]
|
D | igc_hw.h | 36 s32 (*check_for_link)(struct igc_hw *hw); 37 s32 (*reset_hw)(struct igc_hw *hw); 38 s32 (*init_hw)(struct igc_hw *hw); 39 s32 (*setup_physical_interface)(struct igc_hw *hw); 40 void (*rar_set)(struct igc_hw *hw, u8 *address, u32 index); 41 s32 (*read_mac_addr)(struct igc_hw *hw); 42 s32 (*get_speed_and_duplex)(struct igc_hw *hw, u16 *speed, 44 s32 (*acquire_swfw_sync)(struct igc_hw *hw, u16 mask); 45 void (*release_swfw_sync)(struct igc_hw *hw, u16 mask); 74 s32 (*get_invariants)(struct igc_hw *hw); [all …]
|
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 s32 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 *hw, u32 offset, u16 *data);
|
D | igc_nvm.h | 7 s32 igc_acquire_nvm(struct igc_hw *hw); 8 void igc_release_nvm(struct igc_hw *hw); 9 s32 igc_read_mac_addr(struct igc_hw *hw); 10 s32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words, u16 *data); 11 s32 igc_validate_nvm_checksum(struct igc_hw *hw); 12 s32 igc_update_nvm_checksum(struct igc_hw *hw);
|
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);
|
D | igc_i225.c | 17 static s32 igc_acquire_nvm_i225(struct igc_hw *hw) in igc_acquire_nvm_i225() 29 static void igc_release_nvm_i225(struct igc_hw *hw) in igc_release_nvm_i225() 40 static s32 igc_get_hw_semaphore_i225(struct igc_hw *hw) in igc_get_hw_semaphore_i225() 109 s32 igc_acquire_swfw_sync_i225(struct igc_hw *hw, u16 mask) in igc_acquire_swfw_sync_i225() 155 void igc_release_swfw_sync_i225(struct igc_hw *hw, u16 mask) in igc_release_swfw_sync_i225() 179 static s32 igc_read_nvm_srrd_i225(struct igc_hw *hw, u16 offset, u16 words, in igc_read_nvm_srrd_i225() 218 static s32 igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words, in igc_write_nvm_srwr() 278 static s32 igc_write_nvm_srwr_i225(struct igc_hw *hw, u16 offset, u16 words, in igc_write_nvm_srwr_i225() 312 static s32 igc_validate_nvm_checksum_i225(struct igc_hw *hw) in igc_validate_nvm_checksum_i225() 314 s32 (*read_op_ptr)(struct igc_hw *hw, u16 offset, u16 count, in igc_validate_nvm_checksum_i225() [all …]
|
D | igc_phy.c | 14 s32 igc_check_reset_block(struct igc_hw *hw) in igc_check_reset_block() 31 s32 igc_get_phy_id(struct igc_hw *hw) in igc_get_phy_id() 63 s32 igc_phy_has_link(struct igc_hw *hw, u32 iterations, in igc_phy_has_link() 108 void igc_power_up_phy_copper(struct igc_hw *hw) in igc_power_up_phy_copper() 125 void igc_power_down_phy_copper(struct igc_hw *hw) in igc_power_down_phy_copper() 148 s32 igc_check_downshift(struct igc_hw *hw) in igc_check_downshift() 173 s32 igc_phy_hw_reset(struct igc_hw *hw) in igc_phy_hw_reset() 229 static s32 igc_phy_setup_autoneg(struct igc_hw *hw) in igc_phy_setup_autoneg() 411 static s32 igc_wait_autoneg(struct igc_hw *hw) in igc_wait_autoneg() 444 static s32 igc_copper_link_autoneg(struct igc_hw *hw) in igc_copper_link_autoneg() [all …]
|
D | igc_base.c | 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() 108 static s32 igc_setup_copper_link_base(struct igc_hw *hw) in igc_setup_copper_link_base() 127 static s32 igc_init_mac_params_base(struct igc_hw *hw) in igc_init_mac_params_base() 156 static s32 igc_init_phy_params_base(struct igc_hw *hw) in igc_init_phy_params_base() 204 static s32 igc_get_invariants_base(struct igc_hw *hw) in igc_get_invariants_base() 263 static s32 igc_acquire_phy_base(struct igc_hw *hw) in igc_acquire_phy_base() 277 static void igc_release_phy_base(struct igc_hw *hw) in igc_release_phy_base() 290 static s32 igc_init_hw_base(struct igc_hw *hw) in igc_init_hw_base() 329 void igc_power_down_phy_copper_base(struct igc_hw *hw) in igc_power_down_phy_copper_base() [all …]
|
D | igc_mac.c | 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() 429 void igc_config_collision_dist(struct igc_hw *hw) in igc_config_collision_dist() 452 s32 igc_config_fc_after_link_up(struct igc_hw *hw) in igc_config_fc_after_link_up() [all …]
|
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() 46 s32 igc_acquire_nvm(struct igc_hw *hw) in igc_acquire_nvm() 79 void igc_release_nvm(struct igc_hw *hw) in igc_release_nvm() 97 s32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words, u16 *data) in igc_read_nvm_eerd() 133 s32 igc_read_mac_addr(struct igc_hw *hw) in igc_read_mac_addr() 161 s32 igc_validate_nvm_checksum(struct igc_hw *hw) in igc_validate_nvm_checksum() 194 s32 igc_update_nvm_checksum(struct igc_hw *hw) in igc_update_nvm_checksum()
|
D | igc_ptp.c | 22 struct igc_hw *hw = &adapter->hw; in igc_ptp_read() 36 struct igc_hw *hw = &adapter->hw; in igc_ptp_write_i225() 46 struct igc_hw *hw = &igc->hw; in igc_ptp_adjfine_i225() 92 struct igc_hw *hw = &igc->hw; in igc_ptp_gettimex64_i225() 202 struct igc_hw *hw = &adapter->hw; in igc_ptp_disable_rx_timestamp() 221 struct igc_hw *hw = &adapter->hw; in igc_ptp_enable_rx_timestamp() 246 struct igc_hw *hw = &adapter->hw; in igc_ptp_disable_tx_timestamp() 253 struct igc_hw *hw = &adapter->hw; in igc_ptp_enable_tx_timestamp() 317 struct igc_hw *hw = &adapter->hw; in igc_ptp_tx_timeout() 358 struct igc_hw *hw = &adapter->hw; in igc_ptp_tx_hwtstamp() [all …]
|
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()
|
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);
|
D | igc_main.c | 72 struct igc_hw *hw = &adapter->hw; in igc_reset() 138 struct igc_hw *hw = &adapter->hw; in igc_release_hw_control() 157 struct igc_hw *hw = &adapter->hw; in igc_get_hw_control() 509 struct igc_hw *hw = &adapter->hw; in igc_configure_rx_ring() 589 struct igc_hw *hw = &adapter->hw; in igc_configure_tx_ring() 637 struct igc_hw *hw = &adapter->hw; in igc_setup_mrqc() 694 struct igc_hw *hw = &adapter->hw; in igc_setup_rctl() 741 struct igc_hw *hw = &adapter->hw; in igc_setup_tctl() 774 struct igc_hw *hw = &adapter->hw; in igc_set_mac_filter_hw() 810 struct igc_hw *hw = &adapter->hw; in igc_clear_mac_filter_hw() [all …]
|
D | igc.h | 176 struct igc_hw hw; 473 static inline s32 igc_get_phy_info(struct igc_hw *hw) in igc_get_phy_info() 481 static inline s32 igc_reset_phy(struct igc_hw *hw) in igc_reset_phy() 530 static inline s32 igc_read_phy_reg(struct igc_hw *hw, u32 offset, u16 *data) in igc_read_phy_reg()
|
D | igc_tsn.c | 26 struct igc_hw *hw = &adapter->hw; in igc_tsn_disable_offload() 65 struct igc_hw *hw = &adapter->hw; in igc_tsn_enable_offload()
|
D | igc_regs.h | 248 struct igc_hw; 249 u32 igc_rd32(struct igc_hw *hw, u32 reg);
|
D | igc_ethtool.c | 151 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_regs() 441 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_eeprom() 488 struct igc_hw *hw = &adapter->hw; in igc_ethtool_set_eeprom() 682 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_pauseparam() 701 struct igc_hw *hw = &adapter->hw; in igc_ethtool_set_pauseparam() 1150 struct igc_hw *hw = &adapter->hw; in igc_ethtool_set_rss_hash_opt() 1363 struct igc_hw *hw = &adapter->hw; in igc_write_rss_indir_tbl() 1551 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_eee() 1592 struct igc_hw *hw = &adapter->hw; in igc_ethtool_set_eee() 1658 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_link_ksettings() [all …]
|
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()
|