Home
last modified time | relevance | path

Searched refs:igc_hw (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/intel/igc/
Digc_mac.h12 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 …]
Digc_hw.h37 s32 (*check_for_link)(struct igc_hw *hw);
38 s32 (*reset_hw)(struct igc_hw *hw);
39 s32 (*init_hw)(struct igc_hw *hw);
40 s32 (*setup_physical_interface)(struct igc_hw *hw);
41 void (*rar_set)(struct igc_hw *hw, u8 *address, u32 index);
42 s32 (*read_mac_addr)(struct igc_hw *hw);
43 s32 (*get_speed_and_duplex)(struct igc_hw *hw, u16 *speed,
45 s32 (*acquire_swfw_sync)(struct igc_hw *hw, u16 mask);
46 void (*release_swfw_sync)(struct igc_hw *hw, u16 mask);
75 s32 (*get_invariants)(struct igc_hw *hw);
[all …]
Digc_phy.h9 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);
[all …]
Digc_nvm.h7 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);
Digc_i225.h7 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);
Digc_i225.c17 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()
277 static s32 igc_write_nvm_srwr_i225(struct igc_hw *hw, u16 offset, u16 words, in igc_write_nvm_srwr_i225()
311 static s32 igc_validate_nvm_checksum_i225(struct igc_hw *hw) in igc_validate_nvm_checksum_i225()
313 s32 (*read_op_ptr)(struct igc_hw *hw, u16 offset, u16 count, in igc_validate_nvm_checksum_i225()
[all …]
Digc_phy.c14 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()
409 static s32 igc_wait_autoneg(struct igc_hw *hw) in igc_wait_autoneg()
442 static s32 igc_copper_link_autoneg(struct igc_hw *hw) in igc_copper_link_autoneg()
[all …]
Digc_base.c19 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()
196 static s32 igc_get_invariants_base(struct igc_hw *hw) in igc_get_invariants_base()
256 static s32 igc_acquire_phy_base(struct igc_hw *hw) in igc_acquire_phy_base()
270 static void igc_release_phy_base(struct igc_hw *hw) in igc_release_phy_base()
283 static s32 igc_init_hw_base(struct igc_hw *hw) in igc_init_hw_base()
322 void igc_power_down_phy_copper_base(struct igc_hw *hw) in igc_power_down_phy_copper_base()
[all …]
Digc_mac.c21 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 …]
Digc_nvm.c15 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()
Digc_ptp.c27 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()
493 struct igc_hw *hw = &adapter->hw; in igc_ptp_disable_rx_timestamp()
512 struct igc_hw *hw = &adapter->hw; in igc_ptp_enable_rx_timestamp()
537 struct igc_hw *hw = &adapter->hw; in igc_ptp_disable_tx_timestamp()
[all …]
Digc_diag.c38 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()
Digc_base.h8 void igc_rx_fifo_flush_base(struct igc_hw *hw);
9 void igc_power_down_phy_copper_base(struct igc_hw *hw);
Digc_main.c82 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()
591 struct igc_hw *hw = &adapter->hw; in igc_configure_rx_ring()
691 struct igc_hw *hw = &adapter->hw; in igc_configure_tx_ring()
741 struct igc_hw *hw = &adapter->hw; in igc_setup_mrqc()
798 struct igc_hw *hw = &adapter->hw; in igc_setup_rctl()
845 struct igc_hw *hw = &adapter->hw; in igc_setup_tctl()
878 struct igc_hw *hw = &adapter->hw; in igc_set_mac_filter_hw()
914 struct igc_hw *hw = &adapter->hw; in igc_clear_mac_filter_hw()
[all …]
Digc.h193 struct igc_hw hw;
550 static inline s32 igc_get_phy_info(struct igc_hw *hw) in igc_get_phy_info()
558 static inline s32 igc_reset_phy(struct igc_hw *hw) in igc_reset_phy()
612 static inline s32 igc_read_phy_reg(struct igc_hw *hw, u32 offset, u16 *data) in igc_read_phy_reg()
Digc_regs.h302 struct igc_hw;
303 u32 igc_rd32(struct igc_hw *hw, u32 reg);
Digc_tsn.c56 struct igc_hw *hw = &adapter->hw; in igc_tsn_disable_offload()
84 struct igc_hw *hw = &adapter->hw; in igc_tsn_enable_offload()
Digc_ethtool.c134 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_drvinfo()
170 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_regs()
460 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_eeprom()
507 struct igc_hw *hw = &adapter->hw; in igc_ethtool_set_eeprom()
700 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_pauseparam()
719 struct igc_hw *hw = &adapter->hw; in igc_ethtool_set_pauseparam()
1165 struct igc_hw *hw = &adapter->hw; in igc_ethtool_set_rss_hash_opt()
1391 struct igc_hw *hw = &adapter->hw; in igc_write_rss_indir_tbl()
1579 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_eee()
1620 struct igc_hw *hw = &adapter->hw; in igc_ethtool_set_eee()
[all …]
Digc_dump.c44 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()