/illumos-gate/usr/src/uts/common/io/e1000api/ |
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() 459 s32 e1000_setup_init_funcs(struct e1000_hw *hw, bool init_device) in e1000_setup_init_funcs() 596 s32 e1000_get_bus_info(struct e1000_hw *hw) in e1000_get_bus_info() 611 void e1000_clear_vfta(struct e1000_hw *hw) in e1000_clear_vfta() 626 void e1000_write_vfta(struct e1000_hw *hw, u32 offset, u32 value) in e1000_write_vfta() 641 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_82571.c | 94 static s32 e1000_init_phy_params_82571(struct e1000_hw *hw) in e1000_init_phy_params_82571() 205 static s32 e1000_init_nvm_params_82571(struct e1000_hw *hw) in e1000_init_nvm_params_82571() 286 static s32 e1000_init_mac_params_82571(struct e1000_hw *hw) in e1000_init_mac_params_82571() 448 void e1000_init_function_pointers_82571(struct e1000_hw *hw) in e1000_init_function_pointers_82571() 464 static s32 e1000_get_phy_id_82571(struct e1000_hw *hw) in e1000_get_phy_id_82571() 514 static s32 e1000_get_hw_semaphore_82571(struct e1000_hw *hw) in e1000_get_hw_semaphore_82571() 575 static void e1000_put_hw_semaphore_82571(struct e1000_hw *hw) in e1000_put_hw_semaphore_82571() 595 static s32 e1000_get_hw_semaphore_82573(struct e1000_hw *hw) in e1000_get_hw_semaphore_82573() 632 static void e1000_put_hw_semaphore_82573(struct e1000_hw *hw) in e1000_put_hw_semaphore_82573() 650 static s32 e1000_get_hw_semaphore_82574(struct e1000_hw *hw) in e1000_get_hw_semaphore_82574() [all …]
|
H A D | e1000_mac.c | 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() 140 void e1000_null_write_vfta(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_write_vfta() 151 int e1000_null_rar_set(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_rar_set() 162 s32 e1000_null_set_obff_timer(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_set_obff_timer() 177 s32 e1000_get_bus_info_pci_generic(struct e1000_hw *hw) in e1000_get_bus_info_pci_generic() [all …]
|
H A D | e1000_82575.c | 133 static bool e1000_sgmii_uses_mdio_82575(struct e1000_hw *hw) in e1000_sgmii_uses_mdio_82575() 164 static s32 e1000_init_phy_params_82575(struct e1000_hw *hw) in e1000_init_phy_params_82575() 330 s32 e1000_init_nvm_params_82575(struct e1000_hw *hw) in e1000_init_nvm_params_82575() 415 static s32 e1000_init_mac_params_82575(struct e1000_hw *hw) in e1000_init_mac_params_82575() 534 void e1000_init_function_pointers_82575(struct e1000_hw *hw) in e1000_init_function_pointers_82575() 550 static s32 e1000_acquire_phy_82575(struct e1000_hw *hw) in e1000_acquire_phy_82575() 572 static void e1000_release_phy_82575(struct e1000_hw *hw) in e1000_release_phy_82575() 597 static s32 e1000_read_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, in e1000_read_phy_reg_sgmii_82575() 630 static s32 e1000_write_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, in e1000_write_phy_reg_sgmii_82575() 661 static s32 e1000_get_phy_id_82575(struct e1000_hw *hw) in e1000_get_phy_id_82575() [all …]
|
H A D | e1000_phy.c | 70 void e1000_init_phy_ops_generic(struct e1000_hw *hw) in e1000_init_phy_ops_generic() 107 s32 e1000_null_set_page(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_set_page() 118 s32 e1000_null_read_reg(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_read_reg() 129 void e1000_null_phy_generic(struct e1000_hw E1000_UNUSEDARG *hw) in e1000_null_phy_generic() 139 s32 e1000_null_lplu_state(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_lplu_state() 150 s32 e1000_null_write_reg(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_write_reg() 165 s32 e1000_read_i2c_byte_null(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_read_i2c_byte_null() 182 s32 e1000_write_i2c_byte_null(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_write_i2c_byte_null() 199 s32 e1000_check_reset_block_generic(struct e1000_hw *hw) in e1000_check_reset_block_generic() 218 s32 e1000_get_phy_id(struct e1000_hw *hw) in e1000_get_phy_id() [all …]
|
H A D | e1000_80003es2lan.c | 89 static s32 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw) in e1000_init_phy_params_80003es2lan() 140 static s32 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw) in e1000_init_nvm_params_80003es2lan() 196 static s32 e1000_init_mac_params_80003es2lan(struct e1000_hw *hw) in e1000_init_mac_params_80003es2lan() 280 void e1000_init_function_pointers_80003es2lan(struct e1000_hw *hw) in e1000_init_function_pointers_80003es2lan() 295 static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw) in e1000_acquire_phy_80003es2lan() 311 static void e1000_release_phy_80003es2lan(struct e1000_hw *hw) in e1000_release_phy_80003es2lan() 328 static s32 e1000_acquire_mac_csr_80003es2lan(struct e1000_hw *hw) in e1000_acquire_mac_csr_80003es2lan() 345 static void e1000_release_mac_csr_80003es2lan(struct e1000_hw *hw) in e1000_release_mac_csr_80003es2lan() 362 static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw) in e1000_acquire_nvm_80003es2lan() 386 static void e1000_release_nvm_80003es2lan(struct e1000_hw *hw) in e1000_release_nvm_80003es2lan() [all …]
|
H A D | e1000_82543.c | 84 static s32 e1000_init_phy_params_82543(struct e1000_hw *hw) in e1000_init_phy_params_82543() 167 static s32 e1000_init_nvm_params_82543(struct e1000_hw *hw) in e1000_init_nvm_params_82543() 193 static s32 e1000_init_mac_params_82543(struct e1000_hw *hw) in e1000_init_mac_params_82543() 269 void e1000_init_function_pointers_82543(struct e1000_hw *hw) in e1000_init_function_pointers_82543() 285 static bool e1000_tbi_compatibility_enabled_82543(struct e1000_hw *hw) in e1000_tbi_compatibility_enabled_82543() 310 void e1000_set_tbi_compatibility_82543(struct e1000_hw *hw, bool state) in e1000_set_tbi_compatibility_82543() 337 bool e1000_tbi_sbp_enabled_82543(struct e1000_hw *hw) in e1000_tbi_sbp_enabled_82543() 362 static void e1000_set_tbi_sbp_82543(struct e1000_hw *hw, bool state) in e1000_set_tbi_sbp_82543() 383 static bool e1000_init_phy_disabled_82543(struct e1000_hw *hw) in e1000_init_phy_disabled_82543() 411 void e1000_tbi_adjust_stats_82543(struct e1000_hw *hw, in e1000_tbi_adjust_stats_82543() [all …]
|
H A D | e1000_vf.c | 61 static s32 e1000_init_phy_params_vf(struct e1000_hw *hw) in e1000_init_phy_params_vf() 77 static s32 e1000_init_nvm_params_vf(struct e1000_hw *hw) in e1000_init_nvm_params_vf() 91 static s32 e1000_init_mac_params_vf(struct e1000_hw *hw) in e1000_init_mac_params_vf() 144 void e1000_init_function_pointers_vf(struct e1000_hw *hw) in e1000_init_function_pointers_vf() 162 static s32 e1000_acquire_vf(struct e1000_hw E1000_UNUSEDARG *hw) in e1000_acquire_vf() 175 static void e1000_release_vf(struct e1000_hw E1000_UNUSEDARG *hw) in e1000_release_vf() 186 static s32 e1000_setup_link_vf(struct e1000_hw E1000_UNUSEDARG *hw) in e1000_setup_link_vf() 199 static s32 e1000_get_bus_info_pcie_vf(struct e1000_hw *hw) in e1000_get_bus_info_pcie_vf() 221 static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed, in e1000_get_link_up_info_vf() 258 static s32 e1000_reset_hw_vf(struct e1000_hw *hw) in e1000_reset_hw_vf() [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_82540.c | 66 static s32 e1000_init_phy_params_82540(struct e1000_hw *hw) in e1000_init_phy_params_82540() 117 static s32 e1000_init_nvm_params_82540(struct e1000_hw *hw) in e1000_init_nvm_params_82540() 158 static s32 e1000_init_mac_params_82540(struct e1000_hw *hw) in e1000_init_mac_params_82540() 255 void e1000_init_function_pointers_82540(struct e1000_hw *hw) in e1000_init_function_pointers_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() 411 static s32 e1000_setup_copper_link_82540(struct e1000_hw *hw) in e1000_setup_copper_link_82540() 460 static s32 e1000_setup_fiber_serdes_link_82540(struct e1000_hw *hw) in e1000_setup_fiber_serdes_link_82540() 499 static s32 e1000_adjust_serdes_amplitude_82540(struct e1000_hw *hw) in e1000_adjust_serdes_amplitude_82540() 529 static s32 e1000_set_vco_speed_82540(struct e1000_hw *hw) in e1000_set_vco_speed_82540() [all …]
|
H A D | e1000_82542.c | 58 static s32 e1000_init_phy_params_82542(struct e1000_hw *hw) in e1000_init_phy_params_82542() 74 static s32 e1000_init_nvm_params_82542(struct e1000_hw *hw) in e1000_init_nvm_params_82542() 100 static s32 e1000_init_mac_params_82542(struct e1000_hw *hw) in e1000_init_mac_params_82542() 159 void e1000_init_function_pointers_82542(struct e1000_hw *hw) in e1000_init_function_pointers_82542() 175 static s32 e1000_get_bus_info_82542(struct e1000_hw *hw) in e1000_get_bus_info_82542() 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 D | e1000_i210.c | 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() 162 static s32 e1000_get_hw_semaphore_i210(struct e1000_hw *hw) in e1000_get_hw_semaphore_i210() 235 s32 e1000_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words, in e1000_read_nvm_srrd_i210() 280 s32 e1000_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 words, in e1000_write_nvm_srwr_i210() 321 static s32 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, in e1000_write_nvm_srwr() 376 static s32 e1000_read_invm_word_i210(struct e1000_hw *hw, u8 address, u16 *data) in e1000_read_invm_word_i210() 418 static s32 e1000_read_invm_i210(struct e1000_hw *hw, u16 offset, in e1000_read_invm_i210() [all …]
|
H A D | e1000_ich8lan.c | 200 static bool e1000_phy_is_accessible_pchlan(struct e1000_hw *hw) in e1000_phy_is_accessible_pchlan() 272 static void e1000_toggle_lanphypc_pch_lpt(struct e1000_hw *hw) in e1000_toggle_lanphypc_pch_lpt() 316 static s32 e1000_init_phy_workarounds_pchlan(struct e1000_hw *hw) in e1000_init_phy_workarounds_pchlan() 458 static s32 e1000_init_phy_params_pchlan(struct e1000_hw *hw) in e1000_init_phy_params_pchlan() 557 static s32 e1000_init_phy_params_ich8lan(struct e1000_hw *hw) in e1000_init_phy_params_ich8lan() 649 static s32 e1000_init_nvm_params_ich8lan(struct e1000_hw *hw) in e1000_init_nvm_params_ich8lan() 742 static s32 e1000_init_mac_params_ich8lan(struct e1000_hw *hw) in e1000_init_mac_params_ich8lan() 867 static s32 __e1000_access_emi_reg_locked(struct e1000_hw *hw, u16 address, in __e1000_access_emi_reg_locked() 896 s32 e1000_read_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 *data) in e1000_read_emi_reg_locked() 911 s32 e1000_write_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 data) in e1000_write_emi_reg_locked() [all …]
|
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_api.c | 68 void ixgbe_dcb_get_rtrup2tc(struct ixgbe_hw *hw, u8 *map) in ixgbe_dcb_get_rtrup2tc() 86 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw) in ixgbe_init_shared_code() 132 s32 ixgbe_set_mac_type(struct ixgbe_hw *hw) in ixgbe_set_mac_type() 232 s32 ixgbe_init_hw(struct ixgbe_hw *hw) in ixgbe_init_hw() 245 s32 ixgbe_reset_hw(struct ixgbe_hw *hw) in ixgbe_reset_hw() 261 s32 ixgbe_start_hw(struct ixgbe_hw *hw) in ixgbe_start_hw() 275 void ixgbe_enable_relaxed_ordering(struct ixgbe_hw *hw) in ixgbe_enable_relaxed_ordering() 288 s32 ixgbe_clear_hw_cntrs(struct ixgbe_hw *hw) in ixgbe_clear_hw_cntrs() 300 enum ixgbe_media_type ixgbe_get_media_type(struct ixgbe_hw *hw) in ixgbe_get_media_type() 316 s32 ixgbe_get_mac_addr(struct ixgbe_hw *hw, u8 *mac_addr) in ixgbe_get_mac_addr() [all …]
|
H A D | ixgbe_x550.c | 54 s32 ixgbe_init_ops_X550(struct ixgbe_hw *hw) in ixgbe_init_ops_X550() 113 static s32 ixgbe_read_cs4227(struct ixgbe_hw *hw, u16 reg, u16 *value) in ixgbe_read_cs4227() 126 static s32 ixgbe_write_cs4227(struct ixgbe_hw *hw, u16 reg, u16 value) in ixgbe_write_cs4227() 139 static s32 ixgbe_read_pe(struct ixgbe_hw *hw, u8 reg, u8 *value) in ixgbe_read_pe() 158 static s32 ixgbe_write_pe(struct ixgbe_hw *hw, u8 reg, u8 value) in ixgbe_write_pe() 176 static s32 ixgbe_reset_cs4227(struct ixgbe_hw *hw) in ixgbe_reset_cs4227() 249 static void ixgbe_check_cs4227(struct ixgbe_hw *hw) in ixgbe_check_cs4227() 326 static void ixgbe_setup_mux_ctl(struct ixgbe_hw *hw) in ixgbe_setup_mux_ctl() 345 static s32 ixgbe_identify_phy_x550em(struct ixgbe_hw *hw) in ixgbe_identify_phy_x550em() 400 s32 ixgbe_fw_phy_activity(struct ixgbe_hw *hw, u16 activity, in ixgbe_fw_phy_activity() [all …]
|
H A D | ixgbe_common.c | 70 s32 ixgbe_init_ops_generic(struct ixgbe_hw *hw) in ixgbe_init_ops_generic() 163 bool ixgbe_device_supports_autoneg_fc(struct ixgbe_hw *hw) in ixgbe_device_supports_autoneg_fc() 236 s32 ixgbe_setup_fc_generic(struct ixgbe_hw *hw) in ixgbe_setup_fc_generic() 396 s32 ixgbe_start_hw_generic(struct ixgbe_hw *hw) in ixgbe_start_hw_generic() 460 s32 ixgbe_start_hw_gen2(struct ixgbe_hw *hw) in ixgbe_start_hw_gen2() 499 s32 ixgbe_init_hw_generic(struct ixgbe_hw *hw) in ixgbe_init_hw_generic() 530 s32 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw) in ixgbe_clear_hw_cntrs_generic() 645 s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num, in ixgbe_read_pba_string_generic() 755 s32 ixgbe_read_pba_num_generic(struct ixgbe_hw *hw, u32 *pba_num) in ixgbe_read_pba_num_generic() 794 s32 ixgbe_read_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, in ixgbe_read_pba_raw() [all …]
|
H A D | ixgbe_phy.c | 61 static s32 ixgbe_out_i2c_byte_ack(struct ixgbe_hw *hw, u8 byte) in ixgbe_out_i2c_byte_ack() 78 static s32 ixgbe_in_i2c_byte_ack(struct ixgbe_hw *hw, u8 *byte) in ixgbe_in_i2c_byte_ack() 114 s32 ixgbe_read_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, u16 reg, in ixgbe_read_i2c_combined_generic_int() 192 s32 ixgbe_write_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, u16 reg, in ixgbe_write_i2c_combined_generic_int() 253 s32 ixgbe_init_phy_ops_generic(struct ixgbe_hw *hw) in ixgbe_init_phy_ops_generic() 292 static bool ixgbe_probe_phy(struct ixgbe_hw *hw, u16 phy_addr) in ixgbe_probe_phy() 327 s32 ixgbe_identify_phy_generic(struct ixgbe_hw *hw) in ixgbe_identify_phy_generic() 380 s32 ixgbe_check_reset_blocked(struct ixgbe_hw *hw) in ixgbe_check_reset_blocked() 406 bool ixgbe_validate_phy_addr(struct ixgbe_hw *hw, u32 phy_addr) in ixgbe_validate_phy_addr() 430 s32 ixgbe_get_phy_id(struct ixgbe_hw *hw) in ixgbe_get_phy_id() [all …]
|
H A D | ixgbe_mbx.c | 46 static s32 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_poll_for_msg() 78 static s32 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_poll_for_ack() 113 static s32 ixgbe_read_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_read_posted_mbx() 143 static s32 ixgbe_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_write_posted_mbx() 171 void ixgbe_init_mbx_ops_generic(struct ixgbe_hw *hw) in ixgbe_init_mbx_ops_generic() 186 static u32 ixgbe_read_v2p_mailbox(struct ixgbe_hw *hw) in ixgbe_read_v2p_mailbox() 204 static s32 ixgbe_check_for_bit_vf(struct ixgbe_hw *hw, u32 mask) in ixgbe_check_for_bit_vf() 224 static s32 ixgbe_check_for_msg_vf(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_msg_vf() 246 static s32 ixgbe_check_for_ack_vf(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_ack_vf() 268 static s32 ixgbe_check_for_rst_vf(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_rst_vf() [all …]
|
H A D | ixgbe_x540.c | 60 s32 ixgbe_init_ops_X540(struct ixgbe_hw *hw) in ixgbe_init_ops_X540() 171 s32 ixgbe_get_link_capabilities_X540(struct ixgbe_hw *hw, in ixgbe_get_link_capabilities_X540() 186 enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw) in ixgbe_get_media_type_X540() 198 s32 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, in ixgbe_setup_mac_link_X540() 213 s32 ixgbe_reset_hw_X540(struct ixgbe_hw *hw) in ixgbe_reset_hw_X540() 316 s32 ixgbe_start_hw_X540(struct ixgbe_hw *hw) in ixgbe_start_hw_X540() 338 u64 ixgbe_get_supported_physical_layer_X540(struct ixgbe_hw *hw) in ixgbe_get_supported_physical_layer_X540() 364 s32 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw) in ixgbe_init_eeprom_params_X540() 397 s32 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data) in ixgbe_read_eerd_X540() 422 s32 ixgbe_read_eerd_buffer_X540(struct ixgbe_hw *hw, in ixgbe_read_eerd_buffer_X540() [all …]
|
/illumos-gate/usr/src/uts/common/io/igc/core/ |
H A D | igc_api.c | 16 s32 igc_init_mac_params(struct igc_hw *hw) in igc_init_mac_params() 42 s32 igc_init_nvm_params(struct igc_hw *hw) in igc_init_nvm_params() 68 s32 igc_init_phy_params(struct igc_hw *hw) in igc_init_phy_params() 96 s32 igc_set_mac_type(struct igc_hw *hw) in igc_set_mac_type() 141 s32 igc_setup_init_funcs(struct igc_hw *hw, bool init_device) in igc_setup_init_funcs() 211 s32 igc_get_bus_info(struct igc_hw *hw) in igc_get_bus_info() 226 void igc_clear_vfta(struct igc_hw *hw) in igc_clear_vfta() 241 void igc_write_vfta(struct igc_hw *hw, u32 offset, u32 value) in igc_write_vfta() 256 void igc_update_mc_addr_list(struct igc_hw *hw, u8 *mc_addr_list, in igc_update_mc_addr_list() 272 s32 igc_force_mac_fc(struct igc_hw *hw) in igc_force_mac_fc() [all …]
|
H A D | igc_mac.c | 17 void igc_init_mac_ops_generic(struct igc_hw *hw) in igc_init_mac_ops_generic() 32 s32 igc_null_ops_generic(struct igc_hw IGC_UNUSEDARG *hw) in igc_null_ops_generic() 42 void igc_null_mac_generic(struct igc_hw IGC_UNUSEDARG *hw) in igc_null_mac_generic() 54 s32 igc_null_link_info(struct igc_hw IGC_UNUSEDARG *hw, in igc_null_link_info() 65 bool igc_null_mng_mode(struct igc_hw IGC_UNUSEDARG *hw) in igc_null_mng_mode() 77 void igc_null_update_mc(struct igc_hw IGC_UNUSEDARG *hw, in igc_null_update_mc() 90 void igc_null_write_vfta(struct igc_hw IGC_UNUSEDARG *hw, in igc_null_write_vfta() 103 int igc_null_rar_set(struct igc_hw IGC_UNUSEDARG *hw, in igc_null_rar_set() 116 void igc_set_lan_id_single_port(struct igc_hw *hw) in igc_set_lan_id_single_port() 130 void igc_clear_vfta_generic(struct igc_hw *hw) in igc_clear_vfta_generic() [all …]
|
H A D | igc_phy.c | 17 void igc_init_phy_ops_generic(struct igc_hw *hw) in igc_init_phy_ops_generic() 48 s32 igc_null_set_page(struct igc_hw IGC_UNUSEDARG *hw, in igc_null_set_page() 61 s32 igc_null_read_reg(struct igc_hw IGC_UNUSEDARG *hw, in igc_null_read_reg() 72 void igc_null_phy_generic(struct igc_hw IGC_UNUSEDARG *hw) in igc_null_phy_generic() 83 s32 igc_null_lplu_state(struct igc_hw IGC_UNUSEDARG *hw, in igc_null_lplu_state() 96 s32 igc_null_write_reg(struct igc_hw IGC_UNUSEDARG *hw, in igc_null_write_reg() 111 s32 igc_check_reset_block_generic(struct igc_hw *hw) in igc_check_reset_block_generic() 130 s32 igc_get_phy_id(struct igc_hw *hw) in igc_get_phy_id() 166 s32 igc_read_phy_reg_mdic(struct igc_hw *hw, u32 offset, u16 *data) in igc_read_phy_reg_mdic() 225 s32 igc_write_phy_reg_mdic(struct igc_hw *hw, u32 offset, u16 data) in igc_write_phy_reg_mdic() [all …]
|
H A D | igc_i225.c | 24 static s32 igc_init_nvm_params_i225(struct igc_hw *hw) in igc_init_nvm_params_i225() 81 static s32 igc_init_mac_params_i225(struct igc_hw *hw) in igc_init_mac_params_i225() 132 static s32 igc_init_phy_params_i225(struct igc_hw *hw) in igc_init_phy_params_i225() 181 static s32 igc_reset_hw_i225(struct igc_hw *hw) in igc_reset_hw_i225() 238 static s32 igc_acquire_nvm_i225(struct igc_hw *hw) in igc_acquire_nvm_i225() 255 static void igc_release_nvm_i225(struct igc_hw *hw) in igc_release_nvm_i225() 269 s32 igc_acquire_swfw_sync_i225(struct igc_hw *hw, u16 mask) in igc_acquire_swfw_sync_i225() 319 void igc_release_swfw_sync_i225(struct igc_hw *hw, u16 mask) in igc_release_swfw_sync_i225() 343 s32 igc_setup_copper_link_i225(struct igc_hw *hw) in igc_setup_copper_link_i225() 370 static s32 igc_get_hw_semaphore_i225(struct igc_hw *hw) in igc_get_hw_semaphore_i225() [all …]
|
H A D | igc_nvm.c | 17 void igc_init_nvm_ops_generic(struct igc_hw *hw) in igc_init_nvm_ops_generic() 40 s32 igc_null_read_nvm(struct igc_hw IGC_UNUSEDARG *hw, in igc_null_read_nvm() 52 void igc_null_nvm_generic(struct igc_hw IGC_UNUSEDARG *hw) in igc_null_nvm_generic() 65 s32 igc_null_write_nvm(struct igc_hw IGC_UNUSEDARG *hw, in igc_null_write_nvm() 80 static void igc_raise_eec_clk(struct igc_hw *hw, u32 *eecd) in igc_raise_eec_clk() 95 static void igc_lower_eec_clk(struct igc_hw *hw, u32 *eecd) in igc_lower_eec_clk() 113 static void igc_shift_out_eec_bits(struct igc_hw *hw, u16 data, u16 count) in igc_shift_out_eec_bits() 157 static u16 igc_shift_in_eec_bits(struct igc_hw *hw, u16 count) in igc_shift_in_eec_bits() 194 s32 igc_poll_eerd_eewr_done(struct igc_hw *hw, int ee_reg) in igc_poll_eerd_eewr_done() 224 s32 igc_acquire_nvm_generic(struct igc_hw *hw) in igc_acquire_nvm_generic() [all …]
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_adminq.c | 47 static void i40e_adminq_init_regs(struct i40e_hw *hw) in i40e_adminq_init_regs() 79 enum i40e_status_code i40e_alloc_adminq_asq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_asq_ring() 106 enum i40e_status_code i40e_alloc_adminq_arq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_arq_ring() 126 void i40e_free_adminq_asq(struct i40e_hw *hw) in i40e_free_adminq_asq() 139 void i40e_free_adminq_arq(struct i40e_hw *hw) in i40e_free_adminq_arq() 148 static enum i40e_status_code i40e_alloc_arq_bufs(struct i40e_hw *hw) in i40e_alloc_arq_bufs() 215 static enum i40e_status_code i40e_alloc_asq_bufs(struct i40e_hw *hw) in i40e_alloc_asq_bufs() 255 static void i40e_free_arq_bufs(struct i40e_hw *hw) in i40e_free_arq_bufs() 274 static void i40e_free_asq_bufs(struct i40e_hw *hw) in i40e_free_asq_bufs() 299 static enum i40e_status_code i40e_config_asq_regs(struct i40e_hw *hw) in i40e_config_asq_regs() [all …]
|