Lines Matching refs:dbdma_ring
261 if (pi->dbdma_ring.stopping) { in i2sbus_wait_for_stop()
272 pi->dbdma_ring.stopping = 0; in i2sbus_wait_for_stop()
302 if (pi->dbdma_ring.stopping) in i2sbus_hw_free()
340 if (pi->dbdma_ring.running) { in i2sbus_pcm_prepare()
344 if (pi->dbdma_ring.stopping) in i2sbus_pcm_prepare()
369 command = pi->dbdma_ring.cmds; in i2sbus_pcm_prepare()
386 stopaddr = pi->dbdma_ring.bus_cmd_start + in i2sbus_pcm_prepare()
397 command->cmd_dep = cpu_to_le32(pi->dbdma_ring.bus_cmd_start); in i2sbus_pcm_prepare()
544 if (pi->dbdma_ring.running) { in i2sbus_pcm_trigger()
551 pi->dbdma_ring.running = 1; in i2sbus_pcm_trigger()
553 if (pi->dbdma_ring.stopping) { in i2sbus_pcm_trigger()
560 pi->dbdma_ring.stopping = 0; in i2sbus_pcm_trigger()
573 out_le32(&pi->dbdma->cmdptr, pi->dbdma_ring.bus_cmd_start); in i2sbus_pcm_trigger()
587 if (!pi->dbdma_ring.running) { in i2sbus_pcm_trigger()
591 pi->dbdma_ring.running = 0; in i2sbus_pcm_trigger()
595 pi->dbdma_ring.stopping = 1; in i2sbus_pcm_trigger()
637 if (!pi->dbdma_ring.running && !pi->dbdma_ring.stopping) in handle_interrupt()
642 while (pi->dbdma_ring.cmds[i].xfer_status) { in handle_interrupt()
643 if (le16_to_cpu(pi->dbdma_ring.cmds[i].xfer_status) & BT) in handle_interrupt()
650 pi->dbdma_ring.cmds[i].xfer_status = 0; in handle_interrupt()
685 pi->dbdma_ring.stopping = 0; in handle_interrupt()
690 if (!pi->dbdma_ring.running) in handle_interrupt()