• Home
  • Raw
  • Download

Lines Matching refs:dchan

26 struct device *dchan2dev(struct dma_chan *dchan)  in dchan2dev()  argument
28 return &dchan->dev->device; in dchan2dev()
203 static int dw_edma_device_config(struct dma_chan *dchan, in dw_edma_device_config() argument
206 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_device_config()
214 static int dw_edma_device_pause(struct dma_chan *dchan) in dw_edma_device_pause() argument
216 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_device_pause()
231 static int dw_edma_device_resume(struct dma_chan *dchan) in dw_edma_device_resume() argument
233 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_device_resume()
250 static int dw_edma_device_terminate_all(struct dma_chan *dchan) in dw_edma_device_terminate_all() argument
252 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_device_terminate_all()
279 static void dw_edma_device_issue_pending(struct dma_chan *dchan) in dw_edma_device_issue_pending() argument
281 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_device_issue_pending()
297 dw_edma_device_tx_status(struct dma_chan *dchan, dma_cookie_t cookie, in dw_edma_device_tx_status() argument
300 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_device_tx_status()
307 ret = dma_cookie_status(dchan, cookie, txstate); in dw_edma_device_tx_status()
335 struct dw_edma_chan *chan = dchan2dw_edma_chan(xfer->dchan); in dw_edma_device_transfer()
497 dw_edma_device_prep_slave_sg(struct dma_chan *dchan, struct scatterlist *sgl, in dw_edma_device_prep_slave_sg() argument
504 xfer.dchan = dchan; in dw_edma_device_prep_slave_sg()
515 dw_edma_device_prep_dma_cyclic(struct dma_chan *dchan, dma_addr_t paddr, in dw_edma_device_prep_dma_cyclic() argument
522 xfer.dchan = dchan; in dw_edma_device_prep_dma_cyclic()
534 dw_edma_device_prep_interleaved_dma(struct dma_chan *dchan, in dw_edma_device_prep_interleaved_dma() argument
540 xfer.dchan = dchan; in dw_edma_device_prep_interleaved_dma()
669 static int dw_edma_alloc_chan_resources(struct dma_chan *dchan) in dw_edma_alloc_chan_resources() argument
671 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_alloc_chan_resources()
681 static void dw_edma_free_chan_resources(struct dma_chan *dchan) in dw_edma_free_chan_resources() argument
684 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_free_chan_resources()
688 ret = dw_edma_device_terminate_all(dchan); in dw_edma_free_chan_resources()