/titanic_41/usr/src/uts/common/io/e1000api/ |
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_rx_fifo_flush_82575(struct e1000_hw *hw); 49 extern void e1000_init_function_pointers_vf(struct e1000_hw *hw); [all …]
|
H A D | e1000_mac.h | 38 void e1000_init_mac_ops_generic(struct e1000_hw *hw); 42 void e1000_null_mac_generic(struct e1000_hw *hw); 43 s32 e1000_null_ops_generic(struct e1000_hw *hw); 44 s32 e1000_null_link_info(struct e1000_hw *hw, u16 *s, u16 *d); 45 bool e1000_null_mng_mode(struct e1000_hw *hw); 46 void e1000_null_update_mc(struct e1000_hw *hw, u8 *h, u32 a); 47 void e1000_null_write_vfta(struct e1000_hw *hw, u32 a, u32 b); 48 int e1000_null_rar_set(struct e1000_hw *hw, u8 *h, u32 a); 49 s32 e1000_null_set_obff_timer(struct e1000_hw *hw, u32 a); 50 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 | 46 void e1000_init_nvm_ops_generic(struct e1000_hw *hw); 47 s32 e1000_null_read_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c); 48 void e1000_null_nvm_generic(struct e1000_hw *hw); 49 s32 e1000_null_led_default(struct e1000_hw *hw, u16 *data); 50 s32 e1000_null_write_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c); 51 s32 e1000_acquire_nvm_generic(struct e1000_hw *hw); 53 s32 e1000_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg); 54 s32 e1000_read_mac_addr_generic(struct e1000_hw *hw); 55 s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num, 57 s32 e1000_read_pba_length_generic(struct e1000_hw *hw, u32 *pba_num_size); [all …]
|
H A D | e1000_hw.h | 46 struct e1000_hw; 684 s32 (*init_params)(struct e1000_hw *); 685 s32 (*id_led_init)(struct e1000_hw *); 686 s32 (*blink_led)(struct e1000_hw *); 687 bool (*check_mng_mode)(struct e1000_hw *); 688 s32 (*check_for_link)(struct e1000_hw *); 689 s32 (*cleanup_led)(struct e1000_hw *); 690 void (*clear_hw_cntrs)(struct e1000_hw *); 691 void (*clear_vfta)(struct e1000_hw *); 692 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() 384 s32 e1000_setup_init_funcs(struct e1000_hw *hw, bool init_device) in e1000_setup_init_funcs() 511 s32 e1000_get_bus_info(struct e1000_hw *hw) in e1000_get_bus_info() 526 void e1000_clear_vfta(struct e1000_hw *hw) in e1000_clear_vfta() 541 void e1000_write_vfta(struct e1000_hw *hw, u32 offset, u32 value) in e1000_write_vfta() 556 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_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_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_acquire_swfw_sync_i210(struct e1000_hw *hw, u16 mask); 47 void e1000_release_swfw_sync_i210(struct e1000_hw *hw, u16 mask); 48 s32 e1000_read_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, 50 s32 e1000_write_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, [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_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_phy_82575(struct e1000_hw *hw); 51 static void e1000_release_phy_82575(struct e1000_hw *hw); 52 static s32 e1000_acquire_nvm_82575(struct e1000_hw *hw); 53 static void e1000_release_nvm_82575(struct e1000_hw *hw); 54 static s32 e1000_check_for_link_82575(struct e1000_hw *hw); 55 static s32 e1000_check_for_link_media_swap(struct e1000_hw *hw); 56 static s32 e1000_get_cfg_done_82575(struct e1000_hw *hw); 57 static s32 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed, [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_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 | 41 static s32 e1000_null_mbx_check_for_flag(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_mbx_check_for_flag() 53 static s32 e1000_null_mbx_transact(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_mbx_transact() 72 s32 e1000_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in e1000_read_mbx() 98 s32 e1000_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in e1000_write_mbx() 121 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() 181 static s32 e1000_poll_for_msg(struct e1000_hw *hw, u16 mbx_id) in e1000_poll_for_msg() 212 static s32 e1000_poll_for_ack(struct e1000_hw *hw, u16 mbx_id) in e1000_poll_for_ack() 246 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_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_82575.h | 483 void e1000_vmdq_set_loopback_pf(struct e1000_hw *hw, bool enable); 484 void e1000_vmdq_set_anti_spoofing_pf(struct e1000_hw *hw, bool enable, int pf); 485 void e1000_vmdq_set_replication_pf(struct e1000_hw *hw, bool enable); 486 s32 e1000_init_nvm_params_82575(struct e1000_hw *hw); 487 s32 e1000_init_hw_82575(struct e1000_hw *hw); 497 void e1000_vfta_set_vf(struct e1000_hw *, u16, bool); 498 void e1000_rlpml_set_vf(struct e1000_hw *, u16); 499 s32 e1000_promisc_set_vf(struct e1000_hw *, enum e1000_promisc_type type); 501 s32 e1000_read_emi_reg(struct e1000_hw *hw, u16 addr, u16 *data); 502 s32 e1000_set_eee_i350(struct e1000_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.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_get_hw_semaphore_i210(struct e1000_hw *hw); 41 static s32 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, 43 static s32 e1000_pool_flash_update_done_i210(struct e1000_hw *hw); 44 static s32 e1000_valid_led_default_i210(struct e1000_hw *hw, u16 *data); 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() 88 s32 e1000_acquire_swfw_sync_i210(struct e1000_hw *hw, u16 mask) in e1000_acquire_swfw_sync_i210() 140 void e1000_release_swfw_sync_i210(struct e1000_hw *hw, u16 mask) in e1000_release_swfw_sync_i210() [all …]
|
H A D | e1000_ich8lan.h | 305 void e1000_set_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw, 307 void e1000_igp3_phy_powerdown_workaround_ich8lan(struct e1000_hw *hw); 308 void e1000_gig_downshift_workaround_ich8lan(struct e1000_hw *hw); 309 void e1000_suspend_workarounds_ich8lan(struct e1000_hw *hw); 310 void e1000_resume_workarounds_pchlan(struct e1000_hw *hw); 311 s32 e1000_configure_k1_ich8lan(struct e1000_hw *hw, bool k1_enable); 312 void e1000_copy_rx_addrs_to_phy_ich8lan(struct e1000_hw *hw); 313 s32 e1000_lv_jumbo_workaround_ich8lan(struct e1000_hw *hw, bool enable); 314 s32 e1000_read_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 *data); 315 s32 e1000_write_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 data); [all …]
|
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); 40 static int e1000_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index); 48 void e1000_init_mac_ops_generic(struct e1000_hw *hw) in e1000_init_mac_ops_generic() 88 s32 e1000_null_ops_generic(struct e1000_hw E1000_UNUSEDARG *hw) in e1000_null_ops_generic() 98 void e1000_null_mac_generic(struct e1000_hw E1000_UNUSEDARG *hw) in e1000_null_mac_generic() 108 s32 e1000_null_link_info(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_link_info() 119 bool e1000_null_mng_mode(struct e1000_hw E1000_UNUSEDARG *hw) in e1000_null_mng_mode() 129 void e1000_null_update_mc(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_update_mc() [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 …]
|
/titanic_41/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_osdep.c | 30 e1000_pci_set_mwi(struct e1000_hw *hw) in e1000_pci_set_mwi() 38 e1000_pci_clear_mwi(struct e1000_hw *hw) in e1000_pci_clear_mwi() 46 e1000_write_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) in e1000_write_pci_cfg() 52 e1000_read_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) in e1000_read_pci_cfg() 65 phy_spd_state(struct e1000_hw *hw, boolean_t enable) in phy_spd_state() 109 e1000_read_pcie_cap_reg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) in e1000_read_pcie_cap_reg() 123 e1000_write_pcie_cap_reg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) in e1000_write_pcie_cap_reg() 145 e1000_rar_clear(struct e1000_hw *hw, uint32_t index) in e1000_rar_clear() 163 e1000_destroy_hw_mutex(struct e1000_hw *hw) in e1000_destroy_hw_mutex()
|
/titanic_41/usr/src/uts/common/io/igb/ |
H A D | igb_osdep.c | 33 e1000_pci_set_mwi(struct e1000_hw *hw) in e1000_pci_set_mwi() 41 e1000_pci_clear_mwi(struct e1000_hw *hw) in e1000_pci_clear_mwi() 49 e1000_write_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) in e1000_write_pci_cfg() 55 e1000_read_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) in e1000_read_pci_cfg() 67 e1000_read_pcie_cap_reg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) in e1000_read_pcie_cap_reg() 91 e1000_write_pcie_cap_reg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) in e1000_write_pcie_cap_reg() 113 e1000_rar_clear(struct e1000_hw *hw, uint32_t index) in e1000_rar_clear() 129 e1000_rar_set_vmdq(struct e1000_hw *hw, const uint8_t *addr, uint32_t index, in e1000_rar_set_vmdq()
|