Home
last modified time | relevance | path

Searched refs:skb_cb (Results 1 – 18 of 18) sorted by relevance

/drivers/net/wireless/ath/ath12k/
Ddp_tx.c136 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_dp_tx() local
186 if (skb_cb->flags & ATH12K_SKB_CIPHER_SET) { in ath12k_dp_tx()
188 ath12k_dp_tx_get_encrypt_type(skb_cb->cipher); in ath12k_dp_tx()
256 skb_cb->paddr = ti.paddr; in ath12k_dp_tx()
257 skb_cb->vif = arvif->vif; in ath12k_dp_tx()
258 skb_cb->ar = ar; in ath12k_dp_tx()
284 skb_cb->paddr_ext_desc = ti.paddr; in ath12k_dp_tx()
334 if (skb_cb->paddr_ext_desc) in ath12k_dp_tx()
335 dma_unmap_single(ab->dev, skb_cb->paddr_ext_desc, in ath12k_dp_tx()
352 struct ath12k_skb_cb *skb_cb; in ath12k_dp_tx_free_txbuf() local
[all …]
Dhtc.c38 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()
Dmac.c4761 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_mac_vif_txmgmt_idr_remove() local
4763 struct ath12k *ar = skb_cb->ar; in ath12k_mac_vif_txmgmt_idr_remove()
4766 if (skb_cb->vif == vif) { in ath12k_mac_vif_txmgmt_idr_remove()
4770 dma_unmap_single(ab->dev, skb_cb->paddr, msdu->len, 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()
4857 arvif = ath12k_vif_to_arvif(skb_cb->vif); in ath12k_mgmt_over_wmi_tx_work()
4912 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_mac_op_tx() local
4923 memset(skb_cb, 0, sizeof(*skb_cb)); in ath12k_mac_op_tx()
[all …]
Dwmi.c382 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_wmi_cmd_send_nowait() local
393 memset(skb_cb, 0, sizeof(*skb_cb)); in ath12k_wmi_cmd_send_nowait()
4907 struct ath12k_skb_cb *skb_cb; in wmi_process_mgmt_tx_comp() local
4923 skb_cb = ATH12K_SKB_CB(msdu); in wmi_process_mgmt_tx_comp()
4924 dma_unmap_single(ar->ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
/drivers/net/ethernet/ti/
Dcpts.c85 struct cpts_skb_cb_data *skb_cb; in cpts_purge_txq() local
90 skb_cb = (struct cpts_skb_cb_data *)skb->cb; in cpts_purge_txq()
91 if (time_after(jiffies, skb_cb->tmo)) { in cpts_purge_txq()
335 struct cpts_skb_cb_data *skb_cb = in cpts_match_tx_ts() local
338 if (mtype_seqid == skb_cb->skb_mtype_seqid) { in cpts_match_tx_ts()
350 if (time_after(jiffies, skb_cb->tmo)) { in cpts_match_tx_ts()
495 struct cpts_skb_cb_data *skb_cb = (struct cpts_skb_cb_data *)skb->cb; in cpts_rx_timestamp() local
505 ret = cpts_skb_get_mtype_seqid(skb, &skb_cb->skb_mtype_seqid); in cpts_rx_timestamp()
509 skb_cb->skb_mtype_seqid |= (CPTS_EV_RX << EVENT_TYPE_SHIFT); in cpts_rx_timestamp()
512 __func__, skb_cb->skb_mtype_seqid); in cpts_rx_timestamp()
[all …]
Dam65-cpts.c784 struct am65_cpts_skb_cb_data *skb_cb = in am65_cpts_match_tx_ts() local
789 (skb_cb->skb_mtype_seqid & AM65_CPTS_EVENT_1_SEQUENCE_ID_MASK))) in am65_cpts_match_tx_ts()
790 mtype_seqid = skb_cb->skb_mtype_seqid; in am65_cpts_match_tx_ts()
792 if (mtype_seqid == skb_cb->skb_mtype_seqid) { in am65_cpts_match_tx_ts()
807 if (time_after(jiffies, skb_cb->tmo)) { in am65_cpts_match_tx_ts()
924 struct am65_cpts_skb_cb_data *skb_cb = (void *)skb->cb; in am65_cpts_tx_timestamp() local
934 skb_cb->tmo = jiffies + msecs_to_jiffies(100); in am65_cpts_tx_timestamp()
951 struct am65_cpts_skb_cb_data *skb_cb = (void *)skb->cb; in am65_cpts_prep_tx_timestamp() local
957 ret = am65_skb_get_mtype_seqid(skb, &skb_cb->skb_mtype_seqid); in am65_cpts_prep_tx_timestamp()
960 skb_cb->skb_mtype_seqid |= (AM65_CPTS_EV_TX << in am65_cpts_prep_tx_timestamp()
/drivers/net/wireless/ath/ath10k/
Dtxrx.c51 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()
Dhtt_tx.c1189 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(msdu); in ath10k_htt_mgmt_tx() local
1214 if (skb_cb->ucast_cipher == WLAN_CIPHER_SUITE_GCMP || in ath10k_htt_mgmt_tx()
1215 skb_cb->ucast_cipher == WLAN_CIPHER_SUITE_GCMP_256) in ath10k_htt_mgmt_tx()
1228 skb_cb->paddr = dma_map_single(dev, msdu->data, msdu->len, in ath10k_htt_mgmt_tx()
1230 res = dma_mapping_error(dev, skb_cb->paddr); in ath10k_htt_mgmt_tx()
1256 dma_unmap_single(dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath10k_htt_mgmt_tx()
1279 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(msdu); in ath10k_htt_tx_hl() local
1319 if (skb_cb->flags & ATH10K_SKB_F_NO_HWCRYPT) in ath10k_htt_tx_hl()
1394 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(msdu); in ath10k_htt_tx_32() local
1432 } else if (!(skb_cb->flags & ATH10K_SKB_F_NO_HWCRYPT) && in ath10k_htt_tx_32()
[all …]
Dhtc.c24 struct ath10k_skb_cb *skb_cb; in ath10k_htc_build_tx_ctrl_skb() local
33 skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_build_tx_ctrl_skb()
34 memset(skb_cb, 0, sizeof(*skb_cb)); in ath10k_htc_build_tx_ctrl_skb()
43 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_restore_tx_skb() local
46 dma_unmap_single(htc->ar->dev, skb_cb->paddr, skb->len, DMA_TO_DEVICE); in ath10k_htc_restore_tx_skb()
168 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_send() local
191 skb_cb->eid = eid; in ath10k_htc_send()
193 skb_cb->paddr = dma_map_single(dev, skb->data, skb->len, in ath10k_htc_send()
195 ret = dma_mapping_error(dev, skb_cb->paddr); in ath10k_htc_send()
205 sg_item.paddr = skb_cb->paddr; in ath10k_htc_send()
[all …]
Dmac.c3720 const struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_mac_tx_h_get_txmode() local
3766 skb_cb->flags & ATH10K_SKB_F_RAW_TX) in ath10k_mac_tx_h_get_txmode()
4039 const struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_mac_tx() local
4062 !(skb_cb->flags & ATH10K_SKB_F_RAW_TX)) { in ath10k_mac_tx()
Dwmi.c1832 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_wmi_cmd_send_nowait() local
1845 memset(skb_cb, 0, sizeof(*skb_cb)); in ath10k_wmi_cmd_send_nowait()
/drivers/net/wireless/ath/ath11k/
Dhtc.c38 struct ath11k_skb_cb *skb_cb; in ath11k_htc_build_tx_ctrl_skb() local
47 skb_cb = ATH11K_SKB_CB(skb); in ath11k_htc_build_tx_ctrl_skb()
48 memset(skb_cb, 0, sizeof(*skb_cb)); in ath11k_htc_build_tx_ctrl_skb()
79 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_htc_send() local
114 skb_cb->eid = eid; in ath11k_htc_send()
115 skb_cb->paddr = dma_map_single(dev, skb->data, skb->len, DMA_TO_DEVICE); in ath11k_htc_send()
116 ret = dma_mapping_error(dev, skb_cb->paddr); in ath11k_htc_send()
123 skb, skb_cb->eid, &skb_cb->paddr); in ath11k_htc_send()
132 dma_unmap_single(dev, skb_cb->paddr, skb->len, DMA_TO_DEVICE); in ath11k_htc_send()
Ddp_tx.c89 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_dp_tx() local
154 if (skb_cb->flags & ATH11K_SKB_CIPHER_SET) { in ath11k_dp_tx()
156 ath11k_dp_tx_get_encrypt_type(skb_cb->cipher); in ath11k_dp_tx()
220 skb_cb->paddr = ti.paddr; in ath11k_dp_tx()
221 skb_cb->vif = arvif->vif; in ath11k_dp_tx()
222 skb_cb->ar = ar; in ath11k_dp_tx()
292 struct ath11k_skb_cb *skb_cb; in ath11k_dp_tx_free_txbuf() local
304 skb_cb = ATH11K_SKB_CB(msdu); in ath11k_dp_tx_free_txbuf()
306 dma_unmap_single(ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath11k_dp_tx_free_txbuf()
322 struct ath11k_skb_cb *skb_cb; in ath11k_dp_tx_htt_tx_complete_buf() local
[all …]
Dmac.c6011 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB((struct sk_buff *)skb); in ath11k_mac_vif_txmgmt_idr_remove() local
6012 struct ath11k *ar = skb_cb->ar; in ath11k_mac_vif_txmgmt_idr_remove()
6014 if (skb_cb->vif == vif) in ath11k_mac_vif_txmgmt_idr_remove()
6025 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_mac_mgmt_tx_wmi() local
6052 if (!(skb_cb->flags & ATH11K_SKB_CIPHER_SET)) in ath11k_mac_mgmt_tx_wmi()
6055 enctype = ath11k_dp_tx_get_encrypt_type(skb_cb->cipher); in ath11k_mac_mgmt_tx_wmi()
6100 struct ath11k_skb_cb *skb_cb; in ath11k_mgmt_over_wmi_tx_work() local
6106 skb_cb = ATH11K_SKB_CB(skb); in ath11k_mgmt_over_wmi_tx_work()
6107 if (!skb_cb->vif) { in ath11k_mgmt_over_wmi_tx_work()
6113 arvif = ath11k_vif_to_arvif(skb_cb->vif); in ath11k_mgmt_over_wmi_tx_work()
[all …]
Dwmi.c263 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_wmi_cmd_send_nowait() local
279 memset(skb_cb, 0, sizeof(*skb_cb)); in ath11k_wmi_cmd_send_nowait()
5824 struct ath11k_skb_cb *skb_cb; in wmi_process_mgmt_tx_comp() local
5840 skb_cb = ATH11K_SKB_CB(msdu); in wmi_process_mgmt_tx_comp()
5841 dma_unmap_single(ar->ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
/drivers/net/wwan/t7xx/
Dt7xx_netdev.c121 struct t7xx_skb_cb *skb_cb = T7XX_SKB_CB(skb); in t7xx_ccmni_send_packet() local
123 skb_cb->netif_idx = ccmni->index; in t7xx_ccmni_send_packet()
408 struct t7xx_skb_cb *skb_cb; in t7xx_ccmni_recv_skb() local
414 skb_cb = T7XX_SKB_CB(skb); in t7xx_ccmni_recv_skb()
415 netif_id = skb_cb->netif_idx; in t7xx_ccmni_recv_skb()
423 pkt_type = skb_cb->rx_pkt_type; in t7xx_ccmni_recv_skb()
Dt7xx_hif_dpmaif_tx.c249 struct t7xx_skb_cb *skb_cb; in t7xx_dpmaif_add_skb_to_ring() local
252 skb_cb = T7XX_SKB_CB(skb); in t7xx_dpmaif_add_skb_to_ring()
253 txq = &dpmaif_ctrl->txq[skb_cb->txq_number]; in t7xx_dpmaif_add_skb_to_ring()
275 t7xx_setup_msg_drb(dpmaif_ctrl, txq->index, cur_idx, skb->len, 0, skb_cb->netif_idx); in t7xx_dpmaif_add_skb_to_ring()
512 struct t7xx_skb_cb *skb_cb; in t7xx_dpmaif_tx_send_skb() local
519 skb_cb = T7XX_SKB_CB(skb); in t7xx_dpmaif_tx_send_skb()
520 skb_cb->txq_number = txq_number; in t7xx_dpmaif_tx_send_skb()
Dt7xx_hif_dpmaif_rx.c698 struct t7xx_skb_cb *skb_cb; in t7xx_dpmaif_rx_skb() local
711 skb_cb = T7XX_SKB_CB(skb); in t7xx_dpmaif_rx_skb()
712 skb_cb->netif_idx = netif_id; in t7xx_dpmaif_rx_skb()
713 skb_cb->rx_pkt_type = skb_info->pkt_type; in t7xx_dpmaif_rx_skb()