Lines Matching refs:rings_inuse
212 unsigned long *rings_inuse; member
346 id = find_next_zero_bit(ringacc->rings_inuse, size, in k3_ringacc_request_ring()
354 if (test_bit(id, ringacc->rings_inuse) && in k3_ringacc_request_ring()
376 set_bit(id, ringacc->rings_inuse); in k3_ringacc_request_ring()
403 if (test_bit(fwd_id, ringacc->rings_inuse)) { in k3_dmaring_request_dual_ring()
410 set_bit(fwd_id, ringacc->rings_inuse); in k3_dmaring_request_dual_ring()
589 if (!test_bit(ring->ring_id, ringacc->rings_inuse)) in k3_ringacc_ring_free()
617 clear_bit(ring->ring_id, ringacc->rings_inuse); in k3_ringacc_ring_free()
704 if (!test_bit(ring->ring_id, ringacc->rings_inuse)) in k3_dmaring_cfg()
784 !test_bit(ring->ring_id, ringacc->rings_inuse)) in k3_ringacc_ring_cfg()
1405 ringacc->rings_inuse = devm_bitmap_zalloc(dev, ringacc->num_rings, in k3_ringacc_init()
1410 if (!ringacc->rings || !ringacc->rings_inuse || !ringacc->proxy_inuse) in k3_ringacc_init()
1484 ringacc->rings_inuse = devm_bitmap_zalloc(dev, ringacc->num_rings, in k3_ringacc_dmarings_init()
1487 if (!ringacc->rings || !ringacc->rings_inuse) in k3_ringacc_dmarings_init()