Lines Matching defs:hw
67 void ixgbe_dcb_get_rtrup2tc(struct ixgbe_hw *hw, u8 *map) in ixgbe_dcb_get_rtrup2tc()
85 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw) in ixgbe_init_shared_code()
131 s32 ixgbe_set_mac_type(struct ixgbe_hw *hw) in ixgbe_set_mac_type()
231 s32 ixgbe_init_hw(struct ixgbe_hw *hw) in ixgbe_init_hw()
244 s32 ixgbe_reset_hw(struct ixgbe_hw *hw) in ixgbe_reset_hw()
260 s32 ixgbe_start_hw(struct ixgbe_hw *hw) in ixgbe_start_hw()
274 void ixgbe_enable_relaxed_ordering(struct ixgbe_hw *hw) in ixgbe_enable_relaxed_ordering()
287 s32 ixgbe_clear_hw_cntrs(struct ixgbe_hw *hw) in ixgbe_clear_hw_cntrs()
299 enum ixgbe_media_type ixgbe_get_media_type(struct ixgbe_hw *hw) in ixgbe_get_media_type()
315 s32 ixgbe_get_mac_addr(struct ixgbe_hw *hw, u8 *mac_addr) in ixgbe_get_mac_addr()
329 s32 ixgbe_get_san_mac_addr(struct ixgbe_hw *hw, u8 *san_mac_addr) in ixgbe_get_san_mac_addr()
342 s32 ixgbe_set_san_mac_addr(struct ixgbe_hw *hw, u8 *san_mac_addr) in ixgbe_set_san_mac_addr()
355 s32 ixgbe_get_device_caps(struct ixgbe_hw *hw, u16 *device_caps) in ixgbe_get_device_caps()
370 s32 ixgbe_get_wwn_prefix(struct ixgbe_hw *hw, u16 *wwnn_prefix, in ixgbe_get_wwn_prefix()
385 s32 ixgbe_get_fcoe_boot_status(struct ixgbe_hw *hw, u16 *bs) in ixgbe_get_fcoe_boot_status()
398 s32 ixgbe_get_bus_info(struct ixgbe_hw *hw) in ixgbe_get_bus_info()
410 u32 ixgbe_get_num_of_tx_queues(struct ixgbe_hw *hw) in ixgbe_get_num_of_tx_queues()
421 u32 ixgbe_get_num_of_rx_queues(struct ixgbe_hw *hw) in ixgbe_get_num_of_rx_queues()
435 s32 ixgbe_stop_adapter(struct ixgbe_hw *hw) in ixgbe_stop_adapter()
449 s32 ixgbe_read_pba_string(struct ixgbe_hw *hw, u8 *pba_num, u32 pba_num_size) in ixgbe_read_pba_string()
461 s32 ixgbe_read_pba_num(struct ixgbe_hw *hw, u32 *pba_num) in ixgbe_read_pba_num()
472 s32 ixgbe_identify_phy(struct ixgbe_hw *hw) in ixgbe_identify_phy()
488 s32 ixgbe_reset_phy(struct ixgbe_hw *hw) in ixgbe_reset_phy()
509 s32 ixgbe_get_phy_firmware_version(struct ixgbe_hw *hw, u16 *firmware_version) in ixgbe_get_phy_firmware_version()
528 s32 ixgbe_read_phy_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, in ixgbe_read_phy_reg()
547 s32 ixgbe_write_phy_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, in ixgbe_write_phy_reg()
563 s32 ixgbe_setup_phy_link(struct ixgbe_hw *hw) in ixgbe_setup_phy_link()
577 s32 ixgbe_setup_internal_phy(struct ixgbe_hw *hw) in ixgbe_setup_internal_phy()
592 s32 ixgbe_check_phy_link(struct ixgbe_hw *hw, ixgbe_link_speed *speed, in ixgbe_check_phy_link()
607 s32 ixgbe_setup_phy_link_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed, in ixgbe_setup_phy_link_speed()
620 s32 ixgbe_set_phy_power(struct ixgbe_hw *hw, bool on) in ixgbe_set_phy_power()
635 s32 ixgbe_check_link(struct ixgbe_hw *hw, ixgbe_link_speed *speed, in ixgbe_check_link()
649 void ixgbe_disable_tx_laser(struct ixgbe_hw *hw) in ixgbe_disable_tx_laser()
661 void ixgbe_enable_tx_laser(struct ixgbe_hw *hw) in ixgbe_enable_tx_laser()
675 void ixgbe_flap_tx_laser(struct ixgbe_hw *hw) in ixgbe_flap_tx_laser()
690 s32 ixgbe_setup_link(struct ixgbe_hw *hw, ixgbe_link_speed speed, in ixgbe_setup_link()
707 s32 ixgbe_setup_mac_link(struct ixgbe_hw *hw, ixgbe_link_speed speed, in ixgbe_setup_mac_link()
723 s32 ixgbe_get_link_capabilities(struct ixgbe_hw *hw, ixgbe_link_speed *speed, in ixgbe_get_link_capabilities()
737 s32 ixgbe_led_on(struct ixgbe_hw *hw, u32 index) in ixgbe_led_on()
750 s32 ixgbe_led_off(struct ixgbe_hw *hw, u32 index) in ixgbe_led_off()
763 s32 ixgbe_blink_led_start(struct ixgbe_hw *hw, u32 index) in ixgbe_blink_led_start()
776 s32 ixgbe_blink_led_stop(struct ixgbe_hw *hw, u32 index) in ixgbe_blink_led_stop()
789 s32 ixgbe_init_eeprom_params(struct ixgbe_hw *hw) in ixgbe_init_eeprom_params()
806 s32 ixgbe_write_eeprom(struct ixgbe_hw *hw, u16 offset, u16 data) in ixgbe_write_eeprom()
823 s32 ixgbe_write_eeprom_buffer(struct ixgbe_hw *hw, u16 offset, u16 words, in ixgbe_write_eeprom_buffer()
839 s32 ixgbe_read_eeprom(struct ixgbe_hw *hw, u16 offset, u16 *data) in ixgbe_read_eeprom()
854 s32 ixgbe_read_eeprom_buffer(struct ixgbe_hw *hw, u16 offset, in ixgbe_read_eeprom_buffer()
869 s32 ixgbe_validate_eeprom_checksum(struct ixgbe_hw *hw, u16 *checksum_val) in ixgbe_validate_eeprom_checksum()
879 s32 ixgbe_update_eeprom_checksum(struct ixgbe_hw *hw) in ixgbe_update_eeprom_checksum()
894 s32 ixgbe_insert_mac_addr(struct ixgbe_hw *hw, u8 *addr, u32 vmdq) in ixgbe_insert_mac_addr()
911 s32 ixgbe_set_rar(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, in ixgbe_set_rar()
925 s32 ixgbe_clear_rar(struct ixgbe_hw *hw, u32 index) in ixgbe_clear_rar()
937 s32 ixgbe_set_vmdq(struct ixgbe_hw *hw, u32 rar, u32 vmdq) in ixgbe_set_vmdq()
949 s32 ixgbe_set_vmdq_san_mac(struct ixgbe_hw *hw, u32 vmdq) in ixgbe_set_vmdq_san_mac()
961 s32 ixgbe_clear_vmdq(struct ixgbe_hw *hw, u32 rar, u32 vmdq) in ixgbe_clear_vmdq()
975 s32 ixgbe_init_rx_addrs(struct ixgbe_hw *hw) in ixgbe_init_rx_addrs()
985 u32 ixgbe_get_num_rx_addrs(struct ixgbe_hw *hw) in ixgbe_get_num_rx_addrs()
1001 s32 ixgbe_update_uc_addr_list(struct ixgbe_hw *hw, u8 *addr_list, in ixgbe_update_uc_addr_list()
1022 s32 ixgbe_update_mc_addr_list(struct ixgbe_hw *hw, u8 *mc_addr_list, in ixgbe_update_mc_addr_list()
1037 s32 ixgbe_enable_mc(struct ixgbe_hw *hw) in ixgbe_enable_mc()
1049 s32 ixgbe_disable_mc(struct ixgbe_hw *hw) in ixgbe_disable_mc()
1061 s32 ixgbe_clear_vfta(struct ixgbe_hw *hw) in ixgbe_clear_vfta()
1077 s32 ixgbe_set_vfta(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, in ixgbe_set_vfta()
1097 s32 ixgbe_set_vlvf(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, in ixgbe_set_vlvf()
1111 s32 ixgbe_fc_enable(struct ixgbe_hw *hw) in ixgbe_fc_enable()
1123 s32 ixgbe_setup_fc(struct ixgbe_hw *hw) in ixgbe_setup_fc()
1139 s32 ixgbe_set_fw_drv_ver(struct ixgbe_hw *hw, u8 maj, u8 min, u8 build, in ixgbe_set_fw_drv_ver()
1156 s32 ixgbe_dmac_config(struct ixgbe_hw *hw) in ixgbe_dmac_config()
1168 s32 ixgbe_dmac_update_tcs(struct ixgbe_hw *hw) in ixgbe_dmac_update_tcs()
1181 s32 ixgbe_dmac_config_tcs(struct ixgbe_hw *hw) in ixgbe_dmac_config_tcs()
1197 s32 ixgbe_setup_eee(struct ixgbe_hw *hw, bool enable_eee) in ixgbe_setup_eee()
1209 void ixgbe_set_source_address_pruning(struct ixgbe_hw *hw, bool enable, in ixgbe_set_source_address_pruning()
1223 void ixgbe_set_ethertype_anti_spoofing(struct ixgbe_hw *hw, bool enable, int vf) in ixgbe_set_ethertype_anti_spoofing()
1238 s32 ixgbe_read_iosf_sb_reg(struct ixgbe_hw *hw, u32 reg_addr, in ixgbe_read_iosf_sb_reg()
1254 s32 ixgbe_write_iosf_sb_reg(struct ixgbe_hw *hw, u32 reg_addr, in ixgbe_write_iosf_sb_reg()
1266 void ixgbe_disable_mdd(struct ixgbe_hw *hw) in ixgbe_disable_mdd()
1277 void ixgbe_enable_mdd(struct ixgbe_hw *hw) in ixgbe_enable_mdd()
1289 void ixgbe_mdd_event(struct ixgbe_hw *hw, u32 *vf_bitmap) in ixgbe_mdd_event()
1302 void ixgbe_restore_mdd_vf(struct ixgbe_hw *hw, u32 vf) in ixgbe_restore_mdd_vf()
1313 bool ixgbe_fw_recovery_mode(struct ixgbe_hw *hw) in ixgbe_fw_recovery_mode()
1327 s32 ixgbe_enter_lplu(struct ixgbe_hw *hw) in ixgbe_enter_lplu()
1344 s32 ixgbe_handle_lasi(struct ixgbe_hw *hw) in ixgbe_handle_lasi()
1358 s32 ixgbe_bypass_rw(struct ixgbe_hw *hw, u32 cmd, u32 *status) in ixgbe_bypass_rw()
1396 s32 ixgbe_bypass_set(struct ixgbe_hw *hw, u32 cmd, u32 event, u32 action) in ixgbe_bypass_set()
1409 s32 ixgbe_bypass_rd_eep(struct ixgbe_hw *hw, u32 addr, u8 *value) in ixgbe_bypass_rd_eep()
1423 s32 ixgbe_read_analog_reg8(struct ixgbe_hw *hw, u32 reg, u8 *val) in ixgbe_read_analog_reg8()
1437 s32 ixgbe_write_analog_reg8(struct ixgbe_hw *hw, u32 reg, u8 val) in ixgbe_write_analog_reg8()
1450 s32 ixgbe_init_uta_tables(struct ixgbe_hw *hw) in ixgbe_init_uta_tables()
1465 s32 ixgbe_read_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, in ixgbe_read_i2c_byte()
1481 s32 ixgbe_read_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_unlocked()
1498 s32 ixgbe_read_link(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val) in ixgbe_read_link()
1513 s32 ixgbe_read_link_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val) in ixgbe_read_link_unlocked()
1529 s32 ixgbe_write_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, in ixgbe_write_i2c_byte()
1546 s32 ixgbe_write_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_byte_unlocked()
1563 s32 ixgbe_write_link(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val) in ixgbe_write_link()
1578 s32 ixgbe_write_link_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val) in ixgbe_write_link_unlocked()
1592 s32 ixgbe_write_i2c_eeprom(struct ixgbe_hw *hw, in ixgbe_write_i2c_eeprom()
1608 s32 ixgbe_read_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) in ixgbe_read_i2c_eeprom()
1621 u64 ixgbe_get_supported_physical_layer(struct ixgbe_hw *hw) in ixgbe_get_supported_physical_layer()
1634 s32 ixgbe_enable_rx_dma(struct ixgbe_hw *hw, u32 regval) in ixgbe_enable_rx_dma()
1646 s32 ixgbe_disable_sec_rx_path(struct ixgbe_hw *hw) in ixgbe_disable_sec_rx_path()
1658 s32 ixgbe_enable_sec_rx_path(struct ixgbe_hw *hw) in ixgbe_enable_sec_rx_path()
1672 s32 ixgbe_acquire_swfw_semaphore(struct ixgbe_hw *hw, u32 mask) in ixgbe_acquire_swfw_semaphore()
1686 void ixgbe_release_swfw_semaphore(struct ixgbe_hw *hw, u32 mask) in ixgbe_release_swfw_semaphore()
1701 void ixgbe_init_swfw_semaphore(struct ixgbe_hw *hw) in ixgbe_init_swfw_semaphore()
1708 void ixgbe_disable_rx(struct ixgbe_hw *hw) in ixgbe_disable_rx()
1714 void ixgbe_enable_rx(struct ixgbe_hw *hw) in ixgbe_enable_rx()
1727 void ixgbe_set_rate_select_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed) in ixgbe_set_rate_select_speed()