Lines Matching refs:cmd_ring
579 const struct rocker_dma_ring_info *cmd_ring = &rocker->cmd_ring; in rocker_dma_cmd_ring_waits_alloc() local
583 for (i = 0; i < cmd_ring->size; i++) { in rocker_dma_cmd_ring_waits_alloc()
584 err = rocker_dma_cmd_ring_wait_alloc(&cmd_ring->desc_info[i]); in rocker_dma_cmd_ring_waits_alloc()
592 rocker_dma_cmd_ring_wait_free(&cmd_ring->desc_info[i]); in rocker_dma_cmd_ring_waits_alloc()
598 const struct rocker_dma_ring_info *cmd_ring = &rocker->cmd_ring; in rocker_dma_cmd_ring_waits_free() local
601 for (i = 0; i < cmd_ring->size; i++) in rocker_dma_cmd_ring_waits_free()
602 rocker_dma_cmd_ring_wait_free(&cmd_ring->desc_info[i]); in rocker_dma_cmd_ring_waits_free()
612 &rocker->cmd_ring); in rocker_dma_rings_init()
620 err = rocker_dma_ring_bufs_alloc(rocker, &rocker->cmd_ring, in rocker_dma_rings_init()
655 rocker_dma_ring_bufs_free(rocker, &rocker->cmd_ring, in rocker_dma_rings_init()
658 rocker_dma_ring_destroy(rocker, &rocker->cmd_ring); in rocker_dma_rings_init()
668 rocker_dma_ring_bufs_free(rocker, &rocker->cmd_ring, in rocker_dma_rings_fini()
670 rocker_dma_ring_destroy(rocker, &rocker->cmd_ring); in rocker_dma_rings_fini()
885 while ((desc_info = rocker_desc_tail_get(&rocker->cmd_ring))) { in rocker_cmd_irq_handler()
895 rocker_dma_ring_credits_set(rocker, &rocker->cmd_ring, credits); in rocker_cmd_irq_handler()
1057 desc_info = rocker_desc_head_get(&rocker->cmd_ring); in rocker_cmd_exec()
1073 rocker_desc_head_set(rocker, &rocker->cmd_ring, desc_info); in rocker_cmd_exec()