Lines Matching refs:dma_ch
337 static void dma_dwc_xfer_start(int dma_ch);
714 static void dma_dwc_xfer_start(int dma_ch) in dma_dwc_xfer_start() argument
719 DMA_ENABLE_CHAN(dma_ch)); in dma_dwc_xfer_start()
726 int dma_ch; in dma_dwc_xfer_setup() local
729 dma_ch = dma_request_channel(); in dma_dwc_xfer_setup()
730 if (dma_ch == -1) { in dma_dwc_xfer_setup()
743 clear_chan_interrupts(dma_ch); in dma_dwc_xfer_setup()
746 out_le32(&(host_pvt.sata_dma_regs->chan_regs[dma_ch].cfg.high), in dma_dwc_xfer_setup()
748 out_le32(&(host_pvt.sata_dma_regs->chan_regs[dma_ch].cfg.low), 0); in dma_dwc_xfer_setup()
751 out_le32(&(host_pvt.sata_dma_regs->chan_regs[dma_ch].llp.low), in dma_dwc_xfer_setup()
755 out_le32(&(host_pvt.sata_dma_regs->chan_regs[dma_ch].ctl.low), in dma_dwc_xfer_setup()
757 return dma_ch; in dma_dwc_xfer_setup()