Home
last modified time | relevance | path

Searched refs:dchan (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/dma/
H A Dloongson1-apb-dma.c86 #define to_ls1x_dma_chan(dchan) \ argument
87 container_of(dchan, struct ls1x_dma_chan, vc.chan)
100 struct dma_chan *dchan = &chan->vc.chan; in ls1x_dma_query() local
105 val |= dchan->chan_id; in ls1x_dma_query()
110 dev_err(chan2dev(dchan), "failed to query DMA\n"); in ls1x_dma_query()
118 struct dma_chan *dchan = &chan->vc.chan; in ls1x_dma_start() local
119 struct device *dev = chan2dev(dchan); in ls1x_dma_start()
124 val |= dchan->chan_id; in ls1x_dma_start()
143 static void ls1x_dma_free_chan_resources(struct dma_chan *dchan) in ls1x_dma_free_chan_resources() argument
145 struct ls1x_dma_chan *chan = to_ls1x_dma_chan(dchan); in ls1x_dma_free_chan_resources()
[all …]
H A Dste_dma40.c2231 d40_prep_sg(struct dma_chan *dchan, struct scatterlist *sg_src, in d40_prep_sg() argument
2235 struct d40_chan *chan = container_of(dchan, struct d40_chan, chan); in d40_prep_sg()
2247 d40_set_runtime_config_write(dchan, &chan->slave_config, direction); in d40_prep_sg()
H A Dat_xdmac.c322 static inline struct at_xdmac_chan *to_at_xdmac_chan(struct dma_chan *dchan) in to_at_xdmac_chan() argument
324 return container_of(dchan, struct at_xdmac_chan, chan); in to_at_xdmac_chan()
/linux/drivers/rapidio/devices/
H A Dtsi721_dma.c49 return container_of(chan, struct tsi721_bdma_chan, dchan); in to_tsi721_chan()
66 struct device *dev = bdma_chan->dchan.device->dev; in tsi721_bdma_ch_init()
72 struct tsi721_device *priv = to_tsi721(bdma_chan->dchan.device); in tsi721_bdma_ch_init()
75 tsi_debug(DMA, &bdma_chan->dchan.dev->device, "DMAC%d", bdma_chan->id); in tsi721_bdma_ch_init()
91 tsi_debug(DMA, &bdma_chan->dchan.dev->device, in tsi721_bdma_ch_init()
115 tsi_debug(DMA, &bdma_chan->dchan.dev->device, in tsi721_bdma_ch_init()
156 tsi_debug(DMA, &bdma_chan->dchan.dev->device, in tsi721_bdma_ch_init()
168 tsi_debug(DMA, &bdma_chan->dchan.dev->device, in tsi721_bdma_ch_init()
210 struct tsi721_device *priv = to_tsi721(bdma_chan->dchan.device); in tsi721_bdma_ch_free()
234 dma_free_coherent(bdma_chan->dchan.device->dev, in tsi721_bdma_ch_free()
[all …]
H A Dtsi721.h701 struct dma_chan dchan; member
/linux/drivers/dma/dw-edma/
H A Ddw-edma-core.c26 struct device *dchan2dev(struct dma_chan *dchan) in dchan2dev() argument
28 return &dchan->dev->device; in dchan2dev()
215 static void dw_edma_device_caps(struct dma_chan *dchan, in dw_edma_device_caps() argument
218 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_device_caps()
233 static int dw_edma_device_config(struct dma_chan *dchan, in dw_edma_device_config() argument
236 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_device_config()
244 static int dw_edma_device_pause(struct dma_chan *dchan) in dw_edma_device_pause() argument
246 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_device_pause()
261 static int dw_edma_device_resume(struct dma_chan *dchan) in dw_edma_device_resume() argument
263 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_device_resume()
[all …]
H A Ddw-edma-core.h143 struct dma_chan *dchan; member
161 struct dw_edma_chan *dchan2dw_edma_chan(struct dma_chan *dchan) in dchan2dw_edma_chan() argument
163 return vc2dw_edma_chan(to_virt_chan(dchan)); in dchan2dw_edma_chan()
/linux/include/linux/
H A Drio_drv.h396 extern void rio_release_dma(struct dma_chan *dchan);
398 struct rio_dev *rdev, struct dma_chan *dchan,
402 struct dma_chan *dchan, u16 destid,
H A Dfsldma.h8 int fsl_dma_external_start(struct dma_chan *dchan, int enable);
/linux/include/linux/dma/
H A Dxilinx_dma.h42 int xilinx_vdma_channel_set_config(struct dma_chan *dchan,
/linux/arch/mips/alchemy/common/
H A Dirq.c581 void au1300_set_dbdma_gpio(int dchan, unsigned int gpio) in au1300_set_dbdma_gpio() argument
585 if ((dchan >= 0) && (dchan <= 1)) { in au1300_set_dbdma_gpio()
587 r &= ~(0xff << (8 * dchan)); in au1300_set_dbdma_gpio()
588 r |= (gpio & 0x7f) << (8 * dchan); in au1300_set_dbdma_gpio()
/linux/drivers/rapidio/
H A Drio.c1794 void rio_release_dma(struct dma_chan *dchan) in rio_release_dma() argument
1796 dma_release_channel(dchan); in rio_release_dma()
1816 struct dma_async_tx_descriptor *rio_dma_prep_xfer(struct dma_chan *dchan, in rio_dma_prep_xfer() argument
1822 if (!dchan->device->device_prep_slave_sg) { in rio_dma_prep_xfer()
1832 return dmaengine_prep_rio_sg(dchan, data->sg, data->sg_len, in rio_dma_prep_xfer()
1854 struct dma_chan *dchan, struct rio_dma_data *data, in rio_dma_prep_slave_sg() argument
1857 return rio_dma_prep_xfer(dchan, rdev->destid, data, direction, flags); in rio_dma_prep_slave_sg()
/linux/arch/mips/include/asm/mach-au1x00/
H A Dau1000.h882 extern void au1300_set_dbdma_gpio(int dchan, unsigned int gpio);