/freebsd/sys/dev/e1000/ |
H A D | e1000_api.h | 40 extern void e1000_init_function_pointers_82542(struct e1000_hw *hw); 41 extern void e1000_init_function_pointers_82543(struct e1000_hw *hw); 42 extern void e1000_init_function_pointers_82540(struct e1000_hw *hw); 43 extern void e1000_init_function_pointers_82571(struct e1000_hw *hw); 44 extern void e1000_init_function_pointers_82541(struct e1000_hw *hw); 45 extern void e1000_init_function_pointers_80003es2lan(struct e1000_hw *hw); 46 extern void e1000_init_function_pointers_ich8lan(struct e1000_hw *hw); 47 extern void e1000_init_function_pointers_82575(struct e1000_hw *hw); 48 extern void e1000_init_function_pointers_vf(struct e1000_hw *hw); 49 extern void e1000_power_up_fiber_serdes_link(struct e1000_hw *hw); [all …]
|
H A D | e1000_mac.h | 38 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); 42 s32 e1000_null_link_info(struct e1000_hw *hw, u16 *s, u16 *d); 43 bool e1000_null_mng_mode(struct e1000_hw *hw); 44 void e1000_null_update_mc(struct e1000_hw *hw, u8 *h, u32 a); 45 void e1000_null_write_vfta(struct e1000_hw *hw, u32 a, u32 b); 46 int e1000_null_rar_set(struct e1000_hw *hw, u8 *h, u32 a); 47 s32 e1000_null_set_obff_timer(struct e1000_hw *hw, u32 a); 48 s32 e1000_blink_led_generic(struct e1000_hw *hw); [all …]
|
H A D | e1000_phy.h | 38 void e1000_init_phy_ops_generic(struct e1000_hw *hw); 39 s32 e1000_null_read_reg(struct e1000_hw *hw, u32 offset, u16 *data); 40 void e1000_null_phy_generic(struct e1000_hw *hw); 41 s32 e1000_null_lplu_state(struct e1000_hw *hw, bool active); 42 s32 e1000_null_write_reg(struct e1000_hw *hw, u32 offset, u16 data); 43 s32 e1000_null_set_page(struct e1000_hw *hw, u16 data); 44 s32 e1000_read_i2c_byte_null(struct e1000_hw *hw, u8 byte_offset, 46 s32 e1000_write_i2c_byte_null(struct e1000_hw *hw, u8 byte_offset, 48 s32 e1000_check_downshift_generic(struct e1000_hw *hw); 49 s32 e1000_check_polarity_m88(struct e1000_hw *hw); [all …]
|
H A D | e1000_nvm.h | 60 void e1000_init_nvm_ops_generic(struct e1000_hw *hw); 61 s32 e1000_null_read_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c); 62 void e1000_null_nvm_generic(struct e1000_hw *hw); 63 s32 e1000_null_led_default(struct e1000_hw *hw, u16 *data); 64 s32 e1000_null_write_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c); 65 s32 e1000_acquire_nvm_generic(struct e1000_hw *hw); 67 s32 e1000_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg); 68 s32 e1000_read_mac_addr_generic(struct e1000_hw *hw); 69 s32 e1000_read_pba_num_generic(struct e1000_hw *hw, u32 *pba_num); 70 s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num, [all …]
|
H A D | e1000_hw.h | 42 struct e1000_hw; 740 s32 (*init_params)(struct e1000_hw *); 741 s32 (*id_led_init)(struct e1000_hw *); 742 s32 (*blink_led)(struct e1000_hw *); 743 bool (*check_mng_mode)(struct e1000_hw *); 744 s32 (*check_for_link)(struct e1000_hw *); 745 s32 (*cleanup_led)(struct e1000_hw *); 746 void (*clear_hw_cntrs)(struct e1000_hw *); 747 void (*clear_vfta)(struct e1000_hw *); 748 s32 (*get_bus_info)(struct e1000_hw *); [all …]
|
H A D | e1000_vf.h | 42 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 *); 205 s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *); 206 void (*update_mc_addr_list)(struct e1000_hw *, u8 *, u32); 207 s32 (*reset_hw)(struct e1000_hw *); 208 s32 (*init_hw)(struct e1000_hw *); 209 s32 (*setup_link)(struct e1000_hw *); [all …]
|
H A D | e1000_api.c | 44 s32 e1000_init_mac_params(struct e1000_hw *hw) in e1000_init_mac_params() 70 s32 e1000_init_nvm_params(struct e1000_hw *hw) in e1000_init_nvm_params() 96 s32 e1000_init_phy_params(struct e1000_hw *hw) in e1000_init_phy_params() 122 s32 e1000_init_mbx_params(struct e1000_hw *hw) in e1000_init_mbx_params() 150 s32 e1000_set_mac_type(struct e1000_hw *hw) in e1000_set_mac_type() 450 s32 e1000_setup_init_funcs(struct e1000_hw *hw, bool init_device) in e1000_setup_init_funcs() 583 s32 e1000_get_bus_info(struct e1000_hw *hw) in e1000_get_bus_info() 598 void e1000_clear_vfta(struct e1000_hw *hw) in e1000_clear_vfta() 613 void e1000_write_vfta(struct e1000_hw *hw, u32 offset, u32 value) in e1000_write_vfta() 628 void e1000_update_mc_addr_list(struct e1000_hw *hw, u8 *mc_addr_list, in e1000_update_mc_addr_list() [all …]
|
H A D | e1000_vf.c | 39 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); 44 static s32 e1000_get_bus_info_pcie_vf(struct e1000_hw *hw); 45 static s32 e1000_init_mac_params_vf(struct e1000_hw *hw); 46 static s32 e1000_check_for_link_vf(struct e1000_hw *hw); 47 static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed, 49 static s32 e1000_init_hw_vf(struct e1000_hw *hw); [all …]
|
H A D | e1000_82543.c | 46 static s32 e1000_init_phy_params_82543(struct e1000_hw *hw); 47 static s32 e1000_init_nvm_params_82543(struct e1000_hw *hw); 48 static s32 e1000_init_mac_params_82543(struct e1000_hw *hw); 49 static s32 e1000_read_phy_reg_82543(struct e1000_hw *hw, u32 offset, 51 static s32 e1000_write_phy_reg_82543(struct e1000_hw *hw, u32 offset, 53 static s32 e1000_phy_force_speed_duplex_82543(struct e1000_hw *hw); 54 static s32 e1000_phy_hw_reset_82543(struct e1000_hw *hw); 55 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); [all …]
|
H A D | e1000_mbx.h | 95 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 D | e1000_82575.h | 388 s32 e1000_reset_init_script_82575(struct e1000_hw *hw); 389 s32 e1000_init_nvm_params_82575(struct e1000_hw *hw); 393 void e1000_vmdq_set_loopback_pf(struct e1000_hw *hw, bool enable); 394 void e1000_vmdq_set_anti_spoofing_pf(struct e1000_hw *hw, bool enable, int pf); 395 void e1000_vmdq_set_replication_pf(struct e1000_hw *hw, bool enable); 405 void e1000_vfta_set_vf(struct e1000_hw *, u16, bool); 406 void e1000_rlpml_set_vf(struct e1000_hw *, u16); 407 s32 e1000_promisc_set_vf(struct e1000_hw *, enum e1000_promisc_type type); 408 void e1000_write_vfta_i350(struct e1000_hw *hw, u32 offset, u32 value); 410 s32 e1000_read_emi_reg(struct e1000_hw *hw, u16 addr, u16 *data); [all …]
|
H A D | e1000_82575.c | 48 static s32 e1000_init_phy_params_82575(struct e1000_hw *hw); 49 static s32 e1000_init_mac_params_82575(struct e1000_hw *hw); 50 static s32 e1000_acquire_nvm_82575(struct e1000_hw *hw); 51 static void e1000_release_nvm_82575(struct e1000_hw *hw); 52 static s32 e1000_check_for_link_82575(struct e1000_hw *hw); 53 static s32 e1000_check_for_link_media_swap(struct e1000_hw *hw); 54 static s32 e1000_get_cfg_done_82575(struct e1000_hw *hw); 55 static s32 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed, 57 static s32 e1000_phy_hw_reset_sgmii_82575(struct e1000_hw *hw); 58 static s32 e1000_read_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, [all …]
|
H A D | e1000_82542.c | 41 static s32 e1000_init_phy_params_82542(struct e1000_hw *hw); 42 static s32 e1000_init_nvm_params_82542(struct e1000_hw *hw); 43 static s32 e1000_init_mac_params_82542(struct e1000_hw *hw); 44 static s32 e1000_get_bus_info_82542(struct e1000_hw *hw); 45 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); 50 static int e1000_rar_set_82542(struct e1000_hw *hw, u8 *addr, u32 index); [all …]
|
H A D | e1000_82571.c | 53 static s32 e1000_acquire_nvm_82571(struct e1000_hw *hw); 54 static void e1000_release_nvm_82571(struct e1000_hw *hw); 55 static s32 e1000_write_nvm_82571(struct e1000_hw *hw, u16 offset, 57 static s32 e1000_update_nvm_checksum_82571(struct e1000_hw *hw); 58 static s32 e1000_validate_nvm_checksum_82571(struct e1000_hw *hw); 59 static s32 e1000_get_cfg_done_82571(struct e1000_hw *hw); 60 static s32 e1000_set_d0_lplu_state_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); [all …]
|
H A D | e1000_mbx.c | 42 static s32 e1000_null_mbx_check_for_flag(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_mbx_check_for_flag() 57 static s32 e1000_null_mbx_transact(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_mbx_transact() 76 s32 e1000_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in e1000_read_mbx() 102 s32 e1000_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in e1000_write_mbx() 125 s32 e1000_check_for_msg(struct e1000_hw *hw, u16 mbx_id) in e1000_check_for_msg() 145 s32 e1000_check_for_ack(struct e1000_hw *hw, u16 mbx_id) in e1000_check_for_ack() 165 s32 e1000_check_for_rst(struct e1000_hw *hw, u16 mbx_id) in e1000_check_for_rst() 185 static s32 e1000_poll_for_msg(struct e1000_hw *hw, u16 mbx_id) in e1000_poll_for_msg() 216 static s32 e1000_poll_for_ack(struct e1000_hw *hw, u16 mbx_id) in e1000_poll_for_ack() 250 s32 e1000_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in e1000_read_posted_mbx() [all …]
|
H A D | e1000_manage.h | 38 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 D | e1000_80003es2lan.c | 41 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); 45 static s32 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, 48 static s32 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, 51 static s32 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, 53 static s32 e1000_get_cfg_done_80003es2lan(struct e1000_hw *hw); 54 static s32 e1000_phy_force_speed_duplex_80003es2lan(struct e1000_hw *hw); 55 static s32 e1000_get_cable_length_80003es2lan(struct e1000_hw *hw); [all …]
|
H A D | e1000_82540.c | 48 static s32 e1000_init_phy_params_82540(struct e1000_hw *hw); 49 static s32 e1000_init_nvm_params_82540(struct e1000_hw *hw); 50 static s32 e1000_init_mac_params_82540(struct e1000_hw *hw); 51 static s32 e1000_adjust_serdes_amplitude_82540(struct e1000_hw *hw); 52 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); 57 static s32 e1000_setup_copper_link_82540(struct e1000_hw *hw); [all …]
|
H A D | e1000_i210.h | 38 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_init_hw_i210(struct e1000_hw *hw);
|
H A D | e1000_mac.c | 37 static s32 e1000_validate_mdi_setting_generic(struct e1000_hw *hw); 38 static void e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw); 39 static void e1000_config_collision_dist_generic(struct e1000_hw *hw); 47 void e1000_init_mac_ops_generic(struct e1000_hw *hw) in e1000_init_mac_ops_generic() 87 s32 e1000_null_ops_generic(struct e1000_hw E1000_UNUSEDARG *hw) in e1000_null_ops_generic() 97 void e1000_null_mac_generic(struct e1000_hw E1000_UNUSEDARG *hw) in e1000_null_mac_generic() 109 s32 e1000_null_link_info(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_link_info() 120 bool e1000_null_mng_mode(struct e1000_hw E1000_UNUSEDARG *hw) in e1000_null_mng_mode() 132 void e1000_null_update_mc(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_update_mc() 145 void e1000_null_write_vfta(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_write_vfta() [all …]
|
H A D | e1000_ich8lan.h | 332 void e1000_set_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw, 334 void e1000_igp3_phy_powerdown_workaround_ich8lan(struct e1000_hw *hw); 335 void e1000_gig_downshift_workaround_ich8lan(struct e1000_hw *hw); 336 void e1000_suspend_workarounds_ich8lan(struct e1000_hw *hw); 337 u32 e1000_resume_workarounds_pchlan(struct e1000_hw *hw); 338 s32 e1000_configure_k1_ich8lan(struct e1000_hw *hw, bool k1_enable); 339 s32 e1000_configure_k0s_lpt(struct e1000_hw *hw, u8 entry_latency, u8 min_time); 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); 342 s32 e1000_read_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 *data); [all …]
|
H A D | e1000_i210.c | 38 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_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, 42 static s32 e1000_pool_flash_update_done_i210(struct e1000_hw *hw); 43 static s32 e1000_valid_led_default_i210(struct e1000_hw *hw, u16 *data); 54 static s32 e1000_acquire_nvm_i210(struct e1000_hw *hw) in e1000_acquire_nvm_i210() 72 static void e1000_release_nvm_i210(struct e1000_hw *hw) in e1000_release_nvm_i210() 89 s32 e1000_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words, in e1000_read_nvm_srrd_i210() 134 s32 e1000_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 words, in e1000_write_nvm_srwr_i210() 175 static s32 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, in e1000_write_nvm_srwr() [all …]
|
H A D | e1000_phy.c | 37 static s32 e1000_wait_autoneg(struct e1000_hw *hw); 38 static s32 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset, 41 static s32 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset, 70 void e1000_init_phy_ops_generic(struct e1000_hw *hw) in e1000_init_phy_ops_generic() 108 s32 e1000_null_set_page(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_set_page() 121 s32 e1000_null_read_reg(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_read_reg() 132 void e1000_null_phy_generic(struct e1000_hw E1000_UNUSEDARG *hw) in e1000_null_phy_generic() 143 s32 e1000_null_lplu_state(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_lplu_state() 156 s32 e1000_null_write_reg(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_write_reg() 171 s32 e1000_read_i2c_byte_null(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_read_i2c_byte_null() [all …]
|
H A D | e1000_82541.c | 46 static s32 e1000_init_phy_params_82541(struct e1000_hw *hw); 47 static s32 e1000_init_nvm_params_82541(struct e1000_hw *hw); 48 static s32 e1000_init_mac_params_82541(struct e1000_hw *hw); 49 static s32 e1000_reset_hw_82541(struct e1000_hw *hw); 50 static s32 e1000_init_hw_82541(struct e1000_hw *hw); 51 static s32 e1000_get_link_up_info_82541(struct e1000_hw *hw, u16 *speed, 53 static s32 e1000_phy_hw_reset_82541(struct e1000_hw *hw); 54 static s32 e1000_setup_copper_link_82541(struct e1000_hw *hw); 55 static s32 e1000_check_for_link_82541(struct e1000_hw *hw); 56 static s32 e1000_get_cable_length_igp_82541(struct e1000_hw *hw); [all …]
|
H A D | e1000_ich8lan.c | 74 static s32 e1000_oem_bits_config_ich8lan(struct e1000_hw *hw, bool d0_state); 75 static s32 e1000_acquire_swflag_ich8lan(struct e1000_hw *hw); 76 static void e1000_release_swflag_ich8lan(struct e1000_hw *hw); 77 static s32 e1000_acquire_nvm_ich8lan(struct e1000_hw *hw); 78 static void e1000_release_nvm_ich8lan(struct e1000_hw *hw); 79 static bool e1000_check_mng_mode_ich8lan(struct e1000_hw *hw); 80 static bool e1000_check_mng_mode_pchlan(struct e1000_hw *hw); 81 static int e1000_rar_set_pch2lan(struct e1000_hw *hw, u8 *addr, u32 index); 82 static int e1000_rar_set_pch_lpt(struct e1000_hw *hw, u8 *addr, u32 index); 83 static s32 e1000_sw_lcd_config_ich8lan(struct e1000_hw *hw); [all …]
|