/openbmc/linux/drivers/net/wireless/intel/iwlwifi/queue/ |
H A D | tx.c | 83 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 …]
|
H A D | tx.h | 44 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 …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | tx-gen2.c | 42 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()
|
H A D | tx.c | 138 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 …]
|
H A D | trans.c | 3069 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() 3410 u16 tfd_size = trans->txqs.tfd.size; in iwl_trans_pcie_dump_data() 3646 addr_size = trans->txqs.tfd.addr_size; in iwl_trans_pcie_alloc()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-trans.c | 46 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()
|
H A D | iwl-devtrace-iwlwifi.h | 78 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);
|
H A D | iwl-trans.h | 174 #define IWL_TRANS_MAX_FRAGS(trans) ((trans)->txqs.tfd.max_tbs - 3) 1024 } tfd; member
|
/openbmc/openpower-occ-control/ |
H A D | occ_ffdc.cpp | 167 int tfd = -1; in analyzeEvent() local 205 tfd = mkostemp(templateString.data(), O_RDWR); in analyzeEvent() 206 if (tfd < 0) in analyzeEvent() 212 temporaryFiles.emplace_back(templateString, tfd); in analyzeEvent() 216 auto r = write(tfd, data.get() + written, total - written); in analyzeEvent() 222 tfd = -1; in analyzeEvent() 236 "SBE command reported error", tfd); in analyzeEvent()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | kcmp.h | 24 __u32 tfd; /* target file number */ member
|
/openbmc/linux/include/uapi/linux/ |
H A D | kcmp.h | 24 __u32 tfd; /* target file number */ member
|
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/ |
H A 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() 663 dma_unmap_single(&dev->dev, le32_to_cpu(tfd->tbs[i].addr), in il3945_hw_txq_free_tfd() [all …]
|
H A D | 4965-mac.c | 3860 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 …]
|
/openbmc/linux/include/linux/ |
H A D | eventpoll.h | 22 struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, unsigned long toff);
|
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/ |
H A D | ipw2200.c | 4995 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 …]
|
H A D | ipw2200.h | 485 } tfd; member
|
/openbmc/u-boot/tools/ |
H A D | fit_image.c | 29 int tfd, destfd = 0; in fit_add_file_data() local 36 tfd = mmap_fdt(params->cmdname, tmpfile, size_inc, &ptr, &sbuf, true); in fit_add_file_data() 37 if (tfd < 0) in fit_add_file_data() 74 close(tfd); in fit_add_file_data()
|
/openbmc/linux/tools/testing/selftests/kcmp/ |
H A D | kcmp_test.c | 143 .tfd = duped_num, in main()
|
/openbmc/linux/kernel/ |
H A D | kcmp.c | 117 filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, slot.tfd, slot.toff); in kcmp_epoll_target()
|
/openbmc/openbmc/poky/meta/recipes-devtools/valgrind/valgrind/ |
H A D | 0001-memcheck-tests-Fix-timerfd-syscall-test.patch | 97 long waittmr(int tfd, int timeo)
|
/openbmc/linux/fs/ |
H A D | eventpoll.c | 1066 static struct epitem *ep_find_tfd(struct eventpoll *ep, int tfd, unsigned long toff) in ep_find_tfd() argument 1073 if (epi->ffd.fd == tfd) { in ep_find_tfd() 1085 struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, in get_epoll_tfile_raw_ptr() argument 1098 epi = ep_find_tfd(ep, tfd, toff); in get_epoll_tfile_raw_ptr()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | tx.h | 726 DECLARE_FLEX_ARRAY(struct iwl_mvm_compressed_ba_tfd, tfd);
|
/openbmc/u-boot/drivers/ata/ |
H A D | dwc_ahsata.c | 33 u32 tfd; member 492 while ((readl(&port_mmio->tfd) & (SATA_PORT_TFD_STS_ERR | in ahci_port_start()
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/ |
H A D | views.py | 1313 tfd = tf.exclude(order__isnull=True).count() 1315 tfd = 0 1316 build_stat['task']='%d:%d' % (tfd,tfc)
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tx.c | 2160 struct_size(ba_res, tfd, tfd_cnt) > pkt_len, in iwl_mvm_rx_ba_notif() 2180 &ba_res->tfd[i]; in iwl_mvm_rx_ba_notif()
|