Lines Matching refs:occ

67 	u32	occ;		/* RT Ring N Occupancy Register */  member
139 u32 occ; member
407 void k3_nav_ringacc_ring_reset_dma(struct k3_nav_ring *ring, u32 occ) in k3_nav_ringacc_ring_reset_dma() argument
417 if (!occ) in k3_nav_ringacc_ring_reset_dma()
418 occ = ringacc_readl(&ring->rt->occ); in k3_nav_ringacc_ring_reset_dma()
420 if (occ) { in k3_nav_ringacc_ring_reset_dma()
424 ring->ring_id, occ); in k3_nav_ringacc_ring_reset_dma()
440 db_ring_cnt = (1U << 22) - occ; in k3_nav_ringacc_ring_reset_dma()
662 ring->state.free = ring->size - ringacc_readl(&ring->rt->occ); in k3_nav_ringacc_ring_get_free()
672 return ringacc_readl(&ring->rt->occ); in k3_nav_ringacc_ring_get_occ()
730 ring->state.occ--; in k3_nav_ringacc_ring_access_proxy()
744 ring->state.free, ring->state.occ); in k3_nav_ringacc_ring_access_proxy()
799 ring->state.occ--; in k3_nav_ringacc_ring_access_io()
813 ring->state.free, ring->state.windex, ring->state.occ, ring->state.rindex); in k3_nav_ringacc_ring_access_io()
879 ring->state.occ--; in k3_nav_ringacc_ring_pop_mem()
883 ring->state.occ, ring->state.rindex, elem_ptr); in k3_nav_ringacc_ring_pop_mem()
932 if (!ring->state.occ) in k3_nav_ringacc_ring_pop()
933 ring->state.occ = k3_nav_ringacc_ring_get_occ(ring); in k3_nav_ringacc_ring_pop()
936 ring->ring_id, ring->state.occ, ring->state.rindex); in k3_nav_ringacc_ring_pop()
938 if (!ring->state.occ && !ring->state.tdown_complete) in k3_nav_ringacc_ring_pop()
954 if (!ring->state.occ) in k3_nav_ringacc_ring_pop_tail()
955 ring->state.occ = k3_nav_ringacc_ring_get_occ(ring); in k3_nav_ringacc_ring_pop_tail()
958 ring->state.occ, ring->state.rindex); in k3_nav_ringacc_ring_pop_tail()
960 if (!ring->state.occ) in k3_nav_ringacc_ring_pop_tail()