Home
last modified time | relevance | path

Searched refs:tfd (Results 1 – 21 of 21) sorted by relevance

/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.c83 struct iwl_tfh_tfd *tfd) in iwl_txq_gen2_get_num_tbs() argument
85 return le16_to_cpu(tfd->num_tbs) & 0x1f; in iwl_txq_gen2_get_num_tbs()
88 int iwl_txq_gen2_set_tb(struct iwl_trans *trans, struct iwl_tfh_tfd *tfd, in iwl_txq_gen2_set_tb() argument
91 int idx = iwl_txq_gen2_get_num_tbs(trans, tfd); in iwl_txq_gen2_set_tb()
106 tb = &tfd->tbs[idx]; in iwl_txq_gen2_set_tb()
109 if (le16_to_cpu(tfd->num_tbs) >= trans->txqs.tfd.max_tbs) { in iwl_txq_gen2_set_tb()
111 trans->txqs.tfd.max_tbs); in iwl_txq_gen2_set_tb()
118 tfd->num_tbs = cpu_to_le16(idx + 1); in iwl_txq_gen2_set_tb()
124 struct iwl_tfh_tfd *tfd) in iwl_txq_set_tfd_invalid_gen2() argument
126 tfd->num_tbs = 0; in iwl_txq_set_tfd_invalid_gen2()
[all …]
Dtx.h44 return (u8 *)txq->tfds + trans->txqs.tfd.size * idx; in iwl_txq_get_tfd()
108 struct iwl_tfh_tfd *tfd, dma_addr_t addr,
113 struct iwl_tfh_tfd *tfd);
134 struct iwl_tfd *tfd) in iwl_txq_gen1_tfd_get_num_tbs() argument
136 return tfd->num_tbs & 0x1f; in iwl_txq_gen1_tfd_get_num_tbs()
142 struct iwl_tfd *tfd; in iwl_txq_gen1_tfd_tb_get_len() local
152 tfd = (struct iwl_tfd *)_tfd; in iwl_txq_gen1_tfd_tb_get_len()
153 tb = &tfd->tbs[idx]; in iwl_txq_gen1_tfd_tb_get_len()
159 struct iwl_tfd *tfd, in iwl_pcie_gen1_tfd_set_tb() argument
162 struct iwl_tfd_tb *tb = &tfd->tbs[idx]; in iwl_pcie_gen1_tfd_set_tb()
[all …]
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx-gen2.c42 struct iwl_tfh_tfd *tfd; in iwl_pcie_gen2_enqueue_hcmd() local
115 tfd = iwl_txq_get_tfd(trans, txq, txq->write_ptr); in iwl_pcie_gen2_enqueue_hcmd()
116 memset(tfd, 0, sizeof(*tfd)); in iwl_pcie_gen2_enqueue_hcmd()
196 iwl_txq_gen2_set_tb(trans, tfd, iwl_txq_get_first_tb_dma(txq, idx), in iwl_pcie_gen2_enqueue_hcmd()
207 iwl_txq_gen2_tfd_unmap(trans, out_meta, tfd); in iwl_pcie_gen2_enqueue_hcmd()
210 iwl_txq_gen2_set_tb(trans, tfd, phys_addr, in iwl_pcie_gen2_enqueue_hcmd()
229 iwl_txq_gen2_tfd_unmap(trans, out_meta, tfd); in iwl_pcie_gen2_enqueue_hcmd()
232 iwl_txq_gen2_set_tb(trans, tfd, phys_addr, cmdlen[i]); in iwl_pcie_gen2_enqueue_hcmd()
Dtx.c138 void *tfd; in iwl_pcie_txq_build_tfd() local
141 tfd = (u8 *)txq->tfds + trans->txqs.tfd.size * txq->write_ptr; in iwl_pcie_txq_build_tfd()
144 memset(tfd, 0, trans->txqs.tfd.size); in iwl_pcie_txq_build_tfd()
146 num_tbs = iwl_txq_gen1_tfd_get_num_tbs(trans, tfd); in iwl_pcie_txq_build_tfd()
149 if (num_tbs >= trans->txqs.tfd.max_tbs) { in iwl_pcie_txq_build_tfd()
151 trans->txqs.tfd.max_tbs); in iwl_pcie_txq_build_tfd()
159 iwl_pcie_gen1_tfd_set_tb(trans, tfd, num_tbs, addr, len); in iwl_pcie_txq_build_tfd()
258 trans->txqs.tfd.size * in iwl_pcie_txq_free()
1301 trans->txqs.tfd.size, in iwl_fill_data_tbs_amsdu()
1432 void *tfd; in iwl_trans_pcie_tx() local
[all …]
Dtrans.c3069 static u32 iwl_trans_pcie_get_cmdlen(struct iwl_trans *trans, void *tfd) in iwl_trans_pcie_get_cmdlen() argument
3074 for (i = 0; i < trans->txqs.tfd.max_tbs; i++) in iwl_trans_pcie_get_cmdlen()
3075 cmdlen += iwl_txq_gen1_tfd_tb_get_len(trans, tfd, i); in iwl_trans_pcie_get_cmdlen()
3412 u16 tfd_size = trans->txqs.tfd.size; in iwl_trans_pcie_dump_data()
3648 addr_size = trans->txqs.tfd.addr_size; in iwl_trans_pcie_alloc()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.c46 trans->txqs.tfd.addr_size = 64; in iwl_trans_alloc()
47 trans->txqs.tfd.max_tbs = IWL_TFH_NUM_TBS; in iwl_trans_alloc()
48 trans->txqs.tfd.size = sizeof(struct iwl_tfh_tfd); in iwl_trans_alloc()
50 trans->txqs.tfd.addr_size = 36; in iwl_trans_alloc()
51 trans->txqs.tfd.max_tbs = IWL_NUM_OF_TBS; in iwl_trans_alloc()
52 trans->txqs.tfd.size = sizeof(struct iwl_tfd); in iwl_trans_alloc()
103 WARN_ON(trans->txqs.tfd.addr_size != in iwl_trans_init()
Diwl-devtrace-iwlwifi.h78 void *tfd, size_t tfdlen,
81 TP_ARGS(dev, skb, tfd, tfdlen, buf0, buf0_len, hdr_len),
86 __dynamic_array(u8, tfd, tfdlen)
103 memcpy(__get_dynamic_array(tfd), tfd, tfdlen);
Diwl-trans.h170 #define IWL_TRANS_MAX_FRAGS(trans) ((trans)->txqs.tfd.max_tbs - 3)
1020 } tfd; member
/Linux-v6.6/tools/include/uapi/linux/
Dkcmp.h24 __u32 tfd; /* target file number */ member
/Linux-v6.6/include/uapi/linux/
Dkcmp.h24 __u32 tfd; /* target file number */ member
/Linux-v6.6/drivers/net/wireless/intel/iwlegacy/
D3945.c602 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()
663 dma_unmap_single(&dev->dev, le32_to_cpu(tfd->tbs[i].addr), in il3945_hw_txq_free_tfd()
[all …]
D4965-mac.c3860 il4965_tfd_tb_get_addr(struct il_tfd *tfd, u8 idx) in il4965_tfd_tb_get_addr() argument
3862 struct il_tfd_tb *tb = &tfd->tbs[idx]; in il4965_tfd_tb_get_addr()
3874 il4965_tfd_tb_get_len(struct il_tfd *tfd, u8 idx) in il4965_tfd_tb_get_len() argument
3876 struct il_tfd_tb *tb = &tfd->tbs[idx]; in il4965_tfd_tb_get_len()
3882 il4965_tfd_set_tb(struct il_tfd *tfd, u8 idx, dma_addr_t addr, u16 len) in il4965_tfd_set_tb() argument
3884 struct il_tfd_tb *tb = &tfd->tbs[idx]; in il4965_tfd_set_tb()
3893 tfd->num_tbs = idx + 1; in il4965_tfd_set_tb()
3897 il4965_tfd_get_num_tbs(struct il_tfd *tfd) in il4965_tfd_get_num_tbs() argument
3899 return tfd->num_tbs & 0x1f; in il4965_tfd_get_num_tbs()
3912 struct il_tfd *tfd; in il4965_hw_txq_free_tfd() local
[all …]
/Linux-v6.6/include/linux/
Deventpoll.h22 struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, unsigned long toff);
/Linux-v6.6/drivers/net/wireless/intel/ipw2x00/
Dipw2200.c4995 struct tfd_frame *tfd; in ipw_queue_tx_hcmd() local
5002 tfd = &txq->bd[q->first_empty]; in ipw_queue_tx_hcmd()
5005 memset(tfd, 0, sizeof(*tfd)); in ipw_queue_tx_hcmd()
5006 tfd->control_flags.message_type = TX_HOST_COMMAND_TYPE; in ipw_queue_tx_hcmd()
5007 tfd->control_flags.control_bits = TFD_NEED_IRQ_MASK; in ipw_queue_tx_hcmd()
5009 tfd->u.cmd.index = hcmd; in ipw_queue_tx_hcmd()
5010 tfd->u.cmd.length = len; in ipw_queue_tx_hcmd()
5011 memcpy(tfd->u.cmd.payload, buf, len); in ipw_queue_tx_hcmd()
7139 struct tfd_data *tfd) in ipw_qos_set_tx_queue_command() argument
7145 tfd->tx_flags_ext |= DCT_FLAG_EXT_QOS_ENABLED; in ipw_qos_set_tx_queue_command()
[all …]
Dipw2200.h485 } tfd; member
/Linux-v6.6/tools/testing/selftests/kcmp/
Dkcmp_test.c143 .tfd = duped_num, in main()
/Linux-v6.6/kernel/
Dkcmp.c117 filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, slot.tfd, slot.toff); in kcmp_epoll_target()
/Linux-v6.6/fs/
Deventpoll.c1029 static struct epitem *ep_find_tfd(struct eventpoll *ep, int tfd, unsigned long toff) in ep_find_tfd() argument
1036 if (epi->ffd.fd == tfd) { in ep_find_tfd()
1048 struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, in get_epoll_tfile_raw_ptr() argument
1061 epi = ep_find_tfd(ep, tfd, toff); in get_epoll_tfile_raw_ptr()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/fw/api/
Dtx.h726 DECLARE_FLEX_ARRAY(struct iwl_mvm_compressed_ba_tfd, tfd);
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Dtx.c2099 struct_size(ba_res, tfd, tfd_cnt) > pkt_len, in iwl_mvm_rx_ba_notif()
2119 &ba_res->tfd[i]; in iwl_mvm_rx_ba_notif()
/Linux-v6.6/Documentation/filesystems/
Dproc.rst1978 tfd: 5 events: 1d data: ffffffffffffffff pos:0 ino:61af sdev:7
1980 where 'tfd' is a target file descriptor number in decimal form,