| /linux-6.15/drivers/net/wireless/ath/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 | 1226 res = dma_mapping_error(dev, skb_cb->paddr); in ath10k_htt_mgmt_tx() 1460 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32() 1469 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32() 1483 frags_paddr = skb_cb->paddr; in ath10k_htt_tx_32() 1549 &skb_cb->paddr, vdev_id, tid, freq); in ath10k_htt_tx_32() 1567 sg_items[1].paddr = skb_cb->paddr; in ath10k_htt_tx_32() 1665 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_64() 1675 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_64() 1690 frags_paddr = skb_cb->paddr; in ath10k_htt_tx_64() 1761 &skb_cb->paddr, vdev_id, tid, freq); in ath10k_htt_tx_64() [all …]
|
| H A D | htc.c | 25 struct ath10k_skb_cb *skb_cb; in ath10k_htc_build_tx_ctrl_skb() local 34 skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_build_tx_ctrl_skb() 35 memset(skb_cb, 0, sizeof(*skb_cb)); in ath10k_htc_build_tx_ctrl_skb() 44 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_restore_tx_skb() local 169 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_send() local 192 skb_cb->eid = eid; in ath10k_htc_send() 196 ret = dma_mapping_error(dev, skb_cb->paddr); in ath10k_htc_send() 206 sg_item.paddr = skb_cb->paddr; in ath10k_htc_send() 228 struct ath10k_skb_cb *skb_cb; in ath10k_htc_tx_completion_handler() local 234 skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_tx_completion_handler() [all …]
|
| H A D | mac.c | 3715 const struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_mac_tx_h_get_txmode() local 3761 skb_cb->flags & ATH10K_SKB_F_RAW_TX) in ath10k_mac_tx_h_get_txmode() 4034 const struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_mac_tx() local 4057 !(skb_cb->flags & ATH10K_SKB_F_RAW_TX)) { in ath10k_mac_tx()
|
| H A D | wmi.c | 1833 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_wmi_cmd_send_nowait() local 1846 memset(skb_cb, 0, sizeof(*skb_cb)); in ath10k_wmi_cmd_send_nowait()
|
| /linux-6.15/drivers/net/wireless/ath/ath12k/ |
| H A D | dp_tx.c | 396 skb_cb->paddr = ti.paddr; in ath12k_dp_tx() 397 skb_cb->vif = ahvif->vif; in ath12k_dp_tx() 398 skb_cb->ar = ar; in ath12k_dp_tx() 484 if (skb_cb->paddr_ext_desc) in ath12k_dp_tx() 502 struct ath12k_skb_cb *skb_cb; in ath12k_dp_tx_free_txbuf() local 505 skb_cb = ATH12K_SKB_CB(msdu); in ath12k_dp_tx_free_txbuf() 509 if (skb_cb->paddr_ext_desc) in ath12k_dp_tx_free_txbuf() 532 ar = skb_cb->ar; in ath12k_dp_tx_htt_tx_complete_buf() 538 if (skb_cb->paddr_ext_desc) in ath12k_dp_tx_htt_tx_complete_buf() 736 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 | 7028 if (skb_cb->vif == vif) { in ath12k_mac_vif_txmgmt_idr_remove() 7109 struct ath12k_skb_cb *skb_cb; in ath12k_mgmt_over_wmi_tx_work() local 7118 skb_cb = ATH12K_SKB_CB(skb); in ath12k_mgmt_over_wmi_tx_work() 7119 if (!skb_cb->vif) { in ath12k_mgmt_over_wmi_tx_work() 7146 skb_cb->link_id, in ath12k_mgmt_over_wmi_tx_work() 7347 memset(skb_cb, 0, sizeof(*skb_cb)); in ath12k_mac_op_tx() 7348 skb_cb->vif = vif; in ath12k_mac_op_tx() 7375 skb_cb->link_id = link_id; in ath12k_mac_op_tx() 7433 skb_cb->link_id = link_id; in ath12k_mac_op_tx() 8528 if (skb_cb->vif == vif) in ath12k_mac_vif_unref() [all …]
|
| H A D | dp.c | 1156 struct ath12k_skb_cb *skb_cb; in ath12k_dp_cc_cleanup() local 1213 skb_cb = ATH12K_SKB_CB(skb); in ath12k_dp_cc_cleanup() 1214 ar = skb_cb->ar; in ath12k_dp_cc_cleanup()
|
| H A D | wmi.c | 396 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_wmi_cmd_send_nowait() local 407 memset(skb_cb, 0, sizeof(*skb_cb)); in ath12k_wmi_cmd_send_nowait() 5433 struct ath12k_skb_cb *skb_cb; in wmi_process_mgmt_tx_comp() local 5449 skb_cb = ATH12K_SKB_CB(msdu); in wmi_process_mgmt_tx_comp() 5450 dma_unmap_single(ar->ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
|
| /linux-6.15/drivers/net/ethernet/ti/ |
| H A D | cpts.c | 85 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() 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() 535 skb_cb->skb_mtype_seqid |= (CPTS_EV_TX << EVENT_TYPE_SHIFT); in cpts_tx_timestamp() 538 __func__, skb_cb->skb_mtype_seqid); in cpts_tx_timestamp() [all …]
|
| H A D | am65-cpts.c | 791 struct am65_cpts_skb_cb_data *skb_cb = in am65_cpts_match_tx_ts() local 797 mtype_seqid = skb_cb->skb_mtype_seqid; in am65_cpts_match_tx_ts() 799 if (mtype_seqid == skb_cb->skb_mtype_seqid) { in am65_cpts_match_tx_ts() 814 if (time_after(jiffies, skb_cb->tmo)) { in am65_cpts_match_tx_ts() 943 ret = am65_skb_get_mtype_seqid(skb, &skb_cb->skb_mtype_seqid); in am65_cpts_rx_timestamp() 951 ns = am65_cpts_find_rx_ts(cpts, skb_cb->skb_mtype_seqid); in am65_cpts_rx_timestamp() 971 struct am65_cpts_skb_cb_data *skb_cb = (void *)skb->cb; in am65_cpts_tx_timestamp() local 981 skb_cb->tmo = jiffies + msecs_to_jiffies(100); in am65_cpts_tx_timestamp() 998 struct am65_cpts_skb_cb_data *skb_cb = (void *)skb->cb; in am65_cpts_prep_tx_timestamp() local 1004 ret = am65_skb_get_mtype_seqid(skb, &skb_cb->skb_mtype_seqid); in am65_cpts_prep_tx_timestamp() [all …]
|
| /linux-6.15/drivers/net/wireless/ath/ath11k/ |
| H A D | htc.c | 38 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()
|
| H A D | dp_tx.c | 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() 322 struct ath11k_skb_cb *skb_cb; in ath11k_dp_tx_htt_tx_complete_buf() local 336 skb_cb = ATH11K_SKB_CB(msdu); in ath11k_dp_tx_htt_tx_complete_buf() 339 ar = skb_cb->ar; in ath11k_dp_tx_htt_tx_complete_buf() 346 if (!skb_cb->vif) { in ath11k_dp_tx_htt_tx_complete_buf() 558 struct ath11k_skb_cb *skb_cb; in ath11k_dp_tx_complete_msdu() local [all …]
|
| H A D | mac.c | 5941 struct ath11k *ar = skb_cb->ar; in ath11k_mac_vif_txmgmt_idr_remove() 5943 if (skb_cb->vif == vif) in ath11k_mac_vif_txmgmt_idr_remove() 6029 struct ath11k_skb_cb *skb_cb; in ath11k_mgmt_over_wmi_tx_work() local 6035 skb_cb = ATH11K_SKB_CB(skb); in ath11k_mgmt_over_wmi_tx_work() 6036 if (!skb_cb->vif) { in ath11k_mgmt_over_wmi_tx_work() 6114 memset(skb_cb, 0, sizeof(*skb_cb)); in ath11k_mac_op_tx() 6115 skb_cb->vif = vif; in ath11k_mac_op_tx() 6118 skb_cb->cipher = key->cipher; in ath11k_mac_op_tx() 6119 skb_cb->flags |= ATH11K_SKB_CIPHER_SET; in ath11k_mac_op_tx() 6934 if (skb_cb->vif == vif) in ath11k_mac_vif_unref() [all …]
|
| H A D | wmi.c | 268 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_wmi_cmd_send_nowait() local 284 memset(skb_cb, 0, sizeof(*skb_cb)); in ath11k_wmi_cmd_send_nowait() 5944 struct ath11k_skb_cb *skb_cb; in wmi_process_mgmt_tx_comp() local 5960 skb_cb = ATH11K_SKB_CB(msdu); in wmi_process_mgmt_tx_comp() 5961 dma_unmap_single(ar->ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
|
| /linux-6.15/drivers/net/wwan/t7xx/ |
| H A D | t7xx_netdev.c | 121 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() 414 struct t7xx_skb_cb *skb_cb; in t7xx_ccmni_recv_skb() local 420 skb_cb = T7XX_SKB_CB(skb); in t7xx_ccmni_recv_skb() 421 netif_id = skb_cb->netif_idx; in t7xx_ccmni_recv_skb() 429 pkt_type = skb_cb->rx_pkt_type; in t7xx_ccmni_recv_skb()
|
| H A D | t7xx_hif_dpmaif_tx.c | 249 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()
|
| H A D | t7xx_hif_dpmaif_rx.c | 699 struct t7xx_skb_cb *skb_cb; in t7xx_dpmaif_rx_skb() local 712 skb_cb = T7XX_SKB_CB(skb); in t7xx_dpmaif_rx_skb() 713 skb_cb->netif_idx = netif_id; in t7xx_dpmaif_rx_skb() 714 skb_cb->rx_pkt_type = skb_info->pkt_type; in t7xx_dpmaif_rx_skb()
|
| /linux-6.15/net/tipc/ |
| H A D | crypto.c | 1326 if (!skb_cb->tx_clone_deferred) { in tipc_crypto_key_pick_tx() 1327 skb_cb->tx_clone_deferred = 1; in tipc_crypto_key_pick_tx() 1328 memset(&skb_cb->tx_clone_ctx, 0, sizeof(skb_cb->tx_clone_ctx)); in tipc_crypto_key_pick_tx() 1331 skb_cb->tx_clone_ctx.rx = rx; in tipc_crypto_key_pick_tx() 1905 rx = skb_cb->tx_clone_ctx.rx; in tipc_crypto_rcv_complete() 1908 (*skb)->next, skb_cb->flags); in tipc_crypto_rcv_complete() 1910 skb_cb->tx_clone_ctx.recurs, skb_cb->tx_clone_ctx.last, in tipc_crypto_rcv_complete() 1981 skb_cb = TIPC_SKB_CB(*skb); in tipc_crypto_rcv_complete() 1984 skb_cb->decrypted = 1; in tipc_crypto_rcv_complete() 1989 skb_cb->tx_clone_deferred = 0; in tipc_crypto_rcv_complete() [all …]
|
| H A D | socket.c | 1888 struct tipc_skb_cb *skb_cb; in tipc_recvmsg() local 1912 skb_cb = TIPC_SKB_CB(skb); in tipc_recvmsg() 1932 int offset = skb_cb->bytes_read; in tipc_recvmsg() 1941 skb_cb->bytes_read = offset + copy; in tipc_recvmsg() 1944 skb_cb->bytes_read = 0; in tipc_recvmsg() 1949 skb_cb->bytes_read = 0; in tipc_recvmsg() 1981 if (skb_cb->bytes_read) in tipc_recvmsg() 2017 struct tipc_skb_cb *skb_cb; in tipc_recvstream() local 2042 skb_cb = TIPC_SKB_CB(skb); in tipc_recvstream() 2065 offset = skb_cb->bytes_read; in tipc_recvstream() [all …]
|
| /linux-6.15/net/bluetooth/ |
| H A D | 6lowpan.c | 32 struct skb_cb { struct 37 #define lowpan_cb(skb) ((struct skb_cb *)((skb)->cb)) argument
|