Lines Matching refs:elm_size
166 enum k3_ring_size elm_size; member
258 (4 << ring->elm_size); in k3_ringacc_ring_get_fifo_pos()
263 return (ring->ring_mem_virt + idx * (4 << ring->elm_size)); in k3_ringacc_get_elm_addr()
318 ring->elm_size, ring->size, ring->mode, ring->proxy_id); in k3_ringacc_ring_dump()
603 ring->size * (4 << ring->elm_size), in k3_ringacc_ring_free()
673 ring_cfg.size = ring->elm_size; in k3_ringacc_ring_cfg_sci()
690 if (cfg->elm_size != K3_RINGACC_RING_ELSIZE_8 || in k3_dmaring_cfg()
708 ring->elm_size = cfg->elm_size; in k3_dmaring_cfg()
723 ring->size * (4 << ring->elm_size), in k3_dmaring_cfg()
742 reverse_ring->elm_size = cfg->elm_size; in k3_dmaring_cfg()
757 ring->size * (4 << ring->elm_size), in k3_dmaring_cfg()
781 if (cfg->elm_size > K3_RINGACC_RING_ELSIZE_256 || in k3_ringacc_ring_cfg()
789 cfg->elm_size > K3_RINGACC_RING_ELSIZE_8) { in k3_ringacc_ring_cfg()
792 4 << ring->elm_size); in k3_ringacc_ring_cfg()
808 ring->elm_size = cfg->elm_size; in k3_ringacc_ring_cfg()
837 ring->size * (4 << ring->elm_size), in k3_ringacc_ring_cfg()
860 ring->size * (4 << ring->elm_size), in k3_ringacc_ring_cfg()
926 val |= K3_RINGACC_PROXY_ELSIZE(ring->elm_size); in k3_ringacc_ring_cfg_proxy()
959 memcpy_fromio(elem, ptr, (4 << ring->elm_size)); in k3_ringacc_ring_access_proxy()
967 memcpy_toio(ptr, elem, (4 << ring->elm_size)); in k3_ringacc_ring_access_proxy()
1029 memcpy_fromio(elem, ptr, (4 << ring->elm_size)); in k3_ringacc_ring_access_io()
1037 memcpy_toio(ptr, elem, (4 << ring->elm_size)); in k3_ringacc_ring_access_io()
1102 memcpy(elem, elem_ptr, (4 << ring->elm_size)); in k3_dmaring_fwd_pop()
1121 memcpy(elem, elem_ptr, (4 << ring->elm_size)); in k3_dmaring_reverse_pop()
1146 memcpy(elem_ptr, elem, (4 << ring->elm_size)); in k3_ringacc_ring_push_mem()
1169 memcpy(elem, elem_ptr, (4 << ring->elm_size)); in k3_ringacc_ring_pop_mem()