Home
last modified time | relevance | path

Searched refs:bufs_idr (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Ddbring.c39 buf_id = idr_alloc(&ring->bufs_idr, buff, 0, ring->bufs_max, gfp); in ath12k_dbring_bufs_replenish()
65 idr_remove(&ring->bufs_idr, buf_id); in ath12k_dbring_bufs_replenish()
305 buff = idr_find(&ring->bufs_idr, buf_id); in ath12k_dbring_buffer_release_event()
310 idr_remove(&ring->bufs_idr, buf_id); in ath12k_dbring_buffer_release_event()
348 idr_for_each_entry(&ring->bufs_idr, buff, buf_id) { in ath12k_dbring_buf_cleanup()
349 idr_remove(&ring->bufs_idr, buf_id); in ath12k_dbring_buf_cleanup()
355 idr_destroy(&ring->bufs_idr); in ath12k_dbring_buf_cleanup()
H A Ddbring.h44 struct idr bufs_idr; member
H A Ddp_mon.c812 msdu = idr_remove(&buf_ring->bufs_idr, buf_id); in ath12k_dp_mon_rx_parse_status_tlv()
1297 buf_id = idr_alloc(&buf_ring->bufs_idr, skb, 0, in ath12k_dp_mon_buf_replenish()
1325 idr_remove(&buf_ring->bufs_idr, buf_id); in ath12k_dp_mon_buf_replenish()
1917 msdu = idr_remove(&buf_ring->bufs_idr, buf_id); in ath12k_dp_mon_tx_parse_status_tlv()
2110 skb = idr_remove(&buf_ring->bufs_idr, buf_id); in ath12k_dp_mon_srng_process()
2511 skb = idr_remove(&buf_ring->bufs_idr, buf_id); in ath12k_dp_mon_rx_process_stats()
H A Ddp_rx.c335 buf_id = idr_alloc(&rx_ring->bufs_idr, skb, 0, in ath12k_dp_rx_bufs_replenish()
372 idr_remove(&rx_ring->bufs_idr, buf_id); in ath12k_dp_rx_bufs_replenish()
395 idr_for_each_entry(&rx_ring->bufs_idr, skb, buf_id) { in ath12k_dp_rxdma_buf_ring_free()
396 idr_remove(&rx_ring->bufs_idr, buf_id); in ath12k_dp_rxdma_buf_ring_free()
405 idr_destroy(&rx_ring->bufs_idr); in ath12k_dp_rxdma_buf_ring_free()
4105 idr_init(&dp->rx_refill_buf_ring.bufs_idr); in ath12k_dp_rx_alloc()
4108 idr_init(&dp->rxdma_mon_buf_ring.bufs_idr); in ath12k_dp_rx_alloc()
4111 idr_init(&dp->tx_mon_buf_ring.bufs_idr); in ath12k_dp_rx_alloc()
H A Ddp.h36 struct idr bufs_idr; member
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Ddbring.c69 buf_id = idr_alloc(&ring->bufs_idr, buff, 0, ring->bufs_max, GFP_ATOMIC); in ath11k_dbring_bufs_replenish()
96 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_bufs_replenish()
343 buff = idr_find(&ring->bufs_idr, buf_id); in ath11k_dbring_buffer_release_event()
348 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_buffer_release_event()
390 idr_for_each_entry(&ring->bufs_idr, buff, buf_id) { in ath11k_dbring_buf_cleanup()
391 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_buf_cleanup()
398 idr_destroy(&ring->bufs_idr); in ath11k_dbring_buf_cleanup()
H A Ddbring.h44 struct idr bufs_idr; member
H A Ddp_rx.c393 buf_id = idr_alloc(&rx_ring->bufs_idr, skb, 1, in ath11k_dp_rxbufs_replenish()
421 idr_remove(&rx_ring->bufs_idr, buf_id); in ath11k_dp_rxbufs_replenish()
443 idr_for_each_entry(&rx_ring->bufs_idr, skb, buf_id) { in ath11k_dp_rxdma_buf_ring_free()
444 idr_remove(&rx_ring->bufs_idr, buf_id); in ath11k_dp_rxdma_buf_ring_free()
453 idr_destroy(&rx_ring->bufs_idr); in ath11k_dp_rxdma_buf_ring_free()
2680 msdu = idr_find(&rx_ring->bufs_idr, buf_id); in ath11k_dp_process_rx()
2688 idr_remove(&rx_ring->bufs_idr, buf_id); in ath11k_dp_process_rx()
2875 *buf_id = idr_alloc(&rx_ring->bufs_idr, skb, 0, in ath11k_dp_rx_alloc_mon_status_buf()
2947 idr_remove(&rx_ring->bufs_idr, buf_id); in ath11k_dp_rx_mon_status_bufs_replenish()
3040 skb = idr_find(&rx_ring->bufs_idr, buf_id); in ath11k_dp_rx_reap_mon_status_ring()
[all …]
H A Ddp.c898 idr_init(&dp->rx_refill_buf_ring.bufs_idr); in ath11k_dp_pdev_pre_alloc()
903 idr_init(&dp->rx_mon_status_refill_ring[j].bufs_idr); in ath11k_dp_pdev_pre_alloc()
906 idr_init(&dp->rxdma_mon_buf_ring.bufs_idr); in ath11k_dp_pdev_pre_alloc()
H A Ddp.h73 struct idr bufs_idr; member
H A Dspectral.c1016 idr_init(&sp->rx_ring.bufs_idr); in ath11k_spectral_init()