/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/queue/ |
D | tx.c | 150 struct iwl_tfh_tfd *tfd) in iwl_txq_gen2_get_num_tbs() argument 152 return le16_to_cpu(tfd->num_tbs) & 0x1f; in iwl_txq_gen2_get_num_tbs() 156 struct iwl_tfh_tfd *tfd) in iwl_txq_gen2_tfd_unmap() argument 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() 172 le64_to_cpu(tfd->tbs[i].addr), in iwl_txq_gen2_tfd_unmap() 173 le16_to_cpu(tfd->tbs[i].tb_len), in iwl_txq_gen2_tfd_unmap() 177 le64_to_cpu(tfd->tbs[i].addr), in iwl_txq_gen2_tfd_unmap() 178 le16_to_cpu(tfd->tbs[i].tb_len), in iwl_txq_gen2_tfd_unmap() 182 tfd->num_tbs = 0; in iwl_txq_gen2_tfd_unmap() [all …]
|
D | tx.h | 97 return txq->tfds + trans->txqs.tfd.size * idx; in iwl_txq_get_tfd() 161 struct iwl_tfh_tfd *tfd, dma_addr_t addr, 166 struct iwl_tfh_tfd *tfd); 191 struct iwl_tfd *tfd; in iwl_txq_gen1_tfd_get_num_tbs() local 194 struct iwl_tfh_tfd *tfd = _tfd; in iwl_txq_gen1_tfd_get_num_tbs() local 196 return le16_to_cpu(tfd->num_tbs) & 0x1f; in iwl_txq_gen1_tfd_get_num_tbs() 199 tfd = (struct iwl_tfd *)_tfd; in iwl_txq_gen1_tfd_get_num_tbs() 200 return tfd->num_tbs & 0x1f; in iwl_txq_gen1_tfd_get_num_tbs() 206 struct iwl_tfd *tfd; in iwl_txq_gen1_tfd_tb_get_len() local 210 struct iwl_tfh_tfd *tfd = _tfd; in iwl_txq_gen1_tfd_tb_get_len() local [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-trans.c | 133 trans->txqs.tfd.addr_size = 64; in iwl_trans_alloc() 134 trans->txqs.tfd.max_tbs = IWL_TFH_NUM_TBS; in iwl_trans_alloc() 135 trans->txqs.tfd.size = sizeof(struct iwl_tfh_tfd); in iwl_trans_alloc() 137 trans->txqs.tfd.addr_size = 36; in iwl_trans_alloc() 138 trans->txqs.tfd.max_tbs = IWL_NUM_OF_TBS; in iwl_trans_alloc() 139 trans->txqs.tfd.size = sizeof(struct iwl_tfd); in iwl_trans_alloc()
|
D | iwl-devtrace-iwlwifi.h | 83 void *tfd, size_t tfdlen, 86 TP_ARGS(dev, skb, tfd, tfdlen, buf0, buf0_len, hdr_len), 91 __dynamic_array(u8, tfd, tfdlen) 108 memcpy(__get_dynamic_array(tfd), tfd, tfdlen);
|
D | iwl-trans.h | 223 #define IWL_TRANS_MAX_FRAGS(trans) ((trans)->txqs.tfd.max_tbs - 3) 948 } tfd; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | tx-gen2.c | 89 struct iwl_tfh_tfd *tfd; in iwl_pcie_gen2_enqueue_hcmd() local 162 tfd = iwl_txq_get_tfd(trans, txq, txq->write_ptr); in iwl_pcie_gen2_enqueue_hcmd() 163 memset(tfd, 0, sizeof(*tfd)); in iwl_pcie_gen2_enqueue_hcmd() 243 iwl_txq_gen2_set_tb(trans, tfd, iwl_txq_get_first_tb_dma(txq, idx), in iwl_pcie_gen2_enqueue_hcmd() 254 iwl_txq_gen2_tfd_unmap(trans, out_meta, tfd); in iwl_pcie_gen2_enqueue_hcmd() 257 iwl_txq_gen2_set_tb(trans, tfd, phys_addr, in iwl_pcie_gen2_enqueue_hcmd() 276 iwl_txq_gen2_tfd_unmap(trans, out_meta, tfd); in iwl_pcie_gen2_enqueue_hcmd() 279 iwl_txq_gen2_set_tb(trans, tfd, phys_addr, cmdlen[i]); in iwl_pcie_gen2_enqueue_hcmd()
|
D | tx.c | 192 static inline void iwl_pcie_tfd_set_tb(struct iwl_trans *trans, void *tfd, in iwl_pcie_tfd_set_tb() argument 195 struct iwl_tfd *tfd_fh = (void *)tfd; in iwl_pcie_tfd_set_tb() 252 void *tfd; in iwl_pcie_txq_build_tfd() local 255 tfd = txq->tfds + trans->txqs.tfd.size * txq->write_ptr; in iwl_pcie_txq_build_tfd() 258 memset(tfd, 0, trans->txqs.tfd.size); in iwl_pcie_txq_build_tfd() 260 num_tbs = iwl_txq_gen1_tfd_get_num_tbs(trans, tfd); in iwl_pcie_txq_build_tfd() 263 if (num_tbs >= trans->txqs.tfd.max_tbs) { in iwl_pcie_txq_build_tfd() 265 trans->txqs.tfd.max_tbs); in iwl_pcie_txq_build_tfd() 273 iwl_pcie_tfd_set_tb(trans, tfd, num_tbs, addr, len); in iwl_pcie_txq_build_tfd() 372 trans->txqs.tfd.size * in iwl_pcie_txq_free() [all …]
|
D | trans.c | 2979 static u32 iwl_trans_pcie_get_cmdlen(struct iwl_trans *trans, void *tfd) in iwl_trans_pcie_get_cmdlen() argument 2984 for (i = 0; i < trans->txqs.tfd.max_tbs; i++) in iwl_trans_pcie_get_cmdlen() 2985 cmdlen += iwl_txq_gen1_tfd_tb_get_len(trans, tfd, i); in iwl_trans_pcie_get_cmdlen() 3324 u16 tfd_size = trans->txqs.tfd.size; in iwl_trans_pcie_dump_data() 3544 addr_size = trans->txqs.tfd.addr_size; in iwl_trans_pcie_alloc()
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
D | kcmp.h | 24 __u32 tfd; /* target file number */ member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | kcmp.h | 24 __u32 tfd; /* target file number */ member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | kcmp.h | 22 __u32 tfd; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | kcmp.h | 35 __u32 tfd; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | eventpoll.h | 22 struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, unsigned long toff);
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/ |
D | 3945.c | 602 struct il3945_tfd *tfd, *tfd_tmp; in il3945_hw_txq_attach_buf_to_tfd() local 606 tfd = &tfd_tmp[q->write_ptr]; in il3945_hw_txq_attach_buf_to_tfd() 609 memset(tfd, 0, sizeof(*tfd)); in il3945_hw_txq_attach_buf_to_tfd() 611 count = TFD_CTL_COUNT_GET(le32_to_cpu(tfd->control_flags)); in il3945_hw_txq_attach_buf_to_tfd() 619 tfd->tbs[count].addr = cpu_to_le32(addr); in il3945_hw_txq_attach_buf_to_tfd() 620 tfd->tbs[count].len = cpu_to_le32(len); in il3945_hw_txq_attach_buf_to_tfd() 624 tfd->control_flags = in il3945_hw_txq_attach_buf_to_tfd() 640 struct il3945_tfd *tfd = &tfd_tmp[idx]; in il3945_hw_txq_free_tfd() local 646 counter = TFD_CTL_COUNT_GET(le32_to_cpu(tfd->control_flags)); in il3945_hw_txq_free_tfd() 662 pci_unmap_single(dev, le32_to_cpu(tfd->tbs[i].addr), in il3945_hw_txq_free_tfd() [all …]
|
D | 4965-mac.c | 3861 il4965_tfd_tb_get_addr(struct il_tfd *tfd, u8 idx) in il4965_tfd_tb_get_addr() argument 3863 struct il_tfd_tb *tb = &tfd->tbs[idx]; in il4965_tfd_tb_get_addr() 3875 il4965_tfd_tb_get_len(struct il_tfd *tfd, u8 idx) in il4965_tfd_tb_get_len() argument 3877 struct il_tfd_tb *tb = &tfd->tbs[idx]; in il4965_tfd_tb_get_len() 3883 il4965_tfd_set_tb(struct il_tfd *tfd, u8 idx, dma_addr_t addr, u16 len) in il4965_tfd_set_tb() argument 3885 struct il_tfd_tb *tb = &tfd->tbs[idx]; in il4965_tfd_set_tb() 3894 tfd->num_tbs = idx + 1; in il4965_tfd_set_tb() 3898 il4965_tfd_get_num_tbs(struct il_tfd *tfd) in il4965_tfd_get_num_tbs() argument 3900 return tfd->num_tbs & 0x1f; in il4965_tfd_get_num_tbs() 3913 struct il_tfd *tfd; in il4965_hw_txq_free_tfd() local [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2200.c | 5041 struct tfd_frame *tfd; in ipw_queue_tx_hcmd() local 5048 tfd = &txq->bd[q->first_empty]; in ipw_queue_tx_hcmd() 5051 memset(tfd, 0, sizeof(*tfd)); in ipw_queue_tx_hcmd() 5052 tfd->control_flags.message_type = TX_HOST_COMMAND_TYPE; in ipw_queue_tx_hcmd() 5053 tfd->control_flags.control_bits = TFD_NEED_IRQ_MASK; in ipw_queue_tx_hcmd() 5055 tfd->u.cmd.index = hcmd; in ipw_queue_tx_hcmd() 5056 tfd->u.cmd.length = len; in ipw_queue_tx_hcmd() 5057 memcpy(tfd->u.cmd.payload, buf, len); in ipw_queue_tx_hcmd() 7185 struct tfd_data *tfd) in ipw_qos_set_tx_queue_command() argument 7191 tfd->tx_flags_ext |= DCT_FLAG_EXT_QOS_ENABLED; in ipw_qos_set_tx_queue_command() [all …]
|
D | ipw2200.h | 485 } tfd; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/kcmp/ |
D | kcmp_test.c | 140 .tfd = duped_num, in main()
|
/kernel/linux/linux-5.10/kernel/ |
D | kcmp.c | 133 filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, slot.tfd, slot.toff); in kcmp_epoll_target()
|
/kernel/linux/linux-5.10/fs/ |
D | eventpoll.c | 1072 static struct epitem *ep_find_tfd(struct eventpoll *ep, int tfd, unsigned long toff) in ep_find_tfd() argument 1079 if (epi->ffd.fd == tfd) { in ep_find_tfd() 1091 struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, in get_epoll_tfile_raw_ptr() argument 1104 epi = ep_find_tfd(ep, tfd, toff); in get_epoll_tfile_raw_ptr()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | tx.h | 769 struct iwl_mvm_compressed_ba_tfd tfd[]; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tx.c | 1949 &ba_res->tfd[i]; in iwl_mvm_rx_ba_notif()
|
/kernel/linux/linux-5.10/Documentation/filesystems/ |
D | proc.rst | 1957 tfd: 5 events: 1d data: ffffffffffffffff pos:0 ino:61af sdev:7 1959 where 'tfd' is a target file descriptor number in decimal form,
|