/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | dp_tx.c | 260 skb_cb->paddr = ti.paddr; in ath12k_dp_tx() 261 skb_cb->vif = arvif->vif; in ath12k_dp_tx() 262 skb_cb->ar = ar; in ath12k_dp_tx() 353 struct ath12k_skb_cb *skb_cb; in ath12k_dp_tx_free_txbuf() local 356 skb_cb = ATH12K_SKB_CB(msdu); in ath12k_dp_tx_free_txbuf() 359 if (skb_cb->paddr_ext_desc) in ath12k_dp_tx_free_txbuf() 377 struct ath12k_skb_cb *skb_cb; in ath12k_dp_tx_htt_tx_complete_buf() local 383 ar = skb_cb->ar; in ath12k_dp_tx_htt_tx_complete_buf() 389 if (skb_cb->paddr_ext_desc) in ath12k_dp_tx_htt_tx_complete_buf() 468 if (skb_cb->paddr_ext_desc) in ath12k_dp_tx_complete_msdu() [all …]
|
H A D | htc.c | 38 struct ath12k_skb_cb *skb_cb; in ath12k_htc_build_tx_ctrl_skb() local 47 skb_cb = ATH12K_SKB_CB(skb); in ath12k_htc_build_tx_ctrl_skb() 48 memset(skb_cb, 0, sizeof(*skb_cb)); in ath12k_htc_build_tx_ctrl_skb() 79 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_htc_send() local 112 skb_cb->paddr = dma_map_single(dev, skb->data, skb->len, DMA_TO_DEVICE); in ath12k_htc_send() 113 ret = dma_mapping_error(dev, skb_cb->paddr); in ath12k_htc_send() 126 dma_unmap_single(dev, skb_cb->paddr, skb->len, DMA_TO_DEVICE); in ath12k_htc_send()
|
H A D | mac.c | 4766 if (skb_cb->vif == vif) { in ath12k_mac_vif_txmgmt_idr_remove() 4844 struct ath12k_skb_cb *skb_cb; in ath12k_mgmt_over_wmi_tx_work() local 4850 skb_cb = ATH12K_SKB_CB(skb); in ath12k_mgmt_over_wmi_tx_work() 4851 if (!skb_cb->vif) { in ath12k_mgmt_over_wmi_tx_work() 4923 memset(skb_cb, 0, sizeof(*skb_cb)); in ath12k_mac_op_tx() 4924 skb_cb->vif = vif; in ath12k_mac_op_tx() 4927 skb_cb->cipher = key->cipher; in ath12k_mac_op_tx() 5546 struct ath12k_skb_cb *skb_cb; in ath12k_mac_vif_unref() local 5559 skb_cb = ATH12K_SKB_CB(skb); in ath12k_mac_vif_unref() 5560 if (skb_cb->vif == vif) in ath12k_mac_vif_unref() [all …]
|
H A D | wmi.c | 394 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_wmi_cmd_send_nowait() local 405 memset(skb_cb, 0, sizeof(*skb_cb)); in ath12k_wmi_cmd_send_nowait() 5107 struct ath12k_skb_cb *skb_cb; in wmi_process_mgmt_tx_comp() local 5123 skb_cb = ATH12K_SKB_CB(msdu); in wmi_process_mgmt_tx_comp() 5124 dma_unmap_single(ar->ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | txrx.c | 51 struct ath10k_skb_cb *skb_cb; in ath10k_txrx_tx_unref() local 75 skb_cb = ATH10K_SKB_CB(msdu); in ath10k_txrx_tx_unref() 76 txq = skb_cb->txq; in ath10k_txrx_tx_unref() 83 flags = skb_cb->flags; in ath10k_txrx_tx_unref() 89 if (txq && txq->sta && skb_cb->airtime_est) in ath10k_txrx_tx_unref() 91 skb_cb->airtime_est, 0); in ath10k_txrx_tx_unref() 95 dma_unmap_single(dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath10k_txrx_tx_unref()
|
H A D | htt_tx.c | 1230 res = dma_mapping_error(dev, skb_cb->paddr); in ath10k_htt_mgmt_tx() 1464 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32() 1473 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32() 1487 frags_paddr = skb_cb->paddr; in ath10k_htt_tx_32() 1553 &skb_cb->paddr, vdev_id, tid, freq); in ath10k_htt_tx_32() 1571 sg_items[1].paddr = skb_cb->paddr; in ath10k_htt_tx_32() 1669 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_64() 1679 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_64() 1694 frags_paddr = skb_cb->paddr; in ath10k_htt_tx_64() 1765 &skb_cb->paddr, vdev_id, tid, freq); in ath10k_htt_tx_64() [all …]
|
H A D | htc.c | 27 struct ath10k_skb_cb *skb_cb; in ath10k_htc_build_tx_ctrl_skb() local 36 skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_build_tx_ctrl_skb() 37 memset(skb_cb, 0, sizeof(*skb_cb)); in ath10k_htc_build_tx_ctrl_skb() 46 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_restore_tx_skb() local 171 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_send() local 194 skb_cb->eid = eid; in ath10k_htc_send() 198 ret = dma_mapping_error(dev, skb_cb->paddr); in ath10k_htc_send() 208 sg_item.paddr = skb_cb->paddr; in ath10k_htc_send() 230 struct ath10k_skb_cb *skb_cb; in ath10k_htc_tx_completion_handler() local 236 skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_tx_completion_handler() [all …]
|
H A D | mac.c | 3722 const struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_mac_tx_h_get_txmode() local 3768 skb_cb->flags & ATH10K_SKB_F_RAW_TX) in ath10k_mac_tx_h_get_txmode() 4049 const struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_mac_tx() local 4072 !(skb_cb->flags & ATH10K_SKB_F_RAW_TX)) { in ath10k_mac_tx()
|
H A D | wmi.c | 1819 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_wmi_cmd_send_nowait() local 1832 memset(skb_cb, 0, sizeof(*skb_cb)); in ath10k_wmi_cmd_send_nowait()
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | htc.c | 37 struct ath11k_skb_cb *skb_cb; in ath11k_htc_build_tx_ctrl_skb() local 46 skb_cb = ATH11K_SKB_CB(skb); in ath11k_htc_build_tx_ctrl_skb() 47 memset(skb_cb, 0, sizeof(*skb_cb)); in ath11k_htc_build_tx_ctrl_skb() 78 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_htc_send() local 113 skb_cb->eid = eid; in ath11k_htc_send() 114 skb_cb->paddr = dma_map_single(dev, skb->data, skb->len, DMA_TO_DEVICE); in ath11k_htc_send() 115 ret = dma_mapping_error(dev, skb_cb->paddr); in ath11k_htc_send() 122 skb, skb_cb->eid, &skb_cb->paddr); in ath11k_htc_send() 131 dma_unmap_single(dev, skb_cb->paddr, skb->len, DMA_TO_DEVICE); in ath11k_htc_send()
|
H A D | dp_tx.c | 228 skb_cb->paddr = ti.paddr; in ath11k_dp_tx() 229 skb_cb->vif = arvif->vif; in ath11k_dp_tx() 230 skb_cb->ar = ar; in ath11k_dp_tx() 300 struct ath11k_skb_cb *skb_cb; in ath11k_dp_tx_free_txbuf() local 312 skb_cb = ATH11K_SKB_CB(msdu); in ath11k_dp_tx_free_txbuf() 330 struct ath11k_skb_cb *skb_cb; in ath11k_dp_tx_htt_tx_complete_buf() local 344 skb_cb = ATH11K_SKB_CB(msdu); in ath11k_dp_tx_htt_tx_complete_buf() 347 ar = skb_cb->ar; in ath11k_dp_tx_htt_tx_complete_buf() 354 if (!skb_cb->vif) { in ath11k_dp_tx_htt_tx_complete_buf() 570 struct ath11k_skb_cb *skb_cb; in ath11k_dp_tx_complete_msdu() local [all …]
|
H A D | mac.c | 6015 struct ath11k *ar = skb_cb->ar; in ath11k_mac_vif_txmgmt_idr_remove() 6017 if (skb_cb->vif == vif) in ath11k_mac_vif_txmgmt_idr_remove() 6095 struct ath11k_skb_cb *skb_cb; in ath11k_mgmt_over_wmi_tx_work() local 6101 skb_cb = ATH11K_SKB_CB(skb); in ath11k_mgmt_over_wmi_tx_work() 6102 if (!skb_cb->vif) { in ath11k_mgmt_over_wmi_tx_work() 6180 memset(skb_cb, 0, sizeof(*skb_cb)); in ath11k_mac_op_tx() 6181 skb_cb->vif = vif; in ath11k_mac_op_tx() 6184 skb_cb->cipher = key->cipher; in ath11k_mac_op_tx() 6185 skb_cb->flags |= ATH11K_SKB_CIPHER_SET; in ath11k_mac_op_tx() 6973 if (skb_cb->vif == vif) in ath11k_mac_vif_unref() [all …]
|
H A D | wmi.c | 299 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_wmi_cmd_send_nowait() local 315 memset(skb_cb, 0, sizeof(*skb_cb)); in ath11k_wmi_cmd_send_nowait() 6118 struct ath11k_skb_cb *skb_cb; in wmi_process_mgmt_tx_comp() local 6134 skb_cb = ATH11K_SKB_CB(msdu); in wmi_process_mgmt_tx_comp() 6135 dma_unmap_single(ar->ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
|