Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx-gen2.c92 int num_tbs) in iwl_pcie_gen2_update_byte_tbl() argument
109 num_tbs * sizeof(struct iwl_tfh_tb); in iwl_pcie_gen2_update_byte_tbl()
147 return le16_to_cpu(tfd->num_tbs) & 0x1f; in iwl_pcie_gen2_get_num_tbs()
155 int i, num_tbs; in iwl_pcie_gen2_tfd_unmap() local
158 num_tbs = iwl_pcie_gen2_get_num_tbs(trans, tfd); in iwl_pcie_gen2_tfd_unmap()
160 if (num_tbs > trans_pcie->max_tbs) { in iwl_pcie_gen2_tfd_unmap()
161 IWL_ERR(trans, "Too many chunks: %i\n", num_tbs); in iwl_pcie_gen2_tfd_unmap()
166 for (i = 1; i < num_tbs; i++) { in iwl_pcie_gen2_tfd_unmap()
179 tfd->num_tbs = 0; in iwl_pcie_gen2_tfd_unmap()
220 if (le16_to_cpu(tfd->num_tbs) >= trans_pcie->max_tbs) { in iwl_pcie_gen2_set_tb()
[all …]
Dtx.c176 int num_tbs) in iwl_pcie_txq_update_byte_cnt_tbl() argument
356 tfd_fh->num_tbs = idx + 1; in iwl_pcie_tfd_set_tb()
364 return le16_to_cpu(tfd->num_tbs) & 0x1f; in iwl_pcie_tfd_get_num_tbs()
368 return tfd->num_tbs & 0x1f; in iwl_pcie_tfd_get_num_tbs()
377 int i, num_tbs; in iwl_pcie_tfd_unmap() local
381 num_tbs = iwl_pcie_tfd_get_num_tbs(trans, tfd); in iwl_pcie_tfd_unmap()
383 if (num_tbs > trans_pcie->max_tbs) { in iwl_pcie_tfd_unmap()
384 IWL_ERR(trans, "Too many chunks: %i\n", num_tbs); in iwl_pcie_tfd_unmap()
391 for (i = 1; i < num_tbs; i++) { in iwl_pcie_tfd_unmap()
409 tfd_fh->num_tbs = 0; in iwl_pcie_tfd_unmap()
[all …]
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/
Diwl-fh.h732 u8 num_tbs; member
745 __le16 num_tbs; member
/Linux-v4.19/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c3913 tfd->num_tbs = idx + 1; in il4965_tfd_set_tb()
3919 return tfd->num_tbs & 0x1f; in il4965_tfd_get_num_tbs()
3938 int num_tbs; in il4965_hw_txq_free_tfd() local
3943 num_tbs = il4965_tfd_get_num_tbs(tfd); in il4965_hw_txq_free_tfd()
3945 if (num_tbs >= IL_NUM_OF_TBS) { in il4965_hw_txq_free_tfd()
3946 IL_ERR("Too many chunks: %i\n", num_tbs); in il4965_hw_txq_free_tfd()
3952 if (num_tbs) in il4965_hw_txq_free_tfd()
3958 for (i = 1; i < num_tbs; i++) in il4965_hw_txq_free_tfd()
3981 u32 num_tbs; in il4965_hw_txq_attach_buf_to_tfd() local
3990 num_tbs = il4965_tfd_get_num_tbs(tfd); in il4965_hw_txq_attach_buf_to_tfd()
[all …]
Dcommon.h2469 u8 num_tbs; member