Home
last modified time | relevance | path

Searched refs:e1000_hw (Results 1 – 25 of 50) sorted by relevance

12

/linux-6.6.21/drivers/net/ethernet/intel/e1000e/
Dmac.h7 s32 e1000e_blink_led_generic(struct e1000_hw *hw);
8 s32 e1000e_check_for_copper_link(struct e1000_hw *hw);
9 s32 e1000e_check_for_fiber_link(struct e1000_hw *hw);
10 s32 e1000e_check_for_serdes_link(struct e1000_hw *hw);
11 s32 e1000e_cleanup_led_generic(struct e1000_hw *hw);
12 s32 e1000e_config_fc_after_link_up(struct e1000_hw *hw);
13 s32 e1000e_disable_pcie_master(struct e1000_hw *hw);
14 s32 e1000e_force_mac_fc(struct e1000_hw *hw);
15 s32 e1000e_get_auto_rd_done(struct e1000_hw *hw);
16 s32 e1000e_get_bus_info_pcie(struct e1000_hw *hw);
[all …]
Dphy.h7 s32 e1000e_check_downshift(struct e1000_hw *hw);
8 s32 e1000_check_polarity_m88(struct e1000_hw *hw);
9 s32 e1000_check_polarity_igp(struct e1000_hw *hw);
10 s32 e1000_check_polarity_ife(struct e1000_hw *hw);
11 s32 e1000e_check_reset_block_generic(struct e1000_hw *hw);
12 s32 e1000e_copper_link_setup_igp(struct e1000_hw *hw);
13 s32 e1000e_copper_link_setup_m88(struct e1000_hw *hw);
14 s32 e1000e_phy_force_speed_duplex_igp(struct e1000_hw *hw);
15 s32 e1000e_phy_force_speed_duplex_m88(struct e1000_hw *hw);
16 s32 e1000_phy_force_speed_duplex_ife(struct e1000_hw *hw);
[all …]
Dhw.h10 struct e1000_hw;
498 s32 (*id_led_init)(struct e1000_hw *);
499 s32 (*blink_led)(struct e1000_hw *);
500 bool (*check_mng_mode)(struct e1000_hw *);
501 s32 (*check_for_link)(struct e1000_hw *);
502 s32 (*cleanup_led)(struct e1000_hw *);
503 void (*clear_hw_cntrs)(struct e1000_hw *);
504 void (*clear_vfta)(struct e1000_hw *);
505 s32 (*get_bus_info)(struct e1000_hw *);
506 void (*set_lan_id)(struct e1000_hw *);
[all …]
Dnvm.h7 s32 e1000e_acquire_nvm(struct e1000_hw *hw);
9 s32 e1000e_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg);
10 s32 e1000_read_mac_addr_generic(struct e1000_hw *hw);
11 s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num,
13 s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
14 s32 e1000e_valid_led_default(struct e1000_hw *hw, u16 *data);
15 s32 e1000e_validate_nvm_checksum_generic(struct e1000_hw *hw);
16 s32 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
17 s32 e1000e_update_nvm_checksum_generic(struct e1000_hw *hw);
18 void e1000e_release_nvm(struct e1000_hw *hw);
D82571.c22 static s32 e1000_get_phy_id_82571(struct e1000_hw *hw);
23 static s32 e1000_setup_copper_link_82571(struct e1000_hw *hw);
24 static s32 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw);
25 static s32 e1000_check_for_serdes_link_82571(struct e1000_hw *hw);
26 static s32 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset,
28 static s32 e1000_fix_nvm_checksum_82571(struct e1000_hw *hw);
29 static void e1000_initialize_hw_bits_82571(struct e1000_hw *hw);
30 static void e1000_clear_hw_cntrs_82571(struct e1000_hw *hw);
31 static bool e1000_check_mng_mode_82574(struct e1000_hw *hw);
32 static s32 e1000_led_on_82574(struct e1000_hw *hw);
[all …]
D80003es2lan.c21 static s32 e1000_setup_copper_link_80003es2lan(struct e1000_hw *hw);
22 static s32 e1000_acquire_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask);
23 static void e1000_release_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask);
24 static void e1000_initialize_hw_bits_80003es2lan(struct e1000_hw *hw);
25 static void e1000_clear_hw_cntrs_80003es2lan(struct e1000_hw *hw);
26 static s32 e1000_cfg_kmrn_1000_80003es2lan(struct e1000_hw *hw);
27 static s32 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex);
28 static s32 e1000_read_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset,
30 static s32 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset,
32 static void e1000_power_down_phy_copper_80003es2lan(struct e1000_hw *hw);
[all …]
Dich8lan.h295 void e1000e_write_protect_nvm_ich8lan(struct e1000_hw *hw);
296 void e1000e_set_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw,
298 void e1000e_igp3_phy_powerdown_workaround_ich8lan(struct e1000_hw *hw);
299 void e1000e_gig_downshift_workaround_ich8lan(struct e1000_hw *hw);
300 void e1000_suspend_workarounds_ich8lan(struct e1000_hw *hw);
301 void e1000_resume_workarounds_pchlan(struct e1000_hw *hw);
302 s32 e1000_configure_k1_ich8lan(struct e1000_hw *hw, bool k1_enable);
303 void e1000_copy_rx_addrs_to_phy_ich8lan(struct e1000_hw *hw);
304 s32 e1000_lv_jumbo_workaround_ich8lan(struct e1000_hw *hw, bool enable);
305 s32 e1000_read_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 *data);
[all …]
Dmac.c14 s32 e1000e_get_bus_info_pcie(struct e1000_hw *hw) in e1000e_get_bus_info_pcie()
46 void e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw) in e1000_set_lan_id_multi_port_pcie()
64 void e1000_set_lan_id_single_port(struct e1000_hw *hw) in e1000_set_lan_id_single_port()
78 void e1000_clear_vfta_generic(struct e1000_hw *hw) in e1000_clear_vfta_generic()
97 void e1000_write_vfta_generic(struct e1000_hw *hw, u32 offset, u32 value) in e1000_write_vfta_generic()
112 void e1000e_init_rx_addrs(struct e1000_hw *hw, u16 rar_count) in e1000e_init_rx_addrs()
140 s32 e1000_check_alt_mac_addr_generic(struct e1000_hw *hw) in e1000_check_alt_mac_addr_generic()
196 u32 e1000e_rar_get_count_generic(struct e1000_hw *hw) in e1000e_rar_get_count_generic()
210 int e1000e_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index) in e1000e_rar_set_generic()
246 static u32 e1000_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) in e1000_hash_mc_addr()
[all …]
Dphy.c7 static s32 e1000_wait_autoneg(struct e1000_hw *hw);
8 static s32 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset,
11 static s32 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset,
44 s32 e1000e_check_reset_block_generic(struct e1000_hw *hw) in e1000e_check_reset_block_generic()
60 s32 e1000e_get_phy_id(struct e1000_hw *hw) in e1000e_get_phy_id()
99 s32 e1000e_phy_reset_dsp(struct e1000_hw *hw) in e1000e_phy_reset_dsp()
119 s32 e1000e_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_mdic()
182 s32 e1000e_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_mdic()
247 s32 e1000e_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_m88()
272 s32 e1000e_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_m88()
[all …]
Dnvm.c13 static void e1000_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) in e1000_raise_eec_clk()
28 static void e1000_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) in e1000_lower_eec_clk()
46 static void e1000_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count) in e1000_shift_out_eec_bits()
88 static u16 e1000_shift_in_eec_bits(struct e1000_hw *hw, u16 count) in e1000_shift_in_eec_bits()
122 s32 e1000e_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg) in e1000e_poll_eerd_eewr_done()
150 s32 e1000e_acquire_nvm(struct e1000_hw *hw) in e1000e_acquire_nvm()
182 static void e1000_standby_nvm(struct e1000_hw *hw) in e1000_standby_nvm()
206 static void e1000_stop_nvm(struct e1000_hw *hw) in e1000_stop_nvm()
224 void e1000e_release_nvm(struct e1000_hw *hw) in e1000e_release_nvm()
241 static s32 e1000_ready_nvm_eeprom(struct e1000_hw *hw) in e1000_ready_nvm_eeprom()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/igb/
De1000_mac.h17 s32 igb_blink_led(struct e1000_hw *hw);
18 s32 igb_check_for_copper_link(struct e1000_hw *hw);
19 s32 igb_cleanup_led(struct e1000_hw *hw);
20 s32 igb_config_fc_after_link_up(struct e1000_hw *hw);
21 s32 igb_disable_pcie_master(struct e1000_hw *hw);
22 s32 igb_force_mac_fc(struct e1000_hw *hw);
23 s32 igb_get_auto_rd_done(struct e1000_hw *hw);
24 s32 igb_get_bus_info_pcie(struct e1000_hw *hw);
25 s32 igb_get_hw_semaphore(struct e1000_hw *hw);
26 s32 igb_get_speed_and_duplex_copper(struct e1000_hw *hw, u16 *speed,
[all …]
De1000_phy.h20 s32 igb_check_downshift(struct e1000_hw *hw);
21 s32 igb_check_reset_block(struct e1000_hw *hw);
22 s32 igb_copper_link_setup_igp(struct e1000_hw *hw);
23 s32 igb_copper_link_setup_m88(struct e1000_hw *hw);
24 s32 igb_copper_link_setup_m88_gen2(struct e1000_hw *hw);
25 s32 igb_phy_force_speed_duplex_igp(struct e1000_hw *hw);
26 s32 igb_phy_force_speed_duplex_m88(struct e1000_hw *hw);
27 s32 igb_get_cable_length_m88(struct e1000_hw *hw);
28 s32 igb_get_cable_length_m88_gen2(struct e1000_hw *hw);
29 s32 igb_get_cable_length_igp_2(struct e1000_hw *hw);
[all …]
De1000_hw.h15 struct e1000_hw;
296 s32 (*check_for_link)(struct e1000_hw *);
297 s32 (*reset_hw)(struct e1000_hw *);
298 s32 (*init_hw)(struct e1000_hw *);
299 bool (*check_mng_mode)(struct e1000_hw *);
300 s32 (*setup_physical_interface)(struct e1000_hw *);
301 void (*rar_set)(struct e1000_hw *, u8 *, u32);
302 s32 (*read_mac_addr)(struct e1000_hw *);
303 s32 (*get_speed_and_duplex)(struct e1000_hw *, u16 *, u16 *);
304 s32 (*acquire_swfw_sync)(struct e1000_hw *, u16);
[all …]
De1000_nvm.h7 s32 igb_acquire_nvm(struct e1000_hw *hw);
8 void igb_release_nvm(struct e1000_hw *hw);
9 s32 igb_read_mac_addr(struct e1000_hw *hw);
10 s32 igb_read_part_num(struct e1000_hw *hw, u32 *part_num);
11 s32 igb_read_part_string(struct e1000_hw *hw, u8 *part_num,
13 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
14 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
15 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
16 s32 igb_validate_nvm_checksum(struct e1000_hw *hw);
17 s32 igb_update_nvm_checksum(struct e1000_hw *hw);
[all …]
De1000_i210.h7 s32 igb_acquire_swfw_sync_i210(struct e1000_hw *hw, u16 mask);
8 void igb_release_swfw_sync_i210(struct e1000_hw *hw, u16 mask);
9 s32 igb_valid_led_default_i210(struct e1000_hw *hw, u16 *data);
10 s32 igb_read_invm_version(struct e1000_hw *hw,
12 s32 igb_read_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, u16 *data);
13 s32 igb_write_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, u16 data);
14 s32 igb_init_nvm_params_i210(struct e1000_hw *hw);
15 bool igb_get_flash_presence_i210(struct e1000_hw *hw);
16 s32 igb_pll_workaround_i210(struct e1000_hw *hw);
17 s32 igb_get_cfg_done_i210(struct e1000_hw *hw);
De1000_82575.h7 void igb_shutdown_serdes_link_82575(struct e1000_hw *hw);
8 void igb_power_up_serdes_link_82575(struct e1000_hw *hw);
9 void igb_power_down_phy_copper_82575(struct e1000_hw *hw);
10 void igb_rx_fifo_flush_82575(struct e1000_hw *hw);
11 s32 igb_read_i2c_byte(struct e1000_hw *hw, u8 byte_offset, u8 dev_addr,
13 s32 igb_write_i2c_byte(struct e1000_hw *hw, u8 byte_offset, u8 dev_addr,
247 void igb_vmdq_set_anti_spoofing_pf(struct e1000_hw *, bool, int);
248 void igb_vmdq_set_loopback_pf(struct e1000_hw *, bool);
249 void igb_vmdq_set_replication_pf(struct e1000_hw *, bool);
251 s32 igb_read_emi_reg(struct e1000_hw *, u16 addr, u16 *data);
[all …]
De1000_mbx.c16 s32 igb_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id, in igb_read_mbx()
41 s32 igb_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in igb_write_mbx()
62 s32 igb_check_for_msg(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_msg()
80 s32 igb_check_for_ack(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_ack()
98 s32 igb_check_for_rst(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_rst()
116 s32 igb_unlock_mbx(struct e1000_hw *hw, u16 mbx_id) in igb_unlock_mbx()
134 static s32 igb_poll_for_msg(struct e1000_hw *hw, u16 mbx_id) in igb_poll_for_msg()
163 static s32 igb_poll_for_ack(struct e1000_hw *hw, u16 mbx_id) in igb_poll_for_ack()
195 static s32 igb_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, in igb_read_posted_mbx()
222 static s32 igb_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, in igb_write_posted_mbx()
[all …]
De1000_82575.c19 static s32 igb_get_invariants_82575(struct e1000_hw *);
20 static s32 igb_acquire_phy_82575(struct e1000_hw *);
21 static void igb_release_phy_82575(struct e1000_hw *);
22 static s32 igb_acquire_nvm_82575(struct e1000_hw *);
23 static void igb_release_nvm_82575(struct e1000_hw *);
24 static s32 igb_check_for_link_82575(struct e1000_hw *);
25 static s32 igb_get_cfg_done_82575(struct e1000_hw *);
26 static s32 igb_init_hw_82575(struct e1000_hw *);
27 static s32 igb_phy_hw_reset_sgmii_82575(struct e1000_hw *);
28 static s32 igb_read_phy_reg_sgmii_82575(struct e1000_hw *, u32, u16 *);
[all …]
De1000_mbx.h50 s32 igb_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id,
52 s32 igb_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id);
53 s32 igb_check_for_msg(struct e1000_hw *hw, u16 mbx_id);
54 s32 igb_check_for_ack(struct e1000_hw *hw, u16 mbx_id);
55 s32 igb_check_for_rst(struct e1000_hw *hw, u16 mbx_id);
56 s32 igb_unlock_mbx(struct e1000_hw *hw, u16 mbx_id);
57 s32 igb_init_mbx_params_pf(struct e1000_hw *hw);
De1000_i210.c14 static s32 igb_update_flash_i210(struct e1000_hw *hw);
22 static s32 igb_get_hw_semaphore_i210(struct e1000_hw *hw) in igb_get_hw_semaphore_i210()
92 static s32 igb_acquire_nvm_i210(struct e1000_hw *hw) in igb_acquire_nvm_i210()
104 static void igb_release_nvm_i210(struct e1000_hw *hw) in igb_release_nvm_i210()
117 s32 igb_acquire_swfw_sync_i210(struct e1000_hw *hw, u16 mask) in igb_acquire_swfw_sync_i210()
163 void igb_release_swfw_sync_i210(struct e1000_hw *hw, u16 mask) in igb_release_swfw_sync_i210()
187 static s32 igb_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words, in igb_read_nvm_srrd_i210()
227 static s32 igb_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, in igb_write_nvm_srwr()
287 static s32 igb_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 words, in igb_write_nvm_srwr_i210()
324 static s32 igb_read_invm_word_i210(struct e1000_hw *hw, u8 address, u16 *data) in igb_read_invm_word_i210()
[all …]
De1000_mac.c14 static s32 igb_set_default_fc(struct e1000_hw *hw);
15 static void igb_set_fc_watermarks(struct e1000_hw *hw);
25 s32 igb_get_bus_info_pcie(struct e1000_hw *hw) in igb_get_bus_info_pcie()
71 void igb_clear_vfta(struct e1000_hw *hw) in igb_clear_vfta()
88 void igb_write_vfta(struct e1000_hw *hw, u32 offset, u32 value) in igb_write_vfta()
107 void igb_init_rx_addrs(struct e1000_hw *hw, u16 rar_count) in igb_init_rx_addrs()
132 static s32 igb_find_vlvf_slot(struct e1000_hw *hw, u32 vlan, bool vlvf_bypass) in igb_find_vlvf_slot()
174 s32 igb_vfta_set(struct e1000_hw *hw, u32 vlan, u32 vind, in igb_vfta_set()
287 s32 igb_check_alt_mac_addr(struct e1000_hw *hw) in igb_check_alt_mac_addr()
356 void igb_rar_set(struct e1000_hw *hw, u8 *addr, u32 index) in igb_rar_set()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/igbvf/
Dvf.h15 struct e1000_hw;
153 s32 (*init_params)(struct e1000_hw *);
154 s32 (*check_for_link)(struct e1000_hw *);
155 void (*clear_vfta)(struct e1000_hw *);
156 s32 (*get_bus_info)(struct e1000_hw *);
157 s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *);
158 void (*update_mc_addr_list)(struct e1000_hw *, u8 *, u32, u32, u32);
159 s32 (*set_uc_addr)(struct e1000_hw *, u32, u8 *);
160 s32 (*reset_hw)(struct e1000_hw *);
161 s32 (*init_hw)(struct e1000_hw *);
[all …]
Dvf.c8 static s32 e1000_check_for_link_vf(struct e1000_hw *hw);
9 static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed,
11 static s32 e1000_init_hw_vf(struct e1000_hw *hw);
12 static s32 e1000_reset_hw_vf(struct e1000_hw *hw);
14 static void e1000_update_mc_addr_list_vf(struct e1000_hw *hw, u8 *,
16 static void e1000_rar_set_vf(struct e1000_hw *, u8 *, u32);
17 static s32 e1000_read_mac_addr_vf(struct e1000_hw *);
18 static s32 e1000_set_uc_addr_vf(struct e1000_hw *hw, u32 subcmd, u8 *addr);
19 static s32 e1000_set_vfta_vf(struct e1000_hw *, u16, bool);
25 static s32 e1000_init_mac_params_vf(struct e1000_hw *hw) in e1000_init_mac_params_vf()
[all …]
Dmbx.c12 static s32 e1000_poll_for_msg(struct e1000_hw *hw) in e1000_poll_for_msg()
38 static s32 e1000_poll_for_ack(struct e1000_hw *hw) in e1000_poll_for_ack()
67 static s32 e1000_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size) in e1000_read_posted_mbx()
93 static s32 e1000_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size) in e1000_write_posted_mbx()
119 static u32 e1000_read_v2p_mailbox(struct e1000_hw *hw) in e1000_read_v2p_mailbox()
137 static s32 e1000_check_for_bit_vf(struct e1000_hw *hw, u32 mask) in e1000_check_for_bit_vf()
156 static s32 e1000_check_for_msg_vf(struct e1000_hw *hw) in e1000_check_for_msg_vf()
174 static s32 e1000_check_for_ack_vf(struct e1000_hw *hw) in e1000_check_for_ack_vf()
192 static s32 e1000_check_for_rst_vf(struct e1000_hw *hw) in e1000_check_for_rst_vf()
211 static s32 e1000_obtain_mbx_lock_vf(struct e1000_hw *hw) in e1000_obtain_mbx_lock_vf()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/e1000/
De1000_hw.c10 static s32 e1000_check_downshift(struct e1000_hw *hw);
11 static s32 e1000_check_polarity(struct e1000_hw *hw,
13 static void e1000_clear_hw_cntrs(struct e1000_hw *hw);
14 static void e1000_clear_vfta(struct e1000_hw *hw);
15 static s32 e1000_config_dsp_after_link_change(struct e1000_hw *hw,
17 static s32 e1000_config_fc_after_link_up(struct e1000_hw *hw);
18 static s32 e1000_detect_gig_phy(struct e1000_hw *hw);
19 static s32 e1000_get_auto_rd_done(struct e1000_hw *hw);
20 static s32 e1000_get_cable_length(struct e1000_hw *hw, u16 *min_length,
22 static s32 e1000_get_phy_cfg_done(struct e1000_hw *hw);
[all …]

12