Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx-gen2.c62 struct iwl_tfh_tfd *tfd, in iwl_txq_gen2_set_tb_with_wa() argument
75 ret = iwl_txq_gen2_set_tb(trans, tfd, phys, len); in iwl_txq_gen2_set_tb_with_wa()
130 ret = iwl_txq_gen2_set_tb(trans, tfd, phys, len); in iwl_txq_gen2_set_tb_with_wa()
160 struct iwl_tfh_tfd *tfd, in iwl_txq_gen2_build_amsdu() argument
178 trace_iwlwifi_dev_tx(trans->dev, skb, tfd, sizeof(*tfd), in iwl_txq_gen2_build_amsdu()
250 iwl_txq_gen2_set_tb(trans, tfd, tb_phys, tb_len); in iwl_txq_gen2_build_amsdu()
270 ret = iwl_txq_gen2_set_tb_with_wa(trans, skb, tfd, in iwl_txq_gen2_build_amsdu()
305 struct iwl_tfh_tfd *tfd = iwl_txq_get_tfd(trans, txq, idx); in iwl_txq_gen2_build_tx_amsdu() local
317 iwl_txq_gen2_set_tb(trans, tfd, tb_phys, IWL_FIRST_TB_SIZE); in iwl_txq_gen2_build_tx_amsdu()
339 iwl_txq_gen2_set_tb(trans, tfd, tb_phys, len); in iwl_txq_gen2_build_tx_amsdu()
[all …]
Dtx.c143 static inline void iwl_pcie_gen1_tfd_set_tb(struct iwl_tfd *tfd, in iwl_pcie_gen1_tfd_set_tb() argument
146 struct iwl_tfd_tb *tb = &tfd->tbs[idx]; in iwl_pcie_gen1_tfd_set_tb()
154 tfd->num_tbs = idx + 1; in iwl_pcie_gen1_tfd_set_tb()
157 static inline u8 iwl_txq_gen1_tfd_get_num_tbs(struct iwl_tfd *tfd) in iwl_txq_gen1_tfd_get_num_tbs() argument
159 return tfd->num_tbs & 0x1f; in iwl_txq_gen1_tfd_get_num_tbs()
166 void *tfd; in iwl_pcie_txq_build_tfd() local
169 tfd = (u8 *)txq->tfds + trans_pcie->txqs.tfd.size * txq->write_ptr; in iwl_pcie_txq_build_tfd()
172 memset(tfd, 0, trans_pcie->txqs.tfd.size); in iwl_pcie_txq_build_tfd()
174 num_tbs = iwl_txq_gen1_tfd_get_num_tbs(tfd); in iwl_pcie_txq_build_tfd()
177 if (num_tbs >= trans_pcie->txqs.tfd.max_tbs) { in iwl_pcie_txq_build_tfd()
[all …]
Dinternal.h333 } tfd; member
599 #define IWL_TRANS_PCIE_MAX_FRAGS(trans_pcie) ((trans_pcie)->txqs.tfd.max_tbs - 3)
681 return (u8 *)txq->tfds + trans_pcie->txqs.tfd.size * idx; in iwl_txq_get_tfd()
745 struct iwl_tfh_tfd *tfd, dma_addr_t addr,
749 struct iwl_tfh_tfd *tfd) in iwl_txq_set_tfd_invalid_gen2() argument
751 tfd->num_tbs = 0; in iwl_txq_set_tfd_invalid_gen2()
753 iwl_txq_gen2_set_tb(trans, tfd, trans->invalid_tx_cmd.dma, in iwl_txq_set_tfd_invalid_gen2()
759 struct iwl_tfh_tfd *tfd);
778 struct iwl_tfd *tfd; in iwl_txq_gen1_tfd_tb_get_len() local
788 tfd = (struct iwl_tfd *)_tfd; in iwl_txq_gen1_tfd_tb_get_len()
[all …]
Dtrans.c3085 static u32 iwl_trans_pcie_get_cmdlen(struct iwl_trans *trans, void *tfd) in iwl_trans_pcie_get_cmdlen() argument
3091 for (i = 0; i < trans_pcie->txqs.tfd.max_tbs; i++) in iwl_trans_pcie_get_cmdlen()
3092 cmdlen += iwl_txq_gen1_tfd_tb_get_len(trans, tfd, i); in iwl_trans_pcie_get_cmdlen()
3426 u16 tfd_size = trans_pcie->txqs.tfd.size; in iwl_trans_pcie_dump_data()
3559 trans_pcie->txqs.tfd.addr_size = 64; in iwl_trans_pcie_alloc()
3560 trans_pcie->txqs.tfd.max_tbs = IWL_TFH_NUM_TBS; in iwl_trans_pcie_alloc()
3561 trans_pcie->txqs.tfd.size = sizeof(struct iwl_tfh_tfd); in iwl_trans_pcie_alloc()
3563 trans_pcie->txqs.tfd.addr_size = 36; in iwl_trans_pcie_alloc()
3564 trans_pcie->txqs.tfd.max_tbs = IWL_NUM_OF_TBS; in iwl_trans_pcie_alloc()
3565 trans_pcie->txqs.tfd.size = sizeof(struct iwl_tfd); in iwl_trans_pcie_alloc()
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/
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);
/linux-6.12.1/drivers/bluetooth/
Dbtintel_pcie.c113 struct tfd *tfd; in btintel_pcie_prepare_tx() local
115 tfd = &txq->tfds[tfd_index]; in btintel_pcie_prepare_tx()
116 memset(tfd, 0, sizeof(*tfd)); in btintel_pcie_prepare_tx()
120 tfd->size = skb->len; in btintel_pcie_prepare_tx()
121 tfd->addr = buf->data_p_addr; in btintel_pcie_prepare_tx()
124 memcpy(buf->data, skb->data, tfd->size); in btintel_pcie_prepare_tx()
922 total = (sizeof(struct tfd) + sizeof(struct urbd0) + sizeof(struct frbd) in btintel_pcie_alloc()
955 p_addr += (sizeof(struct tfd) * BTINTEL_DESCS_COUNT); in btintel_pcie_alloc()
956 v_addr += (sizeof(struct tfd) * BTINTEL_DESCS_COUNT); in btintel_pcie_alloc()
Dbtintel_pcie.h196 struct tfd { struct
284 struct tfd *tfds;
/linux-6.12.1/tools/include/uapi/linux/
Dkcmp.h24 __u32 tfd; /* target file number */ member
/linux-6.12.1/include/uapi/linux/
Dkcmp.h24 __u32 tfd; /* target file number */ member
/linux-6.12.1/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-6.12.1/include/linux/
Deventpoll.h22 struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, unsigned long toff);
/linux-6.12.1/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-6.12.1/tools/testing/selftests/kcmp/
Dkcmp_test.c143 .tfd = duped_num, in main()
/linux-6.12.1/kernel/
Dkcmp.c119 filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, slot.tfd, slot.toff); in kcmp_epoll_target()
/linux-6.12.1/fs/
Deventpoll.c1170 static struct epitem *ep_find_tfd(struct eventpoll *ep, int tfd, unsigned long toff) in ep_find_tfd() argument
1177 if (epi->ffd.fd == tfd) { in ep_find_tfd()
1189 struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, in get_epoll_tfile_raw_ptr() argument
1202 epi = ep_find_tfd(ep, tfd, toff); in get_epoll_tfile_raw_ptr()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/api/
Dtx.h730 DECLARE_FLEX_ARRAY(struct iwl_mvm_compressed_ba_tfd, tfd);
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dtx.c2219 struct_size(ba_res, tfd, tfd_cnt) > pkt_len, in iwl_mvm_rx_ba_notif()
2245 &ba_res->tfd[i]; in iwl_mvm_rx_ba_notif()
/linux-6.12.1/Documentation/filesystems/
Dproc.rst2024 tfd: 5 events: 1d data: ffffffffffffffff pos:0 ino:61af sdev:7
2026 where 'tfd' is a target file descriptor number in decimal form,