Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/intel/e1000e/
H A 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 *h
[all...]
H A 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 *);
716 struct e1000_hw { global() struct
717 adaptere1000_hw global() argument
719 hw_addre1000_hw global() argument
720 flash_addresse1000_hw global() argument
722 mace1000_hw global() argument
723 fce1000_hw global() argument
724 phye1000_hw global() argument
725 nvme1000_hw global() argument
726 buse1000_hw global() argument
727 mng_cookiee1000_hw global() argument
729 __anonf2852aca1c0ae1000_hw global() argument
733 dev_spece1000_hw global() argument
[all...]
H A 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 *h
[all...]
H A 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 *h
[all...]
H A Dich8lan.h299 void e1000e_write_protect_nvm_ich8lan(struct e1000_hw *hw);
300 void e1000e_set_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw,
302 void e1000e_igp3_phy_powerdown_workaround_ich8lan(struct e1000_hw *hw);
303 void e1000e_gig_downshift_workaround_ich8lan(struct e1000_hw *hw);
304 void e1000_suspend_workarounds_ich8lan(struct e1000_hw *hw);
305 void e1000_resume_workarounds_pchlan(struct e1000_hw *hw);
306 s32 e1000_configure_k1_ich8lan(struct e1000_hw *hw, bool k1_enable);
307 void e1000_copy_rx_addrs_to_phy_ich8lan(struct e1000_hw *hw);
308 s32 e1000_lv_jumbo_workaround_ich8lan(struct e1000_hw *hw, bool enable);
309 s32 e1000_read_emi_reg_locked(struct e1000_hw *h
[all...]
H A Dmac.c16 s32 e1000e_get_bus_info_pcie(struct e1000_hw *hw) in e1000e_get_bus_info_pcie()
44 void e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw) in e1000_set_lan_id_multi_port_pcie()
62 void e1000_set_lan_id_single_port(struct e1000_hw *hw) in e1000_set_lan_id_single_port()
76 void e1000_clear_vfta_generic(struct e1000_hw *hw) in e1000_clear_vfta_generic()
95 void e1000_write_vfta_generic(struct e1000_hw *hw, u32 offset, u32 value) in e1000_write_vfta_generic()
110 void e1000e_init_rx_addrs(struct e1000_hw *hw, u16 rar_count) in e1000e_init_rx_addrs()
138 s32 e1000_check_alt_mac_addr_generic(struct e1000_hw *hw) in e1000_check_alt_mac_addr_generic()
194 u32 e1000e_rar_get_count_generic(struct e1000_hw *hw) in e1000e_rar_get_count_generic()
208 int e1000e_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index) in e1000e_rar_set_generic()
244 static u32 e1000_hash_mc_addr(struct e1000_hw *h
[all...]
H A 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 *h
[all...]
H A Dich8lan.c97 static void e1000_clear_hw_cntrs_ich8lan(struct e1000_hw *hw);
98 static void e1000_initialize_hw_bits_ich8lan(struct e1000_hw *hw);
99 static s32 e1000_erase_flash_bank_ich8lan(struct e1000_hw *hw, u32 bank);
100 static s32 e1000_retry_write_flash_byte_ich8lan(struct e1000_hw *hw,
102 static s32 e1000_read_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset,
104 static s32 e1000_read_flash_word_ich8lan(struct e1000_hw *hw, u32 offset,
106 static s32 e1000_read_flash_data_ich8lan(struct e1000_hw *hw, u32 offset,
108 static s32 e1000_read_flash_data32_ich8lan(struct e1000_hw *hw, u32 offset,
110 static s32 e1000_read_flash_dword_ich8lan(struct e1000_hw *hw,
112 static s32 e1000_write_flash_data32_ich8lan(struct e1000_hw *h
[all...]
H A Dmanage.h7 bool e1000e_check_mng_mode_generic(struct e1000_hw *hw);
8 bool e1000e_enable_tx_pkt_filtering(struct e1000_hw *hw);
9 s32 e1000e_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length);
10 bool e1000e_enable_mng_pass_thru(struct e1000_hw *hw);
H A De1000.h283 /* structs defined in e1000_hw.h */
284 struct e1000_hw hw;
537 static inline s32 e1000_phy_hw_reset(struct e1000_hw *hw) in e1000_phy_hw_reset()
542 static inline s32 e1e_rphy(struct e1000_hw *hw, u32 offset, u16 *data) in e1e_rphy()
547 static inline s32 e1e_rphy_locked(struct e1000_hw *hw, u32 offset, u16 *data) in e1e_rphy_locked()
552 static inline s32 e1e_wphy(struct e1000_hw *hw, u32 offset, u16 data) in e1e_wphy()
557 static inline s32 e1e_wphy_locked(struct e1000_hw *hw, u32 offset, u16 data) in e1e_wphy_locked()
562 void e1000e_reload_nvm_generic(struct e1000_hw *hw);
564 static inline s32 e1000e_read_mac_addr(struct e1000_hw *hw) in e1000e_read_mac_addr()
572 static inline s32 e1000_validate_nvm_checksum(struct e1000_hw *h
[all...]
/linux/drivers/net/ethernet/intel/igb/
H A 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 *h
[all...]
H A De1000_mac.h7 #include "e1000_hw.h"
17 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 *h
[all...]
H A 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 *, u1
517 struct e1000_hw { global() struct
518 backe1000_hw global() argument
520 hw_addre1000_hw global() argument
544 revision_ide1000_hw global() argument
[all...]
H A 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_string(struct e1000_hw *hw, u8 *part_num,
12 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
13 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
14 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
15 s32 igb_validate_nvm_checksum(struct e1000_hw *hw);
16 s32 igb_update_nvm_checksum(struct e1000_hw *hw);
33 void igb_get_fw_version(struct e1000_hw *h
[all...]
H A 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 *h
[all...]
H A 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 *, u1
[all...]
H A 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 *h
[all...]
H A 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 *, u3
[all...]
H A De1000_mbx.h7 #include "e1000_hw.h"
50 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);
H A De1000_mac.c15 static s32 igb_set_default_fc(struct e1000_hw *hw);
16 static void igb_set_fc_watermarks(struct e1000_hw *hw);
26 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 *h
[all...]
H A De1000_nvm.c17 static void igb_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) in igb_raise_eec_clk()
32 static void igb_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) in igb_lower_eec_clk()
50 static void igb_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count) in igb_shift_out_eec_bits()
92 static u16 igb_shift_in_eec_bits(struct e1000_hw *hw, u16 count) in igb_shift_in_eec_bits()
127 static s32 igb_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg) in igb_poll_eerd_eewr_done()
158 s32 igb_acquire_nvm(struct e1000_hw *hw) in igb_acquire_nvm()
192 static void igb_standby_nvm(struct e1000_hw *hw) in igb_standby_nvm()
216 static void e1000_stop_nvm(struct e1000_hw *hw) in e1000_stop_nvm()
234 void igb_release_nvm(struct e1000_hw *hw) in igb_release_nvm()
251 static s32 igb_ready_nvm_eeprom(struct e1000_hw *h
[all...]
/linux/drivers/net/ethernet/intel/igbvf/
H A 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 *);
216 struct e1000_hw { global() struct
240 revision_ide1000_hw global() argument
[all...]
H A 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 *h
[all...]
H A Dmbx.c13 static s32 e1000_poll_for_msg(struct e1000_hw *hw) in e1000_poll_for_msg()
39 static s32 e1000_poll_for_ack(struct e1000_hw *hw) in e1000_poll_for_ack()
68 static s32 e1000_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size) in e1000_read_posted_mbx()
94 static s32 e1000_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size) in e1000_write_posted_mbx()
120 static u32 e1000_read_v2p_mailbox(struct e1000_hw *hw) in e1000_read_v2p_mailbox()
138 static s32 e1000_check_for_bit_vf(struct e1000_hw *hw, u32 mask) in e1000_check_for_bit_vf()
157 static s32 e1000_check_for_msg_vf(struct e1000_hw *hw) in e1000_check_for_msg_vf()
175 static s32 e1000_check_for_ack_vf(struct e1000_hw *hw) in e1000_check_for_ack_vf()
193 static s32 e1000_check_for_rst_vf(struct e1000_hw *hw) in e1000_check_for_rst_vf()
212 static s32 e1000_obtain_mbx_lock_vf(struct e1000_hw *h
[all...]
/linux/drivers/net/ethernet/intel/e1000/
H A De1000_hw.c4 /* e1000_hw.c
11 static s32 e1000_check_downshift(struct e1000_hw *hw);
12 static s32 e1000_check_polarity(struct e1000_hw *hw,
14 static void e1000_clear_hw_cntrs(struct e1000_hw *hw);
15 static void e1000_clear_vfta(struct e1000_hw *hw);
16 static s32 e1000_config_dsp_after_link_change(struct e1000_hw *hw,
18 static s32 e1000_config_fc_after_link_up(struct e1000_hw *hw);
19 static s32 e1000_detect_gig_phy(struct e1000_hw *hw);
20 static s32 e1000_get_auto_rd_done(struct e1000_hw *hw);
21 static s32 e1000_get_cable_length(struct e1000_hw *h
[all...]

12