Home
last modified time | relevance | path

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

/linux-6.1.9/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.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-6.1.9/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-6.1.9/drivers/net/wwan/t7xx/
Dt7xx_netdev.c67 struct t7xx_skb_cb *skb_cb = T7XX_SKB_CB(skb); in t7xx_ccmni_send_packet() local
69 skb_cb->netif_idx = ccmni->index; in t7xx_ccmni_send_packet()
316 struct t7xx_skb_cb *skb_cb; in t7xx_ccmni_recv_skb() local
322 skb_cb = T7XX_SKB_CB(skb); in t7xx_ccmni_recv_skb()
323 netif_id = skb_cb->netif_idx; in t7xx_ccmni_recv_skb()
333 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.c745 struct t7xx_skb_cb *skb_cb; in t7xx_dpmaif_rx_skb() local
758 skb_cb = T7XX_SKB_CB(skb); in t7xx_dpmaif_rx_skb()
759 skb_cb->netif_idx = netif_id; in t7xx_dpmaif_rx_skb()
760 skb_cb->rx_pkt_type = skb_info->pkt_type; in t7xx_dpmaif_rx_skb()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
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()
321 struct ath11k_skb_cb *skb_cb; in ath11k_dp_tx_htt_tx_complete_buf() local
[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()
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()
129 dma_unmap_single(dev, skb_cb->paddr, skb->len, DMA_TO_DEVICE); in ath11k_htc_send()
Dmac.c5534 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB((struct sk_buff *)skb); in ath11k_mac_vif_txmgmt_idr_remove() local
5535 struct ath11k *ar = skb_cb->ar; in ath11k_mac_vif_txmgmt_idr_remove()
5537 if (skb_cb->vif == vif) in ath11k_mac_vif_txmgmt_idr_remove()
5615 struct ath11k_skb_cb *skb_cb; in ath11k_mgmt_over_wmi_tx_work() local
5621 skb_cb = ATH11K_SKB_CB(skb); in ath11k_mgmt_over_wmi_tx_work()
5622 if (!skb_cb->vif) { in ath11k_mgmt_over_wmi_tx_work()
5628 arvif = ath11k_vif_to_arvif(skb_cb->vif); in ath11k_mgmt_over_wmi_tx_work()
5688 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_mac_op_tx() local
5700 memset(skb_cb, 0, sizeof(*skb_cb)); in ath11k_mac_op_tx()
5701 skb_cb->vif = vif; in ath11k_mac_op_tx()
[all …]
Dwmi.c255 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_wmi_cmd_send_nowait() local
271 memset(skb_cb, 0, sizeof(*skb_cb)); in ath11k_wmi_cmd_send_nowait()
5229 struct ath11k_skb_cb *skb_cb; in wmi_process_mgmt_tx_comp() local
5245 skb_cb = ATH11K_SKB_CB(msdu); in wmi_process_mgmt_tx_comp()
5246 dma_unmap_single(ar->ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
/linux-6.1.9/net/tipc/
Dcrypto.c1315 struct tipc_skb_cb *skb_cb = TIPC_SKB_CB(skb); in tipc_crypto_key_pick_tx() local
1321 if (!skb_cb->tx_clone_deferred) { in tipc_crypto_key_pick_tx()
1322 skb_cb->tx_clone_deferred = 1; in tipc_crypto_key_pick_tx()
1323 memset(&skb_cb->tx_clone_ctx, 0, sizeof(skb_cb->tx_clone_ctx)); in tipc_crypto_key_pick_tx()
1326 skb_cb->tx_clone_ctx.rx = rx; in tipc_crypto_key_pick_tx()
1327 if (++skb_cb->tx_clone_ctx.recurs > 2) in tipc_crypto_key_pick_tx()
1345 aead == skb_cb->tx_clone_ctx.last) { in tipc_crypto_key_pick_tx()
1350 skb_cb->tx_clone_ctx.last = aead; in tipc_crypto_key_pick_tx()
1892 struct tipc_skb_cb *skb_cb = TIPC_SKB_CB(*skb); in tipc_crypto_rcv_complete() local
1900 rx = skb_cb->tx_clone_ctx.rx; in tipc_crypto_rcv_complete()
[all …]
Dsocket.c1892 struct tipc_skb_cb *skb_cb; in tipc_recvmsg() local
1916 skb_cb = TIPC_SKB_CB(skb); in tipc_recvmsg()
1936 int offset = skb_cb->bytes_read; in tipc_recvmsg()
1945 skb_cb->bytes_read = offset + copy; in tipc_recvmsg()
1948 skb_cb->bytes_read = 0; in tipc_recvmsg()
1953 skb_cb->bytes_read = 0; in tipc_recvmsg()
1985 if (skb_cb->bytes_read) in tipc_recvmsg()
2021 struct tipc_skb_cb *skb_cb; in tipc_recvstream() local
2046 skb_cb = TIPC_SKB_CB(skb); in tipc_recvstream()
2069 offset = skb_cb->bytes_read; in tipc_recvstream()
[all …]
/linux-6.1.9/net/bluetooth/
D6lowpan.c31 struct skb_cb { struct
36 #define lowpan_cb(skb) ((struct skb_cb *)((skb)->cb)) argument