Searched refs:next_hp (Results 1 – 2 of 2) sorted by relevance
733 u32 next_hp; in ath11k_hal_srng_src_get_next_entry() local743 next_hp = (srng->u.src_ring.hp + srng->entry_size) % srng->ring_size; in ath11k_hal_srng_src_get_next_entry()745 if (next_hp == srng->u.src_ring.cached_tp) in ath11k_hal_srng_src_get_next_entry()749 srng->u.src_ring.hp = next_hp; in ath11k_hal_srng_src_get_next_entry()757 srng->u.src_ring.reap_hp = next_hp; in ath11k_hal_srng_src_get_next_entry()801 u32 next_hp; in ath11k_hal_srng_src_next_peek() local805 next_hp = (srng->u.src_ring.hp + srng->entry_size) % srng->ring_size; in ath11k_hal_srng_src_next_peek()807 if (next_hp != srng->u.src_ring.cached_tp) in ath11k_hal_srng_src_next_peek()808 return srng->ring_base_vaddr + next_hp; in ath11k_hal_srng_src_next_peek()
2061 u32 next_hp; in ath12k_hal_srng_src_get_next_entry() local2071 next_hp = (srng->u.src_ring.hp + srng->entry_size) % srng->ring_size; in ath12k_hal_srng_src_get_next_entry()2073 if (next_hp == srng->u.src_ring.cached_tp) in ath12k_hal_srng_src_get_next_entry()2077 srng->u.src_ring.hp = next_hp; in ath12k_hal_srng_src_get_next_entry()2085 srng->u.src_ring.reap_hp = next_hp; in ath12k_hal_srng_src_get_next_entry()