Lines Matching refs:num_tbs
91 int num_tbs) in iwl_pcie_gen2_update_byte_tbl() argument
102 num_tbs * sizeof(struct iwl_tfh_tb); in iwl_pcie_gen2_update_byte_tbl()
152 return le16_to_cpu(tfd->num_tbs) & 0x1f; in iwl_txq_gen2_get_num_tbs()
158 int i, num_tbs; in iwl_txq_gen2_tfd_unmap() local
161 num_tbs = iwl_txq_gen2_get_num_tbs(trans, tfd); in iwl_txq_gen2_tfd_unmap()
163 if (num_tbs > trans->txqs.tfd.max_tbs) { in iwl_txq_gen2_tfd_unmap()
164 IWL_ERR(trans, "Too many chunks: %i\n", num_tbs); in iwl_txq_gen2_tfd_unmap()
169 for (i = 1; i < num_tbs; i++) { in iwl_txq_gen2_tfd_unmap()
182 tfd->num_tbs = 0; in iwl_txq_gen2_tfd_unmap()
236 if (le16_to_cpu(tfd->num_tbs) >= trans->txqs.tfd.max_tbs) { in iwl_txq_gen2_set_tb()
245 tfd->num_tbs = cpu_to_le16(idx + 1); in iwl_txq_gen2_set_tb()
1412 int i, num_tbs; in iwl_txq_gen1_tfd_unmap() local
1416 num_tbs = iwl_txq_gen1_tfd_get_num_tbs(trans, tfd); in iwl_txq_gen1_tfd_unmap()
1418 if (num_tbs > trans->txqs.tfd.max_tbs) { in iwl_txq_gen1_tfd_unmap()
1419 IWL_ERR(trans, "Too many chunks: %i\n", num_tbs); in iwl_txq_gen1_tfd_unmap()
1426 for (i = 1; i < num_tbs; i++) { in iwl_txq_gen1_tfd_unmap()
1448 tfd_fh->num_tbs = 0; in iwl_txq_gen1_tfd_unmap()
1452 tfd_fh->num_tbs = 0; in iwl_txq_gen1_tfd_unmap()
1464 int num_tbs) in iwl_txq_gen1_update_byte_cnt_tbl() argument