Lines Matching refs:buf_id
48 int buf_id; in ath11k_dbring_bufs_replenish() local
68 buf_id = idr_alloc(&ring->bufs_idr, buff, 0, ring->bufs_max, GFP_ATOMIC); in ath11k_dbring_bufs_replenish()
70 if (buf_id < 0) { in ath11k_dbring_bufs_replenish()
84 FIELD_PREP(DP_RXDMA_BUF_COOKIE_BUF_ID, buf_id); in ath11k_dbring_bufs_replenish()
95 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_bufs_replenish()
278 int buf_id; in ath11k_dbring_buffer_release_event() local
339 buf_id = FIELD_GET(DP_RXDMA_BUF_COOKIE_BUF_ID, cookie); in ath11k_dbring_buffer_release_event()
342 buff = idr_find(&ring->bufs_idr, buf_id); in ath11k_dbring_buffer_release_event()
347 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_buffer_release_event()
386 int buf_id; in ath11k_dbring_buf_cleanup() local
389 idr_for_each_entry(&ring->bufs_idr, buff, buf_id) { in ath11k_dbring_buf_cleanup()
390 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_buf_cleanup()