Lines Matching refs:rings

219 	struct k3_ring *rings;  member
355 !(ringacc->rings[id].flags & K3_RING_FLAG_SHARED)) in k3_ringacc_request_ring()
357 else if (ringacc->rings[id].flags & K3_RING_FLAG_SHARED) in k3_ringacc_request_ring()
369 ringacc->rings[id].proxy_id = proxy_id; in k3_ringacc_request_ring()
378 ringacc->rings[id].use_count++; in k3_ringacc_request_ring()
380 return &ringacc->rings[id]; in k3_ringacc_request_ring()
408 *fwd_ring = &ringacc->rings[fwd_id]; in k3_dmaring_request_dual_ring()
409 *compl_ring = &ringacc->rings[fwd_id + ringacc->num_rings]; in k3_dmaring_request_dual_ring()
411 ringacc->rings[fwd_id].use_count++; in k3_dmaring_request_dual_ring()
740 reverse_ring = &ringacc->rings[ring->ring_id + ringacc->num_rings]; in k3_dmaring_cfg()
1401 ringacc->rings = devm_kzalloc(dev, in k3_ringacc_init()
1402 sizeof(*ringacc->rings) * in k3_ringacc_init()
1412 if (!ringacc->rings || !ringacc->rings_inuse || !ringacc->proxy_inuse) in k3_ringacc_init()
1416 ringacc->rings[i].rt = base_rt + in k3_ringacc_init()
1418 ringacc->rings[i].fifos = base_fifo + in k3_ringacc_init()
1420 ringacc->rings[i].parent = ringacc; in k3_ringacc_init()
1421 ringacc->rings[i].ring_id = i; in k3_ringacc_init()
1422 ringacc->rings[i].proxy_id = K3_RINGACC_PROXY_NOT_USED; in k3_ringacc_init()
1482 ringacc->rings = devm_kzalloc(dev, in k3_ringacc_dmarings_init()
1483 sizeof(*ringacc->rings) * in k3_ringacc_dmarings_init()
1490 if (!ringacc->rings || !ringacc->rings_inuse) in k3_ringacc_dmarings_init()
1494 struct k3_ring *ring = &ringacc->rings[i]; in k3_ringacc_dmarings_init()
1501 ring = &ringacc->rings[ringacc->num_rings + i]; in k3_ringacc_dmarings_init()