Lines Matching refs:dma
30 #include <linux/dma-mapping.h>
163 while ((in_le32(&rec->dma->status) & RUN) && timeout-- > 0)
185 out_le32(&rec->dma->control, (RUN|WAKE|FLUSH|PAUSE) << 16);
194 out_le32(&rec->dma->cmdptr, cmd->addr);
202 out_le32(&rec->dma->control, status | (status << 16));
292 (void)in_le32(&rec->dma->status);
419 (void)in_le32(&rec->dma->status);
420 out_le32(&rec->dma->control, (RUN|PAUSE|FLUSH|WAKE) << 16);
448 out_le32(&rec->dma->cmdptr, emergency_dbdma.addr);
451 (void)in_le32(&rec->dma->status);
453 out_le32(&rec->dma->control, ((RUN|WAKE) << 16) + (RUN|WAKE));
706 out_le32(&chip->playback.dma->control, (RUN|PAUSE|FLUSH|WAKE|DEAD) << 16);
708 out_le32(&chip->capture.dma->control, (RUN|PAUSE|FLUSH|WAKE|DEAD) << 16);
834 if (chip->playback.dma)
835 iounmap(chip->playback.dma);
836 if (chip->capture.dma)
837 iounmap(chip->capture.dma);
1234 chip->playback.dma = ioremap(txdma_addr, 0x100);
1235 chip->capture.dma = ioremap(rxdma_addr, 0x100);