Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/intel/igc/
Digc_mac.h16 s32 igc_disable_pcie_master(struct igc_hw *hw);
17 s32 igc_check_for_copper_link(struct igc_hw *hw);
18 s32 igc_config_fc_after_link_up(struct igc_hw *hw);
19 s32 igc_force_mac_fc(struct igc_hw *hw);
20 void igc_init_rx_addrs(struct igc_hw *hw, u16 rar_count);
21 s32 igc_setup_link(struct igc_hw *hw);
22 void igc_clear_hw_cntrs_base(struct igc_hw *hw);
23 s32 igc_get_auto_rd_done(struct igc_hw *hw);
24 void igc_put_hw_semaphore(struct igc_hw *hw);
25 void igc_rar_set(struct igc_hw *hw, u8 *addr, u32 index);
[all …]
Digc_hw.h29 s32 (*check_for_link)(struct igc_hw *hw);
30 s32 (*reset_hw)(struct igc_hw *hw);
31 s32 (*init_hw)(struct igc_hw *hw);
32 s32 (*setup_physical_interface)(struct igc_hw *hw);
33 void (*rar_set)(struct igc_hw *hw, u8 *address, u32 index);
34 s32 (*read_mac_addr)(struct igc_hw *hw);
35 s32 (*get_speed_and_duplex)(struct igc_hw *hw, u16 *speed,
37 s32 (*acquire_swfw_sync)(struct igc_hw *hw, u16 mask);
38 void (*release_swfw_sync)(struct igc_hw *hw, u16 mask);
67 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);
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.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()
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 …]
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()
215 static s32 igc_phy_setup_autoneg(struct igc_hw *hw) in igc_phy_setup_autoneg()
397 static s32 igc_wait_autoneg(struct igc_hw *hw) in igc_wait_autoneg()
430 static s32 igc_copper_link_autoneg(struct igc_hw *hw) in igc_copper_link_autoneg()
[all …]
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);
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()
204 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 *hw) in igc_init_hw_base()
320 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()
332 void igc_rar_set(struct igc_hw *hw, u8 *addr, u32 index) in igc_rar_set()
367 s32 igc_check_for_copper_link(struct igc_hw *hw) in igc_check_for_copper_link()
436 void igc_config_collision_dist(struct igc_hw *hw) in igc_config_collision_dist()
459 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_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()
150 struct igc_hw *hw = &adapter->hw; in igc_release_hw_control()
169 struct igc_hw *hw = &adapter->hw; in igc_get_hw_control()
523 struct igc_hw *hw = &adapter->hw; in igc_configure_rx_ring()
603 struct igc_hw *hw = &adapter->hw; in igc_configure_tx_ring()
651 struct igc_hw *hw = &adapter->hw; in igc_setup_mrqc()
708 struct igc_hw *hw = &adapter->hw; in igc_setup_rctl()
755 struct igc_hw *hw = &adapter->hw; in igc_setup_tctl()
783 struct igc_hw *hw = &adapter->hw; in igc_set_mac()
1802 struct igc_hw *hw = &adapter->hw; in igc_clean_tx_irq()
[all …]
Digc.h401 struct igc_hw hw;
445 static inline s32 igc_get_phy_info(struct igc_hw *hw) in igc_get_phy_info()
453 static inline s32 igc_reset_phy(struct igc_hw *hw) in igc_reset_phy()
502 static inline s32 igc_read_phy_reg(struct igc_hw *hw, u32 offset, u16 *data) in igc_read_phy_reg()
Digc_regs.h219 struct igc_hw;
220 u32 igc_rd32(struct igc_hw *hw, u32 reg);
Digc_ethtool.c150 struct igc_hw *hw = &adapter->hw; in igc_get_regs()
362 struct igc_hw *hw = &adapter->hw; in igc_get_eeprom()
409 struct igc_hw *hw = &adapter->hw; in igc_set_eeprom()
603 struct igc_hw *hw = &adapter->hw; in igc_get_pauseparam()
622 struct igc_hw *hw = &adapter->hw; in igc_set_pauseparam()
1105 struct igc_hw *hw = &adapter->hw; in igc_set_rss_hash_opt()
1139 struct igc_hw *hw = &adapter->hw; in igc_rxnfc_write_etype_filter()
1178 struct igc_hw *hw = &adapter->hw; in igc_rxnfc_write_vlan_prio_filter()
1205 struct igc_hw *hw = &adapter->hw; in igc_add_filter()
1249 struct igc_hw *hw = &adapter->hw; in igc_clear_etype_filter_regs()
[all …]