/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_x540.c | 48 static s32 ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw); 49 static s32 ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw); 50 static void ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw); 54 * @hw: pointer to hardware structure 59 s32 ixgbe_init_ops_X540(struct ixgbe_hw *hw) argument 61 struct ixgbe_mac_info *mac = &hw->mac; 62 struct ixgbe_phy_info *phy = &hw->phy; 63 struct ixgbe_eeprom_info *eeprom = &hw->eeprom; 68 ret_val = ixgbe_init_phy_ops_generic(hw); 69 ret_val = ixgbe_init_ops_generic(hw); 165 ixgbe_get_link_capabilities_X540(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument 180 ixgbe_get_media_type_X540(struct ixgbe_hw *hw) argument 192 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument 207 ixgbe_reset_hw_X540(struct ixgbe_hw *hw) argument 298 ixgbe_start_hw_X540(struct ixgbe_hw *hw) argument 320 ixgbe_get_supported_physical_layer_X540(struct ixgbe_hw *hw) argument 346 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw) argument 379 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data) argument 404 ixgbe_read_eerd_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 430 ixgbe_write_eewr_X540(struct ixgbe_hw *hw, u16 offset, u16 data) argument 455 ixgbe_write_eewr_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 483 ixgbe_calc_eeprom_checksum_X540(struct ixgbe_hw *hw) argument 559 ixgbe_validate_eeprom_checksum_X540(struct ixgbe_hw *hw, u16 *checksum_val) argument 622 ixgbe_update_eeprom_checksum_X540(struct ixgbe_hw *hw) argument 670 ixgbe_update_flash_X540(struct ixgbe_hw *hw) argument 717 ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw) argument 749 ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask) argument 844 ixgbe_release_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask) argument 869 ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw) argument 927 ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw) argument 954 ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, u32 index) argument 992 ixgbe_blink_led_stop_X540(struct ixgbe_hw *hw, u32 index) argument [all...] |
H A D | ixgbe_82598.c | 48 static s32 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw, 51 static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw); 52 static s32 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw, 54 static s32 ixgbe_check_mac_link_82598(struct ixgbe_hw *hw, 57 static s32 ixgbe_setup_mac_link_82598(struct ixgbe_hw *hw, 60 static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw, 63 static s32 ixgbe_reset_hw_82598(struct ixgbe_hw *hw); 64 static s32 ixgbe_clear_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq); 65 static s32 ixgbe_clear_vfta_82598(struct ixgbe_hw *hw); 66 static void ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, in 80 ixgbe_set_pcie_completion_timeout(struct ixgbe_hw *hw) argument 119 ixgbe_init_ops_82598(struct ixgbe_hw *hw) argument 191 ixgbe_init_phy_ops_82598(struct ixgbe_hw *hw) argument 254 ixgbe_start_hw_82598(struct ixgbe_hw *hw) argument 296 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument 355 ixgbe_get_media_type_82598(struct ixgbe_hw *hw) argument 408 ixgbe_fc_enable_82598(struct ixgbe_hw *hw) argument 556 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw, bool autoneg_wait_to_complete) argument 604 ixgbe_validate_link_ready(struct ixgbe_hw *hw) argument 641 ixgbe_check_mac_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool link_up_wait_to_complete) argument 730 ixgbe_setup_mac_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument 784 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument 809 ixgbe_reset_hw_82598(struct ixgbe_hw *hw) argument 945 ixgbe_set_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument 971 ixgbe_clear_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument 1002 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on) argument 1049 ixgbe_clear_vfta_82598(struct ixgbe_hw *hw) argument 1075 ixgbe_read_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 *val) argument 1099 ixgbe_write_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 val) argument 1122 ixgbe_read_i2c_phy_82598(struct ixgbe_hw *hw, u8 dev_addr, u8 byte_offset, u8 *eeprom_data) argument 1195 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) argument 1210 ixgbe_read_i2c_sff8472_82598(struct ixgbe_hw *hw, u8 byte_offset, u8 *sff8472_data) argument 1223 ixgbe_get_supported_physical_layer_82598(struct ixgbe_hw *hw) argument 1327 ixgbe_set_lan_id_multi_port_pcie_82598(struct ixgbe_hw *hw) argument 1358 ixgbe_enable_relaxed_ordering_82598(struct ixgbe_hw *hw) argument 1390 ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb, u32 headroom, int strategy) argument 1430 ixgbe_enable_rx_dma_82598(struct ixgbe_hw *hw, u32 regval) argument [all...] |
H A D | ixgbe_82599.c | 48 static s32 ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw, 51 static s32 ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw); 52 static s32 ixgbe_read_eeprom_82599(struct ixgbe_hw *hw, 54 static s32 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw *hw, u16 offset, 56 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 58 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 61 void ixgbe_init_mac_link_ops_82599(struct ixgbe_hw *hw) argument 63 struct ixgbe_mac_info *mac = &hw->mac; 71 if ((mac->ops.get_media_type(hw) == ixgbe_media_type_fiber) && 72 !ixgbe_mng_enabled(hw)) { 115 ixgbe_init_phy_ops_82599(struct ixgbe_hw *hw) argument 173 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw) argument 250 prot_autoc_read_82599(struct ixgbe_hw *hw, bool *locked, u32 *reg_val) argument 279 prot_autoc_write_82599(struct ixgbe_hw *hw, u32 autoc, bool locked) argument 321 ixgbe_init_ops_82599(struct ixgbe_hw *hw) argument 411 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument 521 ixgbe_get_media_type_82599(struct ixgbe_hw *hw) argument 583 ixgbe_stop_mac_link_on_d3_82599(struct ixgbe_hw *hw) argument 607 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, bool autoneg_wait_to_complete) argument 675 ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) argument 698 ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) argument 721 ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) argument 743 ixgbe_set_hard_rate_select_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed) argument 773 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument 885 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument 1003 ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument 1028 ixgbe_reset_hw_82599(struct ixgbe_hw *hw) argument 1203 ixgbe_fdir_check_cmd_complete(struct ixgbe_hw *hw, u32 *fdircmd) argument 1221 ixgbe_reinit_fdir_tables_82599(struct ixgbe_hw *hw) argument 1295 ixgbe_fdir_enable_82599(struct ixgbe_hw *hw, u32 fdirctrl) argument 1337 ixgbe_init_fdir_signature_82599(struct ixgbe_hw *hw, u32 fdirctrl) argument 1364 ixgbe_init_fdir_perfect_82599(struct ixgbe_hw *hw, u32 fdirctrl, bool cloud_mode) argument 1403 ixgbe_set_fdir_drop_queue_82599(struct ixgbe_hw *hw, u8 dropqueue) argument 1531 ixgbe_fdir_add_signature_filter_82599(struct ixgbe_hw *hw, union ixgbe_atr_hash_dword input, union ixgbe_atr_hash_dword common, u8 queue) argument 1690 ixgbe_fdir_set_input_mask_82599(struct ixgbe_hw *hw, union ixgbe_atr_input *input_mask, bool cloud_mode) argument 1852 ixgbe_fdir_write_perfect_filter_82599(struct ixgbe_hw *hw, union ixgbe_atr_input *input, u16 soft_id, u8 queue, bool cloud_mode) argument 1941 ixgbe_fdir_erase_perfect_filter_82599(struct ixgbe_hw *hw, union ixgbe_atr_input *input, u16 soft_id) argument 1988 ixgbe_fdir_add_perfect_filter_82599(struct ixgbe_hw *hw, union ixgbe_atr_input *input, union ixgbe_atr_input *input_mask, u16 soft_id, u8 queue, bool cloud_mode) argument 2049 ixgbe_read_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 *val) argument 2073 ixgbe_write_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 val) argument 2095 ixgbe_start_hw_82599(struct ixgbe_hw *hw) argument 2126 ixgbe_identify_phy_82599(struct ixgbe_hw *hw) argument 2161 ixgbe_get_supported_physical_layer_82599(struct ixgbe_hw *hw) argument 2249 ixgbe_enable_rx_dma_82599(struct ixgbe_hw *hw, u32 regval) argument 2283 ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw) argument 2344 ixgbe_verify_lesm_fw_enabled_82599(struct ixgbe_hw *hw) argument 2392 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 2426 ixgbe_read_eeprom_82599(struct ixgbe_hw *hw, u16 offset, u16 *data) argument 2455 ixgbe_reset_pipeline_82599(struct ixgbe_hw *hw) argument 2507 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument 2564 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument [all...] |
H A D | ixgbe_phy.c | 39 static void ixgbe_i2c_start(struct ixgbe_hw *hw); 40 static void ixgbe_i2c_stop(struct ixgbe_hw *hw); 41 static s32 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data); 42 static s32 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data); 43 static s32 ixgbe_get_i2c_ack(struct ixgbe_hw *hw); 44 static s32 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data); 45 static s32 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data); 46 static void ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl); 47 static void ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl); 48 static s32 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u3 60 ixgbe_out_i2c_byte_ack(struct ixgbe_hw *hw, u8 byte) argument 77 ixgbe_in_i2c_byte_ack(struct ixgbe_hw *hw, u8 *byte) argument 113 ixgbe_read_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val, bool lock) argument 192 ixgbe_read_i2c_combined_generic(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val) argument 208 ixgbe_read_i2c_combined_generic_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val) argument 224 ixgbe_write_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val, bool lock) argument 288 ixgbe_write_i2c_combined_generic(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val) argument 304 ixgbe_write_i2c_combined_generic_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val) argument 316 ixgbe_init_phy_ops_generic(struct ixgbe_hw *hw) argument 360 ixgbe_identify_phy_generic(struct ixgbe_hw *hw) argument 426 ixgbe_check_reset_blocked(struct ixgbe_hw *hw) argument 451 ixgbe_validate_phy_addr(struct ixgbe_hw *hw, u32 phy_addr) argument 473 ixgbe_get_phy_id(struct ixgbe_hw *hw) argument 539 ixgbe_reset_phy_generic(struct ixgbe_hw *hw) argument 602 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) argument 681 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) argument 708 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument 782 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument 807 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw) argument 925 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument 967 ixgbe_get_copper_speeds_supported(struct ixgbe_hw *hw) argument 1006 ixgbe_get_copper_link_capabilities_generic(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument 1029 ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up) argument 1077 ixgbe_setup_phy_link_tnx(struct ixgbe_hw *hw) argument 1154 ixgbe_get_phy_firmware_version_tnx(struct ixgbe_hw *hw, u16 *firmware_version) argument 1173 ixgbe_get_phy_firmware_version_generic(struct ixgbe_hw *hw, u16 *firmware_version) argument 1191 ixgbe_reset_phy_nl(struct ixgbe_hw *hw) argument 1309 ixgbe_identify_module_generic(struct ixgbe_hw *hw) argument 1339 ixgbe_identify_sfp_module_generic(struct ixgbe_hw *hw) argument 1629 ixgbe_get_supported_phy_sfp_layer_generic(struct ixgbe_hw *hw) argument 1691 ixgbe_identify_qsfp_module_generic(struct ixgbe_hw *hw) argument 1894 ixgbe_get_sfp_init_sequence_offsets(struct ixgbe_hw *hw, u16 *list_offset, u16 *data_offset) argument 1988 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) argument 2006 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 *sff8472_data) argument 2022 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data) argument 2038 ixgbe_is_sfp_probe(struct ixgbe_hw *hw, u8 offset, u8 addr) argument 2057 ixgbe_read_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data, bool lock) argument 2147 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument 2163 ixgbe_read_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument 2180 ixgbe_write_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data, bool lock) argument 2250 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument 2266 ixgbe_write_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument 2280 ixgbe_i2c_start(struct ixgbe_hw *hw) argument 2315 ixgbe_i2c_stop(struct ixgbe_hw *hw) argument 2351 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data) argument 2374 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data) argument 2407 ixgbe_get_i2c_ack(struct ixgbe_hw *hw) argument 2460 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data) argument 2496 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data) argument 2533 ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl) argument 2569 ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl) argument 2592 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl, bool data) argument 2639 ixgbe_get_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl) argument 2668 ixgbe_i2c_bus_clear(struct ixgbe_hw *hw) argument 2704 ixgbe_tn_check_overtemp(struct ixgbe_hw *hw) argument 2732 ixgbe_set_copper_phy_power(struct ixgbe_hw *hw, bool on) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_tx.c | 974 struct ixgbe_hw *hw = &tx_ring->ixgbe->hw; local 1091 switch (hw->mac.type) { 1163 IXGBE_WRITE_REG(hw, IXGBE_TDT(tx_ring->index), index);
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
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); 94 e1000_init_phy_params_82571(struct e1000_hw *hw) argument 205 e1000_init_nvm_params_82571(struct e1000_hw *hw) argument 286 e1000_init_mac_params_82571(struct e1000_hw *hw) argument 448 e1000_init_function_pointers_82571(struct e1000_hw *hw) argument 464 e1000_get_phy_id_82571(struct e1000_hw *hw) argument 514 e1000_get_hw_semaphore_82571(struct e1000_hw *hw) argument 575 e1000_put_hw_semaphore_82571(struct e1000_hw *hw) argument 595 e1000_get_hw_semaphore_82573(struct e1000_hw *hw) argument 632 e1000_put_hw_semaphore_82573(struct e1000_hw *hw) argument 650 e1000_get_hw_semaphore_82574(struct e1000_hw *hw) argument 670 e1000_put_hw_semaphore_82574(struct e1000_hw *hw) argument 690 e1000_set_d0_lplu_state_82574(struct e1000_hw *hw, bool active) argument 716 e1000_set_d3_lplu_state_82574(struct e1000_hw *hw, bool active) argument 743 e1000_acquire_nvm_82571(struct e1000_hw *hw) argument 773 e1000_release_nvm_82571(struct e1000_hw *hw) argument 793 e1000_write_nvm_82571(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 826 e1000_update_nvm_checksum_82571(struct e1000_hw *hw) argument 887 e1000_validate_nvm_checksum_82571(struct e1000_hw *hw) argument 911 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 954 e1000_get_cfg_done_82571(struct e1000_hw *hw) argument 986 e1000_set_d0_lplu_state_82571(struct e1000_hw *hw, bool active) argument 1065 e1000_reset_hw_82571(struct e1000_hw *hw) argument 1190 e1000_init_hw_82571(struct e1000_hw *hw) argument 1270 e1000_initialize_hw_bits_82571(struct e1000_hw *hw) argument 1404 e1000_clear_vfta_82571(struct e1000_hw *hw) argument 1453 e1000_check_mng_mode_82574(struct e1000_hw *hw) argument 1473 e1000_led_on_82574(struct e1000_hw *hw) argument 1501 e1000_check_phy_82574(struct e1000_hw *hw) argument 1540 e1000_setup_link_82571(struct e1000_hw *hw) argument 1570 e1000_setup_copper_link_82571(struct e1000_hw *hw) argument 1608 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw) argument 1650 e1000_check_for_serdes_link_82571(struct e1000_hw *hw) argument 1811 e1000_valid_led_default_82571(struct e1000_hw *hw, u16 *data) argument 1846 e1000_get_laa_state_82571(struct e1000_hw *hw) argument 1863 e1000_set_laa_state_82571(struct e1000_hw *hw, bool state) argument 1895 e1000_fix_nvm_checksum_82571(struct e1000_hw *hw) argument 1944 e1000_read_mac_addr_82571(struct e1000_hw *hw) argument 1970 e1000_power_down_phy_copper_82571(struct e1000_hw *hw) argument 1991 e1000_clear_hw_cntrs_82571(struct e1000_hw *hw) argument [all...] |
H A D | e1000_api.c | 39 * @hw: pointer to the HW structure 44 s32 e1000_init_mac_params(struct e1000_hw *hw) argument 48 if (hw->mac.ops.init_params) { 49 ret_val = hw->mac.ops.init_params(hw); 65 * @hw: pointer to the HW structure 70 s32 e1000_init_nvm_params(struct e1000_hw *hw) argument 74 if (hw->nvm.ops.init_params) { 75 ret_val = hw->nvm.ops.init_params(hw); 96 e1000_init_phy_params(struct e1000_hw *hw) argument 122 e1000_init_mbx_params(struct e1000_hw *hw) argument 150 e1000_set_mac_type(struct e1000_hw *hw) argument 395 e1000_setup_init_funcs(struct e1000_hw *hw, bool init_device) argument 523 e1000_get_bus_info(struct e1000_hw *hw) argument 538 e1000_clear_vfta(struct e1000_hw *hw) argument 553 e1000_write_vfta(struct e1000_hw *hw, u32 offset, u32 value) argument 568 e1000_update_mc_addr_list(struct e1000_hw *hw, u8 *mc_addr_list, u32 mc_addr_count) argument 584 e1000_force_mac_fc(struct e1000_hw *hw) argument 597 e1000_check_for_link(struct e1000_hw *hw) argument 612 e1000_check_mng_mode(struct e1000_hw *hw) argument 628 e1000_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length) argument 640 e1000_reset_hw(struct e1000_hw *hw) argument 655 e1000_init_hw(struct e1000_hw *hw) argument 671 e1000_setup_link(struct e1000_hw *hw) argument 689 e1000_get_speed_and_duplex(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 705 e1000_setup_led(struct e1000_hw *hw) argument 720 e1000_cleanup_led(struct e1000_hw *hw) argument 736 e1000_blink_led(struct e1000_hw *hw) argument 751 e1000_id_led_init(struct e1000_hw *hw) argument 766 e1000_led_on(struct e1000_hw *hw) argument 781 e1000_led_off(struct e1000_hw *hw) argument 796 e1000_reset_adaptive(struct e1000_hw *hw) argument 808 e1000_update_adaptive(struct e1000_hw *hw) argument 821 e1000_disable_pcie_master(struct e1000_hw *hw) argument 833 e1000_config_collision_dist(struct e1000_hw *hw) argument 847 e1000_rar_set(struct e1000_hw *hw, u8 *addr, u32 index) argument 861 e1000_validate_mdi_setting(struct e1000_hw *hw) argument 878 e1000_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) argument 892 e1000_enable_tx_pkt_filtering(struct e1000_hw *hw) argument 909 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, u16 length, u16 offset, u8 *sum) argument 922 e1000_mng_write_cmd_header(struct e1000_hw *hw, struct e1000_host_mng_command_header *hdr) argument 938 e1000_mng_enable_host_if(struct e1000_hw *hw) argument 950 e1000_set_obff_timer(struct e1000_hw *hw, u32 itr) argument 965 e1000_check_reset_block(struct e1000_hw *hw) argument 982 e1000_read_phy_reg(struct e1000_hw *hw, u32 offset, u16 *data) argument 999 e1000_write_phy_reg(struct e1000_hw *hw, u32 offset, u16 data) argument 1014 e1000_release_phy(struct e1000_hw *hw) argument 1027 e1000_acquire_phy(struct e1000_hw *hw) argument 1039 e1000_cfg_on_link_up(struct e1000_hw *hw) argument 1057 e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data) argument 1072 e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data) argument 1085 e1000_get_cable_length(struct e1000_hw *hw) argument 1101 e1000_get_phy_info(struct e1000_hw *hw) argument 1116 e1000_phy_hw_reset(struct e1000_hw *hw) argument 1131 e1000_phy_commit(struct e1000_hw *hw) argument 1153 e1000_set_d0_lplu_state(struct e1000_hw *hw, bool active) argument 1175 e1000_set_d3_lplu_state(struct e1000_hw *hw, bool active) argument 1191 e1000_read_mac_addr(struct e1000_hw *hw) argument 1210 e1000_read_pba_string(struct e1000_hw *hw, u8 *pba_num, u32 pba_num_size) argument 1225 e1000_read_pba_length(struct e1000_hw *hw, u32 *pba_num_size) argument 1237 e1000_validate_nvm_checksum(struct e1000_hw *hw) argument 1252 e1000_update_nvm_checksum(struct e1000_hw *hw) argument 1267 e1000_reload_nvm(struct e1000_hw *hw) argument 1283 e1000_read_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 1301 e1000_write_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 1319 e1000_write_8bit_ctrl_reg(struct e1000_hw *hw, u32 reg, u32 offset, u8 data) argument 1332 e1000_power_up_phy(struct e1000_hw *hw) argument 1347 e1000_power_down_phy(struct e1000_hw *hw) argument 1359 e1000_power_up_fiber_serdes_link(struct e1000_hw *hw) argument 1371 e1000_shutdown_fiber_serdes_link(struct e1000_hw *hw) argument [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); 44 * @hw: pointer to the HW structure 48 void e1000_init_mac_ops_generic(struct e1000_hw *hw) argument 50 struct e1000_mac_info *mac = &hw->mac; 86 * @hw: pointer to the HW structure 88 s32 e1000_null_ops_generic(struct e1000_hw E1000_UNUSEDARG *hw) argument 96 * @hw 98 e1000_null_mac_generic(struct e1000_hw E1000_UNUSEDARG *hw) argument 108 e1000_null_link_info(struct e1000_hw E1000_UNUSEDARG *hw, u16 E1000_UNUSEDARG *s, u16 E1000_UNUSEDARG *d) argument 119 e1000_null_mng_mode(struct e1000_hw E1000_UNUSEDARG *hw) argument 129 e1000_null_update_mc(struct e1000_hw E1000_UNUSEDARG *hw, u8 E1000_UNUSEDARG *h, u32 E1000_UNUSEDARG a) argument 140 e1000_null_write_vfta(struct e1000_hw E1000_UNUSEDARG *hw, u32 E1000_UNUSEDARG a, u32 E1000_UNUSEDARG b) argument 151 e1000_null_rar_set(struct e1000_hw E1000_UNUSEDARG *hw, u8 E1000_UNUSEDARG *h, u32 E1000_UNUSEDARG a) argument 162 e1000_null_set_obff_timer(struct e1000_hw E1000_UNUSEDARG *hw, u32 E1000_UNUSEDARG a) argument 177 e1000_get_bus_info_pci_generic(struct e1000_hw *hw) argument 232 e1000_get_bus_info_pcie_generic(struct e1000_hw *hw) argument 278 e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw) argument 296 e1000_set_lan_id_multi_port_pci(struct e1000_hw *hw) argument 318 e1000_set_lan_id_single_port(struct e1000_hw *hw) argument 332 e1000_clear_vfta_generic(struct e1000_hw *hw) argument 353 e1000_write_vfta_generic(struct e1000_hw *hw, u32 offset, u32 value) argument 370 e1000_init_rx_addrs_generic(struct e1000_hw *hw, u16 rar_count) argument 400 e1000_check_alt_mac_addr_generic(struct e1000_hw *hw) argument 478 e1000_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index) argument 516 e1000_hash_mc_addr_generic(struct e1000_hw *hw, u8 *mc_addr) argument 587 e1000_update_mc_addr_list_generic(struct e1000_hw *hw, u8 *mc_addr_list, u32 mc_addr_count) argument 624 e1000_pcix_mmrbc_workaround_generic(struct e1000_hw *hw) argument 658 e1000_clear_hw_cntrs_base_generic(struct e1000_hw *hw) argument 709 e1000_check_for_copper_link_generic(struct e1000_hw *hw) argument 774 e1000_check_for_fiber_link_generic(struct e1000_hw *hw) argument 841 e1000_check_for_serdes_link_generic(struct e1000_hw *hw) argument 947 e1000_set_default_fc_generic(struct e1000_hw *hw) argument 1002 e1000_setup_link_generic(struct e1000_hw *hw) argument 1058 e1000_commit_fc_settings_generic(struct e1000_hw *hw) argument 1127 e1000_poll_fiber_serdes_link_generic(struct e1000_hw *hw) argument 1176 e1000_setup_fiber_serdes_link_generic(struct e1000_hw *hw) argument 1227 e1000_config_collision_dist_generic(struct e1000_hw *hw) argument 1250 e1000_set_fc_watermarks_generic(struct e1000_hw *hw) argument 1289 e1000_force_mac_fc_generic(struct e1000_hw *hw) argument 1351 e1000_config_fc_after_link_up_generic(struct e1000_hw *hw) argument 1659 e1000_get_speed_and_duplex_copper_generic(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 1698 e1000_get_speed_and_duplex_fiber_serdes_generic(struct e1000_hw E1000_UNUSEDARG *hw, u16 *speed, u16 *duplex) argument 1715 e1000_get_hw_semaphore_generic(struct e1000_hw *hw) argument 1766 e1000_put_hw_semaphore_generic(struct e1000_hw *hw) argument 1785 e1000_get_auto_rd_done_generic(struct e1000_hw *hw) argument 1814 e1000_valid_led_default_generic(struct e1000_hw *hw, u16 *data) argument 1837 e1000_id_led_init_generic(struct e1000_hw *hw) argument 1905 e1000_setup_led_generic(struct e1000_hw *hw) argument 1937 e1000_cleanup_led_generic(struct e1000_hw *hw) argument 1951 e1000_blink_led_generic(struct e1000_hw *hw) argument 1998 e1000_led_on_generic(struct e1000_hw *hw) argument 2027 e1000_led_off_generic(struct e1000_hw *hw) argument 2057 e1000_set_pcie_no_snoop_generic(struct e1000_hw *hw, u32 no_snoop) argument 2085 e1000_disable_pcie_master_generic(struct e1000_hw *hw) argument 2122 e1000_reset_adaptive_generic(struct e1000_hw *hw) argument 2150 e1000_update_adaptive_generic(struct e1000_hw *hw) argument 2191 e1000_validate_mdi_setting_generic(struct e1000_hw *hw) argument 2211 e1000_validate_mdi_setting_crossover_generic(struct e1000_hw E1000_UNUSEDARG *hw) argument 2229 e1000_write_8bit_ctrl_reg_generic(struct e1000_hw *hw, u32 reg, u32 offset, u8 data) argument [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, u1 133 e1000_sgmii_uses_mdio_82575(struct e1000_hw *hw) argument 164 e1000_init_phy_params_82575(struct e1000_hw *hw) argument 330 e1000_init_nvm_params_82575(struct e1000_hw *hw) argument 415 e1000_init_mac_params_82575(struct e1000_hw *hw) argument 534 e1000_init_function_pointers_82575(struct e1000_hw *hw) argument 550 e1000_acquire_phy_82575(struct e1000_hw *hw) argument 572 e1000_release_phy_82575(struct e1000_hw *hw) argument 597 e1000_read_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, u16 *data) argument 630 e1000_write_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, u16 data) argument 661 e1000_get_phy_id_82575(struct e1000_hw *hw) argument 763 e1000_phy_hw_reset_sgmii_82575(struct e1000_hw *hw) argument 811 e1000_set_d0_lplu_state_82575(struct e1000_hw *hw, bool active) argument 897 e1000_set_d0_lplu_state_82580(struct e1000_hw *hw, bool active) argument 944 e1000_set_d3_lplu_state_82580(struct e1000_hw *hw, bool active) argument 986 e1000_acquire_nvm_82575(struct e1000_hw *hw) argument 1036 e1000_release_nvm_82575(struct e1000_hw *hw) argument 1053 e1000_acquire_swfw_sync_82575(struct e1000_hw *hw, u16 mask) argument 1105 e1000_release_swfw_sync_82575(struct e1000_hw *hw, u16 mask) argument 1131 e1000_get_cfg_done_82575(struct e1000_hw *hw) argument 1171 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 1195 e1000_check_for_link_82575(struct e1000_hw *hw) argument 1234 e1000_check_for_link_media_swap(struct e1000_hw *hw) argument 1294 e1000_power_up_serdes_link_82575(struct e1000_hw *hw) argument 1328 e1000_get_pcs_speed_and_duplex_82575(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 1392 e1000_shutdown_serdes_link_82575(struct e1000_hw *hw) argument 1427 e1000_reset_hw_82575(struct e1000_hw *hw) argument 1491 e1000_init_hw_82575(struct e1000_hw *hw) argument 1548 e1000_setup_copper_link_82575(struct e1000_hw *hw) argument 1634 e1000_setup_serdes_link_82575(struct e1000_hw *hw) argument 1777 e1000_get_media_type_82575(struct e1000_hw *hw) argument 1855 e1000_set_sfp_media_type_82575(struct e1000_hw *hw) argument 1925 e1000_valid_led_default_82575(struct e1000_hw *hw, u16 *data) argument 1960 e1000_sgmii_active_82575(struct e1000_hw *hw) argument 1973 e1000_reset_init_script_82575(struct e1000_hw *hw) argument 2008 e1000_read_mac_addr_82575(struct e1000_hw *hw) argument 2036 e1000_config_collision_dist_82575(struct e1000_hw *hw) argument 2058 e1000_power_down_phy_copper_82575(struct e1000_hw *hw) argument 2078 e1000_clear_hw_cntrs_82575(struct e1000_hw *hw) argument 2146 e1000_rx_fifo_flush_82575(struct e1000_hw *hw) argument 2226 e1000_set_pcie_completion_timeout(struct e1000_hw *hw) argument 2275 e1000_vmdq_set_anti_spoofing_pf(struct e1000_hw *hw, bool enable, int pf) argument 2313 e1000_vmdq_set_loopback_pf(struct e1000_hw *hw, bool enable) argument 2350 e1000_vmdq_set_replication_pf(struct e1000_hw *hw, bool enable) argument 2371 e1000_read_phy_reg_82580(struct e1000_hw *hw, u32 offset, u16 *data) argument 2397 e1000_write_phy_reg_82580(struct e1000_hw *hw, u32 offset, u16 data) argument 2423 e1000_reset_mdicnfg_82580(struct e1000_hw *hw) argument 2461 e1000_reset_hw_82580(struct e1000_hw *hw) argument 2580 e1000_validate_nvm_checksum_with_offset(struct e1000_hw *hw, u16 offset) argument 2617 e1000_update_nvm_checksum_with_offset(struct e1000_hw *hw, u16 offset) argument 2651 e1000_validate_nvm_checksum_82580(struct e1000_hw *hw) argument 2692 e1000_update_nvm_checksum_82580(struct e1000_hw *hw) argument 2736 e1000_validate_nvm_checksum_i350(struct e1000_hw *hw) argument 2764 e1000_update_nvm_checksum_i350(struct e1000_hw *hw) argument 2790 __e1000_access_emi_reg(struct e1000_hw *hw, u16 address, u16 *data, bool read) argument 2815 e1000_read_emi_reg(struct e1000_hw *hw, u16 addr, u16 *data) argument 2828 e1000_initialize_M88E1512_phy(struct e1000_hw *hw) argument 2917 e1000_initialize_M88E1543_phy(struct e1000_hw *hw) argument 3019 e1000_set_eee_i350(struct e1000_hw *hw, bool adv1G, bool adv100M) argument 3074 e1000_set_eee_i354(struct e1000_hw *hw, bool adv1G, bool adv100M) argument 3156 e1000_get_eee_status_i354(struct e1000_hw *hw, bool *status) argument 3195 e1000_clear_vfta_i350(struct e1000_hw *hw) argument 3219 e1000_write_vfta_i350(struct e1000_hw *hw, u32 offset, u32 value) argument 3239 e1000_set_i2c_bb(struct e1000_hw *hw) argument 3271 e1000_read_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument 3362 e1000_write_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument 3431 e1000_i2c_start(struct e1000_hw *hw) argument 3462 e1000_i2c_stop(struct e1000_hw *hw) argument 3488 e1000_clock_in_i2c_byte(struct e1000_hw *hw, u8 *data) argument 3511 e1000_clock_out_i2c_byte(struct e1000_hw *hw, u8 data) argument 3544 e1000_get_i2c_ack(struct e1000_hw *hw) argument 3590 e1000_clock_in_i2c_bit(struct e1000_hw *hw, bool *data) argument 3619 e1000_clock_out_i2c_bit(struct e1000_hw *hw, bool data) argument 3653 e1000_raise_i2c_clk(struct e1000_hw *hw, u32 *i2cctl) argument 3673 e1000_lower_i2c_clk(struct e1000_hw *hw, u32 *i2cctl) argument 3695 e1000_set_i2c_data(struct e1000_hw *hw, u32 *i2cctl, bool data) argument 3751 e1000_i2c_bus_clear(struct e1000_hw *hw) argument [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, 66 * @hw: pointer to the HW structure 70 void e1000_init_phy_ops_generic(struct e1000_hw *hw) argument 72 struct e1000_phy_info *phy = &hw->phy; 105 * @hw: pointer to the HW structure 107 s32 e1000_null_set_page(struct e1000_hw E1000_UNUSEDARG *hw, argument 116 * @hw: pointer to the HW structure 118 s32 e1000_null_read_reg(struct e1000_hw E1000_UNUSEDARG *hw, argument 129 e1000_null_phy_generic(struct e1000_hw E1000_UNUSEDARG *hw) argument 139 e1000_null_lplu_state(struct e1000_hw E1000_UNUSEDARG *hw, bool E1000_UNUSEDARG active) argument 150 e1000_null_write_reg(struct e1000_hw E1000_UNUSEDARG *hw, u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG data) argument 165 e1000_read_i2c_byte_null(struct e1000_hw E1000_UNUSEDARG *hw, u8 E1000_UNUSEDARG byte_offset, u8 E1000_UNUSEDARG dev_addr, u8 E1000_UNUSEDARG *data) argument 182 e1000_write_i2c_byte_null(struct e1000_hw E1000_UNUSEDARG *hw, u8 E1000_UNUSEDARG byte_offset, u8 E1000_UNUSEDARG dev_addr, u8 E1000_UNUSEDARG data) argument 199 e1000_check_reset_block_generic(struct e1000_hw *hw) argument 218 e1000_get_phy_id(struct e1000_hw *hw) argument 259 e1000_phy_reset_dsp_generic(struct e1000_hw *hw) argument 284 e1000_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) argument 349 e1000_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) argument 415 e1000_read_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 *data) argument 462 e1000_write_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 data) argument 523 e1000_read_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 *data) argument 578 e1000_write_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 data) argument 648 e1000_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data) argument 678 e1000_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data) argument 708 e1000_set_page_igp(struct e1000_hw *hw, u16 page) argument 730 __e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument 770 e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data) argument 784 e1000_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data) argument 799 __e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument 838 e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data) argument 852 e1000_write_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 data) argument 868 __e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument 912 e1000_read_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 *data) argument 927 e1000_read_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 *data) argument 943 __e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument 983 e1000_write_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 data) argument 997 e1000_write_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 data) argument 1008 e1000_set_master_slave_mode(struct e1000_hw *hw) argument 1048 e1000_copper_link_setup_82577(struct e1000_hw *hw) argument 1112 e1000_copper_link_setup_m88(struct e1000_hw *hw) argument 1264 e1000_copper_link_setup_m88_gen2(struct e1000_hw *hw) argument 1360 e1000_copper_link_setup_igp(struct e1000_hw *hw) argument 1470 e1000_phy_setup_autoneg(struct e1000_hw *hw) argument 1623 e1000_copper_link_autoneg(struct e1000_hw *hw) argument 1687 e1000_setup_copper_link_generic(struct e1000_hw *hw) argument 1740 e1000_phy_force_speed_duplex_igp(struct e1000_hw *hw) argument 1806 e1000_phy_force_speed_duplex_m88(struct e1000_hw *hw) argument 1945 e1000_phy_force_speed_duplex_ife(struct e1000_hw *hw) argument 2013 e1000_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl) argument 2076 e1000_set_d3_lplu_state_generic(struct e1000_hw *hw, bool active) argument 2160 e1000_check_downshift_generic(struct e1000_hw *hw) argument 2205 e1000_check_polarity_m88(struct e1000_hw *hw) argument 2232 e1000_check_polarity_igp(struct e1000_hw *hw) argument 2275 e1000_check_polarity_ife(struct e1000_hw *hw) argument 2310 e1000_wait_autoneg(struct e1000_hw *hw) argument 2348 e1000_phy_has_link_generic(struct e1000_hw *hw, u32 iterations, u32 usec_interval, bool *success) argument 2406 e1000_get_cable_length_m88(struct e1000_hw *hw) argument 2432 e1000_get_cable_length_m88_gen2(struct e1000_hw *hw) argument 2555 e1000_get_cable_length_igp_2(struct e1000_hw *hw) argument 2625 e1000_get_phy_info_m88(struct e1000_hw *hw) argument 2700 e1000_get_phy_info_igp(struct e1000_hw *hw) argument 2762 e1000_get_phy_info_ife(struct e1000_hw *hw) argument 2817 e1000_phy_sw_reset_generic(struct e1000_hw *hw) argument 2850 e1000_phy_hw_reset_generic(struct e1000_hw *hw) argument 2891 e1000_get_cfg_done_generic(struct e1000_hw E1000_UNUSEDARG *hw) argument 2906 e1000_phy_init_script_igp3(struct e1000_hw *hw) argument 3056 e1000_determine_phy_address(struct e1000_hw *hw) argument 3111 e1000_write_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 data) argument 3171 e1000_read_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 *data) argument 3230 e1000_read_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 *data) argument 3275 e1000_write_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 data) argument 3320 e1000_enable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg) argument 3378 e1000_disable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg) argument 3428 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset, u16 *data, bool read, bool page_set) argument 3491 e1000_power_up_phy_copper(struct e1000_hw *hw) argument 3509 e1000_power_down_phy_copper(struct e1000_hw *hw) argument 3531 __e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data, bool locked, bool page_set) argument 3597 e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data) argument 3611 e1000_read_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 *data) argument 3625 e1000_read_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 *data) argument 3640 __e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data, bool locked, bool page_set) argument 3722 e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data) argument 3736 e1000_write_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 data) argument 3750 e1000_write_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 data) argument 3781 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset, u16 *data, bool read) argument 3828 e1000_link_stall_workaround_hv(struct e1000_hw *hw) argument 3876 e1000_check_polarity_82577(struct e1000_hw *hw) argument 3900 e1000_phy_force_speed_duplex_82577(struct e1000_hw *hw) argument 3949 e1000_get_phy_info_82577(struct e1000_hw *hw) argument 4012 e1000_get_cable_length_82577(struct e1000_hw *hw) argument 4044 e1000_write_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 data) argument 4076 e1000_read_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 *data) argument 4107 e1000_read_phy_reg_mphy(struct e1000_hw *hw, u32 address, u32 *data) argument 4168 e1000_write_phy_reg_mphy(struct e1000_hw *hw, u32 address, u32 data, bool line_override) argument 4230 e1000_is_mphy_ready(struct e1000_hw *hw) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_ctx.c | 579 hardware_context *hw = &adapter->ahw; local 585 adapter->ctxDesc->CmdRingAddrLo = hw->cmdDesc_physAddr & 0xffffffffUL; 586 adapter->ctxDesc->CmdRingAddrHi = ((U64)hw->cmdDesc_physAddr >> 32);
|
H A D | unm_nic_main.c | 486 hardware_context *hw = &adapter->ahw; local 528 &hw->cmd_desc_dma_handle, 529 &hw->cmd_desc_acc_handle); 535 hw->cmdDesc_physAddr = cookie.dmac_laddress; 536 hw->cmdDescHead = (cmdDescType0_t *)addr; 766 hardware_context *hw; local 776 hw = &adapter->ahw; 797 hwdesc = &hw->cmdDescHead[producer]; 836 unm_desc_dma_sync(hw->cmd_desc_dma_handle, 843 hw 885 hardware_context *hw; local [all...] |
/illumos-gate/usr/src/uts/common/io/usb/clients/usbkbm/ |
H A D | usbkbm.c | 1348 usbkbm_polled_keycheck(struct kbtrans_hardware *hw, argument 1356 usbkbmd = (usbkbm_state_t *)hw; 1561 usbkbm_polled_setled(struct kbtrans_hardware *hw, int led_state) argument
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_tx.c | 404 * (one redundant descriptor and one hw checksum context descriptor are 609 struct e1000_hw *hw; local 623 hw = &Adapter->shared; 674 if (hw->subsystem_vendor_id == 0x1af4 && 675 hw->subsystem_device_id == 0x1100 && 723 if (hw->bus.type == e1000_bus_type_pcix && 866 if (hw->mac.type == e1000_82547) 869 E1000_WRITE_REG(hw, E1000_TDT(0), 900 struct e1000_hw *hw; local 910 hw 1523 struct e1000_hw *hw = &tx_ring->adapter->shared; local 1648 struct e1000_hw *hw; local 1738 struct e1000_hw *hw = &Adapter->shared; local [all...] |
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_lan_hmc.c | 93 * @hw: pointer to the HW structure 107 enum i40e_status_code i40e_init_lan_hmc(struct i40e_hw *hw, u32 txq_num, argument 116 hw->hmc.signature = I40E_HMC_INFO_SIGNATURE; 117 hw->hmc.hmc_fn_id = hw->pf_id; 120 ret_code = i40e_allocate_virt_mem(hw, &hw->hmc.hmc_obj_virt_mem, 124 hw->hmc.hmc_obj = (struct i40e_hmc_obj_info *) 125 hw->hmc.hmc_obj_virt_mem.va; 128 full_obj = &hw 262 i40e_remove_pd_page(struct i40e_hw *hw, struct i40e_hmc_info *hmc_info, u32 idx) argument 289 i40e_remove_sd_bp(struct i40e_hw *hw, struct i40e_hmc_info *hmc_info, u32 idx) argument 309 i40e_create_lan_hmc_object(struct i40e_hw *hw, struct i40e_hmc_lan_create_obj_info *info) argument 468 i40e_configure_lan_hmc(struct i40e_hw *hw, enum i40e_hmc_model model) argument 553 i40e_delete_lan_hmc_object(struct i40e_hw *hw, struct i40e_hmc_lan_delete_obj_info *info) argument 665 i40e_shutdown_lan_hmc(struct i40e_hw *hw) argument 1170 i40e_clear_hmc_context(struct i40e_hw *hw, u8 *context_bytes, enum i40e_hmc_lan_rsrc_type hmc_type) argument 1229 i40e_hmc_get_object_va(struct i40e_hw *hw, u8 **object_base, enum i40e_hmc_lan_rsrc_type rsrc_type, u32 obj_idx) argument 1300 i40e_get_lan_tx_queue_context(struct i40e_hw *hw, u16 queue, struct i40e_hmc_obj_txq *s) argument 1320 i40e_clear_lan_tx_queue_context(struct i40e_hw *hw, u16 queue) argument 1339 i40e_set_lan_tx_queue_context(struct i40e_hw *hw, u16 queue, struct i40e_hmc_obj_txq *s) argument 1360 i40e_get_lan_rx_queue_context(struct i40e_hw *hw, u16 queue, struct i40e_hmc_obj_rxq *s) argument 1380 i40e_clear_lan_rx_queue_context(struct i40e_hw *hw, u16 queue) argument 1399 i40e_set_lan_rx_queue_context(struct i40e_hw *hw, u16 queue, struct i40e_hmc_obj_rxq *s) argument [all...] |
/illumos-gate/usr/src/uts/common/disp/ |
H A D | cmt.c | 129 #define PG_CMT_HW_SUSPECT(hw) PGHW_IS_PM_DOMAIN(hw) 241 pg_cmt_policy(pghw_type_t hw) argument 248 if ((p = pg_plat_cmt_policy(hw)) != CMT_NO_POLICY) 251 switch (hw) { 505 pghw_type_t hw; local 529 for (hw = PGHW_START; hw < PGHW_NUM_COMPONENTS; hw++) { 534 * We're only interested in the hw sharin 1474 pghw_type_t hw; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | conskbd.c | 2127 conskbd_streams_setled(struct kbtrans_hardware *hw, int led_state) argument 2129 conskbd_state_t *conskbdp = (conskbd_state_t *)hw; 2165 conskbd_polledio_setled(struct kbtrans_hardware *hw, int led_state) argument 2167 conskbd_state_t *conskbdp = (conskbd_state_t *)hw; 2182 conskbd_polled_keycheck(struct kbtrans_hardware *hw, argument 2185 conskbd_state_t *conskbdp = (conskbd_state_t *)hw;
|
H A D | fssnap.c | 2180 kstat_named_t *hw; local 2191 hw = (kstat_named_t *)fssnap_highwater_kstat->ks_data; 2192 if (hw->value.ui32 < snapnum) 2193 hw->value.ui32 = snapnum;
|
/illumos-gate/usr/src/uts/common/io/kb8042/ |
H A D | kb8042.c | 128 static void kb8042_streams_setled(struct kbtrans_hardware *hw, int led_state); 129 static void kb8042_polled_setled(struct kbtrans_hardware *hw, int led_state); 131 struct kbtrans_hardware *hw, int *key, 1172 struct kbtrans_hardware *hw, 1176 struct kb8042 *kb8042 = (struct kb8042 *)hw; 1247 kb8042_polled_setled(struct kbtrans_hardware *hw, int led_state) argument 1249 struct kb8042 *kb8042 = (struct kb8042 *)hw; 1254 kb8042_streams_setled(struct kbtrans_hardware *hw, int led_state) argument 1256 struct kb8042 *kb8042 = (struct kb8042 *)hw; 1171 kb8042_polled_keycheck( struct kbtrans_hardware *hw, int *key, enum keystate *state) argument
|
/illumos-gate/usr/src/uts/common/io/kbtrans/ |
H A D | kbtrans_streams.c | 229 struct kbtrans_hardware *hw, 274 upper->kbtrans_streams_hw = hw; 226 kbtrans_streams_init( queue_t *q, int sflag, struct kbtrans_hardware *hw, struct kbtrans_callbacks *hw_cb, struct kbtrans **ret_kbd, int initial_leds, int initial_led_mask) argument
|
/illumos-gate/usr/src/uts/common/io/i40e/ |
H A D | i40e_main.c | 492 i40e_hw_t *hw = &i40e->i40e_hw_space; local 493 ASSERT(hw->num_ports > 0); 494 ASSERT(hw->num_partitions > 0); 507 idp->id_nfuncs = hw->num_ports * hw->num_partitions; 545 i40e_hw_t *hw = &i40e->i40e_hw_space; local 551 hw->phy.get_link_info = B_TRUE; 552 if ((ret = i40e_get_link_status(hw, &ls)) != I40E_SUCCESS) { 565 speed = i40e_get_link_speed(hw); 759 i40e_hw_t *hw local 792 i40e_get_hw_capabilities(i40e_t *i40e, i40e_hw_t *hw) argument 837 i40e_hw_t *hw = &i40e->i40e_hw_space; local 910 i40e_hw_t *hw = &i40e->i40e_hw_space; local 1158 i40e_hw_to_instance(i40e_t *i40e, i40e_hw_t *hw) argument 1175 i40e_hw_t *hw = &i40e->i40e_hw_space; local 1193 i40e_common_code_init(i40e_t *i40e, i40e_hw_t *hw) argument 1376 i40e_hw_t *hw = &i40e->i40e_hw_space; local 1425 i40e_hw_t *hw = &i40e->i40e_hw_space; local 1455 i40e_hw_t *hw = &i40e->i40e_hw_space; local 1833 i40e_get_hw_state(i40e_t *i40e, i40e_hw_t *hw) argument 1888 i40e_init_macaddrs(i40e_t *i40e, i40e_hw_t *hw) argument 1898 i40e_config_vsi(i40e_t *i40e, i40e_hw_t *hw) argument 1946 i40e_hw_t *hw = &i40e->i40e_hw_space; local 1999 i40e_hw_t *hw = &i40e->i40e_hw_space; local 2049 i40e_hw_t *hw = &i40e->i40e_hw_space; local 2108 i40e_hw_t *hw = &i40e->i40e_hw_space; local 2175 i40e_hw_t *hw = &i40e->i40e_hw_space; local 2234 i40e_hw_t *hw = &i40e->i40e_hw_space; local 2303 i40e_hw_t *hw = &i40e->i40e_hw_space; local 2374 i40e_hw_t *hw = &i40e->i40e_hw_space; local 2523 i40e_hw_t *hw = &i40e->i40e_hw_space; local 2641 i40e_hw_t *hw; local [all...] |
H A D | i40e_transceiver.c | 1369 i40e_hw_t *hw; local 1381 hw = &i40e->i40e_hw_space; 1544 I40E_WRITE_REG(hw, I40E_QRX_TAIL(itrq->itrq_index), tail); 2108 i40e_hw_t *hw = &i40e->i40e_hw_space; local 2229 I40E_WRITE_REG(hw, I40E_QTX_TAIL(itrq->itrq_index),
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | e1000.c | 71 * Some member variables of the hw struct have been eliminated 88 static struct e1000_hw hw; variable in typeref:struct:e1000_hw 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); 182 e1000_pci_set_mwi(struct e1000_hw *hw) argument 187 e1000_pci_clear_mwi(struct e1000_hw *hw) argument 200 e1000_raise_ee_clk(struct e1000_hw *hw, uint32_t *eecd) argument 219 e1000_lower_ee_clk(struct e1000_hw *hw, uint32_t *eecd) argument 239 e1000_shift_out_ee_bits(struct e1000_hw *hw, uint16_t data, uint16_t count) argument 292 e1000_shift_in_ee_bits(struct e1000_hw *hw, uint16_t count) argument 336 e1000_acquire_eeprom(struct e1000_hw *hw) argument 388 e1000_standby_eeprom(struct e1000_hw *hw) argument 439 e1000_release_eeprom(struct e1000_hw *hw) argument 486 e1000_spi_eeprom_ready(struct e1000_hw *hw) argument 529 e1000_read_eeprom(struct e1000_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument 611 e1000_validate_eeprom_checksum(struct e1000_hw *hw) argument 641 e1000_read_mac_addr(struct e1000_hw *hw) argument 675 e1000_init_rx_addrs(struct e1000_hw *hw) argument 709 e1000_clear_vfta(struct e1000_hw *hw) argument 723 e1000_write_reg_io(struct e1000_hw *hw, uint32_t offset, uint32_t value) argument 736 e1000_set_phy_type(struct e1000_hw *hw) argument 764 e1000_phy_init_script(struct e1000_hw *hw) argument 844 e1000_set_mac_type(struct e1000_hw *hw) argument 927 e1000_set_media_type(struct e1000_hw *hw) argument 966 e1000_reset_hw(struct e1000_hw *hw) argument 1107 e1000_init_hw(struct e1000_hw *hw) argument 1229 e1000_adjust_serdes_amplitude(struct e1000_hw *hw) argument 1275 e1000_setup_link(struct e1000_hw *hw) argument 1403 e1000_setup_fiber_serdes_link(struct e1000_hw *hw) argument 1541 e1000_setup_copper_link(struct e1000_hw *hw) argument 1894 e1000_phy_setup_autoneg(struct e1000_hw *hw) argument 2036 e1000_config_collision_dist(struct e1000_hw *hw) argument 2059 e1000_config_mac_to_phy(struct e1000_hw *hw) argument 2131 e1000_force_mac_fc(struct e1000_hw *hw) argument 2198 e1000_config_fc_after_link_up(struct e1000_hw *hw) argument 2400 e1000_check_for_link(struct e1000_hw *hw) argument 2598 e1000_get_speed_and_duplex(struct e1000_hw *hw, uint16_t *speed, uint16_t *duplex) argument 2639 e1000_wait_autoneg(struct e1000_hw *hw) argument 2674 e1000_raise_mdi_clk(struct e1000_hw *hw, uint32_t *ctrl) argument 2692 e1000_lower_mdi_clk(struct e1000_hw *hw, uint32_t *ctrl) argument 2713 e1000_shift_out_mdi_bits(struct e1000_hw *hw, uint32_t data, uint16_t count) argument 2761 e1000_shift_in_mdi_bits(struct e1000_hw *hw) argument 2813 e1000_read_phy_reg(struct e1000_hw *hw, uint32_t reg_addr, uint16_t *phy_data) argument 2835 e1000_read_phy_reg_ex(struct e1000_hw *hw, uint32_t reg_addr, uint16_t *phy_data) argument 2916 e1000_write_phy_reg(struct e1000_hw *hw, uint32_t reg_addr, uint16_t phy_data) argument 2938 e1000_write_phy_reg_ex(struct e1000_hw *hw, uint32_t reg_addr, uint16_t phy_data) argument 3006 e1000_phy_hw_reset(struct e1000_hw *hw) argument 3049 e1000_phy_reset(struct e1000_hw *hw) argument 3079 e1000_detect_gig_phy(struct e1000_hw *hw) argument 3142 e1000_init_eeprom_params(struct e1000_hw *hw) argument 3254 e1000_reset(struct e1000_hw *hw) argument 3293 e1000_sw_init(struct pci_device *pdev, struct e1000_hw *hw) argument [all...] |
/illumos-gate/usr/src/uts/common/io/rwn/ |
H A D | rt2860.c | 1662 uint32_t hw; local 1667 hw = RT2860_READ(sc, RT2860_TX_DTX_IDX(qid)); 1669 "hw = %x, ring->next = %x, queued = %d\n", 1670 hw, ring->next, ring->queued); 1671 while (ring->next != hw) {
|
/illumos-gate/usr/src/uts/common/io/wpi/ |
H A D | wpi.c | 491 * Get the hw conf, including MAC address, then init all rings. 1825 uint32_t hw; local 1834 hw = LE_32(sc->sc_shared->next); 1836 while (sc->sc_rxq.cur != hw) { 1840 WPI_DBG((WPI_DEBUG_INTR, "rx notification hw = %d cur = %d " 1842 hw, sc->sc_rxq.cur, desc->qid, desc->idx, desc->flags, 1887 * is considered as a hw error, the 1933 hw = (hw == 0) ? WPI_RX_RING_COUNT - 1 : hw 3217 uint32_t hw; local [all...] |