Home
last modified time | relevance | path

Searched refs:num_tbs (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dtx-gen2.c560 int num_tbs) in iwl_pcie_gen2_update_byte_tbl() argument
572 num_tbs * sizeof(struct iwl_tfh_tb); in iwl_pcie_gen2_update_byte_tbl()
605 return le16_to_cpu(tfd->num_tbs) & 0x1f; in iwl_txq_gen2_get_num_tbs()
630 if (le16_to_cpu(tfd->num_tbs) >= trans_pcie->txqs.tfd.max_tbs) { in iwl_txq_gen2_set_tb()
639 tfd->num_tbs = cpu_to_le16(idx + 1); in iwl_txq_gen2_set_tb()
649 int i, num_tbs; in iwl_txq_gen2_tfd_unmap() local
652 num_tbs = iwl_txq_gen2_get_num_tbs(tfd); in iwl_txq_gen2_tfd_unmap()
654 if (num_tbs > trans_pcie->txqs.tfd.max_tbs) { in iwl_txq_gen2_tfd_unmap()
655 IWL_ERR(trans, "Too many chunks: %i\n", num_tbs); in iwl_txq_gen2_tfd_unmap()
661 num_tbs = 2; in iwl_txq_gen2_tfd_unmap()
[all …]
H A Dtx.c154 tfd->num_tbs = idx + 1; in iwl_pcie_gen1_tfd_set_tb()
159 return tfd->num_tbs & 0x1f; in iwl_txq_gen1_tfd_get_num_tbs()
167 u32 num_tbs; in iwl_pcie_txq_build_tfd() local
174 num_tbs = iwl_txq_gen1_tfd_get_num_tbs(tfd); in iwl_pcie_txq_build_tfd()
177 if (num_tbs >= trans_pcie->txqs.tfd.max_tbs) { in iwl_pcie_txq_build_tfd()
187 iwl_pcie_gen1_tfd_set_tb(tfd, num_tbs, addr, len); in iwl_pcie_txq_build_tfd()
189 return num_tbs; in iwl_pcie_txq_build_tfd()
283 tfd->num_tbs = 0; in iwl_txq_set_tfd_invalid_gen1()
294 int i, num_tbs; in iwl_txq_gen1_tfd_unmap() local
298 num_tbs = iwl_txq_gen1_tfd_get_num_tbs(tfd); in iwl_txq_gen1_tfd_unmap()
[all …]
H A Dinternal.h751 tfd->num_tbs = 0; in iwl_txq_set_tfd_invalid_gen2()
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-fh.h695 u8 num_tbs; member
709 __le16 num_tbs; member
/linux/drivers/net/wireless/intel/iwlegacy/
H A D4965-mac.c3893 tfd->num_tbs = idx + 1; in il4965_tfd_set_tb()
3899 return tfd->num_tbs & 0x1f; in il4965_tfd_get_num_tbs()
3916 int num_tbs; in il4965_hw_txq_free_tfd() local
3921 num_tbs = il4965_tfd_get_num_tbs(tfd); in il4965_hw_txq_free_tfd()
3923 if (num_tbs >= IL_NUM_OF_TBS) { in il4965_hw_txq_free_tfd()
3924 IL_ERR("Too many chunks: %i\n", num_tbs); in il4965_hw_txq_free_tfd()
3930 if (num_tbs) in il4965_hw_txq_free_tfd()
3937 for (i = 1; i < num_tbs; i++) in il4965_hw_txq_free_tfd()
3959 u32 num_tbs; in il4965_hw_txq_attach_buf_to_tfd() local
3968 num_tbs = il4965_tfd_get_num_tbs(tfd); in il4965_hw_txq_attach_buf_to_tfd()
[all …]
H A Dcommon.h2457 u8 num_tbs; member