Lines Matching refs:skb_cb

231 	struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb);  in ath12k_dp_tx()  local
286 if (skb_cb->flags & ATH12K_SKB_CIPHER_SET) { in ath12k_dp_tx()
288 ath12k_dp_tx_get_encrypt_type(skb_cb->cipher); in ath12k_dp_tx()
396 !(skb_cb->flags & ATH12K_SKB_HW_80211_ENCAP) && in ath12k_dp_tx()
397 !(skb_cb->flags & ATH12K_SKB_CIPHER_SET) && in ath12k_dp_tx()
422 skb_cb->paddr = ti.paddr; in ath12k_dp_tx()
423 skb_cb->vif = ahvif->vif; in ath12k_dp_tx()
424 skb_cb->ar = ar; in ath12k_dp_tx()
457 skb_cb->paddr_ext_desc = ti.paddr; in ath12k_dp_tx()
519 if (skb_cb->paddr_ext_desc) in ath12k_dp_tx()
520 dma_unmap_single(ab->dev, skb_cb->paddr_ext_desc, in ath12k_dp_tx()
548 struct ath12k_skb_cb *skb_cb; in ath12k_dp_tx_free_txbuf() local
551 skb_cb = ATH12K_SKB_CB(msdu); in ath12k_dp_tx_free_txbuf()
554 dma_unmap_single(ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath12k_dp_tx_free_txbuf()
555 if (skb_cb->paddr_ext_desc) { in ath12k_dp_tx_free_txbuf()
556 dma_unmap_single(ab->dev, skb_cb->paddr_ext_desc, in ath12k_dp_tx_free_txbuf()
576 struct ath12k_skb_cb *skb_cb; in ath12k_dp_tx_htt_tx_complete_buf() local
585 skb_cb = ATH12K_SKB_CB(msdu); in ath12k_dp_tx_htt_tx_complete_buf()
588 ar = skb_cb->ar; in ath12k_dp_tx_htt_tx_complete_buf()
594 dma_unmap_single(ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath12k_dp_tx_htt_tx_complete_buf()
595 if (skb_cb->paddr_ext_desc) { in ath12k_dp_tx_htt_tx_complete_buf()
596 dma_unmap_single(ab->dev, skb_cb->paddr_ext_desc, in ath12k_dp_tx_htt_tx_complete_buf()
601 vif = skb_cb->vif; in ath12k_dp_tx_htt_tx_complete_buf()
605 arvif = rcu_dereference(ahvif->link[skb_cb->link_id]); in ath12k_dp_tx_htt_tx_complete_buf()
828 struct ath12k_skb_cb *skb_cb; in ath12k_dp_tx_complete_msdu() local
845 skb_cb = ATH12K_SKB_CB(msdu); in ath12k_dp_tx_complete_msdu()
848 dma_unmap_single(ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath12k_dp_tx_complete_msdu()
849 if (skb_cb->paddr_ext_desc) { in ath12k_dp_tx_complete_msdu()
850 dma_unmap_single(ab->dev, skb_cb->paddr_ext_desc, in ath12k_dp_tx_complete_msdu()
862 if (!skb_cb->vif) { in ath12k_dp_tx_complete_msdu()
867 vif = skb_cb->vif; in ath12k_dp_tx_complete_msdu()
870 arvif = rcu_dereference(ahvif->link[skb_cb->link_id]); in ath12k_dp_tx_complete_msdu()