Lines Matching refs:dma_chan
199 struct dma_chan dma_chan; member
285 #define nbpf_to_chan(d) container_of(d, struct nbpf_channel, dma_chan)
303 dev_dbg(chan->dma_chan.device->dev, "%s(0x%p + 0x%x) = 0x%x\n", in nbpf_chan_read()
312 dev_dbg(chan->dma_chan.device->dev, "%s(0x%p + 0x%x) = 0x%x\n", in nbpf_chan_write()
376 dev_err(chan->dma_chan.device->dev, in nbpf_error_clear()
483 struct device *dev = chan->dma_chan.device->dev; in nbpf_prep_one()
572 static void nbpf_issue_pending(struct dma_chan *dchan) in nbpf_issue_pending()
596 static enum dma_status nbpf_tx_status(struct dma_chan *dchan, in nbpf_tx_status()
655 dev_dbg(chan->dma_chan.device->dev, "Entry %s(%d)\n", __func__, cookie); in nbpf_tx_submit()
662 struct dma_chan *dchan = &chan->dma_chan; in nbpf_desc_page_alloc()
834 static int nbpf_pause(struct dma_chan *dchan) in nbpf_pause()
848 static int nbpf_terminate_all(struct dma_chan *dchan) in nbpf_terminate_all()
861 static int nbpf_config(struct dma_chan *dchan, in nbpf_config()
960 struct dma_chan *dchan, dma_addr_t dst, dma_addr_t src, in nbpf_prep_memcpy()
984 struct dma_chan *dchan, in nbpf_prep_memcpy_sg()
999 struct dma_chan *dchan, struct scatterlist *sgl, unsigned int sg_len, in nbpf_prep_slave_sg()
1025 static int nbpf_alloc_chan_resources(struct dma_chan *dchan) in nbpf_alloc_chan_resources()
1048 static void nbpf_free_chan_resources(struct dma_chan *dchan) in nbpf_free_chan_resources()
1073 static struct dma_chan *nbpf_of_xlate(struct of_phandle_args *dma_spec, in nbpf_of_xlate()
1077 struct dma_chan *dchan; in nbpf_of_xlate()
1178 dev_dbg(&chan->dma_chan.dev->device, "%s()\n", __func__); in nbpf_chan_irq()
1240 chan->dma_chan.device = dma_dev; in nbpf_chan_probe()
1241 dma_cookie_init(&chan->dma_chan); in nbpf_chan_probe()
1256 list_add_tail(&chan->dma_chan.device_node, in nbpf_chan_probe()