Home
last modified time | relevance | path

Searched refs:e1000_hw (Results 1 – 25 of 34) 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 *hw);
[all …]
H A 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 …]
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 *);
[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 *hw);
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 *hw);
[all …]
H A 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 …]
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 *hw, u16 addr, u16 *data);
[all …]
H A 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()
110 void e1000e_disable_phy_retry(struct e1000_hw *hw) in e1000e_disable_phy_retry()
115 void e1000e_enable_phy_retry(struct e1000_hw *hw) in e1000e_enable_phy_retry()
129 s32 e1000e_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_mdic()
208 s32 e1000e_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_mdic()
[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 *hw, u8 *mc_addr) in e1000_hash_mc_addr()
[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 D82571.h31 bool e1000_check_phy_82574(struct e1000_hw *hw);
32 bool e1000e_get_laa_state_82571(struct e1000_hw *hw);
33 void e1000e_set_laa_state_82571(struct e1000_hw *hw, bool state);
H A Dmanage.c38 static s32 e1000_mng_enable_host_if(struct e1000_hw *hw) in e1000_mng_enable_host_if()
77 bool e1000e_check_mng_mode_generic(struct e1000_hw *hw) in e1000e_check_mng_mode_generic()
92 bool e1000e_enable_tx_pkt_filtering(struct e1000_hw *hw) in e1000e_enable_tx_pkt_filtering()
150 static s32 e1000_mng_write_cmd_header(struct e1000_hw *hw, in e1000_mng_write_cmd_header()
181 static s32 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, in e1000_mng_host_if_write()
249 s32 e1000e_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length) in e1000e_mng_write_dhcp_info()
291 bool e1000e_enable_mng_pass_thru(struct e1000_hw *hw) in e1000e_enable_mng_pass_thru()
/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 *hw);
[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 *, u16);
[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 *hw);
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 *, u16 addr, u16 *data);
[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 *hw, u32 *msg, u16 size, in igb_write_posted_mbx()
[all …]
H A 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);
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 *hw, u8 *addr, u32 index) in igb_rar_set()
[all …]
H A De1000_phy.c10 static s32 igb_phy_setup_autoneg(struct e1000_hw *hw);
11 static void igb_phy_force_speed_duplex_setup(struct e1000_hw *hw,
13 static s32 igb_wait_autoneg(struct e1000_hw *hw);
14 static s32 igb_set_master_slave_mode(struct e1000_hw *hw);
38 s32 igb_check_reset_block(struct e1000_hw *hw) in igb_check_reset_block()
54 s32 igb_get_phy_id(struct e1000_hw *hw) in igb_get_phy_id()
87 static s32 igb_phy_reset_dsp(struct e1000_hw *hw) in igb_phy_reset_dsp()
113 s32 igb_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg_mdic()
169 s32 igb_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in igb_write_phy_reg_mdic()
226 s32 igb_read_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg_i2c()
[all …]
H A Digb_ptp.c79 struct e1000_hw *hw = &igb->hw; in igb_ptp_read_82576()
96 struct e1000_hw *hw = &igb->hw; in igb_ptp_read_82580()
118 struct e1000_hw *hw = &adapter->hw; in igb_ptp_read_i210()
136 struct e1000_hw *hw = &adapter->hw; in igb_ptp_write_i210()
198 struct e1000_hw *hw = &igb->hw; in igb_ptp_adjfine_82576()
212 struct e1000_hw *hw = &igb->hw; in igb_ptp_adjfine_82580()
265 struct e1000_hw *hw = &igb->hw; in igb_ptp_gettimex_82576()
292 struct e1000_hw *hw = &igb->hw; in igb_ptp_gettimex_82580()
320 struct e1000_hw *hw = &igb->hw; in igb_ptp_gettimex_i210()
398 struct e1000_hw *hw = &igb->hw; in igb_pin_extts()
[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 *);
[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 *hw) in e1000_init_mac_params_vf()
[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 *hw) in e1000_obtain_mbx_lock_vf()
[all …]
/linux/drivers/net/ethernet/intel/e1000/
H A De1000_hw.h15 struct e1000_hw;
267 s32 e1000_reset_hw(struct e1000_hw *hw);
268 s32 e1000_init_hw(struct e1000_hw *hw);
269 s32 e1000_set_mac_type(struct e1000_hw *hw);
270 void e1000_set_media_type(struct e1000_hw *hw);
273 s32 e1000_setup_link(struct e1000_hw *hw);
274 s32 e1000_phy_setup_autoneg(struct e1000_hw *hw);
275 void e1000_config_collision_dist(struct e1000_hw *hw);
276 s32 e1000_check_for_link(struct e1000_hw *hw);
277 s32 e1000_get_speed_and_duplex(struct e1000_hw *hw, u16 * speed, u16 * duplex);
[all …]

12