Searched refs:tfd (Results 1 - 20 of 20) sorted by relevance

/linux-master/include/uapi/linux/
H A Dkcmp.h24 __u32 tfd; /* target file number */ member in struct:kcmp_epoll_slot
/linux-master/tools/include/uapi/linux/
H A Dkcmp.h24 __u32 tfd; /* target file number */ member in struct:kcmp_epoll_slot
/linux-master/drivers/net/wireless/intel/iwlwifi/queue/
H A Dtx.h44 return (u8 *)txq->tfds + trans->txqs.tfd.size * idx;
110 struct iwl_tfh_tfd *tfd, dma_addr_t addr,
115 struct iwl_tfh_tfd *tfd);
136 struct iwl_tfd *tfd)
138 return tfd->num_tbs & 0x1f;
144 struct iwl_tfd *tfd; local
154 tfd = (struct iwl_tfd *)_tfd;
155 tb = &tfd->tbs[idx];
161 struct iwl_tfd *tfd,
164 struct iwl_tfd_tb *tb = &tfd
135 iwl_txq_gen1_tfd_get_num_tbs(struct iwl_trans *trans, struct iwl_tfd *tfd) argument
160 iwl_pcie_gen1_tfd_set_tb(struct iwl_trans *trans, struct iwl_tfd *tfd, u8 idx, dma_addr_t addr, u16 len) argument
[all...]
H A Dtx.c83 struct iwl_tfh_tfd *tfd)
85 return le16_to_cpu(tfd->num_tbs) & 0x1f;
88 int iwl_txq_gen2_set_tb(struct iwl_trans *trans, struct iwl_tfh_tfd *tfd, argument
91 int idx = iwl_txq_gen2_get_num_tbs(trans, tfd);
106 tb = &tfd->tbs[idx];
109 if (le16_to_cpu(tfd->num_tbs) >= trans->txqs.tfd.max_tbs) {
111 trans->txqs.tfd.max_tbs);
118 tfd->num_tbs = cpu_to_le16(idx + 1);
124 struct iwl_tfh_tfd *tfd)
82 iwl_txq_gen2_get_num_tbs(struct iwl_trans *trans, struct iwl_tfh_tfd *tfd) argument
123 iwl_txq_set_tfd_invalid_gen2(struct iwl_trans *trans, struct iwl_tfh_tfd *tfd) argument
132 iwl_txq_gen2_tfd_unmap(struct iwl_trans *trans, struct iwl_cmd_meta *meta, struct iwl_tfh_tfd *tfd) argument
215 iwl_txq_gen2_set_tb_with_wa(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_tfh_tfd *tfd, dma_addr_t phys, void *virt, u16 len, struct iwl_cmd_meta *meta) argument
337 iwl_txq_gen2_build_amsdu(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_tfh_tfd *tfd, int start_len, u8 hdr_len, struct iwl_device_tx_cmd *dev_cmd) argument
474 struct iwl_tfh_tfd *tfd = iwl_txq_get_tfd(trans, txq, idx); local
523 iwl_txq_gen2_tx_add_frags(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_tfh_tfd *tfd, struct iwl_cmd_meta *out_meta) argument
562 struct iwl_tfh_tfd *tfd = iwl_txq_get_tfd(trans, txq, idx); local
655 struct iwl_tfh_tfd *tfd = iwl_txq_get_tfd(trans, txq, idx); local
730 void *tfd; local
1039 iwl_txq_set_tfd_invalid_gen1(struct iwl_trans *trans, struct iwl_tfd *tfd) argument
1104 void *tfd = iwl_txq_get_tfd(trans, txq, i); local
1370 iwl_txq_gen1_tfd_tb_get_addr(struct iwl_trans *trans, struct iwl_tfd *tfd, u8 idx) argument
1397 struct iwl_tfd *tfd = iwl_txq_get_tfd(trans, txq, index); local
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dtx-gen2.c42 struct iwl_tfh_tfd *tfd; local
118 tfd = iwl_txq_get_tfd(trans, txq, txq->write_ptr);
119 memset(tfd, 0, sizeof(*tfd));
199 iwl_txq_gen2_set_tb(trans, tfd, iwl_txq_get_first_tb_dma(txq, idx),
210 iwl_txq_gen2_tfd_unmap(trans, out_meta, tfd);
213 iwl_txq_gen2_set_tb(trans, tfd, phys_addr,
232 iwl_txq_gen2_tfd_unmap(trans, out_meta, tfd);
235 iwl_txq_gen2_set_tb(trans, tfd, phys_addr, cmdlen[i]);
H A Dtx.c138 void *tfd; local
141 tfd = (u8 *)txq->tfds + trans->txqs.tfd.size * txq->write_ptr;
144 memset(tfd, 0, trans->txqs.tfd.size);
146 num_tbs = iwl_txq_gen1_tfd_get_num_tbs(trans, tfd);
149 if (num_tbs >= trans->txqs.tfd.max_tbs) {
151 trans->txqs.tfd.max_tbs);
159 iwl_pcie_gen1_tfd_set_tb(trans, tfd, num_tbs, addr, len);
258 trans->txqs.tfd
1462 void *tfd; local
[all...]
H A Dtrans.c3074 static u32 iwl_trans_pcie_get_cmdlen(struct iwl_trans *trans, void *tfd) argument
3079 for (i = 0; i < trans->txqs.tfd.max_tbs; i++)
3080 cmdlen += iwl_txq_gen1_tfd_tb_get_len(trans, tfd, i);
3415 u16 tfd_size = trans->txqs.tfd.size;
3659 addr_size = trans->txqs.tfd.addr_size;
/linux-master/drivers/net/wireless/intel/iwlwifi/
H A Diwl-devtrace-iwlwifi.h75 void *tfd, size_t tfdlen,
78 TP_ARGS(dev, skb, tfd, tfdlen, buf0, buf0_len, hdr_len),
83 __dynamic_array(u8, tfd, tfdlen)
100 memcpy(__get_dynamic_array(tfd), tfd, tfdlen);
H A Diwl-trans.c46 trans->txqs.tfd.addr_size = 64;
47 trans->txqs.tfd.max_tbs = IWL_TFH_NUM_TBS;
48 trans->txqs.tfd.size = sizeof(struct iwl_tfh_tfd);
50 trans->txqs.tfd.addr_size = 36;
51 trans->txqs.tfd.max_tbs = IWL_NUM_OF_TBS;
52 trans->txqs.tfd.size = sizeof(struct iwl_tfd);
103 WARN_ON(trans->txqs.tfd.addr_size !=
H A Diwl-trans.h174 #define IWL_TRANS_MAX_FRAGS(trans) ((trans)->txqs.tfd.max_tbs - 3)
1016 * @tfd: TFD data
1017 * @tfd.max_tbs: max number of buffers per TFD
1018 * @tfd.size: TFD size
1019 * @tfd.addr_size: TFD/TB address size
1042 } tfd; member in struct:iwl_trans_txqs
/linux-master/include/linux/
H A Deventpoll.h22 struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, unsigned long toff);
/linux-master/drivers/net/wireless/intel/iwlegacy/
H A D3945.c602 struct il3945_tfd *tfd, *tfd_tmp; local
606 tfd = &tfd_tmp[q->write_ptr];
609 memset(tfd, 0, sizeof(*tfd));
611 count = TFD_CTL_COUNT_GET(le32_to_cpu(tfd->control_flags));
619 tfd->tbs[count].addr = cpu_to_le32(addr);
620 tfd->tbs[count].len = cpu_to_le32(len);
624 tfd->control_flags =
640 struct il3945_tfd *tfd = &tfd_tmp[idx]; local
646 counter = TFD_CTL_COUNT_GET(le32_to_cpu(tfd
[all...]
H A D4965-mac.c3860 il4965_tfd_tb_get_addr(struct il_tfd *tfd, u8 idx) argument
3862 struct il_tfd_tb *tb = &tfd->tbs[idx];
3874 il4965_tfd_tb_get_len(struct il_tfd *tfd, u8 idx) argument
3876 struct il_tfd_tb *tb = &tfd->tbs[idx];
3882 il4965_tfd_set_tb(struct il_tfd *tfd, u8 idx, dma_addr_t addr, u16 len) argument
3884 struct il_tfd_tb *tb = &tfd->tbs[idx];
3893 tfd->num_tbs = idx + 1;
3897 il4965_tfd_get_num_tbs(struct il_tfd *tfd) argument
3899 return tfd->num_tbs & 0x1f;
3912 struct il_tfd *tfd; local
3958 struct il_tfd *tfd, *tfd_tmp; local
[all...]
/linux-master/tools/testing/selftests/kcmp/
H A Dkcmp_test.c143 .tfd = duped_num,
/linux-master/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.c4995 struct tfd_frame *tfd; local
5002 tfd = &txq->bd[q->first_empty];
5005 memset(tfd, 0, sizeof(*tfd));
5006 tfd->control_flags.message_type = TX_HOST_COMMAND_TYPE;
5007 tfd->control_flags.control_bits = TFD_NEED_IRQ_MASK;
5009 tfd->u.cmd.index = hcmd;
5010 tfd->u.cmd.length = len;
5011 memcpy(tfd->u.cmd.payload, buf, len);
7139 struct tfd_data *tfd)
7137 ipw_qos_set_tx_queue_command(struct ipw_priv *priv, u16 priority, struct tfd_data *tfd) argument
10045 struct tfd_frame *tfd; local
[all...]
H A Dipw2200.h430 // tx tfd with 26 byte mac header
438 // tx tfd with 24 byte mac header
485 } tfd; member in struct:tfd_data
/linux-master/kernel/
H A Dkcmp.c119 filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, slot.tfd, slot.toff);
/linux-master/fs/
H A Deventpoll.c1017 seq_printf(m, "tfd: %8d events: %8x data: %16llx "
1134 static struct epitem *ep_find_tfd(struct eventpoll *ep, int tfd, unsigned long toff) argument
1141 if (epi->ffd.fd == tfd) {
1153 struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, argument
1166 epi = ep_find_tfd(ep, tfd, toff);
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dtx.h706 * @tfd: array of TFD queue status updates. See &iwl_mvm_compressed_ba_tfd
728 DECLARE_FLEX_ARRAY(struct iwl_mvm_compressed_ba_tfd, tfd);
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtx.c2208 struct_size(ba_res, tfd, tfd_cnt) > pkt_len,
2234 &ba_res->tfd[i];

Completed in 245 milliseconds