Lines Matching refs:dma_chan
196 struct dma_chan dma_chan; member
284 #define nbpf_to_chan(d) container_of(d, struct nbpf_channel, dma_chan)
302 dev_dbg(chan->dma_chan.device->dev, "%s(0x%p + 0x%x) = 0x%x\n", in nbpf_chan_read()
311 dev_dbg(chan->dma_chan.device->dev, "%s(0x%p + 0x%x) = 0x%x\n", in nbpf_chan_write()
375 dev_err(chan->dma_chan.device->dev, in nbpf_error_clear()
506 struct device *dev = chan->dma_chan.device->dev; in nbpf_prep_one()
595 static void nbpf_issue_pending(struct dma_chan *dchan) in nbpf_issue_pending()
619 static enum dma_status nbpf_tx_status(struct dma_chan *dchan, in nbpf_tx_status()
678 dev_dbg(chan->dma_chan.device->dev, "Entry %s(%d)\n", __func__, cookie); in nbpf_tx_submit()
685 struct dma_chan *dchan = &chan->dma_chan; in nbpf_desc_page_alloc()
857 static int nbpf_pause(struct dma_chan *dchan) in nbpf_pause()
871 static int nbpf_terminate_all(struct dma_chan *dchan) in nbpf_terminate_all()
884 static int nbpf_config(struct dma_chan *dchan, in nbpf_config()
983 struct dma_chan *dchan, dma_addr_t dst, dma_addr_t src, in nbpf_prep_memcpy()
1007 struct dma_chan *dchan, struct scatterlist *sgl, unsigned int sg_len, in nbpf_prep_slave_sg()
1033 static int nbpf_alloc_chan_resources(struct dma_chan *dchan) in nbpf_alloc_chan_resources()
1056 static void nbpf_free_chan_resources(struct dma_chan *dchan) in nbpf_free_chan_resources()
1081 static struct dma_chan *nbpf_of_xlate(struct of_phandle_args *dma_spec, in nbpf_of_xlate()
1085 struct dma_chan *dchan; in nbpf_of_xlate()
1186 dev_dbg(&chan->dma_chan.dev->device, "%s()\n", __func__); in nbpf_chan_irq()
1248 chan->dma_chan.device = dma_dev; in nbpf_chan_probe()
1249 dma_cookie_init(&chan->dma_chan); in nbpf_chan_probe()
1264 list_add_tail(&chan->dma_chan.device_node, in nbpf_chan_probe()