Lines Matching refs:txbuf
112 htt->txbuf.vaddr = dma_alloc_coherent(ar->dev, size, in ath10k_htt_tx_alloc()
113 &htt->txbuf.paddr, in ath10k_htt_tx_alloc()
115 if (!htt->txbuf.vaddr) { in ath10k_htt_tx_alloc()
140 dma_free_coherent(htt->ar->dev, size, htt->txbuf.vaddr, in ath10k_htt_tx_alloc()
141 htt->txbuf.paddr); in ath10k_htt_tx_alloc()
170 if (htt->txbuf.vaddr) { in ath10k_htt_tx_free()
173 dma_free_coherent(htt->ar->dev, size, htt->txbuf.vaddr, in ath10k_htt_tx_free()
174 htt->txbuf.paddr); in ath10k_htt_tx_free()
506 skb_cb->htt.txbuf = NULL; in ath10k_htt_mgmt_tx()
570 skb_cb->htt.txbuf = &htt->txbuf.vaddr[msdu_id]; in ath10k_htt_tx()
571 skb_cb->htt.txbuf_paddr = htt->txbuf.paddr + in ath10k_htt_tx()
613 frags = skb_cb->htt.txbuf->frags; in ath10k_htt_tx()
649 skb_cb->htt.txbuf->htc_hdr.eid = htt->eid; in ath10k_htt_tx()
650 skb_cb->htt.txbuf->htc_hdr.len = __cpu_to_le16( in ath10k_htt_tx()
651 sizeof(skb_cb->htt.txbuf->cmd_hdr) + in ath10k_htt_tx()
652 sizeof(skb_cb->htt.txbuf->cmd_tx) + in ath10k_htt_tx()
654 skb_cb->htt.txbuf->htc_hdr.flags = 0; in ath10k_htt_tx()
678 skb_cb->htt.txbuf->cmd_hdr.msg_type = HTT_H2T_MSG_TYPE_TX_FRM; in ath10k_htt_tx()
679 skb_cb->htt.txbuf->cmd_tx.flags0 = flags0; in ath10k_htt_tx()
680 skb_cb->htt.txbuf->cmd_tx.flags1 = __cpu_to_le16(flags1); in ath10k_htt_tx()
681 skb_cb->htt.txbuf->cmd_tx.len = __cpu_to_le16(msdu->len); in ath10k_htt_tx()
682 skb_cb->htt.txbuf->cmd_tx.id = __cpu_to_le16(msdu_id); in ath10k_htt_tx()
683 skb_cb->htt.txbuf->cmd_tx.frags_paddr = __cpu_to_le32(frags_paddr); in ath10k_htt_tx()
684 skb_cb->htt.txbuf->cmd_tx.peerid = __cpu_to_le16(HTT_INVALID_PEERID); in ath10k_htt_tx()
685 skb_cb->htt.txbuf->cmd_tx.freq = __cpu_to_le16(skb_cb->htt.freq); in ath10k_htt_tx()
699 sg_items[0].vaddr = &skb_cb->htt.txbuf->htc_hdr; in ath10k_htt_tx()
701 sizeof(skb_cb->htt.txbuf->frags); in ath10k_htt_tx()
702 sg_items[0].len = sizeof(skb_cb->htt.txbuf->htc_hdr) + in ath10k_htt_tx()
703 sizeof(skb_cb->htt.txbuf->cmd_hdr) + in ath10k_htt_tx()
704 sizeof(skb_cb->htt.txbuf->cmd_tx); in ath10k_htt_tx()