Home
last modified time | relevance | path

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

12

/linux-3.4.99/drivers/net/ethernet/intel/e1000e/
De1000.h373 struct e1000_hw hw;
520 extern char *e1000e_get_hw_dev_name(struct e1000_hw *hw);
534 extern s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num,
537 extern s32 e1000e_commit_phy(struct e1000_hw *hw);
539 extern bool e1000e_enable_mng_pass_thru(struct e1000_hw *hw);
541 extern bool e1000e_get_laa_state_82571(struct e1000_hw *hw);
542 extern void e1000e_set_laa_state_82571(struct e1000_hw *hw, bool state);
544 extern void e1000e_write_protect_nvm_ich8lan(struct e1000_hw *hw);
545 extern void e1000e_set_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw,
547 extern void e1000e_igp3_phy_powerdown_workaround_ich8lan(struct e1000_hw *hw);
[all …]
Dhw.h34 struct e1000_hw;
765 s32 (*id_led_init)(struct e1000_hw *);
766 s32 (*blink_led)(struct e1000_hw *);
767 bool (*check_mng_mode)(struct e1000_hw *);
768 s32 (*check_for_link)(struct e1000_hw *);
769 s32 (*cleanup_led)(struct e1000_hw *);
770 void (*clear_hw_cntrs)(struct e1000_hw *);
771 void (*clear_vfta)(struct e1000_hw *);
772 s32 (*get_bus_info)(struct e1000_hw *);
773 void (*set_lan_id)(struct e1000_hw *);
[all …]
D82571.c63 static s32 e1000_get_phy_id_82571(struct e1000_hw *hw);
64 static s32 e1000_setup_copper_link_82571(struct e1000_hw *hw);
65 static s32 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw);
66 static s32 e1000_check_for_serdes_link_82571(struct e1000_hw *hw);
67 static s32 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset,
69 static s32 e1000_fix_nvm_checksum_82571(struct e1000_hw *hw);
70 static void e1000_initialize_hw_bits_82571(struct e1000_hw *hw);
71 static s32 e1000_setup_link_82571(struct e1000_hw *hw);
72 static void e1000_clear_hw_cntrs_82571(struct e1000_hw *hw);
73 static void e1000_clear_vfta_82571(struct e1000_hw *hw);
[all …]
D80003es2lan.c108 static s32 e1000_setup_copper_link_80003es2lan(struct e1000_hw *hw);
109 static s32 e1000_acquire_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask);
110 static void e1000_release_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask);
111 static void e1000_initialize_hw_bits_80003es2lan(struct e1000_hw *hw);
112 static void e1000_clear_hw_cntrs_80003es2lan(struct e1000_hw *hw);
113 static s32 e1000_cfg_kmrn_1000_80003es2lan(struct e1000_hw *hw);
114 static s32 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex);
115 static s32 e1000_cfg_on_link_up_80003es2lan(struct e1000_hw *hw);
116 static s32 e1000_read_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset,
118 static s32 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset,
[all …]
Dphy.c31 static s32 e1000_get_phy_cfg_done(struct e1000_hw *hw);
32 static s32 e1000_phy_force_speed_duplex(struct e1000_hw *hw);
33 static s32 e1000_set_d0_lplu_state(struct e1000_hw *hw, bool active);
34 static s32 e1000_wait_autoneg(struct e1000_hw *hw);
36 static s32 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset,
39 static s32 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset,
109 s32 e1000e_check_reset_block_generic(struct e1000_hw *hw) in e1000e_check_reset_block_generic()
126 s32 e1000e_get_phy_id(struct e1000_hw *hw) in e1000e_get_phy_id()
165 s32 e1000e_phy_reset_dsp(struct e1000_hw *hw) in e1000e_phy_reset_dsp()
185 s32 e1000e_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_mdic()
[all …]
Dmac.c39 s32 e1000e_get_bus_info_pcie(struct e1000_hw *hw) in e1000e_get_bus_info_pcie()
71 void e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw) in e1000_set_lan_id_multi_port_pcie()
90 void e1000_set_lan_id_single_port(struct e1000_hw *hw) in e1000_set_lan_id_single_port()
104 void e1000_clear_vfta_generic(struct e1000_hw *hw) in e1000_clear_vfta_generic()
123 void e1000_write_vfta_generic(struct e1000_hw *hw, u32 offset, u32 value) in e1000_write_vfta_generic()
138 void e1000e_init_rx_addrs(struct e1000_hw *hw, u16 rar_count) in e1000e_init_rx_addrs()
166 s32 e1000_check_alt_mac_addr_generic(struct e1000_hw *hw) in e1000_check_alt_mac_addr_generic()
232 void e1000e_rar_set(struct e1000_hw *hw, u8 *addr, u32 index) in e1000e_rar_set()
268 static u32 e1000_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) in e1000_hash_mc_addr()
339 void e1000e_update_mc_addr_list_generic(struct e1000_hw *hw, in e1000e_update_mc_addr_list_generic()
[all …]
Dich8lan.c228 static s32 e1000_setup_link_ich8lan(struct e1000_hw *hw);
229 static void e1000_clear_hw_cntrs_ich8lan(struct e1000_hw *hw);
230 static void e1000_initialize_hw_bits_ich8lan(struct e1000_hw *hw);
231 static s32 e1000_erase_flash_bank_ich8lan(struct e1000_hw *hw, u32 bank);
232 static s32 e1000_retry_write_flash_byte_ich8lan(struct e1000_hw *hw,
234 static s32 e1000_read_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset,
236 static s32 e1000_read_flash_word_ich8lan(struct e1000_hw *hw, u32 offset,
238 static s32 e1000_read_flash_data_ich8lan(struct e1000_hw *hw, u32 offset,
240 static s32 e1000_setup_copper_link_ich8lan(struct e1000_hw *hw);
241 static s32 e1000_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw);
[all …]
Dnvm.c38 static void e1000_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) in e1000_raise_eec_clk()
53 static void e1000_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) in e1000_lower_eec_clk()
71 static void e1000_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count) in e1000_shift_out_eec_bits()
113 static u16 e1000_shift_in_eec_bits(struct e1000_hw *hw, u16 count) in e1000_shift_in_eec_bits()
148 s32 e1000e_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg) in e1000e_poll_eerd_eewr_done()
176 s32 e1000e_acquire_nvm(struct e1000_hw *hw) in e1000e_acquire_nvm()
208 static void e1000_standby_nvm(struct e1000_hw *hw) in e1000_standby_nvm()
232 static void e1000_stop_nvm(struct e1000_hw *hw) in e1000_stop_nvm()
250 void e1000e_release_nvm(struct e1000_hw *hw) in e1000e_release_nvm()
267 static s32 e1000_ready_nvm_eeprom(struct e1000_hw *hw) in e1000_ready_nvm_eeprom()
[all …]
Dmanage.c76 static s32 e1000_mng_enable_host_if(struct e1000_hw *hw) in e1000_mng_enable_host_if()
115 bool e1000e_check_mng_mode_generic(struct e1000_hw *hw) in e1000e_check_mng_mode_generic()
130 bool e1000e_enable_tx_pkt_filtering(struct e1000_hw *hw) in e1000e_enable_tx_pkt_filtering()
190 static s32 e1000_mng_write_cmd_header(struct e1000_hw *hw, in e1000_mng_write_cmd_header()
221 static s32 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, in e1000_mng_host_if_write()
290 s32 e1000e_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length) in e1000e_mng_write_dhcp_info()
332 bool e1000e_enable_mng_pass_thru(struct e1000_hw *hw) in e1000e_enable_mng_pass_thru()
/linux-3.4.99/drivers/net/ethernet/intel/igb/
De1000_mac.h41 s32 igb_blink_led(struct e1000_hw *hw);
42 s32 igb_check_for_copper_link(struct e1000_hw *hw);
43 s32 igb_cleanup_led(struct e1000_hw *hw);
44 s32 igb_config_fc_after_link_up(struct e1000_hw *hw);
45 s32 igb_disable_pcie_master(struct e1000_hw *hw);
46 s32 igb_force_mac_fc(struct e1000_hw *hw);
47 s32 igb_get_auto_rd_done(struct e1000_hw *hw);
48 s32 igb_get_bus_info_pcie(struct e1000_hw *hw);
49 s32 igb_get_hw_semaphore(struct e1000_hw *hw);
50 s32 igb_get_speed_and_duplex_copper(struct e1000_hw *hw, u16 *speed,
[all …]
De1000_phy.h44 s32 igb_check_downshift(struct e1000_hw *hw);
45 s32 igb_check_reset_block(struct e1000_hw *hw);
46 s32 igb_copper_link_setup_igp(struct e1000_hw *hw);
47 s32 igb_copper_link_setup_m88(struct e1000_hw *hw);
48 s32 igb_copper_link_setup_m88_gen2(struct e1000_hw *hw);
49 s32 igb_phy_force_speed_duplex_igp(struct e1000_hw *hw);
50 s32 igb_phy_force_speed_duplex_m88(struct e1000_hw *hw);
51 s32 igb_get_cable_length_m88(struct e1000_hw *hw);
52 s32 igb_get_cable_length_m88_gen2(struct e1000_hw *hw);
53 s32 igb_get_cable_length_igp_2(struct e1000_hw *hw);
[all …]
De1000_hw.h39 struct e1000_hw;
308 s32 (*check_for_link)(struct e1000_hw *);
309 s32 (*reset_hw)(struct e1000_hw *);
310 s32 (*init_hw)(struct e1000_hw *);
311 bool (*check_mng_mode)(struct e1000_hw *);
312 s32 (*setup_physical_interface)(struct e1000_hw *);
313 void (*rar_set)(struct e1000_hw *, u8 *, u32);
314 s32 (*read_mac_addr)(struct e1000_hw *);
315 s32 (*get_speed_and_duplex)(struct e1000_hw *, u16 *, u16 *);
319 s32 (*acquire)(struct e1000_hw *);
[all …]
De1000_nvm.h31 s32 igb_acquire_nvm(struct e1000_hw *hw);
32 void igb_release_nvm(struct e1000_hw *hw);
33 s32 igb_read_mac_addr(struct e1000_hw *hw);
34 s32 igb_read_part_num(struct e1000_hw *hw, u32 *part_num);
35 s32 igb_read_part_string(struct e1000_hw *hw, u8 *part_num,
37 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
38 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
39 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
40 s32 igb_validate_nvm_checksum(struct e1000_hw *hw);
41 s32 igb_update_nvm_checksum(struct e1000_hw *hw);
De1000_82575.c40 static s32 igb_get_invariants_82575(struct e1000_hw *);
41 static s32 igb_acquire_phy_82575(struct e1000_hw *);
42 static void igb_release_phy_82575(struct e1000_hw *);
43 static s32 igb_acquire_nvm_82575(struct e1000_hw *);
44 static void igb_release_nvm_82575(struct e1000_hw *);
45 static s32 igb_check_for_link_82575(struct e1000_hw *);
46 static s32 igb_get_cfg_done_82575(struct e1000_hw *);
47 static s32 igb_init_hw_82575(struct e1000_hw *);
48 static s32 igb_phy_hw_reset_sgmii_82575(struct e1000_hw *);
49 static s32 igb_read_phy_reg_sgmii_82575(struct e1000_hw *, u32, u16 *);
[all …]
De1000_mbx.c39 s32 igb_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in igb_read_mbx()
63 s32 igb_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in igb_write_mbx()
84 s32 igb_check_for_msg(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_msg()
102 s32 igb_check_for_ack(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_ack()
120 s32 igb_check_for_rst(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_rst()
138 static s32 igb_poll_for_msg(struct e1000_hw *hw, u16 mbx_id) in igb_poll_for_msg()
167 static s32 igb_poll_for_ack(struct e1000_hw *hw, u16 mbx_id) in igb_poll_for_ack()
199 static s32 igb_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in igb_read_posted_mbx()
225 static s32 igb_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in igb_write_posted_mbx()
244 static s32 igb_check_for_bit_pf(struct e1000_hw *hw, u32 mask) in igb_check_for_bit_pf()
[all …]
De1000_mbx.h70 s32 igb_read_mbx(struct e1000_hw *, u32 *, u16, u16);
71 s32 igb_write_mbx(struct e1000_hw *, u32 *, u16, u16);
72 s32 igb_check_for_msg(struct e1000_hw *, u16);
73 s32 igb_check_for_ack(struct e1000_hw *, u16);
74 s32 igb_check_for_rst(struct e1000_hw *, u16);
75 s32 igb_init_mbx_params_pf(struct e1000_hw *);
De1000_mac.c38 static s32 igb_set_default_fc(struct e1000_hw *hw);
39 static s32 igb_set_fc_watermarks(struct e1000_hw *hw);
49 s32 igb_get_bus_info_pcie(struct e1000_hw *hw) in igb_get_bus_info_pcie()
95 void igb_clear_vfta(struct e1000_hw *hw) in igb_clear_vfta()
114 static void igb_write_vfta(struct e1000_hw *hw, u32 offset, u32 value) in igb_write_vfta()
132 void igb_clear_vfta_i350(struct e1000_hw *hw) in igb_clear_vfta_i350()
154 static void igb_write_vfta_i350(struct e1000_hw *hw, u32 offset, u32 value) in igb_write_vfta_i350()
173 void igb_init_rx_addrs(struct e1000_hw *hw, u16 rar_count) in igb_init_rx_addrs()
198 s32 igb_vfta_set(struct e1000_hw *hw, u32 vid, bool add) in igb_vfta_set()
237 s32 igb_check_alt_mac_addr(struct e1000_hw *hw) in igb_check_alt_mac_addr()
[all …]
De1000_82575.h31 extern void igb_shutdown_serdes_link_82575(struct e1000_hw *hw);
32 extern void igb_power_up_serdes_link_82575(struct e1000_hw *hw);
33 extern void igb_power_down_phy_copper_82575(struct e1000_hw *hw);
34 extern void igb_rx_fifo_flush_82575(struct e1000_hw *hw);
254 void igb_vmdq_set_anti_spoofing_pf(struct e1000_hw *, bool, int);
255 void igb_vmdq_set_loopback_pf(struct e1000_hw *, bool);
256 void igb_vmdq_set_replication_pf(struct e1000_hw *, bool);
258 s32 igb_set_eee_i350(struct e1000_hw *);
De1000_nvm.c41 static void igb_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) in igb_raise_eec_clk()
56 static void igb_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) in igb_lower_eec_clk()
74 static void igb_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count) in igb_shift_out_eec_bits()
116 static u16 igb_shift_in_eec_bits(struct e1000_hw *hw, u16 count) in igb_shift_in_eec_bits()
151 static s32 igb_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg) in igb_poll_eerd_eewr_done()
182 s32 igb_acquire_nvm(struct e1000_hw *hw) in igb_acquire_nvm()
216 static void igb_standby_nvm(struct e1000_hw *hw) in igb_standby_nvm()
240 static void e1000_stop_nvm(struct e1000_hw *hw) in e1000_stop_nvm()
258 void igb_release_nvm(struct e1000_hw *hw) in igb_release_nvm()
275 static s32 igb_ready_nvm_eeprom(struct e1000_hw *hw) in igb_ready_nvm_eeprom()
[all …]
De1000_phy.c34 static s32 igb_phy_setup_autoneg(struct e1000_hw *hw);
35 static void igb_phy_force_speed_duplex_setup(struct e1000_hw *hw,
37 static s32 igb_wait_autoneg(struct e1000_hw *hw);
67 s32 igb_check_reset_block(struct e1000_hw *hw) in igb_check_reset_block()
84 s32 igb_get_phy_id(struct e1000_hw *hw) in igb_get_phy_id()
113 static s32 igb_phy_reset_dsp(struct e1000_hw *hw) in igb_phy_reset_dsp()
139 s32 igb_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg_mdic()
197 s32 igb_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in igb_write_phy_reg_mdic()
256 s32 igb_read_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg_i2c()
303 s32 igb_write_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 data) in igb_write_phy_reg_i2c()
[all …]
/linux-3.4.99/drivers/net/ethernet/intel/igbvf/
Dvf.h39 struct e1000_hw;
177 s32 (*init_params)(struct e1000_hw *);
178 s32 (*check_for_link)(struct e1000_hw *);
179 void (*clear_vfta)(struct e1000_hw *);
180 s32 (*get_bus_info)(struct e1000_hw *);
181 s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *);
182 void (*update_mc_addr_list)(struct e1000_hw *, u8 *, u32, u32, u32);
183 s32 (*reset_hw)(struct e1000_hw *);
184 s32 (*init_hw)(struct e1000_hw *);
185 s32 (*setup_link)(struct e1000_hw *);
[all …]
Dvf.c31 static s32 e1000_check_for_link_vf(struct e1000_hw *hw);
32 static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed,
34 static s32 e1000_init_hw_vf(struct e1000_hw *hw);
35 static s32 e1000_reset_hw_vf(struct e1000_hw *hw);
37 static void e1000_update_mc_addr_list_vf(struct e1000_hw *hw, u8 *,
39 static void e1000_rar_set_vf(struct e1000_hw *, u8 *, u32);
40 static s32 e1000_read_mac_addr_vf(struct e1000_hw *);
41 static s32 e1000_set_vfta_vf(struct e1000_hw *, u16, bool);
47 static s32 e1000_init_mac_params_vf(struct e1000_hw *hw) in e1000_init_mac_params_vf()
81 void e1000_init_function_pointers_vf(struct e1000_hw *hw) in e1000_init_function_pointers_vf()
[all …]
Dmbx.c36 static s32 e1000_poll_for_msg(struct e1000_hw *hw) in e1000_poll_for_msg()
62 static s32 e1000_poll_for_ack(struct e1000_hw *hw) in e1000_poll_for_ack()
91 static s32 e1000_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size) in e1000_read_posted_mbx()
117 static s32 e1000_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size) in e1000_write_posted_mbx()
143 static u32 e1000_read_v2p_mailbox(struct e1000_hw *hw) in e1000_read_v2p_mailbox()
161 static s32 e1000_check_for_bit_vf(struct e1000_hw *hw, u32 mask) in e1000_check_for_bit_vf()
180 static s32 e1000_check_for_msg_vf(struct e1000_hw *hw) in e1000_check_for_msg_vf()
198 static s32 e1000_check_for_ack_vf(struct e1000_hw *hw) in e1000_check_for_ack_vf()
216 static s32 e1000_check_for_rst_vf(struct e1000_hw *hw) in e1000_check_for_rst_vf()
235 static s32 e1000_obtain_mbx_lock_vf(struct e1000_hw *hw) in e1000_obtain_mbx_lock_vf()
[all …]
/linux-3.4.99/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 …]

12