Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dmac.h25 s32 e1000e_blink_led_generic(struct e1000_hw *hw);
26 s32 e1000e_check_for_copper_link(struct e1000_hw *hw);
27 s32 e1000e_check_for_fiber_link(struct e1000_hw *hw);
28 s32 e1000e_check_for_serdes_link(struct e1000_hw *hw);
29 s32 e1000e_cleanup_led_generic(struct e1000_hw *hw);
30 s32 e1000e_config_fc_after_link_up(struct e1000_hw *hw);
31 s32 e1000e_disable_pcie_master(struct e1000_hw *hw);
32 s32 e1000e_force_mac_fc(struct e1000_hw *hw);
33 s32 e1000e_get_auto_rd_done(struct e1000_hw *hw);
34 s32 e1000e_get_bus_info_pcie(struct e1000_hw *hw);
[all …]
Dphy.h25 s32 e1000e_check_downshift(struct e1000_hw *hw);
26 s32 e1000_check_polarity_m88(struct e1000_hw *hw);
27 s32 e1000_check_polarity_igp(struct e1000_hw *hw);
28 s32 e1000_check_polarity_ife(struct e1000_hw *hw);
29 s32 e1000e_check_reset_block_generic(struct e1000_hw *hw);
30 s32 e1000e_copper_link_setup_igp(struct e1000_hw *hw);
31 s32 e1000e_copper_link_setup_m88(struct e1000_hw *hw);
32 s32 e1000e_phy_force_speed_duplex_igp(struct e1000_hw *hw);
33 s32 e1000e_phy_force_speed_duplex_m88(struct e1000_hw *hw);
34 s32 e1000_phy_force_speed_duplex_ife(struct e1000_hw *hw);
[all …]
Dhw.h28 struct e1000_hw;
458 s32 (*id_led_init)(struct e1000_hw *);
459 s32 (*blink_led)(struct e1000_hw *);
460 bool (*check_mng_mode)(struct e1000_hw *);
461 s32 (*check_for_link)(struct e1000_hw *);
462 s32 (*cleanup_led)(struct e1000_hw *);
463 void (*clear_hw_cntrs)(struct e1000_hw *);
464 void (*clear_vfta)(struct e1000_hw *);
465 s32 (*get_bus_info)(struct e1000_hw *);
466 void (*set_lan_id)(struct e1000_hw *);
[all …]
Dnvm.h25 s32 e1000e_acquire_nvm(struct e1000_hw *hw);
27 s32 e1000e_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg);
28 s32 e1000_read_mac_addr_generic(struct e1000_hw *hw);
29 s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num,
31 s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
32 s32 e1000e_valid_led_default(struct e1000_hw *hw, u16 *data);
33 s32 e1000e_validate_nvm_checksum_generic(struct e1000_hw *hw);
34 s32 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
35 s32 e1000e_update_nvm_checksum_generic(struct e1000_hw *hw);
36 void e1000e_release_nvm(struct e1000_hw *hw);
D82571.c40 static s32 e1000_get_phy_id_82571(struct e1000_hw *hw);
41 static s32 e1000_setup_copper_link_82571(struct e1000_hw *hw);
42 static s32 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw);
43 static s32 e1000_check_for_serdes_link_82571(struct e1000_hw *hw);
44 static s32 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset,
46 static s32 e1000_fix_nvm_checksum_82571(struct e1000_hw *hw);
47 static void e1000_initialize_hw_bits_82571(struct e1000_hw *hw);
48 static void e1000_clear_hw_cntrs_82571(struct e1000_hw *hw);
49 static bool e1000_check_mng_mode_82574(struct e1000_hw *hw);
50 static s32 e1000_led_on_82574(struct e1000_hw *hw);
[all …]
Dich8lan.h296 void e1000e_write_protect_nvm_ich8lan(struct e1000_hw *hw);
297 void e1000e_set_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw,
299 void e1000e_igp3_phy_powerdown_workaround_ich8lan(struct e1000_hw *hw);
300 void e1000e_gig_downshift_workaround_ich8lan(struct e1000_hw *hw);
301 void e1000_suspend_workarounds_ich8lan(struct e1000_hw *hw);
302 void e1000_resume_workarounds_pchlan(struct e1000_hw *hw);
303 s32 e1000_configure_k1_ich8lan(struct e1000_hw *hw, bool k1_enable);
304 void e1000_copy_rx_addrs_to_phy_ich8lan(struct e1000_hw *hw);
305 s32 e1000_lv_jumbo_workaround_ich8lan(struct e1000_hw *hw, bool enable);
306 s32 e1000_read_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 *data);
[all …]
D80003es2lan.c39 static s32 e1000_setup_copper_link_80003es2lan(struct e1000_hw *hw);
40 static s32 e1000_acquire_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask);
41 static void e1000_release_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask);
42 static void e1000_initialize_hw_bits_80003es2lan(struct e1000_hw *hw);
43 static void e1000_clear_hw_cntrs_80003es2lan(struct e1000_hw *hw);
44 static s32 e1000_cfg_kmrn_1000_80003es2lan(struct e1000_hw *hw);
45 static s32 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex);
46 static s32 e1000_read_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset,
48 static s32 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset,
50 static void e1000_power_down_phy_copper_80003es2lan(struct e1000_hw *hw);
[all …]
Dmac.c32 s32 e1000e_get_bus_info_pcie(struct e1000_hw *hw) in e1000e_get_bus_info_pcie()
64 void e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw) in e1000_set_lan_id_multi_port_pcie()
82 void e1000_set_lan_id_single_port(struct e1000_hw *hw) in e1000_set_lan_id_single_port()
96 void e1000_clear_vfta_generic(struct e1000_hw *hw) in e1000_clear_vfta_generic()
115 void e1000_write_vfta_generic(struct e1000_hw *hw, u32 offset, u32 value) in e1000_write_vfta_generic()
130 void e1000e_init_rx_addrs(struct e1000_hw *hw, u16 rar_count) in e1000e_init_rx_addrs()
158 s32 e1000_check_alt_mac_addr_generic(struct e1000_hw *hw) in e1000_check_alt_mac_addr_generic()
214 u32 e1000e_rar_get_count_generic(struct e1000_hw *hw) in e1000e_rar_get_count_generic()
228 int e1000e_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index) in e1000e_rar_set_generic()
264 static u32 e1000_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) in e1000_hash_mc_addr()
[all …]
Dphy.c24 static s32 e1000_wait_autoneg(struct e1000_hw *hw);
25 static s32 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset,
28 static s32 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset,
61 s32 e1000e_check_reset_block_generic(struct e1000_hw *hw) in e1000e_check_reset_block_generic()
77 s32 e1000e_get_phy_id(struct e1000_hw *hw) in e1000e_get_phy_id()
116 s32 e1000e_phy_reset_dsp(struct e1000_hw *hw) in e1000e_phy_reset_dsp()
136 s32 e1000e_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_mdic()
199 s32 e1000e_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_mdic()
264 s32 e1000e_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_m88()
289 s32 e1000e_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_m88()
[all …]
Dnvm.c31 static void e1000_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) in e1000_raise_eec_clk()
46 static void e1000_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) in e1000_lower_eec_clk()
64 static void e1000_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count) in e1000_shift_out_eec_bits()
106 static u16 e1000_shift_in_eec_bits(struct e1000_hw *hw, u16 count) in e1000_shift_in_eec_bits()
140 s32 e1000e_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg) in e1000e_poll_eerd_eewr_done()
168 s32 e1000e_acquire_nvm(struct e1000_hw *hw) in e1000e_acquire_nvm()
200 static void e1000_standby_nvm(struct e1000_hw *hw) in e1000_standby_nvm()
224 static void e1000_stop_nvm(struct e1000_hw *hw) in e1000_stop_nvm()
242 void e1000e_release_nvm(struct e1000_hw *hw) in e1000e_release_nvm()
259 static s32 e1000_ready_nvm_eeprom(struct e1000_hw *hw) in e1000_ready_nvm_eeprom()
[all …]
Dich8lan.c115 static void e1000_clear_hw_cntrs_ich8lan(struct e1000_hw *hw);
116 static void e1000_initialize_hw_bits_ich8lan(struct e1000_hw *hw);
117 static s32 e1000_erase_flash_bank_ich8lan(struct e1000_hw *hw, u32 bank);
118 static s32 e1000_retry_write_flash_byte_ich8lan(struct e1000_hw *hw,
120 static s32 e1000_read_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset,
122 static s32 e1000_read_flash_word_ich8lan(struct e1000_hw *hw, u32 offset,
124 static s32 e1000_read_flash_data_ich8lan(struct e1000_hw *hw, u32 offset,
126 static s32 e1000_read_flash_data32_ich8lan(struct e1000_hw *hw, u32 offset,
128 static s32 e1000_read_flash_dword_ich8lan(struct e1000_hw *hw,
130 static s32 e1000_write_flash_data32_ich8lan(struct e1000_hw *hw,
[all …]
De1000.h301 struct e1000_hw hw;
519 static inline s32 e1000_phy_hw_reset(struct e1000_hw *hw) in e1000_phy_hw_reset()
524 static inline s32 e1e_rphy(struct e1000_hw *hw, u32 offset, u16 *data) in e1e_rphy()
529 static inline s32 e1e_rphy_locked(struct e1000_hw *hw, u32 offset, u16 *data) in e1e_rphy_locked()
534 static inline s32 e1e_wphy(struct e1000_hw *hw, u32 offset, u16 data) in e1e_wphy()
539 static inline s32 e1e_wphy_locked(struct e1000_hw *hw, u32 offset, u16 data) in e1e_wphy_locked()
544 void e1000e_reload_nvm_generic(struct e1000_hw *hw);
546 static inline s32 e1000e_read_mac_addr(struct e1000_hw *hw) in e1000e_read_mac_addr()
554 static inline s32 e1000_validate_nvm_checksum(struct e1000_hw *hw) in e1000_validate_nvm_checksum()
559 static inline s32 e1000e_update_nvm_checksum(struct e1000_hw *hw) in e1000e_update_nvm_checksum()
[all …]
Dmanage.h25 bool e1000e_check_mng_mode_generic(struct e1000_hw *hw);
26 bool e1000e_enable_tx_pkt_filtering(struct e1000_hw *hw);
27 s32 e1000e_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length);
28 bool e1000e_enable_mng_pass_thru(struct e1000_hw *hw);
D82571.h49 bool e1000_check_phy_82574(struct e1000_hw *hw);
50 bool e1000e_get_laa_state_82571(struct e1000_hw *hw);
51 void e1000e_set_laa_state_82571(struct e1000_hw *hw, bool state);
Dmanage.c56 static s32 e1000_mng_enable_host_if(struct e1000_hw *hw) in e1000_mng_enable_host_if()
95 bool e1000e_check_mng_mode_generic(struct e1000_hw *hw) in e1000e_check_mng_mode_generic()
110 bool e1000e_enable_tx_pkt_filtering(struct e1000_hw *hw) in e1000e_enable_tx_pkt_filtering()
168 static s32 e1000_mng_write_cmd_header(struct e1000_hw *hw, in e1000_mng_write_cmd_header()
199 static s32 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, in e1000_mng_host_if_write()
267 s32 e1000e_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length) in e1000e_mng_write_dhcp_info()
309 bool e1000e_enable_mng_pass_thru(struct e1000_hw *hw) in e1000e_enable_mng_pass_thru()
Dptp.c41 struct e1000_hw *hw = &adapter->hw; in e1000e_phc_adjfreq()
171 struct e1000_hw *hw = &adapter->hw; in e1000e_systim_overflow_work()
207 struct e1000_hw *hw = &adapter->hw; in e1000e_ptp_init()
Dnetdev.c139 s32 __ew32_prepare(struct e1000_hw *hw) in __ew32_prepare()
149 void __ew32(struct e1000_hw *hw, unsigned long reg, u32 val) in __ew32()
162 static void e1000_regdump(struct e1000_hw *hw, struct e1000_reg_info *reginfo) in e1000_regdump()
216 struct e1000_hw *hw = &adapter->hw; in e1000e_dump()
539 struct e1000_hw *hw = &adapter->hw; in e1000e_rx_hwtstamp()
626 struct e1000_hw *hw = &adapter->hw; in e1000e_update_rdt_wa()
643 struct e1000_hw *hw = &adapter->hw; in e1000e_update_tdt_wa()
930 struct e1000_hw *hw = &adapter->hw; in e1000_clean_rx_irq()
1103 struct e1000_hw *hw = &adapter->hw; in e1000_print_hw_hang()
1182 struct e1000_hw *hw = &adapter->hw; in e1000e_tx_hwtstamp_work()
[all …]
Dethtool.c124 struct e1000_hw *hw = &adapter->hw; in e1000_get_settings()
261 struct e1000_hw *hw = &adapter->hw; in e1000_set_settings()
346 struct e1000_hw *hw = &adapter->hw; in e1000_get_pauseparam()
365 struct e1000_hw *hw = &adapter->hw; in e1000_set_pauseparam()
434 struct e1000_hw *hw = &adapter->hw; in e1000_get_regs()
498 struct e1000_hw *hw = &adapter->hw; in e1000_get_eeprom()
555 struct e1000_hw *hw = &adapter->hw; in e1000_set_eeprom()
823 struct e1000_hw *hw = &adapter->hw; in e1000_reg_test()
975 struct e1000_hw *hw = &adapter->hw; in e1000_test_intr()
985 struct e1000_hw *hw = &adapter->hw; in e1000_intr_test()
[all …]
Dparam.c238 struct e1000_hw *hw = &adapter->hw; in e1000e_check_options()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
De1000_mac.h37 s32 igb_blink_led(struct e1000_hw *hw);
38 s32 igb_check_for_copper_link(struct e1000_hw *hw);
39 s32 igb_cleanup_led(struct e1000_hw *hw);
40 s32 igb_config_fc_after_link_up(struct e1000_hw *hw);
41 s32 igb_disable_pcie_master(struct e1000_hw *hw);
42 s32 igb_force_mac_fc(struct e1000_hw *hw);
43 s32 igb_get_auto_rd_done(struct e1000_hw *hw);
44 s32 igb_get_bus_info_pcie(struct e1000_hw *hw);
45 s32 igb_get_hw_semaphore(struct e1000_hw *hw);
46 s32 igb_get_speed_and_duplex_copper(struct e1000_hw *hw, u16 *speed,
[all …]
De1000_phy.h40 s32 igb_check_downshift(struct e1000_hw *hw);
41 s32 igb_check_reset_block(struct e1000_hw *hw);
42 s32 igb_copper_link_setup_igp(struct e1000_hw *hw);
43 s32 igb_copper_link_setup_m88(struct e1000_hw *hw);
44 s32 igb_copper_link_setup_m88_gen2(struct e1000_hw *hw);
45 s32 igb_phy_force_speed_duplex_igp(struct e1000_hw *hw);
46 s32 igb_phy_force_speed_duplex_m88(struct e1000_hw *hw);
47 s32 igb_get_cable_length_m88(struct e1000_hw *hw);
48 s32 igb_get_cable_length_m88_gen2(struct e1000_hw *hw);
49 s32 igb_get_cable_length_igp_2(struct e1000_hw *hw);
[all …]
De1000_hw.h34 struct e1000_hw;
314 s32 (*check_for_link)(struct e1000_hw *);
315 s32 (*reset_hw)(struct e1000_hw *);
316 s32 (*init_hw)(struct e1000_hw *);
317 bool (*check_mng_mode)(struct e1000_hw *);
318 s32 (*setup_physical_interface)(struct e1000_hw *);
319 void (*rar_set)(struct e1000_hw *, u8 *, u32);
320 s32 (*read_mac_addr)(struct e1000_hw *);
321 s32 (*get_speed_and_duplex)(struct e1000_hw *, u16 *, u16 *);
322 s32 (*acquire_swfw_sync)(struct e1000_hw *, u16);
[all …]
De1000_nvm.h27 s32 igb_acquire_nvm(struct e1000_hw *hw);
28 void igb_release_nvm(struct e1000_hw *hw);
29 s32 igb_read_mac_addr(struct e1000_hw *hw);
30 s32 igb_read_part_num(struct e1000_hw *hw, u32 *part_num);
31 s32 igb_read_part_string(struct e1000_hw *hw, u8 *part_num,
33 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
34 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
35 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
36 s32 igb_validate_nvm_checksum(struct e1000_hw *hw);
37 s32 igb_update_nvm_checksum(struct e1000_hw *hw);
[all …]
De1000_i210.h27 s32 igb_acquire_swfw_sync_i210(struct e1000_hw *hw, u16 mask);
28 void igb_release_swfw_sync_i210(struct e1000_hw *hw, u16 mask);
29 s32 igb_valid_led_default_i210(struct e1000_hw *hw, u16 *data);
30 s32 igb_read_invm_version(struct e1000_hw *hw,
32 s32 igb_read_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, u16 *data);
33 s32 igb_write_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, u16 data);
34 s32 igb_init_nvm_params_i210(struct e1000_hw *hw);
35 bool igb_get_flash_presence_i210(struct e1000_hw *hw);
36 s32 igb_pll_workaround_i210(struct e1000_hw *hw);
De1000_82575.h27 void igb_shutdown_serdes_link_82575(struct e1000_hw *hw);
28 void igb_power_up_serdes_link_82575(struct e1000_hw *hw);
29 void igb_power_down_phy_copper_82575(struct e1000_hw *hw);
30 void igb_rx_fifo_flush_82575(struct e1000_hw *hw);
31 s32 igb_read_i2c_byte(struct e1000_hw *hw, u8 byte_offset, u8 dev_addr,
33 s32 igb_write_i2c_byte(struct e1000_hw *hw, u8 byte_offset, u8 dev_addr,
261 void igb_vmdq_set_anti_spoofing_pf(struct e1000_hw *, bool, int);
262 void igb_vmdq_set_loopback_pf(struct e1000_hw *, bool);
263 void igb_vmdq_set_replication_pf(struct e1000_hw *, bool);
265 s32 igb_read_emi_reg(struct e1000_hw *, u16 addr, u16 *data);
[all …]
De1000_82575.c38 static s32 igb_get_invariants_82575(struct e1000_hw *);
39 static s32 igb_acquire_phy_82575(struct e1000_hw *);
40 static void igb_release_phy_82575(struct e1000_hw *);
41 static s32 igb_acquire_nvm_82575(struct e1000_hw *);
42 static void igb_release_nvm_82575(struct e1000_hw *);
43 static s32 igb_check_for_link_82575(struct e1000_hw *);
44 static s32 igb_get_cfg_done_82575(struct e1000_hw *);
45 static s32 igb_init_hw_82575(struct e1000_hw *);
46 static s32 igb_phy_hw_reset_sgmii_82575(struct e1000_hw *);
47 static s32 igb_read_phy_reg_sgmii_82575(struct e1000_hw *, u32, u16 *);
[all …]
De1000_mbx.c35 s32 igb_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in igb_read_mbx()
59 s32 igb_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in igb_write_mbx()
80 s32 igb_check_for_msg(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_msg()
98 s32 igb_check_for_ack(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_ack()
116 s32 igb_check_for_rst(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_rst()
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()
242 static s32 igb_check_for_bit_pf(struct e1000_hw *hw, u32 mask) in igb_check_for_bit_pf()
[all …]
De1000_mbx.h66 s32 igb_read_mbx(struct e1000_hw *, u32 *, u16, u16);
67 s32 igb_write_mbx(struct e1000_hw *, u32 *, u16, u16);
68 s32 igb_check_for_msg(struct e1000_hw *, u16);
69 s32 igb_check_for_ack(struct e1000_hw *, u16);
70 s32 igb_check_for_rst(struct e1000_hw *, u16);
71 s32 igb_init_mbx_params_pf(struct e1000_hw *);
De1000_mac.c34 static s32 igb_set_default_fc(struct e1000_hw *hw);
35 static s32 igb_set_fc_watermarks(struct e1000_hw *hw);
45 s32 igb_get_bus_info_pcie(struct e1000_hw *hw) in igb_get_bus_info_pcie()
91 void igb_clear_vfta(struct e1000_hw *hw) in igb_clear_vfta()
110 static void igb_write_vfta(struct e1000_hw *hw, u32 offset, u32 value) in igb_write_vfta()
128 void igb_clear_vfta_i350(struct e1000_hw *hw) in igb_clear_vfta_i350()
150 static void igb_write_vfta_i350(struct e1000_hw *hw, u32 offset, u32 value) in igb_write_vfta_i350()
169 void igb_init_rx_addrs(struct e1000_hw *hw, u16 rar_count) in igb_init_rx_addrs()
194 s32 igb_vfta_set(struct e1000_hw *hw, u32 vid, bool add) in igb_vfta_set()
233 s32 igb_check_alt_mac_addr(struct e1000_hw *hw) in igb_check_alt_mac_addr()
[all …]
De1000_i210.c34 static s32 igb_update_flash_i210(struct e1000_hw *hw);
42 static s32 igb_get_hw_semaphore_i210(struct e1000_hw *hw) in igb_get_hw_semaphore_i210()
112 static s32 igb_acquire_nvm_i210(struct e1000_hw *hw) in igb_acquire_nvm_i210()
124 static void igb_release_nvm_i210(struct e1000_hw *hw) in igb_release_nvm_i210()
137 s32 igb_acquire_swfw_sync_i210(struct e1000_hw *hw, u16 mask) in igb_acquire_swfw_sync_i210()
183 void igb_release_swfw_sync_i210(struct e1000_hw *hw, u16 mask) in igb_release_swfw_sync_i210()
207 static s32 igb_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words, in igb_read_nvm_srrd_i210()
247 static s32 igb_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, in igb_write_nvm_srwr()
307 static s32 igb_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 words, in igb_write_nvm_srwr_i210()
344 static s32 igb_read_invm_word_i210(struct e1000_hw *hw, u8 address, u16 *data) in igb_read_invm_word_i210()
[all …]
De1000_nvm.c36 static void igb_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) in igb_raise_eec_clk()
51 static void igb_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) in igb_lower_eec_clk()
69 static void igb_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count) in igb_shift_out_eec_bits()
111 static u16 igb_shift_in_eec_bits(struct e1000_hw *hw, u16 count) in igb_shift_in_eec_bits()
146 static s32 igb_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg) in igb_poll_eerd_eewr_done()
177 s32 igb_acquire_nvm(struct e1000_hw *hw) in igb_acquire_nvm()
211 static void igb_standby_nvm(struct e1000_hw *hw) in igb_standby_nvm()
235 static void e1000_stop_nvm(struct e1000_hw *hw) in e1000_stop_nvm()
253 void igb_release_nvm(struct e1000_hw *hw) in igb_release_nvm()
270 static s32 igb_ready_nvm_eeprom(struct e1000_hw *hw) in igb_ready_nvm_eeprom()
[all …]
De1000_phy.c30 static s32 igb_phy_setup_autoneg(struct e1000_hw *hw);
31 static void igb_phy_force_speed_duplex_setup(struct e1000_hw *hw,
33 static s32 igb_wait_autoneg(struct e1000_hw *hw);
34 static s32 igb_set_master_slave_mode(struct e1000_hw *hw);
58 s32 igb_check_reset_block(struct e1000_hw *hw) in igb_check_reset_block()
74 s32 igb_get_phy_id(struct e1000_hw *hw) in igb_get_phy_id()
103 static s32 igb_phy_reset_dsp(struct e1000_hw *hw) in igb_phy_reset_dsp()
129 s32 igb_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg_mdic()
185 s32 igb_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in igb_write_phy_reg_mdic()
242 s32 igb_read_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg_i2c()
[all …]
Digb_ptp.c83 struct e1000_hw *hw = &igb->hw; in igb_ptp_read_82576()
100 struct e1000_hw *hw = &igb->hw; in igb_ptp_read_82580()
122 struct e1000_hw *hw = &adapter->hw; in igb_ptp_read_i210()
140 struct e1000_hw *hw = &adapter->hw; in igb_ptp_write_i210()
204 struct e1000_hw *hw = &igb->hw; in igb_ptp_adjfreq_82576()
233 struct e1000_hw *hw = &igb->hw; in igb_ptp_adjfreq_82580()
383 struct e1000_hw *hw = &igb->hw; in igb_pin_extts()
439 struct e1000_hw *hw = &igb->hw; in igb_pin_perout()
479 struct e1000_hw *hw = &igb->hw; in igb_ptp_feature_enable_i210()
632 struct e1000_hw *hw = &adapter->hw; in igb_ptp_tx_work()
[all …]
Digb_main.c298 static void igb_regdump(struct e1000_hw *hw, struct igb_reg_info *reginfo) in igb_regdump()
367 struct e1000_hw *hw = &adapter->hw; in igb_dump()
574 struct e1000_hw *hw = &adapter->hw; in igb_get_i2c_data()
590 struct e1000_hw *hw = &adapter->hw; in igb_set_i2c_data()
615 struct e1000_hw *hw = &adapter->hw; in igb_set_i2c_clk()
638 struct e1000_hw *hw = &adapter->hw; in igb_get_i2c_clk()
659 struct net_device *igb_get_hw_dev(struct e1000_hw *hw) in igb_get_hw_dev()
746 u32 igb_rd32(struct e1000_hw *hw, u32 reg) in igb_rd32()
780 static void igb_write_ivar(struct e1000_hw *hw, int msix_vector, in igb_write_ivar()
798 struct e1000_hw *hw = &adapter->hw; in igb_assign_vector()
[all …]
Digb.h332 struct e1000_hw *hw;
406 struct e1000_hw hw;
548 static inline s32 igb_reset_phy(struct e1000_hw *hw) in igb_reset_phy()
556 static inline s32 igb_read_phy_reg(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg()
564 static inline s32 igb_write_phy_reg(struct e1000_hw *hw, u32 offset, u16 data) in igb_write_phy_reg()
572 static inline s32 igb_get_phy_info(struct e1000_hw *hw) in igb_get_phy_info()
Digb_ethtool.c140 struct e1000_hw *hw = &adapter->hw; in igb_get_settings()
261 struct e1000_hw *hw = &adapter->hw; in igb_set_settings()
372 struct e1000_hw *hw = &adapter->hw; in igb_get_pauseparam()
391 struct e1000_hw *hw = &adapter->hw; in igb_set_pauseparam()
453 struct e1000_hw *hw = &adapter->hw; in igb_get_regs()
719 struct e1000_hw *hw = &adapter->hw; in igb_get_eeprom()
766 struct e1000_hw *hw = &adapter->hw; in igb_set_eeprom()
1195 struct e1000_hw *hw = &adapter->hw; in reg_pattern_test()
1217 struct e1000_hw *hw = &adapter->hw; in reg_set_and_check()
1247 struct e1000_hw *hw = &adapter->hw; in igb_reg_test()
[all …]
De1000_regs.h369 struct e1000_hw;
371 u32 igb_rd32(struct e1000_hw *hw, u32 reg);
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/
Dvf.h38 struct e1000_hw;
175 s32 (*init_params)(struct e1000_hw *);
176 s32 (*check_for_link)(struct e1000_hw *);
177 void (*clear_vfta)(struct e1000_hw *);
178 s32 (*get_bus_info)(struct e1000_hw *);
179 s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *);
180 void (*update_mc_addr_list)(struct e1000_hw *, u8 *, u32, u32, u32);
181 s32 (*reset_hw)(struct e1000_hw *);
182 s32 (*init_hw)(struct e1000_hw *);
183 s32 (*setup_link)(struct e1000_hw *);
[all …]
Dvf.c29 static s32 e1000_check_for_link_vf(struct e1000_hw *hw);
30 static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed,
32 static s32 e1000_init_hw_vf(struct e1000_hw *hw);
33 static s32 e1000_reset_hw_vf(struct e1000_hw *hw);
35 static void e1000_update_mc_addr_list_vf(struct e1000_hw *hw, u8 *,
37 static void e1000_rar_set_vf(struct e1000_hw *, u8 *, u32);
38 static s32 e1000_read_mac_addr_vf(struct e1000_hw *);
39 static s32 e1000_set_vfta_vf(struct e1000_hw *, u16, bool);
45 static s32 e1000_init_mac_params_vf(struct e1000_hw *hw) in e1000_init_mac_params_vf()
79 void e1000_init_function_pointers_vf(struct e1000_hw *hw) in e1000_init_function_pointers_vf()
[all …]
Dmbx.c35 static s32 e1000_poll_for_msg(struct e1000_hw *hw) in e1000_poll_for_msg()
61 static s32 e1000_poll_for_ack(struct e1000_hw *hw) in e1000_poll_for_ack()
90 static s32 e1000_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size) in e1000_read_posted_mbx()
116 static s32 e1000_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size) in e1000_write_posted_mbx()
142 static u32 e1000_read_v2p_mailbox(struct e1000_hw *hw) in e1000_read_v2p_mailbox()
160 static s32 e1000_check_for_bit_vf(struct e1000_hw *hw, u32 mask) in e1000_check_for_bit_vf()
179 static s32 e1000_check_for_msg_vf(struct e1000_hw *hw) in e1000_check_for_msg_vf()
197 static s32 e1000_check_for_ack_vf(struct e1000_hw *hw) in e1000_check_for_ack_vf()
215 static s32 e1000_check_for_rst_vf(struct e1000_hw *hw) in e1000_check_for_rst_vf()
234 static s32 e1000_obtain_mbx_lock_vf(struct e1000_hw *hw) in e1000_obtain_mbx_lock_vf()
[all …]
Dmbx.h71 void e1000_init_mbx_ops_generic(struct e1000_hw *hw);
72 s32 e1000_init_mbx_params_vf(struct e1000_hw *);
Dnetdev.c875 struct e1000_hw *hw = &adapter->hw; in igbvf_msix_other()
893 struct e1000_hw *hw = &adapter->hw; in igbvf_intr_msix_tx()
947 struct e1000_hw *hw = &adapter->hw; in igbvf_assign_vector()
997 struct e1000_hw *hw = &adapter->hw; in igbvf_configure_msix()
1177 struct e1000_hw *hw = &adapter->hw; in igbvf_irq_disable()
1191 struct e1000_hw *hw = &adapter->hw; in igbvf_irq_enable()
1207 struct e1000_hw *hw = &adapter->hw; in igbvf_poll()
1235 struct e1000_hw *hw = &adapter->hw; in igbvf_set_rlpml()
1245 struct e1000_hw *hw = &adapter->hw; in igbvf_vlan_rx_add_vid()
1259 struct e1000_hw *hw = &adapter->hw; in igbvf_vlan_rx_kill_vid()
[all …]
Dethtool.c78 struct e1000_hw *hw = &adapter->hw; in igbvf_get_settings()
152 struct e1000_hw *hw = &adapter->hw; in igbvf_get_regs()
295 struct e1000_hw *hw = &adapter->hw; in igbvf_link_test()
353 struct e1000_hw *hw = &adapter->hw; in igbvf_set_coalesce()
Digbvf.h248 struct e1000_hw hw;
285 void (*init_ops)(struct e1000_hw *);
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
De1000_hw.c35 static s32 e1000_check_downshift(struct e1000_hw *hw);
36 static s32 e1000_check_polarity(struct e1000_hw *hw,
38 static void e1000_clear_hw_cntrs(struct e1000_hw *hw);
39 static void e1000_clear_vfta(struct e1000_hw *hw);
40 static s32 e1000_config_dsp_after_link_change(struct e1000_hw *hw,
42 static s32 e1000_config_fc_after_link_up(struct e1000_hw *hw);
43 static s32 e1000_detect_gig_phy(struct e1000_hw *hw);
44 static s32 e1000_get_auto_rd_done(struct e1000_hw *hw);
45 static s32 e1000_get_cable_length(struct e1000_hw *hw, u16 *min_length,
47 static s32 e1000_get_phy_cfg_done(struct e1000_hw *hw);
[all …]
De1000_hw.h40 struct e1000_hw;
292 s32 e1000_reset_hw(struct e1000_hw *hw);
293 s32 e1000_init_hw(struct e1000_hw *hw);
294 s32 e1000_set_mac_type(struct e1000_hw *hw);
295 void e1000_set_media_type(struct e1000_hw *hw);
298 s32 e1000_setup_link(struct e1000_hw *hw);
299 s32 e1000_phy_setup_autoneg(struct e1000_hw *hw);
300 void e1000_config_collision_dist(struct e1000_hw *hw);
301 s32 e1000_check_for_link(struct e1000_hw *hw);
302 s32 e1000_get_speed_and_duplex(struct e1000_hw *hw, u16 * speed, u16 * duplex);
[all …]
De1000_ethtool.c110 struct e1000_hw *hw = &adapter->hw; in e1000_get_settings()
192 struct e1000_hw *hw = &adapter->hw; in e1000_set_settings()
272 struct e1000_hw *hw = &adapter->hw; in e1000_get_pauseparam()
291 struct e1000_hw *hw = &adapter->hw; in e1000_set_pauseparam()
349 struct e1000_hw *hw = &adapter->hw; in e1000_get_regs()
436 struct e1000_hw *hw = &adapter->hw; in e1000_get_eeprom_len()
445 struct e1000_hw *hw = &adapter->hw; in e1000_get_eeprom()
492 struct e1000_hw *hw = &adapter->hw; in e1000_set_eeprom()
568 struct e1000_hw *hw = &adapter->hw; in e1000_get_ringparam()
585 struct e1000_hw *hw = &adapter->hw; in e1000_set_ringparam()
[all …]
De1000_main.c237 struct net_device *e1000_get_hw_dev(struct e1000_hw *hw) in e1000_get_hw_dev()
311 struct e1000_hw *hw = &adapter->hw; in e1000_irq_disable()
324 struct e1000_hw *hw = &adapter->hw; in e1000_irq_enable()
332 struct e1000_hw *hw = &adapter->hw; in e1000_update_mng_vlan()
360 struct e1000_hw *hw = &adapter->hw; in e1000_init_manageability()
374 struct e1000_hw *hw = &adapter->hw; in e1000_release_manageability()
416 struct e1000_hw *hw = &adapter->hw; in e1000_up()
444 struct e1000_hw *hw = &adapter->hw; in e1000_power_up_phy()
460 struct e1000_hw *hw = &adapter->hw; in e1000_power_down_phy()
520 struct e1000_hw *hw = &adapter->hw; in e1000_down()
[all …]
De1000.h298 struct e1000_hw hw;
337 struct net_device *e1000_get_hw_dev(struct e1000_hw *hw);
372 char *e1000_get_hw_dev_name(struct e1000_hw *hw);
DMakefile35 e1000-objs := e1000_main.o e1000_hw.o e1000_ethtool.o e1000_param.o