Lines Matching refs:srng
44 struct hal_srng *srng; in ath11k_dbring_bufs_replenish() local
51 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_bufs_replenish()
53 lockdep_assert_held(&srng->lock); in ath11k_dbring_bufs_replenish()
55 ath11k_hal_srng_access_begin(ab, srng); in ath11k_dbring_bufs_replenish()
75 desc = ath11k_hal_srng_src_get_next_entry(ab, srng); in ath11k_dbring_bufs_replenish()
88 ath11k_debugfs_add_dbring_entry(ar, id, ATH11K_DBG_DBR_EVENT_REPLENISH, srng); in ath11k_dbring_bufs_replenish()
89 ath11k_hal_srng_access_end(ab, srng); in ath11k_dbring_bufs_replenish()
101 ath11k_hal_srng_access_end(ab, srng); in ath11k_dbring_bufs_replenish()
110 struct hal_srng *srng; in ath11k_dbring_fill_bufs() local
115 srng = &ar->ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_fill_bufs()
117 spin_lock_bh(&srng->lock); in ath11k_dbring_fill_bufs()
119 num_free = ath11k_hal_srng_src_num_free(ar->ab, srng, true); in ath11k_dbring_fill_bufs()
146 spin_unlock_bh(&srng->lock); in ath11k_dbring_fill_bufs()
203 struct hal_srng *srng; in ath11k_dbring_buf_setup() local
206 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_buf_setup()
213 ring->hp_addr = ath11k_hal_srng_get_hp_addr(ar->ab, srng); in ath11k_dbring_buf_setup()
214 ring->tp_addr = ath11k_hal_srng_get_tp_addr(ar->ab, srng); in ath11k_dbring_buf_setup()
269 struct hal_srng *srng; in ath11k_dbring_buffer_release_event() local
323 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_buffer_release_event()
328 spin_lock_bh(&srng->lock); in ath11k_dbring_buffer_release_event()
354 ATH11K_DBG_DBR_EVENT_RX, srng); in ath11k_dbring_buffer_release_event()
370 spin_unlock_bh(&srng->lock); in ath11k_dbring_buffer_release_event()