Searched refs:dma_chans (Results 1 – 5 of 5) sorted by relevance
158 unsigned int dma_chans[2]; in comedi_isadma_alloc() local187 dma_chans[0] = dma_chan1; in comedi_isadma_alloc()189 dma_chans[1] = dma_chan1; in comedi_isadma_alloc()191 dma_chans[1] = dma_chan2; in comedi_isadma_alloc()193 if (request_dma(dma_chans[0], dev->board_name)) in comedi_isadma_alloc()195 dma->chan = dma_chans[0]; in comedi_isadma_alloc()196 if (dma_chans[1] != dma_chans[0]) { in comedi_isadma_alloc()197 if (request_dma(dma_chans[1], dev->board_name)) in comedi_isadma_alloc()200 dma->chan2 = dma_chans[1]; in comedi_isadma_alloc()204 desc->chan = dma_chans[i]; in comedi_isadma_alloc()
670 struct dma_chan *dma_chans[3]; member824 struct dma_chan *dma_chan = pcdev->dma_chans[channel]; in pxa_init_dma_channel()880 dma_async_issue_pending(pcdev->dma_chans[i]); in pxa_dma_start_channels()891 dmaengine_terminate_all(pcdev->dma_chans[i]); in pxa_dma_stop_channels()1052 last_status = dma_async_is_tx_complete(pcdev->dma_chans[chan], in pxa_camera_dma_irq()2356 pcdev->dma_chans[0] = dma_request_chan(&pdev->dev, "CI_Y"); in pxa_camera_probe()2357 if (IS_ERR(pcdev->dma_chans[0])) { in pxa_camera_probe()2359 err = PTR_ERR(pcdev->dma_chans[0]); in pxa_camera_probe()2363 pcdev->dma_chans[1] = dma_request_chan(&pdev->dev, "CI_U"); in pxa_camera_probe()2364 if (IS_ERR(pcdev->dma_chans[1])) { in pxa_camera_probe()[all …]
134 struct dma_chan *dma_chans[SNDRV_PCM_STREAM_LAST + 1]; member816 struct dma_chan *chan = cl->dma_chans[substream->stream]; in mca_pcm_open()924 if (!substream || !cl->dma_chans[i]) in mca_pcm_free()927 dma_release_channel(cl->dma_chans[i]); in mca_pcm_free()928 cl->dma_chans[i] = NULL; in mca_pcm_free()966 cl->dma_chans[i] = chan; in mca_pcm_new()
162 struct dma_chan *dma_chans[DMA_CHANS]; member
1013 return this->dma_chans[0]; in get_dma_chan()1240 if (this->dma_chans[i]) { in release_dma_channels()1241 dma_release_channel(this->dma_chans[i]); in release_dma_channels()1242 this->dma_chans[i] = NULL; in release_dma_channels()1259 this->dma_chans[0] = dma_chan; in acquire_dma_channels()