Lines Matching refs:k3_nav_ring
123 int (*push_tail)(struct k3_nav_ring *ring, void *elm);
124 int (*push_head)(struct k3_nav_ring *ring, void *elm);
125 int (*pop_tail)(struct k3_nav_ring *ring, void *elm);
126 int (*pop_head)(struct k3_nav_ring *ring, void *elm);
163 struct k3_nav_ring { struct
215 struct k3_nav_ring *rings;
225 static long k3_nav_ringacc_ring_get_fifo_pos(struct k3_nav_ring *ring) in k3_nav_ringacc_ring_get_fifo_pos()
231 static void *k3_nav_ringacc_get_elm_addr(struct k3_nav_ring *ring, u32 idx) in k3_nav_ringacc_get_elm_addr()
236 static int k3_nav_ringacc_ring_push_mem(struct k3_nav_ring *ring, void *elem);
237 static int k3_nav_ringacc_ring_pop_mem(struct k3_nav_ring *ring, void *elem);
244 static int k3_nav_ringacc_ring_push_io(struct k3_nav_ring *ring, void *elem);
245 static int k3_nav_ringacc_ring_pop_io(struct k3_nav_ring *ring, void *elem);
246 static int k3_nav_ringacc_ring_push_head_io(struct k3_nav_ring *ring,
248 static int k3_nav_ringacc_ring_pop_tail_io(struct k3_nav_ring *ring,
258 static int k3_ringacc_ring_push_head_proxy(struct k3_nav_ring *ring,
260 static int k3_ringacc_ring_push_tail_proxy(struct k3_nav_ring *ring,
262 static int k3_ringacc_ring_pop_head_proxy(struct k3_nav_ring *ring, void *elem);
263 static int k3_ringacc_ring_pop_tail_proxy(struct k3_nav_ring *ring, void *elem);
277 struct k3_nav_ring *k3_nav_ringacc_request_ring(struct k3_nav_ringacc *ringacc, in k3_nav_ringacc_request_ring()
333 struct k3_nav_ring **fwd_ring, in k3_nav_ringacc_request_rings_pair()
334 struct k3_nav_ring **compl_ring) in k3_nav_ringacc_request_rings_pair()
354 static void k3_ringacc_ring_reset_sci(struct k3_nav_ring *ring) in k3_ringacc_ring_reset_sci()
375 void k3_nav_ringacc_ring_reset(struct k3_nav_ring *ring) in k3_nav_ringacc_ring_reset()
385 static void k3_ringacc_ring_reconfig_qmode_sci(struct k3_nav_ring *ring, in k3_ringacc_ring_reconfig_qmode_sci()
407 void k3_nav_ringacc_ring_reset_dma(struct k3_nav_ring *ring, u32 occ) in k3_nav_ringacc_ring_reset_dma()
466 static void k3_ringacc_ring_free_sci(struct k3_nav_ring *ring) in k3_ringacc_ring_free_sci()
487 int k3_nav_ringacc_ring_free(struct k3_nav_ring *ring) in k3_nav_ringacc_ring_free()
529 u32 k3_nav_ringacc_get_ring_id(struct k3_nav_ring *ring) in k3_nav_ringacc_get_ring_id()
537 static int k3_nav_ringacc_ring_cfg_sci(struct k3_nav_ring *ring) in k3_nav_ringacc_ring_cfg_sci()
565 int k3_nav_ringacc_ring_cfg(struct k3_nav_ring *ring, in k3_nav_ringacc_ring_cfg()
648 u32 k3_nav_ringacc_ring_get_size(struct k3_nav_ring *ring) in k3_nav_ringacc_ring_get_size()
656 u32 k3_nav_ringacc_ring_get_free(struct k3_nav_ring *ring) in k3_nav_ringacc_ring_get_free()
667 u32 k3_nav_ringacc_ring_get_occ(struct k3_nav_ring *ring) in k3_nav_ringacc_ring_get_occ()
675 u32 k3_nav_ringacc_ring_is_full(struct k3_nav_ring *ring) in k3_nav_ringacc_ring_is_full()
689 static int k3_ringacc_ring_cfg_proxy(struct k3_nav_ring *ring, in k3_ringacc_ring_cfg_proxy()
702 struct k3_nav_ring *ring, void *elem, in k3_nav_ringacc_ring_access_proxy()
748 static int k3_ringacc_ring_push_head_proxy(struct k3_nav_ring *ring, void *elem) in k3_ringacc_ring_push_head_proxy()
754 static int k3_ringacc_ring_push_tail_proxy(struct k3_nav_ring *ring, void *elem) in k3_ringacc_ring_push_tail_proxy()
760 static int k3_ringacc_ring_pop_head_proxy(struct k3_nav_ring *ring, void *elem) in k3_ringacc_ring_pop_head_proxy()
766 static int k3_ringacc_ring_pop_tail_proxy(struct k3_nav_ring *ring, void *elem) in k3_ringacc_ring_pop_tail_proxy()
773 struct k3_nav_ring *ring, void *elem, in k3_nav_ringacc_ring_access_io()
817 static int k3_nav_ringacc_ring_push_head_io(struct k3_nav_ring *ring, in k3_nav_ringacc_ring_push_head_io()
824 static int k3_nav_ringacc_ring_push_io(struct k3_nav_ring *ring, void *elem) in k3_nav_ringacc_ring_push_io()
830 static int k3_nav_ringacc_ring_pop_io(struct k3_nav_ring *ring, void *elem) in k3_nav_ringacc_ring_pop_io()
836 static int k3_nav_ringacc_ring_pop_tail_io(struct k3_nav_ring *ring, void *elem) in k3_nav_ringacc_ring_pop_tail_io()
842 static int k3_nav_ringacc_ring_push_mem(struct k3_nav_ring *ring, void *elem) in k3_nav_ringacc_ring_push_mem()
865 static int k3_nav_ringacc_ring_pop_mem(struct k3_nav_ring *ring, void *elem) in k3_nav_ringacc_ring_pop_mem()
887 int k3_nav_ringacc_ring_push(struct k3_nav_ring *ring, void *elem) in k3_nav_ringacc_ring_push()
906 int k3_nav_ringacc_ring_push_head(struct k3_nav_ring *ring, void *elem) in k3_nav_ringacc_ring_push_head()
925 int k3_nav_ringacc_ring_pop(struct k3_nav_ring *ring, void *elem) in k3_nav_ringacc_ring_pop()
947 int k3_nav_ringacc_ring_pop_tail(struct k3_nav_ring *ring, void *elem) in k3_nav_ringacc_ring_pop_tail()