/linux/drivers/net/ethernet/intel/igc/ |
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 *hw); [all …]
|
H A 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 …]
|
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 *hw, u32 offset, u16 *data); [all …]
|
H A 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);
|
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 | 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 *hw) in igc_validate_nvm_checksum_i225() 321 s32 (*read_op_ptr)(struct igc_hw *hw, u16 offset, u16 count, in igc_validate_nvm_checksum_i225() [all …]
|
H A 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() 107 static s32 igc_setup_copper_link_base(struct igc_hw *hw) in igc_setup_copper_link_base() 126 static s32 igc_init_mac_params_base(struct igc_hw *hw) in igc_init_mac_params_base() 155 static s32 igc_init_phy_params_base(struct igc_hw *hw) in igc_init_phy_params_base() 187 static s32 igc_get_invariants_base(struct igc_hw *hw) in igc_get_invariants_base() 248 static s32 igc_acquire_phy_base(struct igc_hw *hw) in igc_acquire_phy_base() 262 static void igc_release_phy_base(struct igc_hw *hw) in igc_release_phy_base() 275 static s32 igc_init_hw_base(struct igc_hw *hw) in igc_init_hw_base() 314 void igc_power_down_phy_copper_base(struct igc_hw *hw) in igc_power_down_phy_copper_base() [all …]
|
H A D | igc_phy.c | 15 s32 igc_check_reset_block(struct igc_hw *hw) in igc_check_reset_block() 32 s32 igc_get_phy_id(struct igc_hw *hw) in igc_get_phy_id() 64 s32 igc_phy_has_link(struct igc_hw *hw, u32 iterations, in igc_phy_has_link() 109 void igc_power_up_phy_copper(struct igc_hw *hw) in igc_power_up_phy_copper() 126 void igc_power_down_phy_copper(struct igc_hw *hw) in igc_power_down_phy_copper() 143 void igc_check_downshift(struct igc_hw *hw) in igc_check_downshift() 160 s32 igc_phy_hw_reset(struct igc_hw *hw) in igc_phy_hw_reset() 216 static s32 igc_phy_setup_autoneg(struct igc_hw *hw) in igc_phy_setup_autoneg() 396 static s32 igc_wait_autoneg(struct igc_hw *hw) in igc_wait_autoneg() 429 static s32 igc_copper_link_autoneg(struct igc_hw *hw) in igc_copper_link_autoneg() [all …]
|
H A 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 …]
|
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() 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()
|
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_tsn.c | 57 struct igc_hw *hw = &adapter->hw; in igc_tsn_is_tx_mode_in_tsn() 64 struct igc_hw *hw = &adapter->hw; in igc_tsn_adjust_txtime_offset() 93 struct igc_hw *hw = &adapter->hw; in igc_tsn_restore_retx_default() 102 struct igc_hw *hw = &adapter->hw; in igc_tsn_is_taprio_activated_by_user() 110 struct igc_hw *hw = &adapter->hw; in igc_tsn_tx_arb() 134 struct igc_hw *hw = &adapter->hw; in igc_tsn_disable_offload() 182 struct igc_hw *hw = &adapter->hw; in igc_tsn_set_retx_qbvfullthreshold() 195 struct igc_hw *hw = &adapter->hw; in igc_tsn_enable_offload()
|
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() 506 struct igc_hw *hw = &adapter->hw; in igc_ptp_disable_rx_timestamp() 525 struct igc_hw *hw = &adapter->hw; in igc_ptp_enable_rx_timestamp() 592 struct igc_hw *hw = &adapter->hw; 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_main.c | 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() 780 struct igc_hw *hw = &adapter->hw; in igc_setup_mrqc() 837 struct igc_hw *hw = &adapter->hw; in igc_setup_rctl() 884 struct igc_hw *hw = &adapter->hw; in igc_setup_tctl() 917 struct igc_hw *hw = &adapter->hw; in igc_set_mac_filter_hw() [all …]
|
H A D | igc.h | 273 struct igc_hw hw; 660 static inline s32 igc_get_phy_info(struct igc_hw *hw) in igc_get_phy_info() 668 static inline s32 igc_reset_phy(struct igc_hw *hw) in igc_reset_phy() 724 static inline s32 igc_read_phy_reg(struct igc_hw *hw, u32 offset, u16 *data) in igc_read_phy_reg()
|
H A D | igc_regs.h | 329 struct igc_hw; 330 u32 igc_rd32(struct igc_hw *hw, u32 reg);
|
H A D | igc_ethtool.c | 135 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_drvinfo() 171 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_regs() 461 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_eeprom() 508 struct igc_hw *hw = &adapter->hw; in igc_ethtool_set_eeprom() 707 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_pauseparam() 726 struct igc_hw *hw = &adapter->hw; in igc_ethtool_set_pauseparam() 1185 struct igc_hw *hw = &adapter->hw; in igc_ethtool_set_rss_hash_opt() 1440 struct igc_hw *hw = &adapter->hw; in igc_write_rss_indir_tbl() 1629 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_eee() 1738 struct igc_hw *hw = &adapter->hw; in igc_ethtool_set_eee() [all …]
|
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()
|