Lines Matching refs:next_reap_hp
1930 uint32_t next_reap_hp = (srng->u.src_ring.reap_hp + srng->entry_size) % in hal_srng_src_reap_next() local
1933 if (next_reap_hp != srng->u.src_ring.cached_tp) { in hal_srng_src_reap_next()
1934 desc = &(srng->ring_base_vaddr[next_reap_hp]); in hal_srng_src_reap_next()
1935 srng->u.src_ring.reap_hp = next_reap_hp; in hal_srng_src_reap_next()
1986 uint32_t next_reap_hp = (srng->u.src_ring.reap_hp + srng->entry_size) % in hal_srng_src_pending_reap_next() local
1989 if (next_reap_hp != srng->u.src_ring.hp) { in hal_srng_src_pending_reap_next()
1990 desc = &(srng->ring_base_vaddr[next_reap_hp]); in hal_srng_src_pending_reap_next()
1991 srng->u.src_ring.reap_hp = next_reap_hp; in hal_srng_src_pending_reap_next()
2015 uint32_t next_reap_hp = (srng->u.src_ring.reap_hp + srng->entry_size) % in hal_srng_src_done_val() local
2018 if (next_reap_hp == srng->u.src_ring.cached_tp) in hal_srng_src_done_val()
2021 if (srng->u.src_ring.cached_tp > next_reap_hp) in hal_srng_src_done_val()
2022 return (srng->u.src_ring.cached_tp - next_reap_hp) / in hal_srng_src_done_val()
2025 return ((srng->ring_size - next_reap_hp) + in hal_srng_src_done_val()