/freebsd-11-stable/sys/dev/iwm/ |
H A D | if_iwm.c | 407 TUNABLE_INT("hw.iwm.lar.disable", &iwm_lar_disable); 1032 * The hw rx ring index in shared memory must also be cleared, 2260 const uint16_t *hw, *sw, *calib, *regulatory, *mac_override, *phy_sku; local 2296 hw = (const uint16_t *) sections[sc->cfg->nvm_hw_section_num].data; 2306 return iwm_parse_nvm_data(sc, hw, sw, calib, mac_override, 4316 "station rate i=%d, rate=%d, hw=%x\n", 5225 * hw/ucode revision (which we know anyway). Since it's here, 5280 device_printf(sc->sc_dev, "%08X | hw version\n", table.hw_ver); 5646 uint16_t hw; local 5651 hw [all...] |
/freebsd-11-stable/sys/dev/iwn/ |
H A D | if_iwn.c | 3803 uint16_t hw; local 3809 hw = le16toh(sc->rxq.stat->closed_count) & 0xfff; 3810 while (sc->rxq.cur != hw) { 3985 hw = (hw == 0) ? IWN_RX_RING_COUNT - 1 : hw - 1; 3986 IWN_WRITE(sc, IWN_FH_RX_WPTR, hw & ~7);
|
/freebsd-11-stable/sys/dev/ixgbe/ |
H A D | if_fdir.c | 47 adapter->hw.mac.ops.setup_rxpba(&adapter->hw, 0, hdrm, 49 ixgbe_init_fdir_signature_82599(&adapter->hw, fdir_pballoc); 62 ixgbe_reinit_fdir_tables_82599(&adapter->hw); 65 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIMS, IXGBE_EIMS_FLOW_DIR); 141 ixgbe_fdir_add_signature_filter_82599(&adapter->hw,
|
H A D | if_ix.c | 375 struct ixgbe_hw *hw = &adapter->hw; local 392 switch (adapter->hw.mac.type) { 429 IXGBE_WRITE_REG(hw, IXGBE_RETA(i >> 2), reta); 431 IXGBE_WRITE_REG(hw, IXGBE_ERETA((i >> 2) - 32), 439 IXGBE_WRITE_REG(hw, IXGBE_RSSRK(i), rss_key[i]); 481 IXGBE_WRITE_REG(hw, IXGBE_MRQC, mrqc); 493 struct ixgbe_hw *hw = &adapter->hw; local 503 ixgbe_disable_rx(hw); 613 struct ixgbe_hw *hw = &adapter->hw; local 692 struct ixgbe_hw *hw; local 975 struct ixgbe_hw *hw = &adapter->hw; local 1138 struct ixgbe_hw *hw = &adapter->hw; local 1222 ixgbe_is_sfp(struct ixgbe_hw *hw) argument 1253 struct ixgbe_hw *hw = &adapter->hw; local 1296 struct ixgbe_hw *hw = &adapter->hw; local 1758 struct ixgbe_hw *hw = &adapter->hw; local 1817 struct ixgbe_hw *hw = &adapter->hw; local 1911 struct ixgbe_hw *hw = &adapter->hw; local 1934 struct ixgbe_hw *hw = &adapter->hw; local 2049 struct ixgbe_hw *hw = &adapter->hw; local 2216 struct ixgbe_hw *hw = &adapter->hw; local 2348 struct ixgbe_hw *hw = &adapter->hw; local 2502 struct ixgbe_hw *hw = &adapter->hw; local 2691 struct ixgbe_hw *hw = &adapter->hw; local 2785 struct ixgbe_hw *hw = &adapter->hw; local 2867 struct ixgbe_hw *hw = &adapter->hw; local 3114 struct ixgbe_hw *hw = &adapter->hw; local 3198 struct ixgbe_hw *hw = &adapter->hw; local 3245 struct ixgbe_hw *hw = &adapter->hw; local 3355 ixgbe_mc_array_itr(struct ixgbe_hw *hw, u8 **update_ptr, u32 *vmdq) argument 3450 struct ixgbe_hw *hw = &adapter->hw; local 3483 struct ixgbe_hw *hw = &adapter->hw; local 3535 struct ixgbe_hw *hw = &adapter->hw; local 3561 struct ixgbe_hw *hw = &adapter->hw; local 3613 struct ixgbe_hw *hw = &adapter->hw; local 3692 struct ixgbe_hw *hw = &adapter->hw; local 3722 struct ixgbe_hw *hw = &adapter->hw; local 3812 struct ixgbe_hw *hw = &adapter->hw; local 3849 struct ixgbe_hw *hw = &adapter->hw; local 4077 struct ixgbe_hw *hw = &adapter->hw; local 4102 struct ixgbe_hw *hw = &adapter->hw; local 4154 struct ixgbe_hw *hw; local 4241 struct ixgbe_hw *hw = &adapter->hw; local 4377 struct ixgbe_hw *hw = &adapter->hw; local 4447 struct ixgbe_hw *hw = &adapter->hw; local 4505 struct ixgbe_hw *hw = &adapter->hw; local 4537 struct ixgbe_hw *hw = &adapter->hw; local 4901 struct ixgbe_hw *hw = &adapter->hw; local 5287 struct ixgbe_hw *hw = &adapter->hw; local [all...] |
H A D | if_ixv.c | 158 TUNABLE_INT("hw.ixv.num_queues", &ixv_num_queues); 167 TUNABLE_INT("hw.ixv.enable_aim", &ixv_enable_aim); 171 TUNABLE_INT("hw.ixv.rx_process_limit", &ixv_rx_process_limit); 175 TUNABLE_INT("hw.ixv.tx_process_limit", &ixv_tx_process_limit); 179 TUNABLE_INT("hw.ixv.flow_control", &ixv_flow_control); 188 TUNABLE_INT("hw.ixv.hdr_split", &ixv_header_split); 196 TUNABLE_INT("hw.ixv.txd", &ixv_txd); 200 TUNABLE_INT("hw.ixv.rxd", &ixv_rxd); 204 TUNABLE_INT("hw.ixv.enable_legacy_tx", &ixv_enable_legacy_tx); 275 struct ixgbe_hw *hw; local 561 struct ixgbe_hw *hw = &adapter->hw; local 666 struct ixgbe_hw *hw = &adapter->hw; local 677 struct ixgbe_hw *hw = &adapter->hw; local 785 struct ixgbe_hw *hw = &adapter->hw; local 929 ixv_mc_array_itr(struct ixgbe_hw *hw, u8 **update_ptr, u32 *vmdq) argument 1061 struct ixgbe_hw *hw = &adapter->hw; local 1256 struct ixgbe_hw *hw = &adapter->hw; local 1301 struct ixgbe_hw *hw = &adapter->hw; local 1398 struct ixgbe_hw *hw = &adapter->hw; local 1529 struct ixgbe_hw *hw = &adapter->hw; local 1644 struct ixgbe_hw *hw = &adapter->hw; local 1687 struct ixgbe_hw *hw = &adapter->hw; local 1786 struct ixgbe_hw *hw = &adapter->hw; local 1835 struct ixgbe_hw *hw = &adapter->hw; local 1961 struct ixgbe_hw *hw = &adapter->hw; local [all...] |
H A D | if_sriov.c | 97 adapter->hw.mbx.ops.write(&adapter->hw, &msg, 1, vf->pool); 216 struct ixgbe_hw *hw; local 219 hw = &adapter->hw; 223 vmolr = IXGBE_READ_REG(hw, IXGBE_VMOLR(vf->pool)); 247 IXGBE_WRITE_REG(hw, IXGBE_VMOLR(vf->pool), vmolr); 248 IXGBE_WRITE_REG(hw, IXGBE_VMVIR(vf->pool), vmvir); 261 if (adapter->hw.mac.type != ixgbe_mac_82599EB) 307 ixgbe_clear_rar(&adapter->hw, v 316 struct ixgbe_hw *hw; local 331 struct ixgbe_hw *hw; local 349 struct ixgbe_hw *hw; local 440 struct ixgbe_hw *hw; local 467 struct ixgbe_hw *hw; local 540 struct ixgbe_hw *hw; local 570 struct ixgbe_hw *hw; local 626 struct ixgbe_hw *hw; local 715 struct ixgbe_hw *hw; local 749 struct ixgbe_hw *hw; local 782 struct ixgbe_hw *hw = &adapter->hw; local [all...] |
H A D | ix_txrx.c | 462 IXGBE_WRITE_REG(&adapter->hw, txr->tail, i); 1148 struct ixgbe_hw *hw = &adapter->hw; local 1153 rscctrl = IXGBE_READ_REG(hw, IXGBE_RSCCTL(rxr->me)); 1158 rdrxctl = IXGBE_READ_REG(hw, IXGBE_RDRXCTL); 1168 IXGBE_WRITE_REG(hw, IXGBE_RDRXCTL, rdrxctl); 1170 rscctrl = IXGBE_READ_REG(hw, IXGBE_RSCCTL(rxr->me)); 1185 IXGBE_WRITE_REG(hw, IXGBE_RSCCTL(rxr->me), rscctrl); 1188 IXGBE_WRITE_REG(hw, IXGBE_PSRTYPE(0), 1189 (IXGBE_READ_REG(hw, IXGBE_PSRTYP [all...] |
H A D | ixgbe.h | 408 struct ixgbe_hw hw; member in struct:adapter
|
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 415 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument 525 ixgbe_get_media_type_82599(struct ixgbe_hw *hw) argument 587 ixgbe_stop_mac_link_on_d3_82599(struct ixgbe_hw *hw) argument 611 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, bool autoneg_wait_to_complete) argument 679 ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) argument 702 ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) argument 725 ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) argument 747 ixgbe_set_hard_rate_select_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed) argument 777 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument 889 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument 1007 ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument 1032 ixgbe_reset_hw_82599(struct ixgbe_hw *hw) argument 1211 ixgbe_fdir_check_cmd_complete(struct ixgbe_hw *hw, u32 *fdircmd) argument 1229 ixgbe_reinit_fdir_tables_82599(struct ixgbe_hw *hw) argument 1303 ixgbe_fdir_enable_82599(struct ixgbe_hw *hw, u32 fdirctrl) argument 1345 ixgbe_init_fdir_signature_82599(struct ixgbe_hw *hw, u32 fdirctrl) argument 1372 ixgbe_init_fdir_perfect_82599(struct ixgbe_hw *hw, u32 fdirctrl, bool cloud_mode) argument 1408 ixgbe_set_fdir_drop_queue_82599(struct ixgbe_hw *hw, u8 dropqueue) argument 1537 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 1696 ixgbe_fdir_set_input_mask_82599(struct ixgbe_hw *hw, union ixgbe_atr_input *input_mask, bool cloud_mode) argument 1871 ixgbe_fdir_write_perfect_filter_82599(struct ixgbe_hw *hw, union ixgbe_atr_input *input, u16 soft_id, u8 queue, bool cloud_mode) argument 1960 ixgbe_fdir_erase_perfect_filter_82599(struct ixgbe_hw *hw, union ixgbe_atr_input *input, u16 soft_id) argument 2007 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 2069 ixgbe_read_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 *val) argument 2093 ixgbe_write_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 val) argument 2115 ixgbe_start_hw_82599(struct ixgbe_hw *hw) argument 2146 ixgbe_identify_phy_82599(struct ixgbe_hw *hw) argument 2181 ixgbe_get_supported_physical_layer_82599(struct ixgbe_hw *hw) argument 2269 ixgbe_enable_rx_dma_82599(struct ixgbe_hw *hw, u32 regval) argument 2303 ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw) argument 2364 ixgbe_verify_lesm_fw_enabled_82599(struct ixgbe_hw *hw) argument 2412 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 2446 ixgbe_read_eeprom_82599(struct ixgbe_hw *hw, u16 offset, u16 *data) argument 2475 ixgbe_reset_pipeline_82599(struct ixgbe_hw *hw) argument 2527 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument 2584 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument [all...] |
H A D | ixgbe_common.c | 41 static s32 ixgbe_acquire_eeprom(struct ixgbe_hw *hw); 42 static s32 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw); 43 static void ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw); 44 static s32 ixgbe_ready_eeprom(struct ixgbe_hw *hw); 45 static void ixgbe_standby_eeprom(struct ixgbe_hw *hw); 46 static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data, 48 static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count); 49 static void ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec); 50 static void ixgbe_lower_eeprom_clk(struct ixgbe_hw *hw, u32 *eec); 51 static void ixgbe_release_eeprom(struct ixgbe_hw *hw); 69 ixgbe_init_ops_generic(struct ixgbe_hw *hw) argument 162 ixgbe_device_supports_autoneg_fc(struct ixgbe_hw *hw) argument 234 ixgbe_setup_fc_generic(struct ixgbe_hw *hw) argument 394 ixgbe_start_hw_generic(struct ixgbe_hw *hw) argument 458 ixgbe_start_hw_gen2(struct ixgbe_hw *hw) argument 497 ixgbe_init_hw_generic(struct ixgbe_hw *hw) argument 528 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw) argument 643 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num, u32 pba_num_size) argument 753 ixgbe_read_pba_num_generic(struct ixgbe_hw *hw, u32 *pba_num) argument 792 ixgbe_read_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, u32 eeprom_buf_size, u16 max_pba_block_size, struct ixgbe_pba *pba) argument 861 ixgbe_write_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, u32 eeprom_buf_size, struct ixgbe_pba *pba) argument 920 ixgbe_get_pba_block_size(struct ixgbe_hw *hw, u16 *eeprom_buf, u32 eeprom_buf_size, u16 *pba_block_size) argument 978 ixgbe_get_mac_addr_generic(struct ixgbe_hw *hw, u8 *mac_addr) argument 1005 ixgbe_set_pci_config_data_generic(struct ixgbe_hw *hw, u16 link_status) argument 1055 ixgbe_get_bus_info_generic(struct ixgbe_hw *hw) argument 1077 ixgbe_set_lan_id_multi_port_pcie(struct ixgbe_hw *hw) argument 1111 ixgbe_stop_adapter_generic(struct ixgbe_hw *hw) argument 1163 ixgbe_init_led_link_act_generic(struct ixgbe_hw *hw) argument 1202 ixgbe_led_on_generic(struct ixgbe_hw *hw, u32 index) argument 1225 ixgbe_led_off_generic(struct ixgbe_hw *hw, u32 index) argument 1250 ixgbe_init_eeprom_params_generic(struct ixgbe_hw *hw) argument 1305 ixgbe_write_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 1362 ixgbe_write_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 1444 ixgbe_write_eeprom_generic(struct ixgbe_hw *hw, u16 offset, u16 data) argument 1472 ixgbe_read_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 1521 ixgbe_read_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 1578 ixgbe_read_eeprom_bit_bang_generic(struct ixgbe_hw *hw, u16 offset, u16 *data) argument 1607 ixgbe_read_eerd_buffer_generic(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 1658 ixgbe_detect_eeprom_page_size_generic(struct ixgbe_hw *hw, u16 offset) argument 1701 ixgbe_read_eerd_generic(struct ixgbe_hw *hw, u16 offset, u16 *data) argument 1715 ixgbe_write_eewr_buffer_generic(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 1770 ixgbe_write_eewr_generic(struct ixgbe_hw *hw, u16 offset, u16 data) argument 1783 ixgbe_poll_eerd_eewr_done(struct ixgbe_hw *hw, u32 ee_reg) argument 1818 ixgbe_acquire_eeprom(struct ixgbe_hw *hw) argument 1872 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw) argument 1963 ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw) argument 1981 ixgbe_ready_eeprom(struct ixgbe_hw *hw) argument 2022 ixgbe_standby_eeprom(struct ixgbe_hw *hw) argument 2047 ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data, u16 count) argument 2102 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count) argument 2142 ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec) argument 2161 ixgbe_lower_eeprom_clk(struct ixgbe_hw *hw, u32 *eec) argument 2179 ixgbe_release_eeprom(struct ixgbe_hw *hw) argument 2211 ixgbe_calc_eeprom_checksum_generic(struct ixgbe_hw *hw) argument 2272 ixgbe_validate_eeprom_checksum_generic(struct ixgbe_hw *hw, u16 *checksum_val) argument 2320 ixgbe_update_eeprom_checksum_generic(struct ixgbe_hw *hw) argument 2384 ixgbe_set_rar_generic(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, u32 enable_addr) argument 2435 ixgbe_clear_rar_generic(struct ixgbe_hw *hw, u32 index) argument 2474 ixgbe_init_rx_addrs_generic(struct ixgbe_hw *hw) argument 2542 ixgbe_add_uc_addr(struct ixgbe_hw *hw, u8 *addr, u32 vmdq) argument 2582 ixgbe_update_uc_addr_list_generic(struct ixgbe_hw *hw, u8 *addr_list, u32 addr_count, ixgbe_mc_addr_itr next) argument 2650 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) argument 2687 ixgbe_set_mta(struct ixgbe_hw *hw, u8 *mc_addr) argument 2725 ixgbe_update_mc_addr_list_generic(struct ixgbe_hw *hw, u8 *mc_addr_list, u32 mc_addr_count, ixgbe_mc_addr_itr next, bool clear) argument 2772 ixgbe_enable_mc_generic(struct ixgbe_hw *hw) argument 2791 ixgbe_disable_mc_generic(struct ixgbe_hw *hw) argument 2809 ixgbe_fc_enable_generic(struct ixgbe_hw *hw) argument 2949 ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg, u32 adv_sym, u32 adv_asm, u32 lp_sym, u32 lp_asm) argument 2996 ixgbe_fc_autoneg_fiber(struct ixgbe_hw *hw) argument 3033 ixgbe_fc_autoneg_backplane(struct ixgbe_hw *hw) argument 3077 ixgbe_fc_autoneg_copper(struct ixgbe_hw *hw) argument 3102 ixgbe_fc_autoneg(struct ixgbe_hw *hw) argument 3171 ixgbe_pcie_timeout_poll(struct ixgbe_hw *hw) argument 3217 ixgbe_disable_pcie_master(struct ixgbe_hw *hw) argument 3284 ixgbe_acquire_swfw_sync(struct ixgbe_hw *hw, u32 mask) argument 3331 ixgbe_release_swfw_sync(struct ixgbe_hw *hw, u32 mask) argument 3354 ixgbe_disable_sec_rx_path_generic(struct ixgbe_hw *hw) argument 3391 prot_autoc_read_generic(struct ixgbe_hw *hw, bool *locked, u32 *reg_val) argument 3407 prot_autoc_write_generic(struct ixgbe_hw *hw, u32 reg_val, bool locked) argument 3421 ixgbe_enable_sec_rx_path_generic(struct ixgbe_hw *hw) argument 3442 ixgbe_enable_rx_dma_generic(struct ixgbe_hw *hw, u32 regval) argument 3459 ixgbe_blink_led_start_generic(struct ixgbe_hw *hw, u32 index) argument 3509 ixgbe_blink_led_stop_generic(struct ixgbe_hw *hw, u32 index) argument 3552 ixgbe_get_san_mac_addr_offset(struct ixgbe_hw *hw, u16 *san_mac_offset) argument 3584 ixgbe_get_san_mac_addr_generic(struct ixgbe_hw *hw, u8 *san_mac_addr) argument 3637 ixgbe_set_san_mac_addr_generic(struct ixgbe_hw *hw, u8 *san_mac_addr) argument 3673 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw) argument 3720 ixgbe_insert_mac_addr_generic(struct ixgbe_hw *hw, u8 *addr, u32 vmdq) argument 3786 ixgbe_clear_vmdq_generic(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument 3840 ixgbe_set_vmdq_generic(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument 3876 ixgbe_set_vmdq_san_mac_generic(struct ixgbe_hw *hw, u32 vmdq) argument 3897 ixgbe_init_uta_tables_generic(struct ixgbe_hw *hw) argument 3918 ixgbe_find_vlvf_slot(struct ixgbe_hw *hw, u32 vlan, bool vlvf_bypass) argument 3968 ixgbe_set_vfta_generic(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, bool vlvf_bypass) argument 4035 ixgbe_set_vlvf_generic(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, u32 *vfta_delta, u32 vfta, bool vlvf_bypass) argument 4117 ixgbe_clear_vfta_generic(struct ixgbe_hw *hw) argument 4142 ixgbe_need_crosstalk_fix(struct ixgbe_hw *hw) argument 4170 ixgbe_check_mac_link_generic(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool link_up_wait_to_complete) argument 4277 ixgbe_get_wwn_prefix_generic(struct ixgbe_hw *hw, u16 *wwnn_prefix, u16 *wwpn_prefix) argument 4332 ixgbe_get_fcoe_boot_status_generic(struct ixgbe_hw *hw, u16 *bs) argument 4381 ixgbe_set_mac_anti_spoofing(struct ixgbe_hw *hw, bool enable, int vf) argument 4405 ixgbe_set_vlan_anti_spoofing(struct ixgbe_hw *hw, bool enable, int vf) argument 4430 ixgbe_get_device_caps_generic(struct ixgbe_hw *hw, u16 *device_caps) argument 4444 ixgbe_enable_relaxed_ordering_gen2(struct ixgbe_hw *hw) argument 4504 ixgbe_hic_unlocked(struct ixgbe_hw *hw, u32 *buffer, u32 length, u32 timeout) argument 4582 ixgbe_host_interface_command(struct ixgbe_hw *hw, u32 *buffer, u32 length, u32 timeout, bool return_data) argument 4658 ixgbe_set_fw_drv_ver_generic(struct ixgbe_hw *hw, u8 maj, u8 min, u8 build, u8 sub, u16 len, const char *driver_ver) argument 4710 ixgbe_set_rxpba_generic(struct ixgbe_hw *hw, int num_pb, u32 headroom, int strategy) argument 4771 ixgbe_clear_tx_pending(struct ixgbe_hw *hw) argument 4834 ixgbe_bypass_rw_generic(struct ixgbe_hw *hw, u32 cmd, u32 *status) argument 5004 ixgbe_bypass_set_generic(struct ixgbe_hw *hw, u32 ctrl, u32 event, u32 action) argument 5046 ixgbe_bypass_rd_eep_generic(struct ixgbe_hw *hw, u32 addr, u8 *value) argument 5079 ixgbe_dcb_get_rtrup2tc_generic(struct ixgbe_hw *hw, u8 *map) argument 5090 ixgbe_disable_rx_generic(struct ixgbe_hw *hw) argument 5112 ixgbe_enable_rx_generic(struct ixgbe_hw *hw) argument 5134 ixgbe_mng_present(struct ixgbe_hw *hw) argument 5152 ixgbe_mng_enabled(struct ixgbe_hw *hw) argument 5181 ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument 5327 ixgbe_set_soft_rate_select_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed) argument [all...] |
H A D | ixgbe_netmap.c | 106 set_crcstrip(struct ixgbe_hw *hw, int onoff) argument 109 * IXGBE_HLREG0 (modified on init_locked and hw reset) 118 hl = IXGBE_READ_REG(hw, IXGBE_HLREG0); 119 rxc = IXGBE_READ_REG(hw, IXGBE_RDRXCTL); 123 /* hw requirements ... */ 138 IXGBE_WRITE_REG(hw, IXGBE_HLREG0, hl); 139 IXGBE_WRITE_REG(hw, IXGBE_RDRXCTL, rxc); 157 set_crcstrip(&adapter->hw, onoff); 165 set_crcstrip(&adapter->hw, onoff); // XXX why twice ? 298 IXGBE_WRITE_REG(&adapter->hw, tx [all...] |
H A D | ixgbe_type.h | 3848 typedef u8* (*ixgbe_mc_addr_itr) (struct ixgbe_hw *hw, u8 **mc_addr_ptr, 3947 s32 (*bypass_rw) (struct ixgbe_hw *hw, u32 cmd, u32 *status); 3949 s32 (*bypass_set) (struct ixgbe_hw *hw, u32 cmd, u32 event, u32 action); 3950 s32 (*bypass_rd_eep) (struct ixgbe_hw *hw, u32 addr, u8 *value); 3951 void (*get_rtrup2tc)(struct ixgbe_hw *hw, u8 *map); 3952 void (*disable_rx)(struct ixgbe_hw *hw); 3953 void (*enable_rx)(struct ixgbe_hw *hw); 3957 s32 (*dmac_update_tcs)(struct ixgbe_hw *hw); 3958 s32 (*dmac_config_tcs)(struct ixgbe_hw *hw); 3959 s32 (*dmac_config)(struct ixgbe_hw *hw); [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...] |
H A D | i40e_alloc.h | 54 enum i40e_status_code i40e_allocate_dma_mem(struct i40e_hw *hw, 58 enum i40e_status_code i40e_free_dma_mem(struct i40e_hw *hw, 60 enum i40e_status_code i40e_allocate_virt_mem(struct i40e_hw *hw, 63 enum i40e_status_code i40e_free_virt_mem(struct i40e_hw *hw,
|
H A D | i40e_common.c | 42 * @hw: pointer to the HW structure 45 * vendor ID and device ID stored in the hw structure. 47 enum i40e_status_code i40e_set_mac_type(struct i40e_hw *hw) argument 53 if (hw->vendor_id == I40E_INTEL_VENDOR_ID) { 54 switch (hw->device_id) { 73 hw->mac.type = I40E_MAC_XL710; 81 hw->mac.type = I40E_MAC_X722; 84 hw->mac.type = I40E_MAC_X722_VF; 89 hw->mac.type = I40E_MAC_VF; 92 hw 109 i40e_aq_str(struct i40e_hw *hw, enum i40e_admin_queue_err aq_err) argument 169 i40e_stat_str(struct i40e_hw *hw, enum i40e_status_code stat_err) argument 322 i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, void *desc, void *buffer, u16 buf_len) argument 393 i40e_check_asq_alive(struct i40e_hw *hw) argument 414 i40e_aq_queue_shutdown(struct i40e_hw *hw, bool unloading) argument 443 i40e_aq_get_set_rss_lut(struct i40e_hw *hw, u16 vsi_id, bool pf_lut, u8 *lut, u16 lut_size, bool set) argument 496 i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 vsi_id, bool pf_lut, u8 *lut, u16 lut_size) argument 513 i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 vsi_id, bool pf_lut, u8 *lut, u16 lut_size) argument 528 i40e_aq_get_set_rss_key(struct i40e_hw *hw, u16 vsi_id, struct i40e_aqc_get_set_rss_key_data *key, bool set) argument 568 i40e_aq_get_rss_key(struct i40e_hw *hw, u16 vsi_id, struct i40e_aqc_get_set_rss_key_data *key) argument 583 i40e_aq_set_rss_key(struct i40e_hw *hw, u16 vsi_id, struct i40e_aqc_get_set_rss_key_data *key) argument 992 i40e_init_shared_code(struct i40e_hw *hw) argument 1050 i40e_aq_mac_address_read(struct i40e_hw *hw, u16 *flags, struct i40e_aqc_mac_address_read_data *addrs, struct i40e_asq_cmd_details *cmd_details) argument 1077 i40e_aq_mac_address_write(struct i40e_hw *hw, u16 flags, u8 *mac_addr, struct i40e_asq_cmd_details *cmd_details) argument 1107 i40e_get_mac_addr(struct i40e_hw *hw, u8 *mac_addr) argument 1129 i40e_get_port_mac_addr(struct i40e_hw *hw, u8 *mac_addr) argument 1157 i40e_pre_tx_queue_cfg(struct i40e_hw *hw, u32 queue, bool enable) argument 1188 i40e_read_pba_string(struct i40e_hw *hw, u8 *pba_num, u32 pba_num_size) argument 1243 i40e_get_media_type(struct i40e_hw *hw) argument 1303 i40e_poll_globr(struct i40e_hw *hw, u32 retry_limit) argument 1329 i40e_pf_reset(struct i40e_hw *hw) argument 1417 i40e_clear_hw(struct i40e_hw *hw) argument 1509 i40e_clear_pxe_mode(struct i40e_hw *hw) argument 1522 i40e_led_is_mine(struct i40e_hw *hw, int idx) argument 1559 i40e_led_get(struct i40e_hw *hw) argument 1588 i40e_led_set(struct i40e_hw *hw, u32 mode, bool blink) argument 1630 i40e_aq_get_phy_capabilities(struct i40e_hw *hw, bool qualified_modules, bool report_init, struct i40e_aq_get_phy_abilities_resp *abilities, struct i40e_asq_cmd_details *cmd_details) argument 1706 i40e_aq_set_phy_config(struct i40e_hw *hw, struct i40e_aq_set_phy_config *config, struct i40e_asq_cmd_details *cmd_details) argument 1736 i40e_set_fc(struct i40e_hw *hw, u8 *aq_failures, bool atomic_restart) argument 1822 i40e_aq_set_mac_config(struct i40e_hw *hw, u16 max_frame_size, bool crc_en, u16 pacing, struct i40e_asq_cmd_details *cmd_details) argument 1859 i40e_aq_clear_pxe_mode(struct i40e_hw *hw, struct i40e_asq_cmd_details *cmd_details) argument 1887 i40e_aq_set_link_restart_an(struct i40e_hw *hw, bool enable_link, struct i40e_asq_cmd_details *cmd_details) argument 1918 i40e_aq_get_link_info(struct i40e_hw *hw, bool enable_lse, struct i40e_link_status *link, struct i40e_asq_cmd_details *cmd_details) argument 2016 i40e_aq_set_phy_int_mask(struct i40e_hw *hw, u16 mask, struct i40e_asq_cmd_details *cmd_details) argument 2043 i40e_aq_get_local_advt_reg(struct i40e_hw *hw, u64 *advt_reg, struct i40e_asq_cmd_details *cmd_details) argument 2075 i40e_aq_set_local_advt_reg(struct i40e_hw *hw, u64 advt_reg, struct i40e_asq_cmd_details *cmd_details) argument 2103 i40e_aq_get_partner_advt(struct i40e_hw *hw, u64 *advt_reg, struct i40e_asq_cmd_details *cmd_details) argument 2136 i40e_aq_set_lb_modes(struct i40e_hw *hw, u8 lb_level, u8 lb_type, u8 speed, struct i40e_asq_cmd_details *cmd_details) argument 2166 i40e_aq_set_phy_debug(struct i40e_hw *hw, u8 cmd_flags, struct i40e_asq_cmd_details *cmd_details) argument 2192 i40e_aq_add_vsi(struct i40e_hw *hw, struct i40e_vsi_context *vsi_ctx, struct i40e_asq_cmd_details *cmd_details) argument 2235 i40e_aq_set_default_vsi(struct i40e_hw *hw, u16 seid, struct i40e_asq_cmd_details *cmd_details) argument 2263 i40e_aq_clear_default_vsi(struct i40e_hw *hw, u16 seid, struct i40e_asq_cmd_details *cmd_details) argument 2293 i40e_aq_set_vsi_unicast_promiscuous(struct i40e_hw *hw, u16 seid, bool set, struct i40e_asq_cmd_details *cmd_details, bool rx_only_promisc) argument 2335 i40e_aq_set_vsi_multicast_promiscuous(struct i40e_hw *hw, u16 seid, bool set, struct i40e_asq_cmd_details *cmd_details) argument 2367 i40e_aq_set_vsi_full_promiscuous(struct i40e_hw *hw, u16 seid, bool set, struct i40e_asq_cmd_details *cmd_details) argument 2405 i40e_aq_set_vsi_mc_promisc_on_vlan(struct i40e_hw *hw, u16 seid, bool enable, u16 vid, struct i40e_asq_cmd_details *cmd_details) argument 2439 i40e_aq_set_vsi_uc_promisc_on_vlan(struct i40e_hw *hw, u16 seid, bool enable, u16 vid, struct i40e_asq_cmd_details *cmd_details) argument 2473 i40e_aq_set_vsi_bc_promisc_on_vlan(struct i40e_hw *hw, u16 seid, bool enable, u16 vid, struct i40e_asq_cmd_details *cmd_details) argument 2508 i40e_aq_set_vsi_broadcast(struct i40e_hw *hw, u16 seid, bool set_filter, struct i40e_asq_cmd_details *cmd_details) argument 2541 i40e_aq_set_vsi_vlan_promisc(struct i40e_hw *hw, u16 seid, bool enable, struct i40e_asq_cmd_details *cmd_details) argument 2571 i40e_aq_get_vsi_params(struct i40e_hw *hw, struct i40e_vsi_context *vsi_ctx, struct i40e_asq_cmd_details *cmd_details) argument 2613 i40e_aq_update_vsi_params(struct i40e_hw *hw, struct i40e_vsi_context *vsi_ctx, struct i40e_asq_cmd_details *cmd_details) argument 2650 i40e_aq_get_switch_config(struct i40e_hw *hw, struct i40e_aqc_get_switch_config_resp *buf, u16 buf_size, u16 *start_seid, struct i40e_asq_cmd_details *cmd_details) argument 2683 i40e_aq_set_switch_config(struct i40e_hw *hw, u16 flags, u16 valid_flags, u8 mode, struct i40e_asq_cmd_details *cmd_details) argument 2719 i40e_aq_get_firmware_version(struct i40e_hw *hw, u16 *fw_major_version, u16 *fw_minor_version, u32 *fw_build, u16 *api_major_version, u16 *api_minor_version, struct i40e_asq_cmd_details *cmd_details) argument 2766 i40e_aq_send_driver_version(struct i40e_hw *hw, struct i40e_driver_version *dv, struct i40e_asq_cmd_details *cmd_details) argument 2808 i40e_get_link_status(struct i40e_hw *hw, bool *link_up) argument 2829 i40e_update_link_info(struct i40e_hw *hw) argument 2864 i40e_get_link_speed(struct i40e_hw *hw) argument 2896 i40e_aq_add_veb(struct i40e_hw *hw, u16 uplink_seid, u16 downlink_seid, u8 enabled_tc, bool default_port, u16 *veb_seid, bool enable_stats, struct i40e_asq_cmd_details *cmd_details) argument 2954 i40e_aq_get_veb_parameters(struct i40e_hw *hw, u16 veb_seid, u16 *switch_id, bool *floating, u16 *statistic_index, u16 *vebs_used, u16 *vebs_free, struct i40e_asq_cmd_details *cmd_details) argument 3008 i40e_aq_add_macvlan(struct i40e_hw *hw, u16 seid, struct i40e_aqc_add_macvlan_element_data *mv_list, u16 count, struct i40e_asq_cmd_details *cmd_details) argument 3056 i40e_aq_remove_macvlan(struct i40e_hw *hw, u16 seid, struct i40e_aqc_remove_macvlan_element_data *mv_list, u16 count, struct i40e_asq_cmd_details *cmd_details) argument 3105 i40e_mirrorrule_op(struct i40e_hw *hw, u16 opcode, u16 sw_seid, u16 rule_type, u16 id, u16 count, __le16 *mr_list, struct i40e_asq_cmd_details *cmd_details, u16 *rule_id, u16 *rules_used, u16 *rules_free) argument 3165 i40e_aq_add_mirrorrule(struct i40e_hw *hw, u16 sw_seid, u16 rule_type, u16 dest_vsi, u16 count, __le16 *mr_list, struct i40e_asq_cmd_details *cmd_details, u16 *rule_id, u16 *rules_used, u16 *rules_free) argument 3196 i40e_aq_delete_mirrorrule(struct i40e_hw *hw, u16 sw_seid, u16 rule_type, u16 rule_id, u16 count, __le16 *mr_list, struct i40e_asq_cmd_details *cmd_details, u16 *rules_used, u16 *rules_free) argument 3224 i40e_aq_add_vlan(struct i40e_hw *hw, u16 seid, struct i40e_aqc_add_remove_vlan_element_data *v_list, u8 count, struct i40e_asq_cmd_details *cmd_details) argument 3264 i40e_aq_remove_vlan(struct i40e_hw *hw, u16 seid, struct i40e_aqc_add_remove_vlan_element_data *v_list, u8 count, struct i40e_asq_cmd_details *cmd_details) argument 3308 i40e_aq_send_msg_to_vf(struct i40e_hw *hw, u16 vfid, u32 v_opcode, u32 v_retval, u8 *msg, u16 msglen, struct i40e_asq_cmd_details *cmd_details) argument 3343 i40e_aq_debug_read_register(struct i40e_hw *hw, u32 reg_addr, u64 *reg_val, struct i40e_asq_cmd_details *cmd_details) argument 3378 i40e_aq_debug_write_register(struct i40e_hw *hw, u32 reg_addr, u64 reg_val, struct i40e_asq_cmd_details *cmd_details) argument 3409 i40e_aq_request_resource(struct i40e_hw *hw, enum i40e_aq_resources_ids resource, enum i40e_aq_resource_access_type access, u8 sdp_number, u64 *timeout, struct i40e_asq_cmd_details *cmd_details) argument 3450 i40e_aq_release_resource(struct i40e_hw *hw, enum i40e_aq_resources_ids resource, u8 sdp_number, struct i40e_asq_cmd_details *cmd_details) argument 3484 i40e_aq_read_nvm(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 length, void *data, bool last_command, struct i40e_asq_cmd_details *cmd_details) argument 3531 i40e_aq_read_nvm_config(struct i40e_hw *hw, u8 cmd_flags, u32 field_id, void *data, u16 buf_size, u16 *element_count, struct i40e_asq_cmd_details *cmd_details) argument 3570 i40e_aq_write_nvm_config(struct i40e_hw *hw, u8 cmd_flags, void *data, u16 buf_size, u16 element_count, struct i40e_asq_cmd_details *cmd_details) argument 3599 i40e_aq_oem_post_update(struct i40e_hw *hw, void *buff, u16 buff_size, struct i40e_asq_cmd_details *cmd_details) argument 3626 i40e_aq_erase_nvm(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 length, bool last_command, struct i40e_asq_cmd_details *cmd_details) argument 3667 i40e_parse_discover_capabilities(struct i40e_hw *hw, void *buff, u32 cap_count, enum i40e_admin_queue_opc list_type_opc) argument 4023 i40e_aq_discover_capabilities(struct i40e_hw *hw, void *buff, u16 buff_size, u16 *data_size, enum i40e_admin_queue_opc list_type_opc, struct i40e_asq_cmd_details *cmd_details) argument 4072 i40e_aq_update_nvm(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 length, void *data, bool last_command, u8 preservation_flags, struct i40e_asq_cmd_details *cmd_details) argument 4127 i40e_aq_rearrange_nvm(struct i40e_hw *hw, u8 rearrange_nvm, struct i40e_asq_cmd_details *cmd_details) argument 4164 i40e_aq_nvm_progress(struct i40e_hw *hw, u8 *progress, struct i40e_asq_cmd_details *cmd_details) argument 4191 i40e_aq_get_lldp_mib(struct i40e_hw *hw, u8 bridge_type, u8 mib_type, void *buff, u16 buff_size, u16 *local_len, u16 *remote_len, struct i40e_asq_cmd_details *cmd_details) argument 4241 i40e_aq_set_lldp_mib(struct i40e_hw *hw, u8 mib_type, void *buff, u16 buff_size, struct i40e_asq_cmd_details *cmd_details) argument 4279 i40e_aq_cfg_lldp_mib_change_event(struct i40e_hw *hw, bool enable_update, struct i40e_asq_cmd_details *cmd_details) argument 4309 i40e_aq_restore_lldp(struct i40e_hw *hw, u8 *setting, bool restore, struct i40e_asq_cmd_details *cmd_details) argument 4345 i40e_aq_stop_lldp(struct i40e_hw *hw, bool shutdown_agent, bool persist, struct i40e_asq_cmd_details *cmd_details) argument 4380 i40e_aq_start_lldp(struct i40e_hw *hw, bool persist, struct i40e_asq_cmd_details *cmd_details) argument 4414 i40e_aq_set_dcb_parameters(struct i40e_hw *hw, bool dcb_enable, struct i40e_asq_cmd_details *cmd_details) argument 4446 i40e_aq_get_cee_dcb_config(struct i40e_hw *hw, void *buff, u16 buff_size, struct i40e_asq_cmd_details *cmd_details) argument 4474 i40e_aq_start_stop_dcbx(struct i40e_hw *hw, bool start_agent, struct i40e_asq_cmd_details *cmd_details) argument 4507 i40e_aq_add_udp_tunnel(struct i40e_hw *hw, u16 udp_port, u8 protocol_index, u8 *filter_index, struct i40e_asq_cmd_details *cmd_details) argument 4538 i40e_aq_del_udp_tunnel(struct i40e_hw *hw, u8 index, struct i40e_asq_cmd_details *cmd_details) argument 4567 i40e_aq_get_switch_resource_alloc(struct i40e_hw *hw, u8 *num_entries, struct i40e_aqc_switch_resource_alloc_element_resp *buf, u16 count, struct i40e_asq_cmd_details *cmd_details) argument 4602 i40e_aq_delete_element(struct i40e_hw *hw, u16 seid, struct i40e_asq_cmd_details *cmd_details) argument 4634 i40e_aq_add_pvirt(struct i40e_hw *hw, u16 flags, u16 mac_seid, u16 vsi_seid, u16 *ret_seid) argument 4675 i40e_aq_add_tag(struct i40e_hw *hw, bool direct_to_queue, u16 vsi_seid, u16 tag, u16 queue_num, u16 *tags_used, u16 *tags_free, struct i40e_asq_cmd_details *cmd_details) argument 4724 i40e_aq_remove_tag(struct i40e_hw *hw, u16 vsi_seid, u16 tag, u16 *tags_used, u16 *tags_free, struct i40e_asq_cmd_details *cmd_details) argument 4773 i40e_aq_add_mcast_etag(struct i40e_hw *hw, u16 pv_seid, u16 etag, u8 num_tags_in_buf, void *buf, u16 *tags_used, u16 *tags_free, struct i40e_asq_cmd_details *cmd_details) argument 4825 i40e_aq_remove_mcast_etag(struct i40e_hw *hw, u16 pv_seid, u16 etag, u16 *tags_used, u16 *tags_free, struct i40e_asq_cmd_details *cmd_details) argument 4872 i40e_aq_update_tag(struct i40e_hw *hw, u16 vsi_seid, u16 old_tag, u16 new_tag, u16 *tags_used, u16 *tags_free, struct i40e_asq_cmd_details *cmd_details) argument 4916 i40e_aq_dcb_ignore_pfc(struct i40e_hw *hw, u8 tcmap, bool request, u8 *tcmap_ret, struct i40e_asq_cmd_details *cmd_details) argument 4959 i40e_aq_dcb_updated(struct i40e_hw *hw, struct i40e_asq_cmd_details *cmd_details) argument 4984 i40e_aq_add_statistics(struct i40e_hw *hw, u16 seid, u16 vlan_id, u16 *stat_index, struct i40e_asq_cmd_details *cmd_details) argument 5021 i40e_aq_remove_statistics(struct i40e_hw *hw, u16 seid, u16 vlan_id, u16 stat_index, struct i40e_asq_cmd_details *cmd_details) argument 5054 i40e_aq_set_port_parameters(struct i40e_hw *hw, u16 bad_frame_vsi, bool save_bad_pac, bool pad_short_pac, bool double_vlan, struct i40e_asq_cmd_details *cmd_details) argument 5094 i40e_aq_tx_sched_cmd(struct i40e_hw *hw, u16 seid, void *buff, u16 buff_size, enum i40e_admin_queue_opc opcode, struct i40e_asq_cmd_details *cmd_details) argument 5152 i40e_aq_config_vsi_bw_limit(struct i40e_hw *hw, u16 seid, u16 credit, u8 max_credit, struct i40e_asq_cmd_details *cmd_details) argument 5181 i40e_aq_config_switch_comp_bw_limit(struct i40e_hw *hw, u16 seid, u16 credit, u8 max_bw, struct i40e_asq_cmd_details *cmd_details) argument 5209 i40e_aq_config_vsi_ets_sla_bw_limit(struct i40e_hw *hw, u16 seid, struct i40e_aqc_configure_vsi_ets_sla_bw_data *bw_data, struct i40e_asq_cmd_details *cmd_details) argument 5226 i40e_aq_config_vsi_tc_bw(struct i40e_hw *hw, u16 seid, struct i40e_aqc_configure_vsi_tc_bw_data *bw_data, struct i40e_asq_cmd_details *cmd_details) argument 5243 i40e_aq_config_switch_comp_ets_bw_limit( struct i40e_hw *hw, u16 seid, struct i40e_aqc_configure_switching_comp_ets_bw_limit_data *bw_data, struct i40e_asq_cmd_details *cmd_details) argument 5260 i40e_aq_query_vsi_bw_config(struct i40e_hw *hw, u16 seid, struct i40e_aqc_query_vsi_bw_config_resp *bw_data, struct i40e_asq_cmd_details *cmd_details) argument 5277 i40e_aq_query_vsi_ets_sla_config(struct i40e_hw *hw, u16 seid, struct i40e_aqc_query_vsi_ets_sla_config_resp *bw_data, struct i40e_asq_cmd_details *cmd_details) argument 5294 i40e_aq_query_switch_comp_ets_config(struct i40e_hw *hw, u16 seid, struct i40e_aqc_query_switching_comp_ets_config_resp *bw_data, struct i40e_asq_cmd_details *cmd_details) argument 5311 i40e_aq_query_port_ets_config(struct i40e_hw *hw, u16 seid, struct i40e_aqc_query_port_ets_config_resp *bw_data, struct i40e_asq_cmd_details *cmd_details) argument 5328 i40e_aq_query_switch_comp_bw_config(struct i40e_hw *hw, u16 seid, struct i40e_aqc_query_switching_comp_bw_config_resp *bw_data, struct i40e_asq_cmd_details *cmd_details) argument 5350 i40e_validate_filter_settings(struct i40e_hw *hw, struct i40e_filter_control_settings *settings) argument 5443 i40e_set_filter_control(struct i40e_hw *hw, struct i40e_filter_control_settings *settings) argument 5517 i40e_aq_add_rem_control_packet_filter(struct i40e_hw *hw, u8 *mac_addr, u16 ethtype, u16 flags, u16 vsi_seid, u16 queue, bool is_add, struct i40e_control_filter_stats *stats, struct i40e_asq_cmd_details *cmd_details) argument 5569 i40e_add_filter_to_drop_tx_flow_control_frames(struct i40e_hw *hw, u16 seid) argument 5627 i40e_aq_add_cloud_filters(struct i40e_hw *hw, u16 seid, struct i40e_aqc_add_remove_cloud_filters_element_data *filters, u8 filter_count) argument 5666 i40e_aq_remove_cloud_filters(struct i40e_hw *hw, u16 seid, struct i40e_aqc_add_remove_cloud_filters_element_data *filters, u8 filter_count) argument 5705 i40e_aq_alternate_write(struct i40e_hw *hw, u32 reg_addr0, u32 reg_val0, u32 reg_addr1, u32 reg_val1) argument 5736 i40e_aq_alternate_write_indirect(struct i40e_hw *hw, u32 addr, u32 dw_count, void *buffer) argument 5778 i40e_aq_alternate_read(struct i40e_hw *hw, u32 reg_addr0, u32 *reg_val0, u32 reg_addr1, u32 *reg_val1) argument 5817 i40e_aq_alternate_read_indirect(struct i40e_hw *hw, u32 addr, u32 dw_count, void *buffer) argument 5854 i40e_aq_alternate_clear(struct i40e_hw *hw) argument 5876 i40e_aq_alternate_write_done(struct i40e_hw *hw, u8 bios_mode, bool *reset_needed) argument 5909 i40e_aq_set_oem_mode(struct i40e_hw *hw, u8 oem_mode) argument 5934 i40e_aq_resume_port_tx(struct i40e_hw *hw, struct i40e_asq_cmd_details *cmd_details) argument 5954 i40e_set_pci_config_data(struct i40e_hw *hw, u16 link_status) argument 6008 i40e_aq_debug_dump(struct i40e_hw *hw, u8 cluster_id, u8 table_id, u32 start_index, u16 buff_size, void *buff, u16 *ret_buff_size, u8 *ret_next_table, u32 *ret_next_index, struct i40e_asq_cmd_details *cmd_details) argument 6059 i40e_enable_eee(struct i40e_hw *hw, bool enable) argument 6124 i40e_read_bw_from_alt_ram(struct i40e_hw *hw, u32 *max_bw, u32 *min_bw, bool *min_valid, bool *max_valid) argument 6164 i40e_aq_configure_partition_bw(struct i40e_hw *hw, struct i40e_aqc_configure_partition_bw_data *bw_data, struct i40e_asq_cmd_details *cmd_details) argument 6195 i40e_read_phy_register_clause22(struct i40e_hw *hw, u16 reg, u8 phy_addr, u16 *value) argument 6240 i40e_write_phy_register_clause22(struct i40e_hw *hw, u16 reg, u8 phy_addr, u16 value) argument 6281 i40e_read_phy_register_clause45(struct i40e_hw *hw, u8 page, u16 reg, u8 phy_addr, u16 *value) argument 6355 i40e_write_phy_register_clause45(struct i40e_hw *hw, u8 page, u16 reg, u8 phy_addr, u16 value) argument 6422 i40e_write_phy_register(struct i40e_hw *hw, u8 page, u16 reg, u8 phy_addr, u16 value) argument 6459 i40e_read_phy_register(struct i40e_hw *hw, u8 page, u16 reg, u8 phy_addr, u16 *value) argument 6493 i40e_get_phy_address(struct i40e_hw *hw, u8 dev_num) argument 6509 i40e_blink_phy_link_led(struct i40e_hw *hw, u32 time, u32 interval) argument 6581 i40e_led_get_reg(struct i40e_hw *hw, u16 led_addr, u32 *reg_val) argument 6610 i40e_led_set_reg(struct i40e_hw *hw, u16 led_addr, u32 reg_val) argument 6640 i40e_led_get_phy(struct i40e_hw *hw, u16 *led_addr, u16 *val) argument 6689 i40e_led_set_phy(struct i40e_hw *hw, bool on, u16 led_addr, u32 mode) argument 6735 i40e_get_phy_lpi_status(struct i40e_hw *hw, struct i40e_hw_port_stats *stat) argument 6781 i40e_get_lpi_counters(struct i40e_hw *hw, u32 *tx_counter, u32 *rx_counter) argument 6810 i40e_lpi_stat_update(struct i40e_hw *hw, bool offset_loaded, u64 *tx_offset, u64 *tx_stat, u64 *rx_offset, u64 *rx_stat) argument 6850 i40e_aq_rx_ctl_read_register(struct i40e_hw *hw, u32 reg_addr, u32 *reg_val, struct i40e_asq_cmd_details *cmd_details) argument 6879 i40e_read_rx_ctl(struct i40e_hw *hw, u32 reg_addr) argument 6916 i40e_aq_rx_ctl_write_register(struct i40e_hw *hw, u32 reg_addr, u32 reg_val, struct i40e_asq_cmd_details *cmd_details) argument 6941 i40e_write_rx_ctl(struct i40e_hw *hw, u32 reg_addr, u32 reg_val) argument 6978 i40e_aq_set_phy_register(struct i40e_hw *hw, u8 phy_select, u8 dev_addr, bool page_change, u32 reg_addr, u32 reg_val, struct i40e_asq_cmd_details *cmd_details) argument 7016 i40e_aq_get_phy_register(struct i40e_hw *hw, u8 phy_select, u8 dev_addr, bool page_change, u32 reg_addr, u32 *reg_val, struct i40e_asq_cmd_details *cmd_details) argument 7056 i40e_aq_run_phy_activity(struct i40e_hw *hw, u16 activity_id, u32 dnl_opcode, u32 *cmd_status, u32 *data0, u32 *data1, struct i40e_asq_cmd_details *cmd_details) argument 7101 i40e_aq_send_msg_to_pf(struct i40e_hw *hw, enum virtchnl_ops v_opcode, enum i40e_status_code v_retval, u8 *msg, u16 msglen, struct i40e_asq_cmd_details *cmd_details) argument 7140 i40e_vf_parse_hw_config(struct i40e_hw *hw, struct virtchnl_vf_resource *msg) argument 7178 i40e_vf_reset(struct i40e_hw *hw) argument 7193 i40e_aq_set_arp_proxy_config(struct i40e_hw *hw, struct i40e_aqc_arp_proxy_data *proxy_config, struct i40e_asq_cmd_details *cmd_details) argument 7229 i40e_aq_set_ns_proxy_table_entry(struct i40e_hw *hw, struct i40e_aqc_ns_proxy_data *ns_proxy_table_entry, struct i40e_asq_cmd_details *cmd_details) argument 7271 i40e_aq_set_clear_wol_filter(struct i40e_hw *hw, u8 filter_index, struct i40e_aqc_set_wol_filter_data *filter, bool set_filter, bool no_wol_tco, bool filter_valid, bool no_wol_tco_valid, struct i40e_asq_cmd_details *cmd_details) argument 7333 i40e_aq_get_wake_event_reason(struct i40e_hw *hw, u16 *wake_reason, struct i40e_asq_cmd_details *cmd_details) argument 7359 i40e_aq_clear_all_wol_filters(struct i40e_hw *hw, struct i40e_asq_cmd_details *cmd_details) argument [all...] |
H A D | i40e_dcb.c | 41 * @hw: pointer to the hw struct 46 enum i40e_status_code i40e_get_dcbx_status(struct i40e_hw *hw, u16 *status) argument 53 reg = rd32(hw, I40E_PRTDCB_GENS); 577 * @hw: pointer to the hw struct 584 enum i40e_status_code i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type, argument 593 ret = i40e_allocate_virt_mem(hw, &mem, I40E_LLDPDU_SIZE); 598 ret = i40e_aq_get_lldp_mib(hw, bridgetype, mib_type, 608 i40e_free_virt_mem(hw, 800 i40e_get_ieee_dcb_config(struct i40e_hw *hw) argument 830 i40e_get_dcb_config(struct i40e_hw *hw) argument 900 i40e_init_dcb(struct i40e_hw *hw, bool enable_mib_change) argument 956 i40e_get_fw_lldp_status(struct i40e_hw *hw, enum i40e_get_fw_lldp_status_resp *lldp_status) argument 1253 i40e_set_dcb_config(struct i40e_hw *hw) argument 1327 _i40e_read_lldp_cfg(struct i40e_hw *hw, struct i40e_lldp_variables *lldp_cfg, u8 module, u32 word_offset) argument 1389 i40e_read_lldp_cfg(struct i40e_hw *hw, struct i40e_lldp_variables *lldp_cfg) argument [all...] |
H A D | i40e_dcb.h | 217 enum i40e_status_code i40e_get_dcbx_status(struct i40e_hw *hw, 221 enum i40e_status_code i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type, 224 enum i40e_status_code i40e_get_dcb_config(struct i40e_hw *hw); 225 enum i40e_status_code i40e_init_dcb(struct i40e_hw *hw, 228 i40e_get_fw_lldp_status(struct i40e_hw *hw, 230 enum i40e_status_code i40e_set_dcb_config(struct i40e_hw *hw);
|
H A D | i40e_hmc.c | 44 * @hw: pointer to our hw struct 50 enum i40e_status_code i40e_add_sd_table_entry(struct i40e_hw *hw, argument 86 ret_code = i40e_allocate_dma_mem(hw, &mem, mem_type, alloc_len, 92 ret_code = i40e_allocate_virt_mem(hw, 121 i40e_free_dma_mem(hw, &mem); 128 * @hw: pointer to our HW structure 143 enum i40e_status_code i40e_add_pd_table_entry(struct i40e_hw *hw, argument 178 ret_code = i40e_allocate_dma_mem(hw, page, i40e_mem_bp, 211 * @hw 224 i40e_remove_pd_bp(struct i40e_hw *hw, struct i40e_hmc_info *hmc_info, u32 idx) argument 308 i40e_remove_sd_bp_new(struct i40e_hw *hw, struct i40e_hmc_info *hmc_info, u32 idx, bool is_pf) argument 357 i40e_remove_pd_page_new(struct i40e_hw *hw, struct i40e_hmc_info *hmc_info, u32 idx, bool is_pf) argument [all...] |
H A D | i40e_hmc.h | 65 struct i40e_dma_mem addr; /* populate to be used by hw */ 78 struct i40e_dma_mem pd_page_addr; /* populate to be used by hw */ 125 * @hw: pointer to our hw struct 130 #define I40E_SET_PF_SD_ENTRY(hw, pa, sd_index, type) \ 140 wr32((hw), I40E_PFHMC_SDDATAHIGH, val1); \ 141 wr32((hw), I40E_PFHMC_SDDATALOW, val2); \ 142 wr32((hw), I40E_PFHMC_SDCMD, val3); \ 147 * @hw: pointer to our hw struc [all...] |
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 267 i40e_remove_pd_page(struct i40e_hw *hw, struct i40e_hmc_info *hmc_info, u32 idx) argument 294 i40e_remove_sd_bp(struct i40e_hw *hw, struct i40e_hmc_info *hmc_info, u32 idx) argument 314 i40e_create_lan_hmc_object(struct i40e_hw *hw, struct i40e_hmc_lan_create_obj_info *info) argument 473 i40e_configure_lan_hmc(struct i40e_hw *hw, enum i40e_hmc_model model) argument 558 i40e_delete_lan_hmc_object(struct i40e_hw *hw, struct i40e_hmc_lan_delete_obj_info *info) argument 670 i40e_shutdown_lan_hmc(struct i40e_hw *hw) argument 1175 i40e_clear_hmc_context(struct i40e_hw *hw, u8 *context_bytes, enum i40e_hmc_lan_rsrc_type hmc_type) argument 1234 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...] |
H A D | i40e_lan_hmc.h | 171 enum i40e_status_code i40e_init_lan_hmc(struct i40e_hw *hw, u32 txq_num, 174 enum i40e_status_code i40e_configure_lan_hmc(struct i40e_hw *hw, 176 enum i40e_status_code i40e_shutdown_lan_hmc(struct i40e_hw *hw); 180 enum i40e_status_code i40e_get_lan_tx_queue_context(struct i40e_hw *hw, 183 enum i40e_status_code i40e_clear_lan_tx_queue_context(struct i40e_hw *hw, 185 enum i40e_status_code i40e_set_lan_tx_queue_context(struct i40e_hw *hw, 188 enum i40e_status_code i40e_get_lan_rx_queue_context(struct i40e_hw *hw, 191 enum i40e_status_code i40e_clear_lan_rx_queue_context(struct i40e_hw *hw, 193 enum i40e_status_code i40e_set_lan_rx_queue_context(struct i40e_hw *hw, 196 enum i40e_status_code i40e_create_lan_hmc_object(struct i40e_hw *hw, [all...] |
H A D | i40e_nvm.c | 39 * @hw: pointer to the HW structure 47 enum i40e_status_code i40e_init_nvm(struct i40e_hw *hw) argument 49 struct i40e_nvm_info *nvm = &hw->nvm; 59 gens = rd32(hw, I40E_GLNVM_GENS); 66 fla = rd32(hw, I40E_GLNVM_FLA); 74 i40e_debug(hw, I40E_DEBUG_NVM, "NVM init error: unsupported blank mode.\n"); 82 * @hw: pointer to the HW structure 88 enum i40e_status_code i40e_acquire_nvm(struct i40e_hw *hw, argument 97 if (hw->nvm.blank_nvm_mode) 100 ret_code = i40e_aq_request_resource(hw, I40E_NVM_RESOURCE_I 147 i40e_release_nvm(struct i40e_hw *hw) argument 177 i40e_poll_sr_srctl_done_bit(struct i40e_hw *hw) argument 206 i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset, u16 *data) argument 259 i40e_read_nvm_aq(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 words, void *data, bool last_command) argument 309 i40e_read_nvm_word_aq(struct i40e_hw *hw, u16 offset, u16 *data) argument 333 __i40e_read_nvm_word(struct i40e_hw *hw, u16 offset, u16 *data) argument 352 i40e_read_nvm_word(struct i40e_hw *hw, u16 offset, u16 *data) argument 380 i40e_read_nvm_buffer_srctl(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument 413 i40e_read_nvm_buffer_aq(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument 471 __i40e_read_nvm_buffer(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument 492 i40e_read_nvm_buffer(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument 522 i40e_write_nvm_aq(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 words, void *data, bool last_command) argument 569 __i40e_write_nvm_word(struct i40e_hw *hw, u32 offset, void *data) argument 593 __i40e_write_nvm_buffer(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 words, void *data) argument 623 i40e_calc_nvm_checksum(struct i40e_hw *hw, u16 *checksum) argument 705 i40e_update_nvm_checksum(struct i40e_hw *hw) argument 730 i40e_validate_nvm_checksum(struct i40e_hw *hw, u16 *checksum) argument 841 i40e_nvmupd_command(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument 984 i40e_nvmupd_state_init(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument 1125 i40e_nvmupd_state_reading(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument 1169 i40e_nvmupd_state_writing(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument 1285 i40e_nvmupd_clear_wait_state(struct i40e_hw *hw) argument 1322 i40e_nvmupd_check_wait_event(struct i40e_hw *hw, u16 opcode, struct i40e_aq_desc *desc) argument 1342 i40e_nvmupd_validate_command(struct i40e_hw *hw, struct i40e_nvm_access *cmd, int *perrno) argument 1450 i40e_nvmupd_exec_aq(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument 1535 i40e_nvmupd_get_aq_result(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument 1604 i40e_nvmupd_get_aq_event(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument 1639 i40e_nvmupd_nvm_read(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument 1678 i40e_nvmupd_nvm_erase(struct i40e_hw *hw, struct i40e_nvm_access *cmd, int *perrno) argument 1718 i40e_nvmupd_nvm_write(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument [all...] |
H A D | i40e_osdep.c | 53 i40e_allocate_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem, u32 size) argument 60 i40e_free_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem) argument 69 i40e_allocate_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem, argument 72 device_t dev = ((struct i40e_osdep *)hw->back)->dev; 129 i40e_free_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem) argument 180 i40e_debug_shared(struct i40e_hw *hw, enum i40e_debug_mask mask, char *fmt, ...) argument 185 if (!(mask & ((struct i40e_hw *)hw)->debug_mask)) 188 dev = ((struct i40e_osdep *)hw->back)->dev; 249 i40e_read_pci_cfg(struct i40e_hw *hw, u32 reg) argument 253 value = pci_read_config(((struct i40e_osdep *)hw 260 i40e_write_pci_cfg(struct i40e_hw *hw, u32 reg, u16 value) argument [all...] |
H A D | i40e_osdep.h | 183 extern void i40e_debug_shared(struct i40e_hw *hw, enum i40e_debug_mask mask, 242 enum i40e_status_code i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset,
|
H A D | i40e_prototype.h | 50 enum i40e_status_code i40e_init_adminq(struct i40e_hw *hw); 51 enum i40e_status_code i40e_shutdown_adminq(struct i40e_hw *hw); 52 enum i40e_status_code i40e_init_asq(struct i40e_hw *hw); 53 enum i40e_status_code i40e_init_arq(struct i40e_hw *hw); 54 enum i40e_status_code i40e_alloc_adminq_asq_ring(struct i40e_hw *hw); 55 enum i40e_status_code i40e_alloc_adminq_arq_ring(struct i40e_hw *hw); 56 enum i40e_status_code i40e_shutdown_asq(struct i40e_hw *hw); 57 enum i40e_status_code i40e_shutdown_arq(struct i40e_hw *hw); 58 u16 i40e_clean_asq(struct i40e_hw *hw); 59 void i40e_free_adminq_asq(struct i40e_hw *hw); [all...] |