Lines Matching refs:buf_ring

802 		struct dp_rxdma_ring *buf_ring = &ab->dp.rxdma_mon_buf_ring;  in ath12k_dp_mon_rx_parse_status_tlv()  local
811 spin_lock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_rx_parse_status_tlv()
812 msdu = idr_remove(&buf_ring->bufs_idr, buf_id); in ath12k_dp_mon_rx_parse_status_tlv()
813 spin_unlock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_rx_parse_status_tlv()
831 ath12k_dp_mon_buf_replenish(ab, buf_ring, 1); in ath12k_dp_mon_rx_parse_status_tlv()
1264 struct dp_rxdma_ring *buf_ring, in ath12k_dp_mon_buf_replenish() argument
1274 srng = &ab->hal.srng_list[buf_ring->refill_buf_ring.ring_id]; in ath12k_dp_mon_buf_replenish()
1296 spin_lock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_buf_replenish()
1297 buf_id = idr_alloc(&buf_ring->bufs_idr, skb, 0, in ath12k_dp_mon_buf_replenish()
1298 buf_ring->bufs_max * 3, GFP_ATOMIC); in ath12k_dp_mon_buf_replenish()
1299 spin_unlock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_buf_replenish()
1324 spin_lock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_buf_replenish()
1325 idr_remove(&buf_ring->bufs_idr, buf_id); in ath12k_dp_mon_buf_replenish()
1326 spin_unlock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_buf_replenish()
1907 struct dp_rxdma_ring *buf_ring = &ab->dp.tx_mon_buf_ring; in ath12k_dp_mon_tx_parse_status_tlv() local
1916 spin_lock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_tx_parse_status_tlv()
1917 msdu = idr_remove(&buf_ring->bufs_idr, buf_id); in ath12k_dp_mon_tx_parse_status_tlv()
1918 spin_unlock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_tx_parse_status_tlv()
1938 ath12k_dp_mon_buf_replenish(ab, buf_ring, 1); in ath12k_dp_mon_tx_parse_status_tlv()
2072 struct dp_rxdma_ring *buf_ring; in ath12k_dp_mon_srng_process() local
2089 buf_ring = &dp->rxdma_mon_buf_ring; in ath12k_dp_mon_srng_process()
2092 buf_ring = &dp->tx_mon_buf_ring; in ath12k_dp_mon_srng_process()
2109 spin_lock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_srng_process()
2110 skb = idr_remove(&buf_ring->bufs_idr, buf_id); in ath12k_dp_mon_srng_process()
2111 spin_unlock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_srng_process()
2158 ath12k_dp_mon_buf_replenish(ab, buf_ring, 1); in ath12k_dp_mon_srng_process()
2485 struct dp_rxdma_ring *buf_ring; in ath12k_dp_mon_rx_process_stats() local
2496 buf_ring = &dp->rxdma_mon_buf_ring; in ath12k_dp_mon_rx_process_stats()
2510 spin_lock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_rx_process_stats()
2511 skb = idr_remove(&buf_ring->bufs_idr, buf_id); in ath12k_dp_mon_rx_process_stats()
2512 spin_unlock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_rx_process_stats()
2573 ath12k_dp_mon_buf_replenish(ab, buf_ring, 1); in ath12k_dp_mon_rx_process_stats()