| /onnv-gate/usr/src/uts/common/io/ixgbe/ |
| H A D | ixgbe_api.c | 36 extern s32 ixgbe_init_ops_82598(struct ixgbe_hw *hw); 37 extern s32 ixgbe_init_ops_82599(struct ixgbe_hw *hw); 52 ixgbe_init_shared_code(struct ixgbe_hw *hw) in ixgbe_init_shared_code() argument 61 (void) ixgbe_set_mac_type(hw); in ixgbe_init_shared_code() 63 switch (hw->mac.type) { in ixgbe_init_shared_code() 65 status = ixgbe_init_ops_82598(hw); in ixgbe_init_shared_code() 68 status = ixgbe_init_ops_82599(hw); in ixgbe_init_shared_code() 86 ixgbe_set_mac_type(struct ixgbe_hw *hw) in ixgbe_set_mac_type() argument 92 if (hw->vendor_id == IXGBE_INTEL_VENDOR_ID) { in ixgbe_set_mac_type() 93 switch (hw->device_id) { in ixgbe_set_mac_type() [all …]
|
| H A D | ixgbe_common.c | 36 static s32 ixgbe_acquire_eeprom(struct ixgbe_hw *hw); 37 static s32 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw); 38 static void ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw); 39 static s32 ixgbe_ready_eeprom(struct ixgbe_hw *hw); 40 static void ixgbe_standby_eeprom(struct ixgbe_hw *hw); 41 static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data, 43 static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count); 44 static void ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec); 45 static void ixgbe_lower_eeprom_clk(struct ixgbe_hw *hw, u32 *eec); 46 static void ixgbe_release_eeprom(struct ixgbe_hw *hw); [all …]
|
| H A D | ixgbe_phy.c | 37 static void ixgbe_i2c_start(struct ixgbe_hw *hw); 38 static void ixgbe_i2c_stop(struct ixgbe_hw *hw); 39 static s32 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data); 40 static s32 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data); 41 static s32 ixgbe_get_i2c_ack(struct ixgbe_hw *hw); 42 static s32 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data); 43 static s32 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data); 44 static s32 ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl); 45 static void ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl); 46 static s32 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl, bool data); [all …]
|
| H A D | ixgbe_82598.c | 38 u32 ixgbe_get_pcie_msix_count_82598(struct ixgbe_hw *hw); 39 s32 ixgbe_init_ops_82598(struct ixgbe_hw *hw); 40 static s32 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw, 42 static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw); 43 s32 ixgbe_fc_enable_82598(struct ixgbe_hw *hw, s32 packetbuf_num); 44 static s32 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw, 46 static s32 ixgbe_check_mac_link_82598(struct ixgbe_hw *hw, 48 static s32 ixgbe_setup_mac_link_82598(struct ixgbe_hw *hw, 51 static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw, 53 static s32 ixgbe_reset_hw_82598(struct ixgbe_hw *hw); [all …]
|
| /onnv-gate/usr/src/uts/common/io/igb/ |
| H A D | igb_api.c | 42 e1000_init_mac_params(struct e1000_hw *hw) in e1000_init_mac_params() argument 46 if (hw->mac.ops.init_params) { in e1000_init_mac_params() 47 ret_val = hw->mac.ops.init_params(hw); in e1000_init_mac_params() 69 e1000_init_nvm_params(struct e1000_hw *hw) in e1000_init_nvm_params() argument 73 if (hw->nvm.ops.init_params) { in e1000_init_nvm_params() 74 ret_val = hw->nvm.ops.init_params(hw); in e1000_init_nvm_params() 96 e1000_init_phy_params(struct e1000_hw *hw) in e1000_init_phy_params() argument 100 if (hw->phy.ops.init_params) { in e1000_init_phy_params() 101 ret_val = hw->phy.ops.init_params(hw); in e1000_init_phy_params() 125 e1000_set_mac_type(struct e1000_hw *hw) in e1000_set_mac_type() argument [all …]
|
| H A D | igb_82575.c | 42 static s32 e1000_init_phy_params_82575(struct e1000_hw *hw); 43 static s32 e1000_init_nvm_params_82575(struct e1000_hw *hw); 44 static s32 e1000_init_mac_params_82575(struct e1000_hw *hw); 45 static s32 e1000_acquire_phy_82575(struct e1000_hw *hw); 46 static void e1000_release_phy_82575(struct e1000_hw *hw); 47 static s32 e1000_acquire_nvm_82575(struct e1000_hw *hw); 48 static void e1000_release_nvm_82575(struct e1000_hw *hw); 49 static s32 e1000_check_for_link_82575(struct e1000_hw *hw); 50 static s32 e1000_get_cfg_done_82575(struct e1000_hw *hw); 51 static s32 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed, [all …]
|
| H A D | igb_mac.c | 34 static s32 e1000_set_default_fc_generic(struct e1000_hw *hw); 35 static s32 e1000_commit_fc_settings_generic(struct e1000_hw *hw); 36 static s32 e1000_poll_fiber_serdes_link_generic(struct e1000_hw *hw); 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); 47 e1000_init_mac_ops_generic(struct e1000_hw *hw) in e1000_init_mac_ops_generic() argument 49 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_ops_generic() 92 e1000_null_ops_generic(struct e1000_hw *hw) in e1000_null_ops_generic() argument 95 UNREFERENCED_1PARAMETER(hw); in e1000_null_ops_generic() 104 e1000_null_mac_generic(struct e1000_hw *hw) in e1000_null_mac_generic() argument [all …]
|
| H A D | igb_api.h | 41 extern void e1000_init_function_pointers_82575(struct e1000_hw *hw); 42 extern void e1000_rx_fifo_flush_82575(struct e1000_hw *hw); 43 extern void e1000_init_function_pointers_vf(struct e1000_hw *hw); 44 extern void e1000_shutdown_fiber_serdes_link(struct e1000_hw *hw); 46 s32 e1000_set_mac_type(struct e1000_hw *hw); 47 s32 e1000_setup_init_funcs(struct e1000_hw *hw, bool init_device); 48 s32 e1000_init_mac_params(struct e1000_hw *hw); 49 s32 e1000_init_nvm_params(struct e1000_hw *hw); 50 s32 e1000_init_phy_params(struct e1000_hw *hw); 51 s32 e1000_get_bus_info(struct e1000_hw *hw); [all …]
|
| H A D | igb_phy.c | 34 static s32 e1000_copper_link_autoneg(struct e1000_hw *hw); 35 static s32 e1000_phy_setup_autoneg(struct e1000_hw *hw); 66 e1000_init_phy_ops_generic(struct e1000_hw *hw) in e1000_init_phy_ops_generic() argument 68 struct e1000_phy_info *phy = &hw->phy; in e1000_init_phy_ops_generic() 98 e1000_null_read_reg(struct e1000_hw *hw, u32 offset, u16 *data) in e1000_null_read_reg() argument 101 UNREFERENCED_3PARAMETER(hw, offset, data); in e1000_null_read_reg() 110 e1000_null_phy_generic(struct e1000_hw *hw) in e1000_null_phy_generic() argument 113 UNREFERENCED_1PARAMETER(hw); in e1000_null_phy_generic() 121 e1000_null_lplu_state(struct e1000_hw *hw, bool active) in e1000_null_lplu_state() argument 124 UNREFERENCED_2PARAMETER(hw, active); in e1000_null_lplu_state() [all …]
|
| H A D | igb_nvm.c | 34 static void e1000_stop_nvm(struct e1000_hw *hw); 35 static void e1000_reload_nvm_generic(struct e1000_hw *hw); 44 e1000_init_nvm_ops_generic(struct e1000_hw *hw) in e1000_init_nvm_ops_generic() argument 46 struct e1000_nvm_info *nvm = &hw->nvm; in e1000_init_nvm_ops_generic() 66 e1000_null_read_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c) in e1000_null_read_nvm() argument 69 UNREFERENCED_4PARAMETER(hw, a, b, c); in e1000_null_read_nvm() 78 e1000_null_nvm_generic(struct e1000_hw *hw) in e1000_null_nvm_generic() argument 81 UNREFERENCED_1PARAMETER(hw); in e1000_null_nvm_generic() 89 e1000_null_led_default(struct e1000_hw *hw, u16 *data) in e1000_null_led_default() argument 92 UNREFERENCED_2PARAMETER(hw, data); in e1000_null_led_default() [all …]
|
| H A D | igb_mac.h | 43 void e1000_init_mac_ops_generic(struct e1000_hw *hw); 44 void e1000_null_mac_generic(struct e1000_hw *hw); 45 s32 e1000_null_ops_generic(struct e1000_hw *hw); 46 s32 e1000_null_link_info(struct e1000_hw *hw, u16 *s, u16 *d); 47 bool e1000_null_mng_mode(struct e1000_hw *hw); 48 void e1000_null_update_mc(struct e1000_hw *hw, u8 *h, u32 a); 49 void e1000_null_write_vfta(struct e1000_hw *hw, u32 a, u32 b); 50 void e1000_null_mta_set(struct e1000_hw *hw, u32 a); 51 void e1000_null_rar_set(struct e1000_hw *hw, u8 *h, u32 a); 52 s32 e1000_blink_led_generic(struct e1000_hw *hw); [all …]
|
| /onnv-gate/usr/src/uts/common/io/e1000g/ |
| H A D | e1000_api.c | 40 e1000_init_mac_params(struct e1000_hw *hw) in e1000_init_mac_params() argument 44 if (hw->mac.ops.init_params) { in e1000_init_mac_params() 45 ret_val = hw->mac.ops.init_params(hw); in e1000_init_mac_params() 67 e1000_init_nvm_params(struct e1000_hw *hw) in e1000_init_nvm_params() argument 71 if (hw->nvm.ops.init_params) { in e1000_init_nvm_params() 72 ret_val = hw->nvm.ops.init_params(hw); in e1000_init_nvm_params() 94 e1000_init_phy_params(struct e1000_hw *hw) in e1000_init_phy_params() argument 98 if (hw->phy.ops.init_params) { in e1000_init_phy_params() 99 ret_val = hw->phy.ops.init_params(hw); in e1000_init_phy_params() 123 e1000_set_mac_type(struct e1000_hw *hw) in e1000_set_mac_type() argument [all …]
|
| H A D | e1000_82543.c | 41 static s32 e1000_init_phy_params_82543(struct e1000_hw *hw); 42 static s32 e1000_init_nvm_params_82543(struct e1000_hw *hw); 43 static s32 e1000_init_mac_params_82543(struct e1000_hw *hw); 44 static s32 e1000_read_phy_reg_82543(struct e1000_hw *hw, u32 offset, 46 static s32 e1000_write_phy_reg_82543(struct e1000_hw *hw, u32 offset, 48 static s32 e1000_phy_force_speed_duplex_82543(struct e1000_hw *hw); 49 static s32 e1000_phy_hw_reset_82543(struct e1000_hw *hw); 50 static s32 e1000_reset_hw_82543(struct e1000_hw *hw); 51 static s32 e1000_init_hw_82543(struct e1000_hw *hw); 52 static s32 e1000_setup_link_82543(struct e1000_hw *hw); [all …]
|
| H A D | e1000_ich8lan.c | 60 static s32 e1000_init_phy_params_ich8lan(struct e1000_hw *hw); 61 static s32 e1000_init_phy_params_pchlan(struct e1000_hw *hw); 62 static s32 e1000_init_nvm_params_ich8lan(struct e1000_hw *hw); 63 static s32 e1000_init_mac_params_ich8lan(struct e1000_hw *hw); 64 static s32 e1000_acquire_swflag_ich8lan(struct e1000_hw *hw); 65 static void e1000_release_swflag_ich8lan(struct e1000_hw *hw); 66 static s32 e1000_acquire_nvm_ich8lan(struct e1000_hw *hw); 67 static void e1000_release_nvm_ich8lan(struct e1000_hw *hw); 68 static bool e1000_check_mng_mode_ich8lan(struct e1000_hw *hw); 69 static s32 e1000_check_reset_block_ich8lan(struct e1000_hw *hw); [all …]
|
| H A D | e1000_80003es2lan.c | 36 static s32 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw); 37 static s32 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw); 38 static s32 e1000_init_mac_params_80003es2lan(struct e1000_hw *hw); 39 static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw); 40 static void e1000_release_phy_80003es2lan(struct e1000_hw *hw); 41 static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw); 42 static void e1000_release_nvm_80003es2lan(struct e1000_hw *hw); 43 static s32 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, 45 static s32 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, 47 static s32 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, [all …]
|
| H A D | e1000_mac.c | 31 static s32 e1000_validate_mdi_setting_generic(struct e1000_hw *hw); 32 static void e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw); 41 e1000_init_mac_ops_generic(struct e1000_hw *hw) in e1000_init_mac_ops_generic() argument 43 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_ops_generic() 86 e1000_null_ops_generic(struct e1000_hw *hw) in e1000_null_ops_generic() argument 89 UNREFERENCED_1PARAMETER(hw); in e1000_null_ops_generic() 98 e1000_null_mac_generic(struct e1000_hw *hw) in e1000_null_mac_generic() argument 101 UNREFERENCED_1PARAMETER(hw); in e1000_null_mac_generic() 109 e1000_null_link_info(struct e1000_hw *hw, u16 *s, u16 *d) in e1000_null_link_info() argument 112 UNREFERENCED_3PARAMETER(hw, s, d); in e1000_null_link_info() [all …]
|
| H A D | e1000_82571.c | 49 static s32 e1000_init_phy_params_82571(struct e1000_hw *hw); 50 static s32 e1000_init_nvm_params_82571(struct e1000_hw *hw); 51 static s32 e1000_init_mac_params_82571(struct e1000_hw *hw); 52 static s32 e1000_acquire_nvm_82571(struct e1000_hw *hw); 53 static void e1000_release_nvm_82571(struct e1000_hw *hw); 54 static s32 e1000_write_nvm_82571(struct e1000_hw *hw, u16 offset, 56 static s32 e1000_update_nvm_checksum_82571(struct e1000_hw *hw); 57 static s32 e1000_validate_nvm_checksum_82571(struct e1000_hw *hw); 58 static s32 e1000_get_cfg_done_82571(struct e1000_hw *hw); 59 static s32 e1000_set_d0_lplu_state_82571(struct e1000_hw *hw, [all …]
|
| H A D | e1000_82540.c | 43 static s32 e1000_init_phy_params_82540(struct e1000_hw *hw); 44 static s32 e1000_init_nvm_params_82540(struct e1000_hw *hw); 45 static s32 e1000_init_mac_params_82540(struct e1000_hw *hw); 46 static s32 e1000_adjust_serdes_amplitude_82540(struct e1000_hw *hw); 47 static void e1000_clear_hw_cntrs_82540(struct e1000_hw *hw); 48 static s32 e1000_init_hw_82540(struct e1000_hw *hw); 49 static s32 e1000_reset_hw_82540(struct e1000_hw *hw); 50 static s32 e1000_set_phy_mode_82540(struct e1000_hw *hw); 51 static s32 e1000_set_vco_speed_82540(struct e1000_hw *hw); 52 static s32 e1000_setup_copper_link_82540(struct e1000_hw *hw); [all …]
|
| H A D | e1000_82542.c | 36 static s32 e1000_init_phy_params_82542(struct e1000_hw *hw); 37 static s32 e1000_init_nvm_params_82542(struct e1000_hw *hw); 38 static s32 e1000_init_mac_params_82542(struct e1000_hw *hw); 39 static s32 e1000_get_bus_info_82542(struct e1000_hw *hw); 40 static s32 e1000_reset_hw_82542(struct e1000_hw *hw); 41 static s32 e1000_init_hw_82542(struct e1000_hw *hw); 42 static s32 e1000_setup_link_82542(struct e1000_hw *hw); 43 static s32 e1000_led_on_82542(struct e1000_hw *hw); 44 static s32 e1000_led_off_82542(struct e1000_hw *hw); 45 static void e1000_rar_set_82542(struct e1000_hw *hw, u8 *addr, u32 index); [all …]
|
| H A D | e1000_phy.c | 32 static s32 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset, 36 static s32 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset, 68 e1000_init_phy_ops_generic(struct e1000_hw *hw) in e1000_init_phy_ops_generic() argument 70 struct e1000_phy_info *phy = &hw->phy; in e1000_init_phy_ops_generic() 101 e1000_null_read_reg(struct e1000_hw *hw, u32 offset, u16 *data) in e1000_null_read_reg() argument 104 UNREFERENCED_3PARAMETER(hw, offset, data); in e1000_null_read_reg() 113 e1000_null_phy_generic(struct e1000_hw *hw) in e1000_null_phy_generic() argument 116 UNREFERENCED_1PARAMETER(hw); in e1000_null_phy_generic() 124 e1000_null_lplu_state(struct e1000_hw *hw, bool active) in e1000_null_lplu_state() argument 127 UNREFERENCED_2PARAMETER(hw, active); in e1000_null_lplu_state() [all …]
|
| H A D | e1000_82541.c | 41 static s32 e1000_init_phy_params_82541(struct e1000_hw *hw); 42 static s32 e1000_init_nvm_params_82541(struct e1000_hw *hw); 43 static s32 e1000_init_mac_params_82541(struct e1000_hw *hw); 44 static s32 e1000_reset_hw_82541(struct e1000_hw *hw); 45 static s32 e1000_init_hw_82541(struct e1000_hw *hw); 46 static s32 e1000_get_link_up_info_82541(struct e1000_hw *hw, u16 *speed, 48 static s32 e1000_phy_hw_reset_82541(struct e1000_hw *hw); 49 static s32 e1000_setup_copper_link_82541(struct e1000_hw *hw); 50 static s32 e1000_check_for_link_82541(struct e1000_hw *hw); 51 static s32 e1000_get_cable_length_igp_82541(struct e1000_hw *hw); [all …]
|
| H A D | e1000_nvm.c | 31 static void e1000_reload_nvm_generic(struct e1000_hw *hw); 40 e1000_init_nvm_ops_generic(struct e1000_hw *hw) in e1000_init_nvm_ops_generic() argument 42 struct e1000_nvm_info *nvm = &hw->nvm; in e1000_init_nvm_ops_generic() 62 e1000_null_read_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c) in e1000_null_read_nvm() argument 65 UNREFERENCED_4PARAMETER(hw, a, b, c); in e1000_null_read_nvm() 74 e1000_null_nvm_generic(struct e1000_hw *hw) in e1000_null_nvm_generic() argument 77 UNREFERENCED_1PARAMETER(hw); in e1000_null_nvm_generic() 85 e1000_null_led_default(struct e1000_hw *hw, u16 *data) in e1000_null_led_default() argument 88 UNREFERENCED_2PARAMETER(hw, data); in e1000_null_led_default() 97 e1000_null_write_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c) in e1000_null_write_nvm() argument [all …]
|
| H A D | e1000_api.h | 38 extern void e1000_init_function_pointers_82542(struct e1000_hw *hw); 39 extern void e1000_init_function_pointers_82543(struct e1000_hw *hw); 40 extern void e1000_init_function_pointers_82540(struct e1000_hw *hw); 41 extern void e1000_init_function_pointers_82571(struct e1000_hw *hw); 42 extern void e1000_init_function_pointers_82541(struct e1000_hw *hw); 43 extern void e1000_init_function_pointers_80003es2lan(struct e1000_hw *hw); 44 extern void e1000_init_function_pointers_ich8lan(struct e1000_hw *hw); 46 s32 e1000_set_mac_type(struct e1000_hw *hw); 47 s32 e1000_setup_init_funcs(struct e1000_hw *hw, bool init_device); 48 s32 e1000_init_mac_params(struct e1000_hw *hw); [all …]
|
| H A D | e1000_mac.h | 40 void e1000_init_mac_ops_generic(struct e1000_hw *hw); 41 void e1000_null_mac_generic(struct e1000_hw *hw); 42 s32 e1000_null_ops_generic(struct e1000_hw *hw); 43 s32 e1000_null_link_info(struct e1000_hw *hw, u16 *s, u16 *d); 44 bool e1000_null_mng_mode(struct e1000_hw *hw); 45 void e1000_null_update_mc(struct e1000_hw *hw, u8 *h, u32 a); 46 void e1000_null_write_vfta(struct e1000_hw *hw, u32 a, u32 b); 47 void e1000_null_mta_set(struct e1000_hw *hw, u32 a); 48 void e1000_null_rar_set(struct e1000_hw *hw, u8 *h, u32 a); 49 s32 e1000_blink_led_generic(struct e1000_hw *hw); [all …]
|
| /onnv-gate/usr/src/grub/grub-0.97/netboot/ |
| H A D | e1000.c | 88 static struct e1000_hw hw; variable 100 static int e1000_setup_link(struct e1000_hw *hw); 101 static int e1000_setup_fiber_serdes_link(struct e1000_hw *hw); 102 static int e1000_setup_copper_link(struct e1000_hw *hw); 103 static int e1000_phy_setup_autoneg(struct e1000_hw *hw); 104 static void e1000_config_collision_dist(struct e1000_hw *hw); 105 static int e1000_config_mac_to_phy(struct e1000_hw *hw); 106 static int e1000_config_fc_after_link_up(struct e1000_hw *hw); 107 static int e1000_check_for_link(struct e1000_hw *hw); 108 static int e1000_wait_autoneg(struct e1000_hw *hw); [all …]
|