Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireless/ath/ath10k/
Dtxrx.c50 struct ath10k_skb_cb *skb_cb; in ath10k_txrx_tx_unref() local
74 skb_cb = ATH10K_SKB_CB(msdu); in ath10k_txrx_tx_unref()
75 txq = skb_cb->txq; in ath10k_txrx_tx_unref()
82 flags = skb_cb->flags; in ath10k_txrx_tx_unref()
90 if (txq && txq->sta && skb_cb->airtime_est) in ath10k_txrx_tx_unref()
92 skb_cb->airtime_est, 0); in ath10k_txrx_tx_unref()
96 dma_unmap_single(dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath10k_txrx_tx_unref()
Dhtt_tx.c1204 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(msdu); in ath10k_htt_mgmt_tx() local
1229 if (skb_cb->ucast_cipher == WLAN_CIPHER_SUITE_GCMP || in ath10k_htt_mgmt_tx()
1230 skb_cb->ucast_cipher == WLAN_CIPHER_SUITE_GCMP_256) in ath10k_htt_mgmt_tx()
1243 skb_cb->paddr = dma_map_single(dev, msdu->data, msdu->len, in ath10k_htt_mgmt_tx()
1245 res = dma_mapping_error(dev, skb_cb->paddr); in ath10k_htt_mgmt_tx()
1271 dma_unmap_single(dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath10k_htt_mgmt_tx()
1295 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(msdu); in ath10k_htt_tx_hl() local
1331 if (skb_cb->flags & ATH10K_SKB_F_NO_HWCRYPT) in ath10k_htt_tx_hl()
1407 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(msdu); in ath10k_htt_tx_32() local
1442 } 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()
159 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_send() local
182 skb_cb->eid = eid; in ath10k_htc_send()
184 skb_cb->paddr = dma_map_single(dev, skb->data, skb->len, in ath10k_htc_send()
186 ret = dma_mapping_error(dev, skb_cb->paddr); in ath10k_htc_send()
196 sg_item.paddr = skb_cb->paddr; in ath10k_htc_send()
[all …]
Dmac.c3538 const struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_mac_tx_h_get_txmode() local
3581 skb_cb->flags & ATH10K_SKB_F_RAW_TX) in ath10k_mac_tx_h_get_txmode()
3854 const struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_mac_tx() local
3873 !(skb_cb->flags & ATH10K_SKB_F_RAW_TX)) { in ath10k_mac_tx()
Dwmi.c1812 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_wmi_cmd_send_nowait() local
1825 memset(skb_cb, 0, sizeof(*skb_cb)); in ath10k_wmi_cmd_send_nowait()
/Linux-v5.10/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()
347 struct cpts_skb_cb_data *skb_cb = in cpts_match_tx_ts() local
350 if (mtype_seqid == skb_cb->skb_mtype_seqid) { in cpts_match_tx_ts()
362 if (time_after(jiffies, skb_cb->tmo)) { in cpts_match_tx_ts()
507 struct cpts_skb_cb_data *skb_cb = (struct cpts_skb_cb_data *)skb->cb; in cpts_rx_timestamp() local
517 ret = cpts_skb_get_mtype_seqid(skb, &skb_cb->skb_mtype_seqid); in cpts_rx_timestamp()
521 skb_cb->skb_mtype_seqid |= (CPTS_EV_RX << EVENT_TYPE_SHIFT); in cpts_rx_timestamp()
524 __func__, skb_cb->skb_mtype_seqid); in cpts_rx_timestamp()
[all …]
Dam65-cpts.c649 struct am65_cpts_skb_cb_data *skb_cb = in am65_cpts_match_tx_ts() local
652 if (mtype_seqid == skb_cb->skb_mtype_seqid) { in am65_cpts_match_tx_ts()
667 if (time_after(jiffies, skb_cb->tmo)) { in am65_cpts_match_tx_ts()
784 struct am65_cpts_skb_cb_data *skb_cb = (void *)skb->cb; in am65_cpts_tx_timestamp() local
794 skb_cb->tmo = jiffies + msecs_to_jiffies(100); in am65_cpts_tx_timestamp()
811 struct am65_cpts_skb_cb_data *skb_cb = (void *)skb->cb; in am65_cpts_prep_tx_timestamp() local
817 ret = am65_skb_get_mtype_seqid(skb, &skb_cb->skb_mtype_seqid); in am65_cpts_prep_tx_timestamp()
820 skb_cb->skb_mtype_seqid |= (AM65_CPTS_EV_TX << in am65_cpts_prep_tx_timestamp()
/Linux-v5.10/drivers/net/wireless/ath/ath11k/
Ddp_tx.c88 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_dp_tx() local
217 skb_cb->paddr = ti.paddr; in ath11k_dp_tx()
218 skb_cb->vif = arvif->vif; in ath11k_dp_tx()
219 skb_cb->ar = ar; in ath11k_dp_tx()
289 struct ath11k_skb_cb *skb_cb; in ath11k_dp_tx_free_txbuf() local
300 skb_cb = ATH11K_SKB_CB(msdu); in ath11k_dp_tx_free_txbuf()
305 dma_unmap_single(ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath11k_dp_tx_free_txbuf()
320 struct ath11k_skb_cb *skb_cb; in ath11k_dp_tx_htt_tx_complete_buf() local
332 skb_cb = ATH11K_SKB_CB(msdu); in ath11k_dp_tx_htt_tx_complete_buf()
335 ar = skb_cb->ar; in ath11k_dp_tx_htt_tx_complete_buf()
[all …]
Dhtc.c37 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()
77 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_htc_send() local
110 skb_cb->eid = eid; in ath11k_htc_send()
111 skb_cb->paddr = dma_map_single(dev, skb->data, skb->len, DMA_TO_DEVICE); in ath11k_htc_send()
112 ret = dma_mapping_error(dev, skb_cb->paddr); in ath11k_htc_send()
125 dma_unmap_single(dev, skb_cb->paddr, skb->len, DMA_TO_DEVICE); in ath11k_htc_send()
Dmac.c3898 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB((struct sk_buff *)skb); in ath11k_mac_vif_txmgmt_idr_remove() local
3900 struct ath11k *ar = skb_cb->ar; in ath11k_mac_vif_txmgmt_idr_remove()
3903 if (skb_cb->vif == vif) { in ath11k_mac_vif_txmgmt_idr_remove()
3907 dma_unmap_single(ab->dev, skb_cb->paddr, msdu->len, in ath11k_mac_vif_txmgmt_idr_remove()
4050 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_mac_op_tx() local
4060 skb_cb->flags |= ATH11K_SKB_HW_80211_ENCAP; in ath11k_mac_op_tx()
4603 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB((struct sk_buff *)skb); in ath11k_mac_vif_unref() local
4605 if (skb_cb->vif == vif) in ath11k_mac_vif_unref()
4606 skb_cb->vif = NULL; in ath11k_mac_vif_unref()
Dwmi.c232 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_wmi_cmd_send_nowait() local
246 memset(skb_cb, 0, sizeof(*skb_cb)); in ath11k_wmi_cmd_send_nowait()
4362 struct ath11k_skb_cb *skb_cb; in wmi_process_mgmt_tx_comp() local
4377 skb_cb = ATH11K_SKB_CB(msdu); in wmi_process_mgmt_tx_comp()
4378 dma_unmap_single(ar->ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
/Linux-v5.10/net/tipc/
Dcrypto.c1321 struct tipc_skb_cb *skb_cb = TIPC_SKB_CB(skb); in tipc_crypto_key_pick_tx() local
1327 if (!skb_cb->tx_clone_deferred) { in tipc_crypto_key_pick_tx()
1328 skb_cb->tx_clone_deferred = 1; in tipc_crypto_key_pick_tx()
1329 memset(&skb_cb->tx_clone_ctx, 0, sizeof(skb_cb->tx_clone_ctx)); in tipc_crypto_key_pick_tx()
1332 skb_cb->tx_clone_ctx.rx = rx; in tipc_crypto_key_pick_tx()
1333 if (++skb_cb->tx_clone_ctx.recurs > 2) in tipc_crypto_key_pick_tx()
1351 aead == skb_cb->tx_clone_ctx.last) { in tipc_crypto_key_pick_tx()
1356 skb_cb->tx_clone_ctx.last = aead; in tipc_crypto_key_pick_tx()
1896 struct tipc_skb_cb *skb_cb = TIPC_SKB_CB(*skb); in tipc_crypto_rcv_complete() local
1904 rx = skb_cb->tx_clone_ctx.rx; in tipc_crypto_rcv_complete()
[all …]
Dsocket.c1989 struct tipc_skb_cb *skb_cb; in tipc_recvstream() local
2014 skb_cb = TIPC_SKB_CB(skb); in tipc_recvstream()
2037 offset = skb_cb->bytes_read; in tipc_recvstream()
2046 skb_cb->bytes_read = offset; in tipc_recvstream()
/Linux-v5.10/net/bluetooth/
D6lowpan.c31 struct skb_cb { struct
36 #define lowpan_cb(skb) ((struct skb_cb *)((skb)->cb)) argument