Lines Matching refs:elem_ptr
1101 void *elem_ptr; in k3_dmaring_fwd_pop() local
1116 elem_ptr = k3_ringacc_get_elm_addr(ring, elem_idx); in k3_dmaring_fwd_pop()
1117 memcpy(elem, elem_ptr, (4 << ring->elm_size)); in k3_dmaring_fwd_pop()
1125 elem_ptr); in k3_dmaring_fwd_pop()
1131 void *elem_ptr; in k3_dmaring_reverse_pop() local
1133 elem_ptr = k3_ringacc_get_elm_addr(ring, ring->state.rindex); in k3_dmaring_reverse_pop()
1136 memcpy(elem, elem_ptr, (4 << ring->elm_size)); in k3_dmaring_reverse_pop()
1151 __func__, ring->state.occ, ring->state.rindex, elem_ptr); in k3_dmaring_reverse_pop()
1157 void *elem_ptr; in k3_ringacc_ring_push_mem() local
1159 elem_ptr = k3_ringacc_get_elm_addr(ring, ring->state.windex); in k3_ringacc_ring_push_mem()
1161 memcpy(elem_ptr, elem, (4 << ring->elm_size)); in k3_ringacc_ring_push_mem()
1163 u64 *addr = elem_ptr; in k3_ringacc_ring_push_mem()
1180 void *elem_ptr; in k3_ringacc_ring_pop_mem() local
1182 elem_ptr = k3_ringacc_get_elm_addr(ring, ring->state.rindex); in k3_ringacc_ring_pop_mem()
1184 memcpy(elem, elem_ptr, (4 << ring->elm_size)); in k3_ringacc_ring_pop_mem()
1191 ring->state.occ, ring->state.rindex, elem_ptr); in k3_ringacc_ring_pop_mem()