/freebsd-11-stable/sys/dev/ixgbe/ |
H A D | ixgbe_api.c | 62 * @hw: pointer to hardware structure 67 void ixgbe_dcb_get_rtrup2tc(struct ixgbe_hw *hw, u8 *map) argument 69 if (hw->mac.ops.get_rtrup2tc) 70 hw->mac.ops.get_rtrup2tc(hw, map); 75 * @hw: pointer to hardware structure 81 * hw structure should be filled in prior to calling this function: 85 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw) argument 94 ixgbe_set_mac_type(hw); 96 switch (hw 131 ixgbe_set_mac_type(struct ixgbe_hw *hw) argument 231 ixgbe_init_hw(struct ixgbe_hw *hw) argument 244 ixgbe_reset_hw(struct ixgbe_hw *hw) argument 260 ixgbe_start_hw(struct ixgbe_hw *hw) argument 274 ixgbe_enable_relaxed_ordering(struct ixgbe_hw *hw) argument 287 ixgbe_clear_hw_cntrs(struct ixgbe_hw *hw) argument 299 ixgbe_get_media_type(struct ixgbe_hw *hw) argument 315 ixgbe_get_mac_addr(struct ixgbe_hw *hw, u8 *mac_addr) argument 329 ixgbe_get_san_mac_addr(struct ixgbe_hw *hw, u8 *san_mac_addr) argument 342 ixgbe_set_san_mac_addr(struct ixgbe_hw *hw, u8 *san_mac_addr) argument 355 ixgbe_get_device_caps(struct ixgbe_hw *hw, u16 *device_caps) argument 370 ixgbe_get_wwn_prefix(struct ixgbe_hw *hw, u16 *wwnn_prefix, u16 *wwpn_prefix) argument 385 ixgbe_get_fcoe_boot_status(struct ixgbe_hw *hw, u16 *bs) argument 398 ixgbe_get_bus_info(struct ixgbe_hw *hw) argument 410 ixgbe_get_num_of_tx_queues(struct ixgbe_hw *hw) argument 421 ixgbe_get_num_of_rx_queues(struct ixgbe_hw *hw) argument 435 ixgbe_stop_adapter(struct ixgbe_hw *hw) argument 449 ixgbe_read_pba_string(struct ixgbe_hw *hw, u8 *pba_num, u32 pba_num_size) argument 461 ixgbe_read_pba_num(struct ixgbe_hw *hw, u32 *pba_num) argument 472 ixgbe_identify_phy(struct ixgbe_hw *hw) argument 488 ixgbe_reset_phy(struct ixgbe_hw *hw) argument 509 ixgbe_get_phy_firmware_version(struct ixgbe_hw *hw, u16 *firmware_version) argument 527 ixgbe_read_phy_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) argument 545 ixgbe_write_phy_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument 561 ixgbe_setup_phy_link(struct ixgbe_hw *hw) argument 575 ixgbe_setup_internal_phy(struct ixgbe_hw *hw) argument 588 ixgbe_check_phy_link(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up) argument 602 ixgbe_setup_phy_link_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument 615 ixgbe_set_phy_power(struct ixgbe_hw *hw, bool on) argument 627 ixgbe_check_link(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool link_up_wait_to_complete) argument 641 ixgbe_disable_tx_laser(struct ixgbe_hw *hw) argument 653 ixgbe_enable_tx_laser(struct ixgbe_hw *hw) argument 667 ixgbe_flap_tx_laser(struct ixgbe_hw *hw) argument 681 ixgbe_setup_link(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument 697 ixgbe_setup_mac_link(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument 711 ixgbe_get_link_capabilities(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument 725 ixgbe_led_on(struct ixgbe_hw *hw, u32 index) argument 738 ixgbe_led_off(struct ixgbe_hw *hw, u32 index) argument 751 ixgbe_blink_led_start(struct ixgbe_hw *hw, u32 index) argument 763 ixgbe_blink_led_stop(struct ixgbe_hw *hw, u32 index) argument 776 ixgbe_init_eeprom_params(struct ixgbe_hw *hw) argument 793 ixgbe_write_eeprom(struct ixgbe_hw *hw, u16 offset, u16 data) argument 810 ixgbe_write_eeprom_buffer(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 826 ixgbe_read_eeprom(struct ixgbe_hw *hw, u16 offset, u16 *data) argument 841 ixgbe_read_eeprom_buffer(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 856 ixgbe_validate_eeprom_checksum(struct ixgbe_hw *hw, u16 *checksum_val) argument 866 ixgbe_update_eeprom_checksum(struct ixgbe_hw *hw) argument 881 ixgbe_insert_mac_addr(struct ixgbe_hw *hw, u8 *addr, u32 vmdq) argument 898 ixgbe_set_rar(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, u32 enable_addr) argument 912 ixgbe_clear_rar(struct ixgbe_hw *hw, u32 index) argument 924 ixgbe_set_vmdq(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument 936 ixgbe_set_vmdq_san_mac(struct ixgbe_hw *hw, u32 vmdq) argument 948 ixgbe_clear_vmdq(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument 962 ixgbe_init_rx_addrs(struct ixgbe_hw *hw) argument 972 ixgbe_get_num_rx_addrs(struct ixgbe_hw *hw) argument 988 ixgbe_update_uc_addr_list(struct ixgbe_hw *hw, u8 *addr_list, u32 addr_count, ixgbe_mc_addr_itr func) argument 1008 ixgbe_update_mc_addr_list(struct ixgbe_hw *hw, u8 *mc_addr_list, u32 mc_addr_count, ixgbe_mc_addr_itr func, bool clear) argument 1023 ixgbe_enable_mc(struct ixgbe_hw *hw) argument 1035 ixgbe_disable_mc(struct ixgbe_hw *hw) argument 1047 ixgbe_clear_vfta(struct ixgbe_hw *hw) argument 1063 ixgbe_set_vfta(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, bool vlvf_bypass) argument 1083 ixgbe_set_vlvf(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, u32 *vfta_delta, u32 vfta, bool vlvf_bypass) argument 1097 ixgbe_fc_enable(struct ixgbe_hw *hw) argument 1109 ixgbe_setup_fc(struct ixgbe_hw *hw) argument 1125 ixgbe_set_fw_drv_ver(struct ixgbe_hw *hw, u8 maj, u8 min, u8 build, u8 ver, u16 len, char *driver_ver) argument 1142 ixgbe_dmac_config(struct ixgbe_hw *hw) argument 1154 ixgbe_dmac_update_tcs(struct ixgbe_hw *hw) argument 1167 ixgbe_dmac_config_tcs(struct ixgbe_hw *hw) argument 1183 ixgbe_setup_eee(struct ixgbe_hw *hw, bool enable_eee) argument 1195 ixgbe_set_source_address_pruning(struct ixgbe_hw *hw, bool enable, unsigned int pool) argument 1209 ixgbe_set_ethertype_anti_spoofing(struct ixgbe_hw *hw, bool enable, int vf) argument 1224 ixgbe_read_iosf_sb_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u32 *phy_data) argument 1240 ixgbe_write_iosf_sb_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u32 phy_data) argument 1252 ixgbe_disable_mdd(struct ixgbe_hw *hw) argument 1263 ixgbe_enable_mdd(struct ixgbe_hw *hw) argument 1275 ixgbe_mdd_event(struct ixgbe_hw *hw, u32 *vf_bitmap) argument 1288 ixgbe_restore_mdd_vf(struct ixgbe_hw *hw, u32 vf) argument 1301 ixgbe_enter_lplu(struct ixgbe_hw *hw) argument 1318 ixgbe_handle_lasi(struct ixgbe_hw *hw) argument 1332 ixgbe_bypass_rw(struct ixgbe_hw *hw, u32 cmd, u32 *status) argument 1350 ixgbe_bypass_valid_rd(struct ixgbe_hw *hw, u32 in_reg, u32 out_reg) argument 1368 ixgbe_bypass_set(struct ixgbe_hw *hw, u32 cmd, u32 event, u32 action) argument 1381 ixgbe_bypass_rd_eep(struct ixgbe_hw *hw, u32 addr, u8 *value) argument 1395 ixgbe_read_analog_reg8(struct ixgbe_hw *hw, u32 reg, u8 *val) argument 1409 ixgbe_write_analog_reg8(struct ixgbe_hw *hw, u32 reg, u8 val) argument 1422 ixgbe_init_uta_tables(struct ixgbe_hw *hw) argument 1437 ixgbe_read_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument 1453 ixgbe_read_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument 1470 ixgbe_read_link(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val) argument 1485 ixgbe_read_link_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val) argument 1501 ixgbe_write_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument 1518 ixgbe_write_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument 1535 ixgbe_write_link(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val) argument 1550 ixgbe_write_link_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val) argument 1564 ixgbe_write_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data) argument 1580 ixgbe_read_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) argument 1593 ixgbe_get_supported_physical_layer(struct ixgbe_hw *hw) argument 1606 ixgbe_enable_rx_dma(struct ixgbe_hw *hw, u32 regval) argument 1618 ixgbe_disable_sec_rx_path(struct ixgbe_hw *hw) argument 1630 ixgbe_enable_sec_rx_path(struct ixgbe_hw *hw) argument 1644 ixgbe_acquire_swfw_semaphore(struct ixgbe_hw *hw, u32 mask) argument 1658 ixgbe_release_swfw_semaphore(struct ixgbe_hw *hw, u32 mask) argument 1673 ixgbe_init_swfw_semaphore(struct ixgbe_hw *hw) argument 1680 ixgbe_disable_rx(struct ixgbe_hw *hw) argument 1686 ixgbe_enable_rx(struct ixgbe_hw *hw) argument 1699 ixgbe_set_rate_select_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed) argument [all...] |
H A D | ixgbe_82598.h | 38 u32 ixgbe_get_pcie_msix_count_82598(struct ixgbe_hw *hw); 39 s32 ixgbe_fc_enable_82598(struct ixgbe_hw *hw); 40 s32 ixgbe_start_hw_82598(struct ixgbe_hw *hw); 41 void ixgbe_enable_relaxed_ordering_82598(struct ixgbe_hw *hw); 42 s32 ixgbe_set_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq); 43 s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, 45 s32 ixgbe_read_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 *val); 46 s32 ixgbe_write_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 val); 47 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, 49 u64 ixgbe_get_supported_physical_layer_82598(struct ixgbe_hw *hw); [all...] |
H A D | ixgbe_82599.h | 38 s32 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw, 40 enum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw); 41 void ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 42 void ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 43 void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 44 void ixgbe_set_hard_rate_select_speed(struct ixgbe_hw *hw, 46 s32 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, 49 s32 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, 51 s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed, 53 s32 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw); [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 191 ixgbe_write_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val, bool lock) argument 252 ixgbe_init_phy_ops_generic(struct ixgbe_hw *hw) argument 291 ixgbe_probe_phy(struct ixgbe_hw *hw, u16 phy_addr) argument 326 ixgbe_identify_phy_generic(struct ixgbe_hw *hw) argument 379 ixgbe_check_reset_blocked(struct ixgbe_hw *hw) argument 404 ixgbe_validate_phy_addr(struct ixgbe_hw *hw, u32 phy_addr) argument 428 ixgbe_get_phy_id(struct ixgbe_hw *hw) argument 499 ixgbe_reset_phy_generic(struct ixgbe_hw *hw) argument 581 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) argument 662 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) argument 688 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument 762 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument 787 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw) argument 877 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument 922 ixgbe_get_copper_speeds_supported(struct ixgbe_hw *hw) argument 962 ixgbe_get_copper_link_capabilities_generic(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument 985 ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up) argument 1033 ixgbe_setup_phy_link_tnx(struct ixgbe_hw *hw) argument 1110 ixgbe_get_phy_firmware_version_tnx(struct ixgbe_hw *hw, u16 *firmware_version) argument 1129 ixgbe_get_phy_firmware_version_generic(struct ixgbe_hw *hw, u16 *firmware_version) argument 1147 ixgbe_reset_phy_nl(struct ixgbe_hw *hw) argument 1265 ixgbe_identify_module_generic(struct ixgbe_hw *hw) argument 1295 ixgbe_identify_sfp_module_generic(struct ixgbe_hw *hw) argument 1576 ixgbe_get_supported_phy_sfp_layer_generic(struct ixgbe_hw *hw) argument 1638 ixgbe_identify_qsfp_module_generic(struct ixgbe_hw *hw) argument 1831 ixgbe_get_sfp_init_sequence_offsets(struct ixgbe_hw *hw, u16 *list_offset, u16 *data_offset) argument 1925 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) argument 1943 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 *sff8472_data) argument 1959 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data) argument 1975 ixgbe_is_sfp_probe(struct ixgbe_hw *hw, u8 offset, u8 addr) argument 1994 ixgbe_read_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data, bool lock) argument 2084 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument 2100 ixgbe_read_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument 2117 ixgbe_write_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data, bool lock) argument 2187 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument 2203 ixgbe_write_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument 2217 ixgbe_i2c_start(struct ixgbe_hw *hw) argument 2252 ixgbe_i2c_stop(struct ixgbe_hw *hw) argument 2288 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data) argument 2311 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data) argument 2344 ixgbe_get_i2c_ack(struct ixgbe_hw *hw) argument 2397 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data) argument 2433 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data) argument 2470 ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl) argument 2506 ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl) argument 2529 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl, bool data) argument 2576 ixgbe_get_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl) argument 2605 ixgbe_i2c_bus_clear(struct ixgbe_hw *hw) argument 2641 ixgbe_tn_check_overtemp(struct ixgbe_hw *hw) argument 2669 ixgbe_set_copper_phy_power(struct ixgbe_hw *hw, bool on) argument [all...] |
H A D | ixgbe_x540.h | 40 s32 ixgbe_get_link_capabilities_X540(struct ixgbe_hw *hw, 42 enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw); 43 s32 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed, 45 s32 ixgbe_reset_hw_X540(struct ixgbe_hw *hw); 46 s32 ixgbe_start_hw_X540(struct ixgbe_hw *hw); 47 u64 ixgbe_get_supported_physical_layer_X540(struct ixgbe_hw *hw); 49 s32 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw); 50 s32 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data); 51 s32 ixgbe_read_eerd_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, 53 s32 ixgbe_write_eewr_X540(struct ixgbe_hw *hw, u1 [all...] |
H A D | ixgbe_api.h | 40 void ixgbe_dcb_get_rtrup2tc(struct ixgbe_hw *hw, u8 *map); 42 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw); 44 extern s32 ixgbe_init_ops_82598(struct ixgbe_hw *hw); 45 extern s32 ixgbe_init_ops_82599(struct ixgbe_hw *hw); 46 extern s32 ixgbe_init_ops_X540(struct ixgbe_hw *hw); 47 extern s32 ixgbe_init_ops_X550(struct ixgbe_hw *hw); 48 extern s32 ixgbe_init_ops_X550EM(struct ixgbe_hw *hw); 49 extern s32 ixgbe_init_ops_X550EM_x(struct ixgbe_hw *hw); 50 extern s32 ixgbe_init_ops_X550EM_a(struct ixgbe_hw *hw); 52 s32 ixgbe_set_mac_type(struct ixgbe_hw *hw); [all...] |
H A D | ixgbe_common.h | 39 #define IXGBE_WRITE_REG64(hw, reg, value) \ 41 IXGBE_WRITE_REG(hw, reg, (u32) value); \ 42 IXGBE_WRITE_REG(hw, reg + 4, (u32) (value >> 32)); \ 52 void ixgbe_dcb_get_rtrup2tc_generic(struct ixgbe_hw *hw, u8 *map); 54 u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw); 55 s32 ixgbe_init_ops_generic(struct ixgbe_hw *hw); 56 s32 ixgbe_init_hw_generic(struct ixgbe_hw *hw); 57 s32 ixgbe_start_hw_generic(struct ixgbe_hw *hw); 58 s32 ixgbe_start_hw_gen2(struct ixgbe_hw *hw); 59 s32 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw); [all...] |
H A D | ixgbe_osdep.c | 38 ixgbe_read_pci_cfg(struct ixgbe_hw *hw, u32 reg) argument 40 return pci_read_config(((struct adapter *)hw->back)->dev, reg, 2); 44 ixgbe_write_pci_cfg(struct ixgbe_hw *hw, u32 reg, u16 value) argument 46 pci_write_config(((struct adapter *)hw->back)->dev, reg, value, 2); 50 ixgbe_read_reg(struct ixgbe_hw *hw, u32 reg) argument 52 return bus_space_read_4(((struct adapter *)hw->back)->osdep.mem_bus_space_tag, 53 ((struct adapter *)hw->back)->osdep.mem_bus_space_handle, reg); 57 ixgbe_write_reg(struct ixgbe_hw *hw, u32 reg, u32 val) argument 59 bus_space_write_4(((struct adapter *)hw->back)->osdep.mem_bus_space_tag, 60 ((struct adapter *)hw 65 ixgbe_read_reg_array(struct ixgbe_hw *hw, u32 reg, u32 offset) argument 73 ixgbe_write_reg_array(struct ixgbe_hw *hw, u32 reg, u32 offset, u32 val) argument [all...] |
H A D | ixgbe_x550.h | 40 s32 ixgbe_dmac_config_X550(struct ixgbe_hw *hw); 41 s32 ixgbe_dmac_config_tcs_X550(struct ixgbe_hw *hw); 42 s32 ixgbe_dmac_update_tcs_X550(struct ixgbe_hw *hw); 44 s32 ixgbe_get_bus_info_X550em(struct ixgbe_hw *hw); 45 s32 ixgbe_init_eeprom_params_X550(struct ixgbe_hw *hw); 46 s32 ixgbe_update_eeprom_checksum_X550(struct ixgbe_hw *hw); 47 s32 ixgbe_calc_eeprom_checksum_X550(struct ixgbe_hw *hw); 48 s32 ixgbe_calc_checksum_X550(struct ixgbe_hw *hw, u16 *buffer, u32 buffer_size); 49 s32 ixgbe_validate_eeprom_checksum_X550(struct ixgbe_hw *hw, u16 *checksum_val); 50 s32 ixgbe_update_flash_X550(struct ixgbe_hw *hw); [all...] |
/freebsd-11-stable/sys/dev/e1000/ |
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 405 e1000_setup_init_funcs(struct e1000_hw *hw, bool init_device) argument 534 e1000_get_bus_info(struct e1000_hw *hw) argument 549 e1000_clear_vfta(struct e1000_hw *hw) argument 564 e1000_write_vfta(struct e1000_hw *hw, u32 offset, u32 value) argument 579 e1000_update_mc_addr_list(struct e1000_hw *hw, u8 *mc_addr_list, u32 mc_addr_count) argument 595 e1000_force_mac_fc(struct e1000_hw *hw) argument 608 e1000_check_for_link(struct e1000_hw *hw) argument 623 e1000_check_mng_mode(struct e1000_hw *hw) argument 639 e1000_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length) argument 651 e1000_reset_hw(struct e1000_hw *hw) argument 666 e1000_init_hw(struct e1000_hw *hw) argument 682 e1000_setup_link(struct e1000_hw *hw) argument 700 e1000_get_speed_and_duplex(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 716 e1000_setup_led(struct e1000_hw *hw) argument 731 e1000_cleanup_led(struct e1000_hw *hw) argument 747 e1000_blink_led(struct e1000_hw *hw) argument 762 e1000_id_led_init(struct e1000_hw *hw) argument 777 e1000_led_on(struct e1000_hw *hw) argument 792 e1000_led_off(struct e1000_hw *hw) argument 807 e1000_reset_adaptive(struct e1000_hw *hw) argument 819 e1000_update_adaptive(struct e1000_hw *hw) argument 832 e1000_disable_pcie_master(struct e1000_hw *hw) argument 844 e1000_config_collision_dist(struct e1000_hw *hw) argument 858 e1000_rar_set(struct e1000_hw *hw, u8 *addr, u32 index) argument 872 e1000_validate_mdi_setting(struct e1000_hw *hw) argument 889 e1000_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) argument 903 e1000_enable_tx_pkt_filtering(struct e1000_hw *hw) argument 920 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, u16 length, u16 offset, u8 *sum) argument 933 e1000_mng_write_cmd_header(struct e1000_hw *hw, struct e1000_host_mng_command_header *hdr) argument 949 e1000_mng_enable_host_if(struct e1000_hw *hw) argument 961 e1000_set_obff_timer(struct e1000_hw *hw, u32 itr) argument 976 e1000_check_reset_block(struct e1000_hw *hw) argument 993 e1000_read_phy_reg(struct e1000_hw *hw, u32 offset, u16 *data) argument 1010 e1000_write_phy_reg(struct e1000_hw *hw, u32 offset, u16 data) argument 1025 e1000_release_phy(struct e1000_hw *hw) argument 1038 e1000_acquire_phy(struct e1000_hw *hw) argument 1050 e1000_cfg_on_link_up(struct e1000_hw *hw) argument 1068 e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data) argument 1083 e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data) argument 1096 e1000_get_cable_length(struct e1000_hw *hw) argument 1112 e1000_get_phy_info(struct e1000_hw *hw) argument 1127 e1000_phy_hw_reset(struct e1000_hw *hw) argument 1142 e1000_phy_commit(struct e1000_hw *hw) argument 1164 e1000_set_d0_lplu_state(struct e1000_hw *hw, bool active) argument 1186 e1000_set_d3_lplu_state(struct e1000_hw *hw, bool active) argument 1202 e1000_read_mac_addr(struct e1000_hw *hw) argument 1221 e1000_read_pba_string(struct e1000_hw *hw, u8 *pba_num, u32 pba_num_size) argument 1236 e1000_read_pba_length(struct e1000_hw *hw, u32 *pba_num_size) argument 1248 e1000_validate_nvm_checksum(struct e1000_hw *hw) argument 1263 e1000_update_nvm_checksum(struct e1000_hw *hw) argument 1278 e1000_reload_nvm(struct e1000_hw *hw) argument 1294 e1000_read_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 1312 e1000_write_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 1330 e1000_write_8bit_ctrl_reg(struct e1000_hw *hw, u32 reg, u32 offset, u8 data) argument 1343 e1000_power_up_phy(struct e1000_hw *hw) argument 1358 e1000_power_down_phy(struct e1000_hw *hw) argument 1370 e1000_power_up_fiber_serdes_link(struct e1000_hw *hw) argument 1382 e1000_shutdown_fiber_serdes_link(struct e1000_hw *hw) argument [all...] |
H A D | e1000_mac.h | 38 void e1000_init_mac_ops_generic(struct e1000_hw *hw); 40 void e1000_null_mac_generic(struct e1000_hw *hw); 41 s32 e1000_null_ops_generic(struct e1000_hw *hw); 42 s32 e1000_null_link_info(struct e1000_hw *hw, u16 *s, u16 *d); 43 bool e1000_null_mng_mode(struct e1000_hw *hw); 44 void e1000_null_update_mc(struct e1000_hw *hw, u8 *h, u32 a); 45 void e1000_null_write_vfta(struct e1000_hw *hw, u32 a, u32 b); 46 int e1000_null_rar_set(struct e1000_hw *hw, u8 *h, u32 a); 47 s32 e1000_null_set_obff_timer(struct e1000_hw *hw, u32 a); 48 s32 e1000_blink_led_generic(struct e1000_hw *hw); [all...] |
H A D | e1000_80003es2lan.c | 41 static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw); 42 static void e1000_release_phy_80003es2lan(struct e1000_hw *hw); 43 static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw); 44 static void e1000_release_nvm_80003es2lan(struct e1000_hw *hw); 45 static s32 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, 48 static s32 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, 51 static s32 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, 53 static s32 e1000_get_cfg_done_80003es2lan(struct e1000_hw *hw); 54 static s32 e1000_phy_force_speed_duplex_80003es2lan(struct e1000_hw *hw); 55 static s32 e1000_get_cable_length_80003es2lan(struct e1000_hw *hw); 89 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw) argument 140 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw) argument 196 e1000_init_mac_params_80003es2lan(struct e1000_hw *hw) argument 280 e1000_init_function_pointers_80003es2lan(struct e1000_hw *hw) argument 295 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw) argument 311 e1000_release_phy_80003es2lan(struct e1000_hw *hw) argument 328 e1000_acquire_mac_csr_80003es2lan(struct e1000_hw *hw) argument 345 e1000_release_mac_csr_80003es2lan(struct e1000_hw *hw) argument 362 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw) argument 386 e1000_release_nvm_80003es2lan(struct e1000_hw *hw) argument 402 e1000_acquire_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask) argument 449 e1000_release_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask) argument 473 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, u32 offset, u16 *data) argument 544 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, u32 offset, u16 data) argument 616 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 631 e1000_get_cfg_done_80003es2lan(struct e1000_hw *hw) argument 662 e1000_phy_force_speed_duplex_80003es2lan(struct e1000_hw *hw) argument 757 e1000_get_cable_length_80003es2lan(struct e1000_hw *hw) argument 793 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 819 e1000_reset_hw_80003es2lan(struct e1000_hw *hw) argument 884 e1000_init_hw_80003es2lan(struct e1000_hw *hw) argument 994 e1000_initialize_hw_bits_80003es2lan(struct e1000_hw *hw) argument 1041 e1000_copper_link_setup_gg82563_80003es2lan(struct e1000_hw *hw) argument 1189 e1000_setup_copper_link_80003es2lan(struct e1000_hw *hw) argument 1248 e1000_cfg_on_link_up_80003es2lan(struct e1000_hw *hw) argument 1279 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex) argument 1330 e1000_cfg_kmrn_1000_80003es2lan(struct e1000_hw *hw) argument 1381 e1000_read_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, u16 *data) argument 1418 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, u16 data) argument 1446 e1000_read_mac_addr_80003es2lan(struct e1000_hw *hw) argument 1470 e1000_power_down_phy_copper_80003es2lan(struct e1000_hw *hw) argument 1486 e1000_clear_hw_cntrs_80003es2lan(struct e1000_hw *hw) argument [all...] |
H A D | e1000_api.h | 40 extern void e1000_init_function_pointers_82542(struct e1000_hw *hw); 41 extern void e1000_init_function_pointers_82543(struct e1000_hw *hw); 42 extern void e1000_init_function_pointers_82540(struct e1000_hw *hw); 43 extern void e1000_init_function_pointers_82571(struct e1000_hw *hw); 44 extern void e1000_init_function_pointers_82541(struct e1000_hw *hw); 45 extern void e1000_init_function_pointers_80003es2lan(struct e1000_hw *hw); 46 extern void e1000_init_function_pointers_ich8lan(struct e1000_hw *hw); 47 extern void e1000_init_function_pointers_82575(struct e1000_hw *hw); 48 extern void e1000_rx_fifo_flush_82575(struct e1000_hw *hw); 49 extern void e1000_init_function_pointers_vf(struct e1000_hw *hw); [all...] |
H A D | e1000_82543.c | 46 static s32 e1000_init_phy_params_82543(struct e1000_hw *hw); 47 static s32 e1000_init_nvm_params_82543(struct e1000_hw *hw); 48 static s32 e1000_init_mac_params_82543(struct e1000_hw *hw); 49 static s32 e1000_read_phy_reg_82543(struct e1000_hw *hw, u32 offset, 51 static s32 e1000_write_phy_reg_82543(struct e1000_hw *hw, u32 offset, 53 static s32 e1000_phy_force_speed_duplex_82543(struct e1000_hw *hw); 54 static s32 e1000_phy_hw_reset_82543(struct e1000_hw *hw); 55 static s32 e1000_reset_hw_82543(struct e1000_hw *hw); 56 static s32 e1000_init_hw_82543(struct e1000_hw *hw); 57 static s32 e1000_setup_link_82543(struct e1000_hw *hw); 84 e1000_init_phy_params_82543(struct e1000_hw *hw) argument 167 e1000_init_nvm_params_82543(struct e1000_hw *hw) argument 193 e1000_init_mac_params_82543(struct e1000_hw *hw) argument 269 e1000_init_function_pointers_82543(struct e1000_hw *hw) argument 285 e1000_tbi_compatibility_enabled_82543(struct e1000_hw *hw) argument 310 e1000_set_tbi_compatibility_82543(struct e1000_hw *hw, bool state) argument 337 e1000_tbi_sbp_enabled_82543(struct e1000_hw *hw) argument 362 e1000_set_tbi_sbp_82543(struct e1000_hw *hw, bool state) argument 383 e1000_init_phy_disabled_82543(struct e1000_hw *hw) argument 411 e1000_tbi_adjust_stats_82543(struct e1000_hw *hw, struct e1000_hw_stats *stats, u32 frame_len, u8 *mac_addr, u32 max_frame_size) argument 487 e1000_read_phy_reg_82543(struct e1000_hw *hw, u32 offset, u16 *data) argument 543 e1000_write_phy_reg_82543(struct e1000_hw *hw, u32 offset, u16 data) argument 590 e1000_raise_mdi_clk_82543(struct e1000_hw *hw, u32 *ctrl) argument 609 e1000_lower_mdi_clk_82543(struct e1000_hw *hw, u32 *ctrl) argument 630 e1000_shift_out_mdi_bits_82543(struct e1000_hw *hw, u32 data, u16 count) argument 682 e1000_shift_in_mdi_bits_82543(struct e1000_hw *hw) argument 741 e1000_phy_force_speed_duplex_82543(struct e1000_hw *hw) argument 767 e1000_polarity_reversal_workaround_82543(struct e1000_hw *hw) argument 861 e1000_phy_hw_reset_82543(struct e1000_hw *hw) argument 901 e1000_reset_hw_82543(struct e1000_hw *hw) argument 956 e1000_init_hw_82543(struct e1000_hw *hw) argument 1019 e1000_setup_link_82543(struct e1000_hw *hw) argument 1060 e1000_setup_copper_link_82543(struct e1000_hw *hw) argument 1148 e1000_setup_fiber_link_82543(struct e1000_hw *hw) argument 1197 e1000_check_for_copper_link_82543(struct e1000_hw *hw) argument 1333 e1000_check_for_fiber_link_82543(struct e1000_hw *hw) argument 1403 e1000_config_mac_to_phy_82543(struct e1000_hw *hw) argument 1457 e1000_write_vfta_82543(struct e1000_hw *hw, u32 offset, u32 value) argument 1480 e1000_led_on_82543(struct e1000_hw *hw) argument 1507 e1000_led_off_82543(struct e1000_hw *hw) argument 1533 e1000_clear_hw_cntrs_82543(struct e1000_hw *hw) argument 1569 e1000_read_mac_addr_82543(struct e1000_hw *hw) 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 132 e1000_sgmii_uses_mdio_82575(struct e1000_hw *hw) argument 163 e1000_init_phy_params_82575(struct e1000_hw *hw) argument 329 e1000_init_nvm_params_82575(struct e1000_hw *hw) argument 414 e1000_init_mac_params_82575(struct e1000_hw *hw) argument 533 e1000_init_function_pointers_82575(struct e1000_hw *hw) argument 549 e1000_acquire_phy_82575(struct e1000_hw *hw) argument 571 e1000_release_phy_82575(struct e1000_hw *hw) argument 596 e1000_read_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, u16 *data) argument 629 e1000_write_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, u16 data) argument 660 e1000_get_phy_id_82575(struct e1000_hw *hw) argument 762 e1000_phy_hw_reset_sgmii_82575(struct e1000_hw *hw) argument 810 e1000_set_d0_lplu_state_82575(struct e1000_hw *hw, bool active) argument 896 e1000_set_d0_lplu_state_82580(struct e1000_hw *hw, bool active) argument 943 e1000_set_d3_lplu_state_82580(struct e1000_hw *hw, bool active) argument 985 e1000_acquire_nvm_82575(struct e1000_hw *hw) argument 1035 e1000_release_nvm_82575(struct e1000_hw *hw) argument 1052 e1000_acquire_swfw_sync_82575(struct e1000_hw *hw, u16 mask) argument 1104 e1000_release_swfw_sync_82575(struct e1000_hw *hw, u16 mask) argument 1130 e1000_get_cfg_done_82575(struct e1000_hw *hw) argument 1170 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 1194 e1000_check_for_link_82575(struct e1000_hw *hw) argument 1233 e1000_check_for_link_media_swap(struct e1000_hw *hw) argument 1293 e1000_power_up_serdes_link_82575(struct e1000_hw *hw) argument 1327 e1000_get_pcs_speed_and_duplex_82575(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 1391 e1000_shutdown_serdes_link_82575(struct e1000_hw *hw) argument 1426 e1000_reset_hw_82575(struct e1000_hw *hw) argument 1490 e1000_init_hw_82575(struct e1000_hw *hw) argument 1547 e1000_setup_copper_link_82575(struct e1000_hw *hw) argument 1633 e1000_setup_serdes_link_82575(struct e1000_hw *hw) argument 1776 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_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_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_82542.c | 41 static s32 e1000_init_phy_params_82542(struct e1000_hw *hw); 42 static s32 e1000_init_nvm_params_82542(struct e1000_hw *hw); 43 static s32 e1000_init_mac_params_82542(struct e1000_hw *hw); 44 static s32 e1000_get_bus_info_82542(struct e1000_hw *hw); 45 static s32 e1000_reset_hw_82542(struct e1000_hw *hw); 46 static s32 e1000_init_hw_82542(struct e1000_hw *hw); 47 static s32 e1000_setup_link_82542(struct e1000_hw *hw); 48 static s32 e1000_led_on_82542(struct e1000_hw *hw); 49 static s32 e1000_led_off_82542(struct e1000_hw *hw); 50 static int e1000_rar_set_82542(struct e1000_hw *hw, u 58 e1000_init_phy_params_82542(struct e1000_hw *hw) argument 74 e1000_init_nvm_params_82542(struct e1000_hw *hw) argument 100 e1000_init_mac_params_82542(struct e1000_hw *hw) argument 159 e1000_init_function_pointers_82542(struct e1000_hw *hw) argument 175 e1000_get_bus_info_82542(struct e1000_hw *hw) argument 192 e1000_reset_hw_82542(struct e1000_hw *hw) argument 243 e1000_init_hw_82542(struct e1000_hw *hw) argument 317 e1000_setup_link_82542(struct e1000_hw *hw) argument 373 e1000_led_on_82542(struct e1000_hw *hw) argument 392 e1000_led_off_82542(struct e1000_hw *hw) argument 414 e1000_rar_set_82542(struct e1000_hw *hw, u8 *addr, u32 index) argument 542 e1000_clear_hw_cntrs_82542(struct e1000_hw *hw) argument 568 e1000_read_mac_addr_82542(struct e1000_hw *hw) argument [all...] |
H A D | e1000_vf.c | 39 static s32 e1000_init_phy_params_vf(struct e1000_hw *hw); 40 static s32 e1000_init_nvm_params_vf(struct e1000_hw *hw); 41 static void e1000_release_vf(struct e1000_hw *hw); 42 static s32 e1000_acquire_vf(struct e1000_hw *hw); 43 static s32 e1000_setup_link_vf(struct e1000_hw *hw); 44 static s32 e1000_get_bus_info_pcie_vf(struct e1000_hw *hw); 45 static s32 e1000_init_mac_params_vf(struct e1000_hw *hw); 46 static s32 e1000_check_for_link_vf(struct e1000_hw *hw); 47 static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed, 49 static s32 e1000_init_hw_vf(struct e1000_hw *hw); 61 e1000_init_phy_params_vf(struct e1000_hw *hw) argument 77 e1000_init_nvm_params_vf(struct e1000_hw *hw) argument 91 e1000_init_mac_params_vf(struct e1000_hw *hw) argument 144 e1000_init_function_pointers_vf(struct e1000_hw *hw) argument 162 e1000_acquire_vf(struct e1000_hw E1000_UNUSEDARG *hw) argument 175 e1000_release_vf(struct e1000_hw E1000_UNUSEDARG *hw) argument 186 e1000_setup_link_vf(struct e1000_hw E1000_UNUSEDARG *hw) argument 199 e1000_get_bus_info_pcie_vf(struct e1000_hw *hw) argument 221 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 258 e1000_reset_hw_vf(struct e1000_hw *hw) argument 307 e1000_init_hw_vf(struct e1000_hw *hw) argument 323 e1000_rar_set_vf(struct e1000_hw *hw, u8 *addr, u32 E1000_UNUSEDARG index) argument 357 e1000_hash_mc_addr_vf(struct e1000_hw *hw, u8 *mc_addr) argument 380 e1000_write_msg_read_ack(struct e1000_hw *hw, u32 *msg, u16 size) argument 400 e1000_update_mc_addr_list_vf(struct e1000_hw *hw, u8 *mc_addr_list, u32 mc_addr_count) argument 445 e1000_vfta_set_vf(struct e1000_hw *hw, u16 vid, bool set) argument 462 e1000_rlpml_set_vf(struct e1000_hw *hw, u16 max_size) argument 478 e1000_promisc_set_vf(struct e1000_hw *hw, enum e1000_promisc_type type) argument 515 e1000_read_mac_addr_vf(struct e1000_hw *hw) argument 533 e1000_check_for_link_vf(struct e1000_hw *hw) argument [all...] |
H A D | e1000_ich8lan.c | 74 static s32 e1000_acquire_swflag_ich8lan(struct e1000_hw *hw); 75 static void e1000_release_swflag_ich8lan(struct e1000_hw *hw); 76 static s32 e1000_acquire_nvm_ich8lan(struct e1000_hw *hw); 77 static void e1000_release_nvm_ich8lan(struct e1000_hw *hw); 78 static bool e1000_check_mng_mode_ich8lan(struct e1000_hw *hw); 79 static bool e1000_check_mng_mode_pchlan(struct e1000_hw *hw); 80 static int e1000_rar_set_pch2lan(struct e1000_hw *hw, u8 *addr, u32 index); 81 static int e1000_rar_set_pch_lpt(struct e1000_hw *hw, u8 *addr, u32 index); 82 static s32 e1000_sw_lcd_config_ich8lan(struct e1000_hw *hw); 83 static void e1000_update_mc_addr_list_pch2lan(struct e1000_hw *hw, 200 e1000_phy_is_accessible_pchlan(struct e1000_hw *hw) argument 272 e1000_toggle_lanphypc_pch_lpt(struct e1000_hw *hw) argument 316 e1000_init_phy_workarounds_pchlan(struct e1000_hw *hw) argument 450 e1000_init_phy_params_pchlan(struct e1000_hw *hw) argument 541 e1000_init_phy_params_ich8lan(struct e1000_hw *hw) argument 633 e1000_init_nvm_params_ich8lan(struct e1000_hw *hw) argument 726 e1000_init_mac_params_ich8lan(struct e1000_hw *hw) argument 843 __e1000_access_emi_reg_locked(struct e1000_hw *hw, u16 address, u16 *data, bool read) argument 872 e1000_read_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 *data) argument 887 e1000_write_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 data) argument 908 e1000_set_eee_pchlan(struct e1000_hw *hw) argument 1009 e1000_k1_workaround_lpt_lp(struct e1000_hw *hw, bool link) argument 1118 e1000_platform_pm_pch_lpt(struct e1000_hw *hw, bool link) argument 1226 e1000_set_obff_timer_pch_lpt(struct e1000_hw *hw, u32 itr) argument 1260 e1000_enable_ulp_lpt_lp(struct e1000_hw *hw, bool to_sx) argument 1406 e1000_disable_ulp_lpt_lp(struct e1000_hw *hw, bool force) argument 1544 e1000_check_for_copper_link_ich8lan(struct e1000_hw *hw) argument 1820 e1000_init_function_pointers_ich8lan(struct e1000_hw *hw) argument 1850 e1000_acquire_nvm_ich8lan(struct e1000_hw *hw) argument 1865 e1000_release_nvm_ich8lan(struct e1000_hw *hw) argument 1881 e1000_acquire_swflag_ich8lan(struct e1000_hw *hw) argument 1942 e1000_release_swflag_ich8lan(struct e1000_hw *hw) argument 1970 e1000_check_mng_mode_ich8lan(struct e1000_hw *hw) argument 1991 e1000_check_mng_mode_pchlan(struct e1000_hw *hw) argument 2014 e1000_rar_set_pch2lan(struct e1000_hw *hw, u8 *addr, u32 index) argument 2083 e1000_rar_set_pch_lpt(struct e1000_hw *hw, u8 *addr, u32 index) argument 2160 e1000_update_mc_addr_list_pch2lan(struct e1000_hw *hw, u8 *mc_addr_list, u32 mc_addr_count) argument 2203 e1000_check_reset_block_ich8lan(struct e1000_hw *hw) argument 2230 e1000_write_smbus_addr(struct e1000_hw *hw) argument 2271 e1000_sw_lcd_config_ich8lan(struct e1000_hw *hw) argument 2398 e1000_k1_gig_workaround_hv(struct e1000_hw *hw, bool link) argument 2480 e1000_configure_k1_ich8lan(struct e1000_hw *hw, bool k1_enable) argument 2533 e1000_oem_bits_config_ich8lan(struct e1000_hw *hw, bool d0_state) argument 2600 e1000_set_mdio_slow_mode_hv(struct e1000_hw *hw) argument 2622 e1000_hv_phy_workarounds_ich8lan(struct e1000_hw *hw) argument 2709 e1000_copy_rx_addrs_to_phy_ich8lan(struct e1000_hw *hw) argument 2770 e1000_lv_jumbo_workaround_ich8lan(struct e1000_hw *hw, bool enable) argument 2943 e1000_lv_phy_workarounds_ich8lan(struct e1000_hw *hw) argument 2979 e1000_k1_workaround_lv(struct e1000_hw *hw) argument 3030 e1000_gate_hw_phy_config_ich8lan(struct e1000_hw *hw, bool gate) argument 3056 e1000_lan_init_done_ich8lan(struct e1000_hw *hw) argument 3086 e1000_post_phy_reset_ich8lan(struct e1000_hw *hw) argument 3159 e1000_phy_hw_reset_ich8lan(struct e1000_hw *hw) argument 3188 e1000_set_lplu_state_pchlan(struct e1000_hw *hw, bool active) argument 3222 e1000_set_d0_lplu_state_ich8lan(struct e1000_hw *hw, bool active) argument 3318 e1000_set_d3_lplu_state_ich8lan(struct e1000_hw *hw, bool active) argument 3407 e1000_valid_nvm_bank_detect_ich8lan(struct e1000_hw *hw, u32 *bank) argument 3510 e1000_read_nvm_spt(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 3603 e1000_read_nvm_ich8lan(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 3663 e1000_flash_cycle_init_ich8lan(struct e1000_hw *hw) argument 3749 e1000_flash_cycle_ich8lan(struct e1000_hw *hw, u32 timeout) argument 3793 e1000_read_flash_dword_ich8lan(struct e1000_hw *hw, u32 offset, u32 *data) argument 3816 e1000_read_flash_word_ich8lan(struct e1000_hw *hw, u32 offset, u16 *data) argument 3838 e1000_read_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset, u8 *data) argument 3869 e1000_read_flash_data_ich8lan(struct e1000_hw *hw, u32 offset, u8 size, u16 *data) argument 3944 e1000_read_flash_data32_ich8lan(struct e1000_hw *hw, u32 offset, u32 *data) argument 4023 e1000_write_nvm_ich8lan(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 4061 e1000_update_nvm_checksum_spt(struct e1000_hw *hw) argument 4230 e1000_update_nvm_checksum_ich8lan(struct e1000_hw *hw) argument 4380 e1000_validate_nvm_checksum_ich8lan(struct e1000_hw *hw) argument 4433 e1000_write_flash_data_ich8lan(struct e1000_hw *hw, u32 offset, u8 size, u16 data) argument 4530 e1000_write_flash_data32_ich8lan(struct e1000_hw *hw, u32 offset, u32 data) argument 4619 e1000_write_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset, u8 data) argument 4638 e1000_retry_write_flash_dword_ich8lan(struct e1000_hw *hw, u32 offset, u32 dword) argument 4675 e1000_retry_write_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset, u8 byte) argument 4708 e1000_erase_flash_bank_ich8lan(struct e1000_hw *hw, u32 bank) argument 4829 e1000_valid_led_default_ich8lan(struct e1000_hw *hw, u16 *data) argument 4860 e1000_id_led_init_pchlan(struct e1000_hw *hw) argument 4928 e1000_get_bus_info_ich8lan(struct e1000_hw *hw) argument 4955 e1000_reset_hw_ich8lan(struct e1000_hw *hw) argument 5076 e1000_init_hw_ich8lan(struct e1000_hw *hw) argument 5161 e1000_initialize_hw_bits_ich8lan(struct e1000_hw *hw) argument 5245 e1000_setup_link_ich8lan(struct e1000_hw *hw) argument 5299 e1000_setup_copper_link_ich8lan(struct e1000_hw *hw) argument 5390 e1000_setup_copper_link_pch_lpt(struct e1000_hw *hw) argument 5419 e1000_get_link_up_info_ich8lan(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 5454 e1000_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw) argument 5516 e1000_set_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw, bool state) argument 5543 e1000_igp3_phy_powerdown_workaround_ich8lan(struct e1000_hw *hw) argument 5597 e1000_gig_downshift_workaround_ich8lan(struct e1000_hw *hw) argument 5637 e1000_suspend_workarounds_ich8lan(struct e1000_hw *hw) argument 5771 e1000_resume_workarounds_pchlan(struct e1000_hw *hw) argument 5841 e1000_cleanup_led_ich8lan(struct e1000_hw *hw) argument 5859 e1000_led_on_ich8lan(struct e1000_hw *hw) argument 5877 e1000_led_off_ich8lan(struct e1000_hw *hw) argument 5895 e1000_setup_led_pchlan(struct e1000_hw *hw) argument 5909 e1000_cleanup_led_pchlan(struct e1000_hw *hw) argument 5923 e1000_led_on_pchlan(struct e1000_hw *hw) argument 5955 e1000_led_off_pchlan(struct e1000_hw *hw) argument 5993 e1000_get_cfg_done_ich8lan(struct e1000_hw *hw) argument 6049 e1000_power_down_phy_copper_ich8lan(struct e1000_hw *hw) argument 6066 e1000_clear_hw_cntrs_ich8lan(struct e1000_hw *hw) argument [all...] |
H A D | e1000_i210.c | 38 static s32 e1000_acquire_nvm_i210(struct e1000_hw *hw); 39 static void e1000_release_nvm_i210(struct e1000_hw *hw); 40 static s32 e1000_get_hw_semaphore_i210(struct e1000_hw *hw); 41 static s32 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, 43 static s32 e1000_pool_flash_update_done_i210(struct e1000_hw *hw); 44 static s32 e1000_valid_led_default_i210(struct e1000_hw *hw, u16 *data); 48 * @hw: pointer to the HW structure 55 static s32 e1000_acquire_nvm_i210(struct e1000_hw *hw) argument 61 ret_val = e1000_acquire_swfw_sync_i210(hw, E1000_SWFW_EEP_SM); 68 * @hw 73 e1000_release_nvm_i210(struct e1000_hw *hw) argument 88 e1000_acquire_swfw_sync_i210(struct e1000_hw *hw, u16 mask) argument 140 e1000_release_swfw_sync_i210(struct e1000_hw *hw, u16 mask) argument 162 e1000_get_hw_semaphore_i210(struct e1000_hw *hw) argument 235 e1000_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 280 e1000_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 321 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 376 e1000_read_invm_word_i210(struct e1000_hw *hw, u8 address, u16 *data) argument 418 e1000_read_invm_i210(struct e1000_hw *hw, u16 offset, u16 E1000_UNUSEDARG words, u16 *data) argument 498 e1000_validate_nvm_checksum_i210(struct e1000_hw *hw) argument 537 e1000_update_nvm_checksum_i210(struct e1000_hw *hw) argument 596 e1000_get_flash_presence_i210(struct e1000_hw *hw) argument 616 e1000_update_flash_i210(struct e1000_hw *hw) argument 647 e1000_pool_flash_update_done_i210(struct e1000_hw *hw) argument 672 e1000_init_nvm_params_i210(struct e1000_hw *hw) argument 705 e1000_init_function_pointers_i210(struct e1000_hw *hw) argument 721 e1000_valid_led_default_i210(struct e1000_hw *hw, u16 *data) argument 756 __e1000_access_xmdio_reg(struct e1000_hw *hw, u16 address, u8 dev_addr, u16 *data, bool read) argument 798 e1000_read_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, u16 *data) argument 812 e1000_write_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, u16 data) argument 826 e1000_pll_workaround_i210(struct e1000_hw *hw) argument 895 e1000_get_cfg_done_i210(struct e1000_hw *hw) argument 920 e1000_init_hw_i210(struct e1000_hw *hw) argument [all...] |
/freebsd-11-stable/sys/dev/ixgb/ |
H A D | ixgb_ee.c | 40 static uint16_t ixgb_shift_in_bits(struct ixgb_hw *hw); 42 static void ixgb_shift_out_bits(struct ixgb_hw *hw, 45 static void ixgb_standby_eeprom(struct ixgb_hw *hw); 47 static boolean_t ixgb_wait_eeprom_command(struct ixgb_hw *hw); 49 static void ixgb_cleanup_eeprom(struct ixgb_hw *hw); 54 * hw - Struct containing variables accessed by shared code 58 ixgb_raise_clock(struct ixgb_hw *hw, argument 65 IXGB_WRITE_REG(hw, EECD, *eecd_reg); 73 * hw - Struct containing variables accessed by shared code 77 ixgb_lower_clock(struct ixgb_hw *hw, argument 97 ixgb_shift_out_bits(struct ixgb_hw *hw, uint16_t data, uint16_t count) argument 145 ixgb_shift_in_bits(struct ixgb_hw *hw) argument 188 ixgb_setup_eeprom(struct ixgb_hw *hw) argument 210 ixgb_standby_eeprom(struct ixgb_hw *hw) argument 244 ixgb_clock_eeprom(struct ixgb_hw *hw) argument 268 ixgb_cleanup_eeprom(struct ixgb_hw *hw) argument 294 ixgb_wait_eeprom_command(struct ixgb_hw *hw) argument 336 ixgb_validate_eeprom_checksum(struct ixgb_hw *hw) argument 359 ixgb_update_eeprom_checksum(struct ixgb_hw *hw) argument 385 ixgb_write_eeprom(struct ixgb_hw *hw, uint16_t offset, uint16_t data) argument 436 ixgb_read_eeprom(struct ixgb_hw *hw, uint16_t offset) argument 471 ixgb_get_eeprom_data(struct ixgb_hw *hw) argument 515 ixgb_check_and_get_eeprom_data(struct ixgb_hw* hw) argument 538 ixgb_get_eeprom_word(struct ixgb_hw *hw, uint16_t index) argument 559 ixgb_get_ee_mac_addr(struct ixgb_hw *hw, uint8_t *mac_addr) argument 584 ixgb_get_ee_compatibility(struct ixgb_hw *hw) argument 603 ixgb_get_ee_pba_number(struct ixgb_hw *hw) argument 621 ixgb_get_ee_init_ctrl_reg_1(struct ixgb_hw *hw) argument 640 ixgb_get_ee_init_ctrl_reg_2(struct ixgb_hw *hw) argument 659 ixgb_get_ee_subsystem_id(struct ixgb_hw *hw) argument 678 ixgb_get_ee_subvendor_id(struct ixgb_hw *hw) argument 697 ixgb_get_ee_device_id(struct ixgb_hw *hw) argument 716 ixgb_get_ee_vendor_id(struct ixgb_hw *hw) argument 735 ixgb_get_ee_swdpins_reg(struct ixgb_hw *hw) argument 754 ixgb_get_ee_d3_power(struct ixgb_hw *hw) argument 773 ixgb_get_ee_d0_power(struct ixgb_hw *hw) argument [all...] |
H A D | ixgb_hw.c | 45 static uint32_t ixgb_hash_mc_addr(struct ixgb_hw *hw, 48 static void ixgb_mta_set(struct ixgb_hw *hw, 51 static void ixgb_get_bus_info(struct ixgb_hw *hw); 53 static boolean_t ixgb_link_reset(struct ixgb_hw *hw); 55 static void ixgb_optics_reset(struct ixgb_hw *hw); 57 static ixgb_phy_type ixgb_identify_phy(struct ixgb_hw *hw); 59 uint32_t ixgb_mac_reset (struct ixgb_hw* hw); 61 uint32_t ixgb_mac_reset (struct ixgb_hw* hw) argument 79 IXGB_WRITE_REG_IO(hw, CTRL0, ctrl_reg); 81 IXGB_WRITE_REG(hw, CTRL 110 ixgb_adapter_stop(struct ixgb_hw *hw) argument 172 ixgb_identify_xpak_vendor(struct ixgb_hw *hw) argument 215 ixgb_identify_phy(struct ixgb_hw *hw) argument 272 ixgb_init_hw(struct ixgb_hw *hw) argument 358 ixgb_init_rx_addrs(struct ixgb_hw *hw) argument 423 ixgb_mc_addr_list_update(struct ixgb_hw *hw, uint8_t *mc_addr_list, uint32_t mc_addr_count, uint32_t pad) argument 495 ixgb_hash_mc_addr(struct ixgb_hw *hw, uint8_t *mc_addr) argument 540 ixgb_mta_set(struct ixgb_hw *hw, uint32_t hash_value) argument 574 ixgb_rar_set(struct ixgb_hw *hw, uint8_t *addr, uint32_t index) argument 607 ixgb_write_vfta(struct ixgb_hw *hw, uint32_t offset, uint32_t value) argument 621 ixgb_clear_vfta(struct ixgb_hw *hw) argument 637 ixgb_setup_fc(struct ixgb_hw *hw) argument 739 ixgb_read_phy_reg(struct ixgb_hw *hw, uint32_t reg_address, uint32_t phy_address, uint32_t device_type) argument 832 ixgb_write_phy_reg(struct ixgb_hw *hw, uint32_t reg_address, uint32_t phy_address, uint32_t device_type, uint16_t data) argument 914 ixgb_check_for_link(struct ixgb_hw *hw) argument 950 ixgb_check_for_bad_link(struct ixgb_hw *hw) argument 976 ixgb_clear_hw_cntrs(struct ixgb_hw *hw) argument 1058 ixgb_led_on(struct ixgb_hw *hw) argument 1074 ixgb_led_off(struct ixgb_hw *hw) argument 1091 ixgb_get_bus_info(struct ixgb_hw *hw) argument 1171 ixgb_link_reset(struct ixgb_hw *hw) argument 1203 ixgb_optics_reset(struct ixgb_hw *hw) argument [all...] |
/freebsd-11-stable/sys/dev/ixl/ |
H A D | i40e_adminq.c | 43 * @hw: pointer to the hardware structure 47 static void i40e_adminq_init_regs(struct i40e_hw *hw) argument 50 if (i40e_is_vf(hw)) { 51 hw->aq.asq.tail = I40E_VF_ATQT1; 52 hw->aq.asq.head = I40E_VF_ATQH1; 53 hw->aq.asq.len = I40E_VF_ATQLEN1; 54 hw->aq.asq.bal = I40E_VF_ATQBAL1; 55 hw->aq.asq.bah = I40E_VF_ATQBAH1; 56 hw->aq.arq.tail = I40E_VF_ARQT1; 57 hw 79 i40e_alloc_adminq_asq_ring(struct i40e_hw *hw) argument 106 i40e_alloc_adminq_arq_ring(struct i40e_hw *hw) argument 126 i40e_free_adminq_asq(struct i40e_hw *hw) argument 139 i40e_free_adminq_arq(struct i40e_hw *hw) argument 148 i40e_alloc_arq_bufs(struct i40e_hw *hw) argument 215 i40e_alloc_asq_bufs(struct i40e_hw *hw) argument 255 i40e_free_arq_bufs(struct i40e_hw *hw) argument 274 i40e_free_asq_bufs(struct i40e_hw *hw) argument 299 i40e_config_asq_regs(struct i40e_hw *hw) argument 332 i40e_config_arq_regs(struct i40e_hw *hw) argument 375 i40e_init_asq(struct i40e_hw *hw) argument 438 i40e_init_arq(struct i40e_hw *hw) argument 490 i40e_shutdown_asq(struct i40e_hw *hw) argument 524 i40e_shutdown_arq(struct i40e_hw *hw) argument 556 i40e_resume_aq(struct i40e_hw *hw) argument 581 i40e_init_adminq(struct i40e_hw *hw) argument 719 i40e_shutdown_adminq(struct i40e_hw *hw) argument 743 i40e_clean_asq(struct i40e_hw *hw) argument 785 i40e_asq_done(struct i40e_hw *hw) argument 805 i40e_asq_send_command(struct i40e_hw *hw, struct i40e_aq_desc *desc, void *buff, u16 buff_size, struct i40e_asq_cmd_details *cmd_details) argument 1030 i40e_clean_arq_element(struct i40e_hw *hw, struct i40e_arq_event_info *e, u16 *pending) argument [all...] |
/freebsd-11-stable/sys/dev/ocs_fc/ |
H A D | ocs_hw.c | 75 static void ocs_hw_adjust_wqs(ocs_hw_t *hw); 76 static uint32_t ocs_hw_get_num_chutes(ocs_hw_t *hw); 90 static void ocs_hw_io_quarantine(ocs_hw_t *hw, hw_wq_t *wq, ocs_hw_io_t *io); 93 static ocs_hw_rtn_e ocs_hw_firmware_write_lancer(ocs_hw_t *hw, ocs_dma_t *dma, uint32_t size, uint32_t offset, int last, ocs_hw_fw_cb_t cb, void *arg); 98 static int32_t ocs_hw_cb_host_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg); 99 static void ocs_hw_dmtf_clp_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg); 100 static int32_t ocs_hw_clp_resp_get_value(ocs_hw_t *hw, const char *keyword, char *value, uint32_t value_len, const char *resp, uint32_t resp_len); 101 typedef void (*ocs_hw_dmtf_clp_cb_t)(ocs_hw_t *hw, int32_t status, uint32_t result_len, void *arg); 102 static ocs_hw_rtn_e ocs_hw_exec_dmtf_clp_cmd(ocs_hw_t *hw, ocs_dma_t *dma_cmd, ocs_dma_t *dma_resp, uint32_t opts, ocs_hw_dmtf_clp_cb_t cb, void *arg); 103 static void ocs_hw_linkcfg_dmtf_clp_cb(ocs_hw_t *hw, int32_ 155 ocs_hw_add_io_timed_wqe(ocs_hw_t *hw, ocs_hw_io_t *io) argument 170 ocs_hw_remove_io_timed_wqe(ocs_hw_t *hw, ocs_hw_io_t *io) argument 230 ocs_hw_get_num_chutes(ocs_hw_t *hw) argument 243 ocs_hw_link_event_init(ocs_hw_t *hw) argument 272 ocs_hw_read_max_dump_size(ocs_hw_t *hw) argument 332 ocs_hw_setup(ocs_hw_t *hw, ocs_os_handle_t os, sli4_port_type_e port_type) argument 526 ocs_hw_init(ocs_hw_t *hw) argument 1041 ocs_hw_config_mrq(ocs_hw_t *hw, uint8_t mode, uint16_t vlanid, uint16_t fcf_index) argument 1132 ocs_hw_t *hw = (ocs_hw_t *)arg; local 1154 ocs_hw_teardown(ocs_hw_t *hw) argument 1312 ocs_hw_reset(ocs_hw_t *hw, ocs_hw_reset_e reset) argument 1465 ocs_hw_get_num_eq(ocs_hw_t *hw) argument 1471 ocs_hw_get_fw_timed_out(ocs_hw_t *hw) argument 1482 ocs_hw_get(ocs_hw_t *hw, ocs_hw_property_e prop, uint32_t *value) argument 1769 ocs_hw_get_ptr(ocs_hw_t *hw, ocs_hw_property_e prop) argument 1811 ocs_hw_set(ocs_hw_t *hw, ocs_hw_property_e prop, uint32_t value) argument 2033 ocs_hw_set_ptr(ocs_hw_t *hw, ocs_hw_property_e prop, void *value) argument 2076 ocs_hw_event_check(ocs_hw_t *hw, uint32_t vector) argument 2117 ocs_hw_t *hw = seq->hw; local 2126 ocs_hw_process(ocs_hw_t *hw, uint32_t vector, uint32_t max_isr_time_msec) argument 2180 ocs_hw_eq_process(ocs_hw_t *hw, hw_eq_t *eq, uint32_t max_isr_time_msec) argument 2252 ocs_hw_cmd_submit_pending(ocs_hw_t *hw) argument 2299 ocs_hw_command(ocs_hw_t *hw, uint8_t *cmd, uint32_t opts, void *cb, void *arg) argument 2395 ocs_hw_callback(ocs_hw_t *hw, ocs_hw_callback_e which, void *func, void *arg) argument 2449 ocs_hw_port_alloc(ocs_hw_t *hw, ocs_sli_port_t *sport, ocs_domain_t *domain, uint8_t *wwpn) argument 2532 ocs_hw_port_attach(ocs_hw_t *hw, ocs_sli_port_t *sport, uint32_t fc_id) argument 2577 ocs_hw_cb_port_control(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 2626 ocs_hw_port_control(ocs_hw_t *hw, ocs_hw_port_e ctrl, uintptr_t value, ocs_hw_port_control_cb_t cb, void *arg) argument 2743 ocs_hw_port_free(ocs_hw_t *hw, ocs_sli_port_t *sport) argument 2788 ocs_hw_domain_alloc(ocs_hw_t *hw, ocs_domain_t *domain, uint32_t fcf, uint32_t vlan) argument 2845 ocs_hw_domain_attach(ocs_hw_t *hw, ocs_domain_t *domain, uint32_t fc_id) argument 2889 ocs_hw_domain_free(ocs_hw_t *hw, ocs_domain_t *domain) argument 2927 ocs_hw_domain_force_free(ocs_hw_t *hw, ocs_domain_t *domain) argument 2951 ocs_hw_node_alloc(ocs_hw_t *hw, ocs_remote_node_t *rnode, uint32_t fc_addr, ocs_sli_port_t *sport) argument 2995 ocs_hw_node_attach(ocs_hw_t *hw, ocs_remote_node_t *rnode, ocs_dma_t *sparms) argument 3078 ocs_hw_node_free_resources(ocs_hw_t *hw, ocs_remote_node_t *rnode) argument 3122 ocs_hw_node_detach(ocs_hw_t *hw, ocs_remote_node_t *rnode) argument 3200 ocs_hw_node_free_all(ocs_hw_t *hw) argument 3240 ocs_hw_node_group_alloc(ocs_hw_t *hw, ocs_remote_node_group_t *ngroup) argument 3260 ocs_hw_node_group_attach(ocs_hw_t *hw, ocs_remote_node_group_t *ngroup, ocs_remote_node_t *rnode) argument 3288 ocs_hw_node_group_free(ocs_hw_t *hw, ocs_remote_node_group_t *ngroup) argument 3361 _ocs_hw_io_alloc(ocs_hw_t *hw) argument 3391 ocs_hw_io_alloc(ocs_hw_t *hw) argument 3419 ocs_hw_io_activate_port_owned(ocs_hw_t *hw, ocs_hw_io_t *io) argument 3450 ocs_hw_io_free_move_correct_list(ocs_hw_t *hw, ocs_hw_io_t *io) argument 3477 ocs_hw_io_free_common(ocs_hw_t *hw, ocs_hw_io_t *io) argument 3496 ocs_hw_t *hw = io->hw; local 3525 ocs_hw_t *hw = io->hw; local 3551 ocs_hw_io_free(ocs_hw_t *hw, ocs_hw_io_t *io) argument 3578 ocs_hw_io_inuse(ocs_hw_t *hw, ocs_hw_io_t *io) argument 3728 ocs_hw_check_sec_hio_list(ocs_hw_t *hw) argument 3843 ocs_hw_srrs_send(ocs_hw_t *hw, ocs_hw_io_type_e type, ocs_hw_io_t *io, ocs_dma_t *send, uint32_t len, ocs_dma_t *receive, ocs_remote_node_t *rnode, ocs_hw_io_param_t *iparam, ocs_hw_srrs_cb_t cb, void *arg) argument 4055 ocs_hw_io_send(ocs_hw_t *hw, ocs_hw_io_type_e type, ocs_hw_io_t *io, uint32_t len, ocs_hw_io_param_t *iparam, ocs_remote_node_t *rnode, void *cb, void *arg) argument 4352 ocs_hw_send_frame(ocs_hw_t *hw, fc_header_le_t *hdr, uint8_t sof, uint8_t eof, ocs_dma_t *payload, ocs_hw_send_frame_context_t *ctx, void (*callback)(void *arg, uint8_t *cqe, int32_t status), void *arg) argument 4402 ocs_hw_io_register_sgl(ocs_hw_t *hw, ocs_hw_io_t *io, ocs_dma_t *sgl, uint32_t sgl_count) argument 4416 ocs_hw_io_restore_sgl(ocs_hw_t *hw, ocs_hw_io_t *io) argument 4452 ocs_hw_io_init_sges(ocs_hw_t *hw, ocs_hw_io_t *io, ocs_hw_io_type_e type) argument 4564 ocs_hw_io_add_seed_sge(ocs_hw_t *hw, ocs_hw_io_t *io, ocs_hw_dif_info_t *dif_info) argument 4666 ocs_hw_io_overflow_sgl(ocs_hw_t *hw, ocs_hw_io_t *io) argument 4749 ocs_hw_io_add_sge(ocs_hw_t *hw, ocs_hw_io_t *io, uintptr_t addr, uint32_t length) argument 4818 ocs_hw_io_add_dif_sge(ocs_hw_t *hw, ocs_hw_io_t *io, uintptr_t addr) argument 4878 ocs_hw_io_abort(ocs_hw_t *hw, ocs_hw_io_t *io_to_abort, uint32_t send_abts, void *cb, void *arg) argument 5023 ocs_hw_io_get_xid(ocs_hw_t *hw, ocs_hw_io_t *io) argument 5093 ocs_hw_firmware_write(ocs_hw_t *hw, ocs_dma_t *dma, uint32_t size, uint32_t offset, int last, ocs_hw_fw_cb_t cb, void *arg) argument 5125 ocs_hw_firmware_write_lancer(ocs_hw_t *hw, ocs_dma_t *dma, uint32_t size, uint32_t offset, int last, ocs_hw_fw_cb_t cb, void *arg) argument 5185 ocs_hw_cb_fw_write(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 5233 ocs_hw_cb_sfp(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 5272 ocs_hw_get_sfp(ocs_hw_t *hw, uint16_t page, ocs_hw_sfp_cb_t cb, void *arg) argument 5332 ocs_hw_get_temperature(ocs_hw_t *hw, ocs_hw_temp_cb_t cb, void *arg) argument 5384 ocs_hw_cb_temp(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 5431 ocs_hw_get_link_stats(ocs_hw_t *hw, uint8_t req_ext_counters, uint8_t clear_overflow_flags, uint8_t clear_all_counters, ocs_hw_link_stat_cb_t cb, void *arg) argument 5490 ocs_hw_cb_link_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 5572 ocs_hw_get_host_stats(ocs_hw_t *hw, uint8_t cc, ocs_hw_host_stat_cb_t cb, void *arg) argument 5627 ocs_hw_cb_host_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 5826 ocs_hw_set_linkcfg(ocs_hw_t *hw, ocs_hw_linkcfg_e value, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg) argument 5857 ocs_hw_set_linkcfg_lancer(ocs_hw_t *hw, ocs_hw_linkcfg_e value, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg) argument 5924 ocs_hw_set_active_link_config_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 5956 ocs_hw_set_linkcfg_skyhawk(ocs_hw_t *hw, ocs_hw_linkcfg_e value, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg) argument 6020 ocs_hw_get_linkcfg(ocs_hw_t *hw, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg) argument 6049 ocs_hw_get_linkcfg_lancer(ocs_hw_t *hw, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg) argument 6116 ocs_hw_get_active_link_config_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 6152 ocs_hw_get_linkcfg_skyhawk(ocs_hw_t *hw, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg) argument 6216 ocs_hw_set_dif_seed(ocs_hw_t *hw) argument 6253 ocs_hw_set_dif_mode(ocs_hw_t *hw) argument 6284 ocs_hw_t *hw = (ocs_hw_t *)arg; local 6291 ocs_hw_cb_cfg_watchdog(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 6319 ocs_hw_config_watchdog_timer(ocs_hw_t *hw) argument 6342 ocs_hw_config_auto_xfer_rdy_t10pi(ocs_hw_t *hw, uint8_t *buf) argument 6399 ocs_hw_config_sli_port_health_check(ocs_hw_t *hw, uint8_t query, uint8_t enable) argument 6434 ocs_hw_config_set_fdt_xfer_hint(ocs_hw_t *hw, uint32_t fdt_xfer_hint) argument 6470 ocs_hw_linkcfg_dmtf_clp_cb(ocs_hw_t *hw, int32_t status, uint32_t result_len, void *arg) argument 6520 ocs_hw_set_dump_location(ocs_hw_t *hw, uint32_t num_buffers, ocs_dma_t *dump_buffers, uint8_t fdb) argument 6611 ocs_hw_set_eth_license(ocs_hw_t *hw, uint32_t license) argument 6676 ocs_hw_exec_dmtf_clp_cmd(ocs_hw_t *hw, ocs_dma_t *dma_cmd, ocs_dma_t *dma_resp, uint32_t opts, ocs_hw_dmtf_clp_cb_t cb, void *arg) argument 6748 ocs_hw_dmtf_clp_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 6839 ocs_hw_clp_resp_get_value(ocs_hw_t *hw, const char *keyword, char *value, uint32_t value_len, const char *resp, uint32_t resp_len) argument 6896 ocs_hw_raise_ue(ocs_hw_t *hw, uint8_t dump) argument 6928 ocs_hw_cb_dump_get(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 6976 ocs_hw_dump_get(ocs_hw_t *hw, ocs_dma_t *dma, uint32_t size, uint32_t offset, ocs_hw_dump_get_cb_t cb, void *arg) argument 7049 ocs_hw_cb_dump_clear(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 7087 ocs_hw_dump_clear(ocs_hw_t *hw, ocs_hw_dump_clear_cb_t cb, void *arg) argument 7153 ocs_hw_get_port_protocol_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 7226 ocs_hw_get_port_protocol(ocs_hw_t *hw, uint32_t pci_func, ocs_get_port_protocol_cb_t cb, void* ul_arg) argument 7307 ocs_hw_set_port_protocol_cb2(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 7346 ocs_hw_set_port_protocol_cb1(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 7524 ocs_hw_set_port_protocol(ocs_hw_t *hw, ocs_hw_port_protocol_e new_protocol, uint32_t pci_func, ocs_set_port_protocol_cb_t cb, void *ul_arg) argument 7603 ocs_hw_get_profile_list_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 7661 ocs_hw_get_profile_list(ocs_hw_t *hw, ocs_get_profile_list_cb_t cb, void* ul_arg) argument 7730 ocs_hw_get_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 7771 ocs_hw_get_active_profile(ocs_hw_t *hw, ocs_get_active_profile_cb_t cb, void* ul_arg) argument 7830 ocs_hw_get_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 7868 ocs_hw_get_nvparms(ocs_hw_t *hw, ocs_get_nvparms_cb_t cb, void* ul_arg) argument 7922 ocs_hw_set_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 7965 ocs_hw_set_nvparms(ocs_hw_t *hw, ocs_set_nvparms_cb_t cb, uint8_t *wwpn, uint8_t *wwnn, uint8_t hard_alpa, uint32_t preferred_d_id, void* ul_arg) argument 8014 ocs_hw_io_get_count(ocs_hw_t *hw, ocs_hw_io_count_type_e io_count_type) argument 8060 ocs_hw_get_rqes_produced_count(ocs_hw_t *hw) argument 8097 ocs_hw_set_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 8132 ocs_hw_set_active_profile(ocs_hw_t *hw, ocs_set_active_profile_cb_t cb, uint32_t profile_id, void* ul_arg) argument 8239 ocs_hw_domain_add(ocs_hw_t *hw, ocs_domain_t *domain) argument 8287 ocs_hw_domain_del(ocs_hw_t *hw, ocs_domain_t *domain) argument 8344 ocs_hw_domain_get(ocs_hw_t *hw, uint16_t fcfi) argument 8362 ocs_hw_domain_get_indexed(ocs_hw_t *hw, uint16_t fcf_index) argument 8394 ocs_hw_io_quarantine(ocs_hw_t *hw, hw_wq_t *wq, ocs_hw_io_t *io) argument 8435 ocs_hw_cq_process(ocs_hw_t *hw, hw_cq_t *cq) argument 8546 ocs_hw_wq_process(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe, int32_t status, uint16_t rid) argument 8591 ocs_hw_t *hw = io->hw; local 8854 ocs_hw_t *hw = io->hw; local 8923 ocs_hw_xabt_process(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe, uint16_t rid) argument 9007 ocs_hw_adjust_wqs(ocs_hw_t *hw) argument 9066 ocs_hw_command_process(ocs_hw_t *hw, int32_t status, uint8_t *mqe, size_t size) argument 9110 ocs_hw_mq_process(ocs_hw_t *hw, int32_t status, sli4_queue_t *mq) argument 9132 ocs_hw_read_fcf(ocs_hw_t *hw, uint32_t index) argument 9175 ocs_hw_cb_read_fcf(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 9258 ocs_hw_t *hw = ctx; local 9321 ocs_hw_t *hw = ctx; local 9390 ocs_hw_cb_node_attach(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 9418 ocs_hw_cb_node_free(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 9462 ocs_hw_cb_node_free_all(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 9504 ocs_hw_setup_io(ocs_hw_t *hw) argument 9617 ocs_hw_init_io(ocs_hw_t *hw) argument 9694 ocs_hw_flush(ocs_hw_t *hw) argument 9707 ocs_hw_command_cancel(ocs_hw_t *hw) argument 9743 ocs_hw_io_lookup(ocs_hw_t *hw, uint32_t xri) argument 9757 ocs_hw_io_cancel_cleanup(ocs_hw_t *hw, ocs_hw_io_t *io) argument 9792 ocs_hw_io_cancel(ocs_hw_t *hw) argument 9863 ocs_hw_io_ini_sge(ocs_hw_t *hw, ocs_hw_io_t *io, ocs_dma_t *cmnd, uint32_t cmnd_size, ocs_dma_t *rsp) argument 9890 __ocs_read_topology_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 9968 ocs_hw_t *hw = sport->hw; local 9995 ocs_hw_t *hw = sport->hw; local 10020 ocs_hw_t *hw = sport->hw; local 10051 ocs_hw_t *hw = sport->hw; local 10085 ocs_hw_t *hw = sport->hw; local 10132 ocs_hw_t *hw = sport->hw; local 10160 ocs_hw_t *hw = sport->hw; local 10193 ocs_hw_t *hw = sport->hw; local 10233 ocs_hw_t *hw = sport->hw; local 10259 ocs_hw_t *hw = sport->hw; local 10313 ocs_hw_t *hw = sport->hw; local 10349 ocs_hw_t *hw = sport->hw; local 10442 ocs_hw_t *hw = sport->hw; local 10493 __ocs_hw_port_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 10513 __ocs_hw_port_realloc_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 10552 ocs_hw_t *hw = domain->hw; local 10573 ocs_hw_t *hw = domain->hw; local 10605 ocs_hw_t *hw = domain->hw; local 10637 ocs_hw_t *hw = domain->hw; local 10670 ocs_hw_t *hw = domain->hw; local 10709 ocs_hw_t *hw = domain->hw; local 10751 ocs_hw_t *hw = domain->hw; local 10793 ocs_hw_t *hw = domain->hw; local 10831 ocs_hw_t *hw = domain->hw; local 10923 ocs_hw_t *hw = domain->hw; local 10958 ocs_hw_t *hw = domain->hw; local 10995 ocs_hw_t *hw = domain->hw; local 11029 ocs_hw_t *hw = domain->hw; local 11070 ocs_hw_t *hw = domain->hw; local 11123 ocs_hw_t *hw = domain->hw; local 11179 __ocs_hw_domain_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 11199 target_wqe_timer_nop_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 11257 ocs_hw_t *hw = (ocs_hw_t *)arg; local 11270 shutdown_target_wqe_timer(ocs_hw_t *hw) argument 11309 ocs_hw_is_io_port_owned(ocs_hw_t *hw, ocs_hw_io_t *io) argument 11328 ocs_hw_is_xri_port_owned(ocs_hw_t *hw, uint32_t xri) argument 11345 ocs_hw_reclaim_xri(ocs_hw_t *hw, uint16_t xri_base, uint16_t xri_count) argument 11383 ocs_hw_cb_post_xri(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 11409 ocs_hw_post_xri(ocs_hw_t *hw, uint32_t xri_start, uint32_t num_to_post) argument 11446 ocs_hw_xri_move_to_port_owned(ocs_hw_t *hw, uint32_t num_xri) argument 11514 ocs_hw_cb_release_xri(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 11546 ocs_hw_xri_move_to_host_owned(ocs_hw_t *hw, uint8_t num_xri) argument 11587 ocs_hw_rx_buffer_alloc(ocs_hw_t *hw, uint32_t rqindex, uint32_t count, uint32_t size) argument 11627 ocs_hw_rx_buffer_free(ocs_hw_t *hw, ocs_hw_rq_buffer_t *rq_buf, uint32_t count) argument 11649 ocs_hw_rx_allocate(ocs_hw_t *hw) argument 11700 ocs_hw_rx_post(ocs_hw_t *hw) argument 11742 ocs_hw_rx_free(ocs_hw_t *hw) argument 11783 ocs_hw_async_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument 11809 ocs_hw_async_call(ocs_hw_t *hw, ocs_hw_async_cb_t callback, void *arg) argument 11853 ocs_hw_reqtag_init(ocs_hw_t *hw) argument 11878 ocs_hw_reqtag_alloc(ocs_hw_t *hw, void (*callback)(void *arg, uint8_t *cqe, int32_t status), void *arg) argument 11904 ocs_hw_reqtag_free(ocs_hw_t *hw, hw_wq_callback_t *wqcb) argument 11924 ocs_hw_reqtag_get_instance(ocs_hw_t *hw, uint32_t instance_index) argument 11946 ocs_hw_reqtag_reset(ocs_hw_t *hw) argument 12014 ocs_hw_reque_xri( ocs_hw_t *hw, ocs_hw_io_t *io ) argument 12418 ocs_hw_workaround_match(ocs_hw_t *hw, hw_workaround_t *w) argument 12438 ocs_hw_workaround_setup(struct ocs_hw_s *hw) argument [all...] |