Searched refs:tfd (Results 1 – 8 of 8) sorted by relevance
/drivers/net/wireless/iwlwifi/ |
D | iwl-devtrace-iwlwifi.h | 91 void *tfd, size_t tfdlen, 94 TP_ARGS(dev, skb, tfd, tfdlen, buf0, buf0_len, buf1, buf1_len), 99 __dynamic_array(u8, tfd, tfdlen) 112 memcpy(__get_dynamic_array(tfd), tfd, tfdlen);
|
/drivers/net/wireless/iwlwifi/pcie/ |
D | tx.c | 341 static inline dma_addr_t iwl_pcie_tfd_tb_get_addr(struct iwl_tfd *tfd, u8 idx) in iwl_pcie_tfd_tb_get_addr() argument 343 struct iwl_tfd_tb *tb = &tfd->tbs[idx]; in iwl_pcie_tfd_tb_get_addr() 353 static inline void iwl_pcie_tfd_set_tb(struct iwl_tfd *tfd, u8 idx, in iwl_pcie_tfd_set_tb() argument 356 struct iwl_tfd_tb *tb = &tfd->tbs[idx]; in iwl_pcie_tfd_set_tb() 365 tfd->num_tbs = idx + 1; in iwl_pcie_tfd_set_tb() 368 static inline u8 iwl_pcie_tfd_get_num_tbs(struct iwl_tfd *tfd) in iwl_pcie_tfd_get_num_tbs() argument 370 return tfd->num_tbs & 0x1f; in iwl_pcie_tfd_get_num_tbs() 375 struct iwl_tfd *tfd) in iwl_pcie_tfd_unmap() argument 381 num_tbs = iwl_pcie_tfd_get_num_tbs(tfd); in iwl_pcie_tfd_unmap() 394 iwl_pcie_tfd_tb_get_addr(tfd, i), in iwl_pcie_tfd_unmap() [all …]
|
D | internal.h | 442 static inline u16 iwl_pcie_tfd_tb_get_len(struct iwl_tfd *tfd, u8 idx) in iwl_pcie_tfd_tb_get_len() argument 444 struct iwl_tfd_tb *tb = &tfd->tbs[idx]; in iwl_pcie_tfd_tb_get_len()
|
D | trans.c | 2147 static u32 iwl_trans_pcie_get_cmdlen(struct iwl_tfd *tfd) in iwl_trans_pcie_get_cmdlen() argument 2153 cmdlen += iwl_pcie_tfd_tb_get_len(tfd, i); in iwl_trans_pcie_get_cmdlen()
|
/drivers/net/wireless/iwlegacy/ |
D | 3945.c | 617 struct il3945_tfd *tfd, *tfd_tmp; in il3945_hw_txq_attach_buf_to_tfd() local 621 tfd = &tfd_tmp[q->write_ptr]; in il3945_hw_txq_attach_buf_to_tfd() 624 memset(tfd, 0, sizeof(*tfd)); in il3945_hw_txq_attach_buf_to_tfd() 626 count = TFD_CTL_COUNT_GET(le32_to_cpu(tfd->control_flags)); in il3945_hw_txq_attach_buf_to_tfd() 634 tfd->tbs[count].addr = cpu_to_le32(addr); in il3945_hw_txq_attach_buf_to_tfd() 635 tfd->tbs[count].len = cpu_to_le32(len); in il3945_hw_txq_attach_buf_to_tfd() 639 tfd->control_flags = in il3945_hw_txq_attach_buf_to_tfd() 655 struct il3945_tfd *tfd = &tfd_tmp[idx]; in il3945_hw_txq_free_tfd() local 661 counter = TFD_CTL_COUNT_GET(le32_to_cpu(tfd->control_flags)); in il3945_hw_txq_free_tfd() 677 pci_unmap_single(dev, le32_to_cpu(tfd->tbs[i].addr), in il3945_hw_txq_free_tfd() [all …]
|
D | 4965-mac.c | 3881 il4965_tfd_tb_get_addr(struct il_tfd *tfd, u8 idx) in il4965_tfd_tb_get_addr() argument 3883 struct il_tfd_tb *tb = &tfd->tbs[idx]; in il4965_tfd_tb_get_addr() 3895 il4965_tfd_tb_get_len(struct il_tfd *tfd, u8 idx) in il4965_tfd_tb_get_len() argument 3897 struct il_tfd_tb *tb = &tfd->tbs[idx]; in il4965_tfd_tb_get_len() 3903 il4965_tfd_set_tb(struct il_tfd *tfd, u8 idx, dma_addr_t addr, u16 len) in il4965_tfd_set_tb() argument 3905 struct il_tfd_tb *tb = &tfd->tbs[idx]; in il4965_tfd_set_tb() 3914 tfd->num_tbs = idx + 1; in il4965_tfd_set_tb() 3918 il4965_tfd_get_num_tbs(struct il_tfd *tfd) in il4965_tfd_get_num_tbs() argument 3920 return tfd->num_tbs & 0x1f; in il4965_tfd_get_num_tbs() 3935 struct il_tfd *tfd; in il4965_hw_txq_free_tfd() local [all …]
|
/drivers/net/wireless/ipw2x00/ |
D | ipw2200.c | 5066 struct tfd_frame *tfd; in ipw_queue_tx_hcmd() local 5073 tfd = &txq->bd[q->first_empty]; in ipw_queue_tx_hcmd() 5076 memset(tfd, 0, sizeof(*tfd)); in ipw_queue_tx_hcmd() 5077 tfd->control_flags.message_type = TX_HOST_COMMAND_TYPE; in ipw_queue_tx_hcmd() 5078 tfd->control_flags.control_bits = TFD_NEED_IRQ_MASK; in ipw_queue_tx_hcmd() 5080 tfd->u.cmd.index = hcmd; in ipw_queue_tx_hcmd() 5081 tfd->u.cmd.length = len; in ipw_queue_tx_hcmd() 5082 memcpy(tfd->u.cmd.payload, buf, len); in ipw_queue_tx_hcmd() 7215 struct tfd_data *tfd) in ipw_qos_set_tx_queue_command() argument 7221 tfd->tx_flags_ext |= DCT_FLAG_EXT_QOS_ENABLED; in ipw_qos_set_tx_queue_command() [all …]
|
D | ipw2200.h | 499 } tfd; member
|