Searched refs:dma_chans (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/staging/comedi/drivers/
H A Dcomedi_isadma.c170 unsigned int dma_chans[2]; comedi_isadma_alloc() local
186 dma_chans[0] = dma_chan1; comedi_isadma_alloc()
188 dma_chans[1] = dma_chan1; comedi_isadma_alloc()
190 dma_chans[1] = dma_chan2; comedi_isadma_alloc()
192 if (request_dma(dma_chans[0], dev->board_name)) comedi_isadma_alloc()
194 dma->chan = dma_chans[0]; comedi_isadma_alloc()
195 if (dma_chans[1] != dma_chans[0]) { comedi_isadma_alloc()
196 if (request_dma(dma_chans[1], dev->board_name)) comedi_isadma_alloc()
199 dma->chan2 = dma_chans[1]; comedi_isadma_alloc()
203 desc->chan = dma_chans[i]; comedi_isadma_alloc()
/linux-4.1.27/drivers/media/platform/soc_camera/
H A Dpxa_camera.c210 unsigned int dma_chans[3]; member in struct:pxa_camera_dev
558 DDADR(pcdev->dma_chans[i]) = active->dmas[i].sg_dma; pxa_dma_start_channels()
559 DCSR(pcdev->dma_chans[i]) = DCSR_RUN; pxa_dma_start_channels()
570 DCSR(pcdev->dma_chans[i]) = 0; pxa_dma_stop_channels()
723 if (DDADR(pcdev->dma_chans[i]) != DDADR_STOP) pxa_camera_check_link_miss()
996 DCSR(pcdev->dma_chans[0]) = 0; pxa_camera_clock_stop()
997 DCSR(pcdev->dma_chans[1]) = 0; pxa_camera_clock_stop()
998 DCSR(pcdev->dma_chans[2]) = 0; pxa_camera_clock_stop()
1613 DRCMR(68) = pcdev->dma_chans[0] | DRCMR_MAPVLD; pxa_camera_resume()
1614 DRCMR(69) = pcdev->dma_chans[1] | DRCMR_MAPVLD; pxa_camera_resume()
1615 DRCMR(70) = pcdev->dma_chans[2] | DRCMR_MAPVLD; pxa_camera_resume()
1797 pcdev->dma_chans[0] = err; pxa_camera_probe()
1798 dev_dbg(&pdev->dev, "got DMA channel %d\n", pcdev->dma_chans[0]); pxa_camera_probe()
1806 pcdev->dma_chans[1] = err; pxa_camera_probe()
1807 dev_dbg(&pdev->dev, "got DMA channel (U) %d\n", pcdev->dma_chans[1]); pxa_camera_probe()
1815 pcdev->dma_chans[2] = err; pxa_camera_probe()
1816 dev_dbg(&pdev->dev, "got DMA channel (V) %d\n", pcdev->dma_chans[2]); pxa_camera_probe()
1818 DRCMR(68) = pcdev->dma_chans[0] | DRCMR_MAPVLD; pxa_camera_probe()
1819 DRCMR(69) = pcdev->dma_chans[1] | DRCMR_MAPVLD; pxa_camera_probe()
1820 DRCMR(70) = pcdev->dma_chans[2] | DRCMR_MAPVLD; pxa_camera_probe()
1843 pxa_free_dma(pcdev->dma_chans[2]); pxa_camera_probe()
1845 pxa_free_dma(pcdev->dma_chans[1]); pxa_camera_probe()
1847 pxa_free_dma(pcdev->dma_chans[0]); pxa_camera_probe()
1857 pxa_free_dma(pcdev->dma_chans[0]); pxa_camera_remove()
1858 pxa_free_dma(pcdev->dma_chans[1]); pxa_camera_remove()
1859 pxa_free_dma(pcdev->dma_chans[2]); pxa_camera_remove()
/linux-4.1.27/drivers/mtd/nand/gpmi-nand/
H A Dgpmi-nand.h196 struct dma_chan *dma_chans[DMA_CHANS]; member in struct:gpmi_nand_data
H A Dgpmi-nand.c378 return this->dma_chans[0]; get_dma_chan()
546 if (this->dma_chans[i]) { release_dma_channels()
547 dma_release_channel(this->dma_chans[i]); release_dma_channels()
548 this->dma_chans[i] = NULL; release_dma_channels()
564 this->dma_chans[0] = dma_chan; acquire_dma_channels()

Completed in 163 milliseconds