Home
last modified time | relevance | path

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

12

/dragonfly/sys/dev/netif/ig_hal/
H A De1000_api.h62 void e1000_clear_vfta(struct e1000_hw *hw);
66 s32 e1000_reset_hw(struct e1000_hw *hw);
67 s32 e1000_init_hw(struct e1000_hw *hw);
68 s32 e1000_setup_link(struct e1000_hw *hw);
76 s32 e1000_setup_led(struct e1000_hw *hw);
77 s32 e1000_cleanup_led(struct e1000_hw *hw);
79 s32 e1000_blink_led(struct e1000_hw *hw);
80 s32 e1000_led_on(struct e1000_hw *hw);
81 s32 e1000_led_off(struct e1000_hw *hw);
82 s32 e1000_id_led_init(struct e1000_hw *hw);
[all …]
H A De1000_mac.h38 void e1000_init_mac_ops_generic(struct e1000_hw *hw);
40 void e1000_null_mac_generic(struct e1000_hw *hw);
41 s32 e1000_null_ops_generic(struct e1000_hw *hw);
43 bool e1000_null_mng_mode(struct e1000_hw *hw);
48 s32 e1000_blink_led_generic(struct e1000_hw *hw);
52 s32 e1000_cleanup_led_generic(struct e1000_hw *hw);
69 s32 e1000_led_on_generic(struct e1000_hw *hw);
70 s32 e1000_led_off_generic(struct e1000_hw *hw);
77 s32 e1000_setup_led_generic(struct e1000_hw *hw);
78 s32 e1000_setup_link_generic(struct e1000_hw *hw);
[all …]
H A De1000_phy.h38 void e1000_init_phy_ops_generic(struct e1000_hw *hw);
40 void e1000_null_phy_generic(struct e1000_hw *hw);
49 s32 e1000_check_polarity_m88(struct e1000_hw *hw);
50 s32 e1000_check_polarity_igp(struct e1000_hw *hw);
51 s32 e1000_check_polarity_ife(struct e1000_hw *hw);
53 s32 e1000_phy_setup_autoneg(struct e1000_hw *hw);
65 s32 e1000_get_phy_id(struct e1000_hw *hw);
66 s32 e1000_get_phy_info_igp(struct e1000_hw *hw);
67 s32 e1000_get_phy_info_m88(struct e1000_hw *hw);
68 s32 e1000_get_phy_info_ife(struct e1000_hw *hw);
[all …]
H A De1000_nvm.h60 void e1000_init_nvm_ops_generic(struct e1000_hw *hw);
62 void e1000_null_nvm_generic(struct e1000_hw *hw);
63 s32 e1000_null_led_default(struct e1000_hw *hw, u16 *data);
65 s32 e1000_acquire_nvm_generic(struct e1000_hw *hw);
68 s32 e1000_read_mac_addr_generic(struct e1000_hw *hw);
72 s32 e1000_read_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf,
75 s32 e1000_write_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf,
90 s32 e1000_update_nvm_checksum_generic(struct e1000_hw *hw);
91 void e1000_stop_nvm(struct e1000_hw *hw);
92 void e1000_release_nvm_generic(struct e1000_hw *hw);
[all …]
H A De1000_hw.h42 struct e1000_hw;
732 s32 (*led_on)(struct e1000_hw *);
733 s32 (*led_off)(struct e1000_hw *);
736 s32 (*init_hw)(struct e1000_hw *);
768 s32 (*acquire)(struct e1000_hw *);
772 s32 (*commit)(struct e1000_hw *);
781 void (*release)(struct e1000_hw *);
782 s32 (*reset)(struct e1000_hw *);
800 void (*reload)(struct e1000_hw *);
801 s32 (*update)(struct e1000_hw *);
[all …]
H A De1000_api.c44 s32 e1000_init_mac_params(struct e1000_hw *hw) in e1000_init_mac_params()
150 s32 e1000_set_mac_type(struct e1000_hw *hw) in e1000_set_mac_type()
571 void e1000_clear_vfta(struct e1000_hw *hw) in e1000_clear_vfta()
673 s32 e1000_reset_hw(struct e1000_hw *hw) in e1000_reset_hw()
688 s32 e1000_init_hw(struct e1000_hw *hw) in e1000_init_hw()
704 s32 e1000_setup_link(struct e1000_hw *hw) in e1000_setup_link()
738 s32 e1000_setup_led(struct e1000_hw *hw) in e1000_setup_led()
769 s32 e1000_blink_led(struct e1000_hw *hw) in e1000_blink_led()
799 s32 e1000_led_on(struct e1000_hw *hw) in e1000_led_on()
814 s32 e1000_led_off(struct e1000_hw *hw) in e1000_led_off()
[all …]
H A De1000_vf.h42 struct e1000_hw;
201 s32 (*init_params)(struct e1000_hw *);
202 s32 (*check_for_link)(struct e1000_hw *);
203 void (*clear_vfta)(struct e1000_hw *);
204 s32 (*get_bus_info)(struct e1000_hw *);
207 s32 (*reset_hw)(struct e1000_hw *);
208 s32 (*init_hw)(struct e1000_hw *);
209 s32 (*setup_link)(struct e1000_hw *);
212 s32 (*read_mac_addr)(struct e1000_hw *);
229 s32 (*init_params)(struct e1000_hw *hw);
[all …]
H A De1000_vf.c39 static s32 e1000_init_phy_params_vf(struct e1000_hw *hw);
40 static s32 e1000_init_nvm_params_vf(struct e1000_hw *hw);
41 static void e1000_release_vf(struct e1000_hw *hw);
42 static s32 e1000_acquire_vf(struct e1000_hw *hw);
43 static s32 e1000_setup_link_vf(struct e1000_hw *hw);
46 static s32 e1000_check_for_link_vf(struct e1000_hw *hw);
49 static s32 e1000_init_hw_vf(struct e1000_hw *hw);
50 static s32 e1000_reset_hw_vf(struct e1000_hw *hw);
53 static s32 e1000_read_mac_addr_vf(struct e1000_hw *);
258 static s32 e1000_reset_hw_vf(struct e1000_hw *hw) in e1000_reset_hw_vf()
[all …]
H A De1000_82543.c55 static s32 e1000_reset_hw_82543(struct e1000_hw *hw);
56 static s32 e1000_init_hw_82543(struct e1000_hw *hw);
57 static s32 e1000_setup_link_82543(struct e1000_hw *hw);
62 static s32 e1000_led_on_82543(struct e1000_hw *hw);
63 static s32 e1000_led_off_82543(struct e1000_hw *hw);
333 bool e1000_tbi_sbp_enabled_82543(struct e1000_hw *hw) in e1000_tbi_sbp_enabled_82543()
407 void e1000_tbi_adjust_stats_82543(struct e1000_hw *hw, in e1000_tbi_adjust_stats_82543()
897 static s32 e1000_reset_hw_82543(struct e1000_hw *hw) in e1000_reset_hw_82543()
952 static s32 e1000_init_hw_82543(struct e1000_hw *hw) in e1000_init_hw_82543()
1476 static s32 e1000_led_on_82543(struct e1000_hw *hw) in e1000_led_on_82543()
[all …]
H A De1000_i210.h38 bool e1000_get_flash_presence_i210(struct e1000_hw *hw);
39 s32 e1000_update_flash_i210(struct e1000_hw *hw);
40 s32 e1000_update_nvm_checksum_i210(struct e1000_hw *hw);
41 s32 e1000_validate_nvm_checksum_i210(struct e1000_hw *hw);
42 s32 e1000_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset,
44 s32 e1000_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset,
46 s32 e1000_read_invm_version(struct e1000_hw *hw,
48 s32 e1000_acquire_swfw_sync_i210(struct e1000_hw *hw, u16 mask);
49 void e1000_release_swfw_sync_i210(struct e1000_hw *hw, u16 mask);
50 s32 e1000_read_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr,
[all …]
H A De1000_82575.c62 static s32 e1000_reset_hw_82575(struct e1000_hw *hw);
63 static s32 e1000_reset_hw_82580(struct e1000_hw *hw);
106 static void e1000_i2c_start(struct e1000_hw *hw);
107 static void e1000_i2c_stop(struct e1000_hw *hw);
110 static s32 e1000_get_i2c_ack(struct e1000_hw *hw);
1490 s32 e1000_init_hw_82575(struct e1000_hw *hw) in e1000_init_hw_82575()
3194 void e1000_clear_vfta_i350(struct e1000_hw *hw) in e1000_clear_vfta_i350()
3238 s32 e1000_set_i2c_bb(struct e1000_hw *hw) in e1000_set_i2c_bb()
3430 static void e1000_i2c_start(struct e1000_hw *hw) in e1000_i2c_start()
3461 static void e1000_i2c_stop(struct e1000_hw *hw) in e1000_i2c_stop()
[all …]
H A De1000_82571.c53 static s32 e1000_acquire_nvm_82571(struct e1000_hw *hw);
62 static s32 e1000_reset_hw_82571(struct e1000_hw *hw);
63 static s32 e1000_init_hw_82571(struct e1000_hw *hw);
64 static void e1000_clear_vfta_82571(struct e1000_hw *hw);
66 static s32 e1000_led_on_82574(struct e1000_hw *hw);
67 static s32 e1000_setup_link_82571(struct e1000_hw *hw);
75 static s32 e1000_get_phy_id_82571(struct e1000_hw *hw);
1184 static s32 e1000_init_hw_82571(struct e1000_hw *hw) in e1000_init_hw_82571()
1467 static s32 e1000_led_on_82574(struct e1000_hw *hw) in e1000_led_on_82574()
1495 bool e1000_check_phy_82574(struct e1000_hw *hw) in e1000_check_phy_82574()
[all …]
H A De1000_82542.c45 static s32 e1000_reset_hw_82542(struct e1000_hw *hw);
46 static s32 e1000_init_hw_82542(struct e1000_hw *hw);
47 static s32 e1000_setup_link_82542(struct e1000_hw *hw);
48 static s32 e1000_led_on_82542(struct e1000_hw *hw);
49 static s32 e1000_led_off_82542(struct e1000_hw *hw);
192 static s32 e1000_reset_hw_82542(struct e1000_hw *hw) in e1000_reset_hw_82542()
243 static s32 e1000_init_hw_82542(struct e1000_hw *hw) in e1000_init_hw_82542()
317 static s32 e1000_setup_link_82542(struct e1000_hw *hw) in e1000_setup_link_82542()
373 static s32 e1000_led_on_82542(struct e1000_hw *hw) in e1000_led_on_82542()
392 static s32 e1000_led_off_82542(struct e1000_hw *hw) in e1000_led_off_82542()
[all …]
H A De1000_mbx.h95 s32 e1000_read_mbx(struct e1000_hw *, u32 *, u16, u16);
96 s32 e1000_write_mbx(struct e1000_hw *, u32 *, u16, u16);
97 s32 e1000_read_posted_mbx(struct e1000_hw *, u32 *, u16, u16);
98 s32 e1000_write_posted_mbx(struct e1000_hw *, u32 *, u16, u16);
99 s32 e1000_check_for_msg(struct e1000_hw *, u16);
100 s32 e1000_check_for_ack(struct e1000_hw *, u16);
101 s32 e1000_check_for_rst(struct e1000_hw *, u16);
102 void e1000_init_mbx_ops_generic(struct e1000_hw *hw);
103 s32 e1000_init_mbx_params_vf(struct e1000_hw *);
104 s32 e1000_init_mbx_params_pf(struct e1000_hw *);
H A De1000_80003es2lan.c41 static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw);
42 static void e1000_release_phy_80003es2lan(struct e1000_hw *hw);
43 static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw);
44 static void e1000_release_nvm_80003es2lan(struct e1000_hw *hw);
53 static s32 e1000_get_cfg_done_80003es2lan(struct e1000_hw *hw);
58 static s32 e1000_reset_hw_80003es2lan(struct e1000_hw *hw);
59 static s32 e1000_init_hw_80003es2lan(struct e1000_hw *hw);
295 static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw) in e1000_acquire_phy_80003es2lan()
362 static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw) in e1000_acquire_nvm_80003es2lan()
819 static s32 e1000_reset_hw_80003es2lan(struct e1000_hw *hw) in e1000_reset_hw_80003es2lan()
[all …]
H A De1000_mbx.c121 s32 e1000_check_for_msg(struct e1000_hw *hw, u16 mbx_id) in e1000_check_for_msg()
141 s32 e1000_check_for_ack(struct e1000_hw *hw, u16 mbx_id) in e1000_check_for_ack()
161 s32 e1000_check_for_rst(struct e1000_hw *hw, u16 mbx_id) in e1000_check_for_rst()
302 void e1000_init_mbx_ops_generic(struct e1000_hw *hw) in e1000_init_mbx_ops_generic()
322 static u32 e1000_read_v2p_mailbox(struct e1000_hw *hw) in e1000_read_v2p_mailbox()
360 static s32 e1000_check_for_msg_vf(struct e1000_hw *hw, in e1000_check_for_msg_vf()
382 static s32 e1000_check_for_ack_vf(struct e1000_hw *hw, in e1000_check_for_ack_vf()
404 static s32 e1000_check_for_rst_vf(struct e1000_hw *hw, in e1000_check_for_rst_vf()
426 static s32 e1000_obtain_mbx_lock_vf(struct e1000_hw *hw) in e1000_obtain_mbx_lock_vf()
531 s32 e1000_init_mbx_params_vf(struct e1000_hw *hw) in e1000_init_mbx_params_vf()
[all …]
H A De1000_82575.h479 void e1000_vmdq_set_loopback_pf(struct e1000_hw *hw, bool enable);
482 s32 e1000_init_nvm_params_82575(struct e1000_hw *hw);
483 s32 e1000_init_hw_82575(struct e1000_hw *hw);
493 void e1000_vfta_set_vf(struct e1000_hw *, u16, bool);
494 void e1000_rlpml_set_vf(struct e1000_hw *, u16);
498 s32 e1000_read_emi_reg(struct e1000_hw *hw, u16 addr, u16 *data);
501 s32 e1000_get_eee_status_i354(struct e1000_hw *, bool *);
502 s32 e1000_initialize_M88E1512_phy(struct e1000_hw *hw);
503 s32 e1000_initialize_M88E1543_phy(struct e1000_hw *hw);
517 s32 e1000_set_i2c_bb(struct e1000_hw *hw);
[all …]
H A De1000_manage.h38 bool e1000_check_mng_mode_generic(struct e1000_hw *hw);
39 bool e1000_enable_tx_pkt_filtering_generic(struct e1000_hw *hw);
40 s32 e1000_mng_enable_host_if_generic(struct e1000_hw *hw);
41 s32 e1000_mng_host_if_write_generic(struct e1000_hw *hw, u8 *buffer,
43 s32 e1000_mng_write_cmd_header_generic(struct e1000_hw *hw,
45 s32 e1000_mng_write_dhcp_info_generic(struct e1000_hw *hw,
47 bool e1000_enable_mng_pass_thru(struct e1000_hw *hw);
49 s32 e1000_host_interface_command(struct e1000_hw *hw, u8 *buffer, u32 length);
50 s32 e1000_load_firmware(struct e1000_hw *hw, u8 *buffer, u32 length);
H A De1000_82540.c52 static void e1000_clear_hw_cntrs_82540(struct e1000_hw *hw);
53 static s32 e1000_init_hw_82540(struct e1000_hw *hw);
54 static s32 e1000_reset_hw_82540(struct e1000_hw *hw);
55 static s32 e1000_set_phy_mode_82540(struct e1000_hw *hw);
56 static s32 e1000_set_vco_speed_82540(struct e1000_hw *hw);
60 static s32 e1000_read_mac_addr_82540(struct e1000_hw *hw);
66 static s32 e1000_init_phy_params_82540(struct e1000_hw *hw) in e1000_init_phy_params_82540()
270 static s32 e1000_reset_hw_82540(struct e1000_hw *hw) in e1000_reset_hw_82540()
328 static s32 e1000_init_hw_82540(struct e1000_hw *hw) in e1000_init_hw_82540()
588 static s32 e1000_set_phy_mode_82540(struct e1000_hw *hw) in e1000_set_phy_mode_82540()
[all …]
H A De1000_mac.c47 void e1000_init_mac_ops_generic(struct e1000_hw *hw) in e1000_init_mac_ops_generic()
325 void e1000_set_lan_id_single_port(struct e1000_hw *hw) in e1000_set_lan_id_single_port()
339 void e1000_clear_vfta_generic(struct e1000_hw *hw) in e1000_clear_vfta_generic()
1008 s32 e1000_setup_link_generic(struct e1000_hw *hw) in e1000_setup_link_generic()
1295 s32 e1000_force_mac_fc_generic(struct e1000_hw *hw) in e1000_force_mac_fc_generic()
1843 s32 e1000_id_led_init_generic(struct e1000_hw *hw) in e1000_id_led_init_generic()
1911 s32 e1000_setup_led_generic(struct e1000_hw *hw) in e1000_setup_led_generic()
1943 s32 e1000_cleanup_led_generic(struct e1000_hw *hw) in e1000_cleanup_led_generic()
1957 s32 e1000_blink_led_generic(struct e1000_hw *hw) in e1000_blink_led_generic()
2004 s32 e1000_led_on_generic(struct e1000_hw *hw) in e1000_led_on_generic()
[all …]
H A De1000_i210.c38 static s32 e1000_acquire_nvm_i210(struct e1000_hw *hw);
39 static void e1000_release_nvm_i210(struct e1000_hw *hw);
40 static s32 e1000_get_hw_semaphore_i210(struct e1000_hw *hw);
55 static s32 e1000_acquire_nvm_i210(struct e1000_hw *hw) in e1000_acquire_nvm_i210()
73 static void e1000_release_nvm_i210(struct e1000_hw *hw) in e1000_release_nvm_i210()
498 s32 e1000_read_invm_version(struct e1000_hw *hw, in e1000_read_invm_version()
636 s32 e1000_update_nvm_checksum_i210(struct e1000_hw *hw) in e1000_update_nvm_checksum_i210()
695 bool e1000_get_flash_presence_i210(struct e1000_hw *hw) in e1000_get_flash_presence_i210()
715 s32 e1000_update_flash_i210(struct e1000_hw *hw) in e1000_update_flash_i210()
994 static s32 e1000_get_cfg_done_i210(struct e1000_hw *hw) in e1000_get_cfg_done_i210()
[all …]
H A De1000_ich8lan.h333 void e1000_set_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw,
335 void e1000_igp3_phy_powerdown_workaround_ich8lan(struct e1000_hw *hw);
336 void e1000_gig_downshift_workaround_ich8lan(struct e1000_hw *hw);
337 void e1000_suspend_workarounds_ich8lan(struct e1000_hw *hw);
338 u32 e1000_resume_workarounds_pchlan(struct e1000_hw *hw);
339 s32 e1000_configure_k1_ich8lan(struct e1000_hw *hw, bool k1_enable);
340 void e1000_copy_rx_addrs_to_phy_ich8lan(struct e1000_hw *hw);
341 s32 e1000_lv_jumbo_workaround_ich8lan(struct e1000_hw *hw, bool enable);
344 s32 e1000_set_eee_pchlan(struct e1000_hw *hw);
345 s32 e1000_enable_ulp_lpt_lp(struct e1000_hw *hw, bool to_sx);
[all …]
H A De1000_82541.c49 static s32 e1000_reset_hw_82541(struct e1000_hw *hw);
50 static s32 e1000_init_hw_82541(struct e1000_hw *hw);
53 static s32 e1000_phy_hw_reset_82541(struct e1000_hw *hw);
55 static s32 e1000_check_for_link_82541(struct e1000_hw *hw);
59 static s32 e1000_setup_led_82541(struct e1000_hw *hw);
60 static s32 e1000_cleanup_led_82541(struct e1000_hw *hw);
293 static s32 e1000_reset_hw_82541(struct e1000_hw *hw) in e1000_reset_hw_82541()
371 static s32 e1000_init_hw_82541(struct e1000_hw *hw) in e1000_init_hw_82541()
496 static s32 e1000_phy_hw_reset_82541(struct e1000_hw *hw) in e1000_phy_hw_reset_82541()
1033 static s32 e1000_setup_led_82541(struct e1000_hw *hw) in e1000_setup_led_82541()
[all …]
H A De1000_phy.c37 static s32 e1000_wait_autoneg(struct e1000_hw *hw);
70 void e1000_init_phy_ops_generic(struct e1000_hw *hw) in e1000_init_phy_ops_generic()
224 s32 e1000_get_phy_id(struct e1000_hw *hw) in e1000_get_phy_id()
265 s32 e1000_phy_reset_dsp_generic(struct e1000_hw *hw) in e1000_phy_reset_dsp_generic()
1476 s32 e1000_phy_setup_autoneg(struct e1000_hw *hw) in e1000_phy_setup_autoneg()
2211 s32 e1000_check_polarity_m88(struct e1000_hw *hw) in e1000_check_polarity_m88()
2238 s32 e1000_check_polarity_igp(struct e1000_hw *hw) in e1000_check_polarity_igp()
2631 s32 e1000_get_phy_info_m88(struct e1000_hw *hw) in e1000_get_phy_info_m88()
2706 s32 e1000_get_phy_info_igp(struct e1000_hw *hw) in e1000_get_phy_info_igp()
2768 s32 e1000_get_phy_info_ife(struct e1000_hw *hw) in e1000_get_phy_info_ife()
[all …]
H A De1000_ich8lan.c104 static s32 e1000_id_led_init_pchlan(struct e1000_hw *hw);
106 static s32 e1000_reset_hw_ich8lan(struct e1000_hw *hw);
107 static s32 e1000_init_hw_ich8lan(struct e1000_hw *hw);
114 static s32 e1000_led_on_ich8lan(struct e1000_hw *hw);
115 static s32 e1000_led_off_ich8lan(struct e1000_hw *hw);
117 static s32 e1000_setup_led_pchlan(struct e1000_hw *hw);
119 static s32 e1000_led_on_pchlan(struct e1000_hw *hw);
120 static s32 e1000_led_off_pchlan(struct e1000_hw *hw);
145 static s32 e1000_k1_workaround_lv(struct e1000_hw *hw);
905 s32 e1000_set_eee_pchlan(struct e1000_hw *hw) in e1000_set_eee_pchlan()
[all …]

12