dma_chan           26 arch/arm/kernel/dma.c static dma_t *dma_chan[MAX_DMA_CHANNELS];
dma_chan           33 arch/arm/kernel/dma.c 	return dma_chan[chan];
dma_chan           43 arch/arm/kernel/dma.c 	if (dma_chan[chan])
dma_chan           45 arch/arm/kernel/dma.c 	dma_chan[chan] = dma;
dma_chan          134 arch/arm/plat-omap/dma.c static struct omap_dma_lch *dma_chan;
dma_chan          496 arch/arm/plat-omap/dma.c 	p->dma_write(dma_chan[lch].enabled_irqs, CICR, lch);
dma_chan          512 arch/arm/plat-omap/dma.c 	dma_chan[lch].enabled_irqs |= bits;
dma_chan          518 arch/arm/plat-omap/dma.c 	dma_chan[lch].enabled_irqs &= ~bits;
dma_chan          532 arch/arm/plat-omap/dma.c 	if (dma_chan[lch].next_lch != -1)
dma_chan          533 arch/arm/plat-omap/dma.c 		l = dma_chan[lch].next_lch | (1 << 15);
dma_chan          537 arch/arm/plat-omap/dma.c 		if (dma_chan[lch].next_linked_ch != -1)
dma_chan          538 arch/arm/plat-omap/dma.c 			l = dma_chan[lch].next_linked_ch | (1 << 15);
dma_chan          564 arch/arm/plat-omap/dma.c 	dma_chan[lch].flags &= ~OMAP_DMA_ACTIVE;
dma_chan          615 arch/arm/plat-omap/dma.c 		if (free_ch == -1 && dma_chan[ch].dev_id == -1) {
dma_chan          625 arch/arm/plat-omap/dma.c 	chan = dma_chan + free_ch;
dma_chan          686 arch/arm/plat-omap/dma.c 	if (dma_chan[lch].dev_id == -1) {
dma_chan          707 arch/arm/plat-omap/dma.c 	dma_chan[lch].dev_id = -1;
dma_chan          708 arch/arm/plat-omap/dma.c 	dma_chan[lch].next_lch = -1;
dma_chan          709 arch/arm/plat-omap/dma.c 	dma_chan[lch].callback = NULL;
dma_chan          805 arch/arm/plat-omap/dma.c 	if (!omap_dma_in_1510_mode() && dma_chan[lch].next_lch != -1) {
dma_chan          815 arch/arm/plat-omap/dma.c 		cur_lch = dma_chan[lch].next_lch;
dma_chan          817 arch/arm/plat-omap/dma.c 			next_lch = dma_chan[cur_lch].next_lch;
dma_chan          850 arch/arm/plat-omap/dma.c 	dma_chan[lch].flags |= OMAP_DMA_ACTIVE;
dma_chan          902 arch/arm/plat-omap/dma.c 	if (!omap_dma_in_1510_mode() && dma_chan[lch].next_lch != -1) {
dma_chan          916 arch/arm/plat-omap/dma.c 			next_lch = dma_chan[cur_lch].next_lch;
dma_chan          921 arch/arm/plat-omap/dma.c 	dma_chan[lch].flags &= ~OMAP_DMA_ACTIVE;
dma_chan          939 arch/arm/plat-omap/dma.c 	if (dma_chan[lch].dev_id == -1) {
dma_chan          944 arch/arm/plat-omap/dma.c 	dma_chan[lch].callback = callback;
dma_chan          945 arch/arm/plat-omap/dma.c 	dma_chan[lch].data = data;
dma_chan         1069 arch/arm/plat-omap/dma.c 	if ((dma_chan[lch_head].dev_id == -1) ||
dma_chan         1070 arch/arm/plat-omap/dma.c 	    (dma_chan[lch_queue].dev_id == -1)) {
dma_chan         1075 arch/arm/plat-omap/dma.c 	dma_chan[lch_head].next_lch = lch_queue;
dma_chan         1088 arch/arm/plat-omap/dma.c 		csr = dma_chan[ch].saved_csr;
dma_chan         1089 arch/arm/plat-omap/dma.c 		dma_chan[ch].saved_csr = 0;
dma_chan         1093 arch/arm/plat-omap/dma.c 		dma_chan[ch + 6].saved_csr = csr >> 7;
dma_chan         1098 arch/arm/plat-omap/dma.c 	if (unlikely(dma_chan[ch].dev_id == -1)) {
dma_chan         1104 arch/arm/plat-omap/dma.c 		pr_warn("DMA timeout with device %d\n", dma_chan[ch].dev_id);
dma_chan         1107 arch/arm/plat-omap/dma.c 			dma_chan[ch].dev_id);
dma_chan         1109 arch/arm/plat-omap/dma.c 		dma_chan[ch].flags &= ~OMAP_DMA_ACTIVE;
dma_chan         1110 arch/arm/plat-omap/dma.c 	if (likely(dma_chan[ch].callback != NULL))
dma_chan         1111 arch/arm/plat-omap/dma.c 		dma_chan[ch].callback(ch, csr, dma_chan[ch].data);
dma_chan         1125 arch/arm/plat-omap/dma.c 		if (enable_1510_mode && dma_chan[ch + 6].saved_csr)
dma_chan         1151 arch/arm/plat-omap/dma.c 	if (unlikely(dma_chan[ch].dev_id == -1)) {
dma_chan         1159 arch/arm/plat-omap/dma.c 			dma_chan[ch].dev_id);
dma_chan         1162 arch/arm/plat-omap/dma.c 		       dma_chan[ch].dev_id);
dma_chan         1169 arch/arm/plat-omap/dma.c 			dma_chan[ch].flags &= ~OMAP_DMA_ACTIVE;
dma_chan         1174 arch/arm/plat-omap/dma.c 		       dma_chan[ch].dev_id);
dma_chan         1177 arch/arm/plat-omap/dma.c 		       dma_chan[ch].dev_id);
dma_chan         1185 arch/arm/plat-omap/dma.c 	if (dma_chan[ch].chain_id != -1) {
dma_chan         1186 arch/arm/plat-omap/dma.c 		int chain_id = dma_chan[ch].chain_id;
dma_chan         1187 arch/arm/plat-omap/dma.c 		dma_chan[ch].state = DMA_CH_NOTSTARTED;
dma_chan         1189 arch/arm/plat-omap/dma.c 			dma_chan[dma_chan[ch].next_linked_ch].state =
dma_chan         1202 arch/arm/plat-omap/dma.c 	if (likely(dma_chan[ch].callback != NULL))
dma_chan         1203 arch/arm/plat-omap/dma.c 		dma_chan[ch].callback(ch, status, dma_chan[ch].data);
dma_chan         1274 arch/arm/plat-omap/dma.c 		if (dma_chan[ch].dev_id != -1)
dma_chan         1310 arch/arm/plat-omap/dma.c 	dma_chan = devm_kcalloc(&pdev->dev, dma_lch_count,
dma_chan         1311 arch/arm/plat-omap/dma.c 				sizeof(*dma_chan), GFP_KERNEL);
dma_chan         1312 arch/arm/plat-omap/dma.c 	if (!dma_chan)
dma_chan         1331 arch/arm/plat-omap/dma.c 		dma_chan[ch].dev_id = -1;
dma_chan         1332 arch/arm/plat-omap/dma.c 		dma_chan[ch].next_lch = -1;
dma_chan         1385 arch/arm/plat-omap/dma.c 		dma_chan[0].dev_id = 0;
dma_chan         1386 arch/arm/plat-omap/dma.c 		dma_chan[1].dev_id = 1;
dma_chan           64 arch/mips/alchemy/common/dma.c struct dma_chan au1000_dma_table[NUM_AU1000_DMA_CHANNELS] = {
dma_chan          104 arch/mips/alchemy/common/dma.c 	struct dma_chan *chan;
dma_chan          136 arch/mips/alchemy/common/dma.c 	struct dma_chan *chan;
dma_chan          167 arch/mips/alchemy/common/dma.c 	struct dma_chan *chan;
dma_chan          223 arch/mips/alchemy/common/dma.c 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          118 arch/mips/include/asm/mach-au1x00/au1000_dma.h extern struct dma_chan au1000_dma_table[];
dma_chan          130 arch/mips/include/asm/mach-au1x00/au1000_dma.h static inline struct dma_chan *get_dma_chan(unsigned int dmanr)
dma_chan          156 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          165 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          173 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          182 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          193 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          210 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          223 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          233 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          257 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          273 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          282 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          296 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          315 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          324 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          343 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          355 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          368 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          381 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          394 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          409 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          422 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan          435 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	struct dma_chan *chan = get_dma_chan(dmanr);
dma_chan           24 arch/mips/include/asm/mach-loongson32/nand.h bool ls1x_dma_filter_fn(struct dma_chan *chan, void *param);
dma_chan           11 arch/powerpc/include/asm/async_tx.h extern struct dma_chan *
dma_chan           25 arch/powerpc/include/asm/async_tx.h struct dma_chan *
dma_chan           41 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	struct dma_chan *chan;
dma_chan           36 crypto/async_tx/async_memcpy.c 	struct dma_chan *chan = async_tx_find_channel(submit, DMA_MEMCPY,
dma_chan           35 crypto/async_tx/async_pq.c do_async_gen_syndrome(struct dma_chan *chan,
dma_chan          167 crypto/async_tx/async_pq.c 	struct dma_chan *chan = async_tx_find_channel(submit, DMA_PQ,
dma_chan          255 crypto/async_tx/async_pq.c static inline struct dma_chan *
dma_chan          285 crypto/async_tx/async_pq.c 	struct dma_chan *chan = pq_val_chan(submit, blocks, disks, len);
dma_chan           21 crypto/async_tx/async_raid6_recov.c 	struct dma_chan *chan = async_tx_find_channel(submit, DMA_PQ,
dma_chan           86 crypto/async_tx/async_raid6_recov.c 	struct dma_chan *chan = async_tx_find_channel(submit, DMA_PQ,
dma_chan           42 crypto/async_tx/async_tx.c struct dma_chan *
dma_chan           68 crypto/async_tx/async_tx.c 	struct dma_chan *chan = depend_tx->chan;
dma_chan          143 crypto/async_tx/async_tx.c async_tx_submit(struct dma_chan *chan, struct dma_async_tx_descriptor *tx,
dma_chan          223 crypto/async_tx/async_tx.c 	struct dma_chan *chan;
dma_chan           23 crypto/async_tx/async_xor.c do_async_xor(struct dma_chan *chan, struct dmaengine_unmap_data *unmap,
dma_chan          163 crypto/async_tx/async_xor.c 	struct dma_chan *chan = async_tx_find_channel(submit, DMA_XOR,
dma_chan          228 crypto/async_tx/async_xor.c static inline struct dma_chan *
dma_chan          260 crypto/async_tx/async_xor.c 	struct dma_chan *chan = xor_val_chan(submit, dest, src_list, src_cnt, len);
dma_chan          209 drivers/ata/pata_arasan_cf.c 	struct dma_chan *dma_chan;
dma_chan          398 drivers/ata/pata_arasan_cf.c 	struct dma_chan *chan = acdev->dma_chan;
dma_chan          530 drivers/ata/pata_arasan_cf.c 	acdev->dma_chan = dma_request_slave_channel(acdev->host->dev, "data");
dma_chan          531 drivers/ata/pata_arasan_cf.c 	if (!acdev->dma_chan) {
dma_chan          542 drivers/ata/pata_arasan_cf.c 	dma_release_channel(acdev->dma_chan);
dma_chan          925 drivers/ata/pata_arasan_cf.c 	if (acdev->dma_chan)
dma_chan          926 drivers/ata/pata_arasan_cf.c 		dmaengine_terminate_all(acdev->dma_chan);
dma_chan          136 drivers/ata/pata_ep93xx.c 	struct dma_chan *dma_rx_channel;
dma_chan          138 drivers/ata/pata_ep93xx.c 	struct dma_chan *dma_tx_channel;
dma_chan          639 drivers/ata/pata_ep93xx.c static bool ep93xx_pata_dma_filter(struct dma_chan *chan, void *filter_param)
dma_chan          709 drivers/ata/pata_ep93xx.c 	struct dma_chan *channel = qc->dma_dir == DMA_TO_DEVICE
dma_chan           26 drivers/ata/pata_pxa.c 	struct dma_chan		*dma_chan;
dma_chan           39 drivers/ata/pata_pxa.c 	status = dmaengine_tx_status(pd->dma_chan, pd->dma_cookie, NULL);
dma_chan           57 drivers/ata/pata_pxa.c 	tx = dmaengine_prep_slave_sg(pd->dma_chan, qc->sg, qc->n_elem, dir,
dma_chan           84 drivers/ata/pata_pxa.c 	dma_async_issue_pending(pd->dma_chan);
dma_chan           95 drivers/ata/pata_pxa.c 	status = dmaengine_tx_status(pd->dma_chan, pd->dma_cookie, NULL);
dma_chan          100 drivers/ata/pata_pxa.c 	dmaengine_terminate_all(pd->dma_chan);
dma_chan          114 drivers/ata/pata_pxa.c 	status = dmaengine_tx_status(pd->dma_chan, pd->dma_cookie, &state);
dma_chan          275 drivers/ata/pata_pxa.c 	data->dma_chan =
dma_chan          277 drivers/ata/pata_pxa.c 	if (!data->dma_chan)
dma_chan          279 drivers/ata/pata_pxa.c 	ret = dmaengine_slave_config(data->dma_chan, &config);
dma_chan          291 drivers/ata/pata_pxa.c 		dma_release_channel(data->dma_chan);
dma_chan          301 drivers/ata/pata_pxa.c 	dma_release_channel(data->dma_chan);
dma_chan          156 drivers/ata/sata_dwc_460ex.c 	struct dma_chan			*chan;
dma_chan          203 drivers/ata/sata_dwc_460ex.c static bool sata_dwc_dma_filter(struct dma_chan *chan, void *param)
dma_chan          174 drivers/crypto/atmel-aes.c 	struct dma_chan		*chan;
dma_chan         2374 drivers/crypto/atmel-aes.c static bool atmel_aes_filter(struct dma_chan *chan, void *slave)
dma_chan          121 drivers/crypto/atmel-sha.c 	struct dma_chan			*chan;
dma_chan         1515 drivers/crypto/atmel-sha.c 	struct dma_chan *chan = dma->chan;
dma_chan         2606 drivers/crypto/atmel-sha.c static bool atmel_sha_filter(struct dma_chan *chan, void *slave)
dma_chan           86 drivers/crypto/atmel-tdes.c 	struct dma_chan			*chan;
dma_chan          705 drivers/crypto/atmel-tdes.c static bool atmel_tdes_filter(struct dma_chan *chan, void *slave)
dma_chan          257 drivers/crypto/ccp/ccp-dev.h 	struct dma_chan dma_chan;
dma_chan           87 drivers/crypto/ccp/ccp-dmaengine.c static void ccp_free_chan_resources(struct dma_chan *dma_chan)
dma_chan           89 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_chan *chan = container_of(dma_chan, struct ccp_dma_chan,
dma_chan           90 drivers/crypto/ccp/ccp-dmaengine.c 						 dma_chan);
dma_chan          130 drivers/crypto/ccp/ccp-dmaengine.c 		dma_chan_name(&chan->dma_chan));
dma_chan          271 drivers/crypto/ccp/ccp-dmaengine.c 			    dma_chan);
dma_chan          305 drivers/crypto/ccp/ccp-dmaengine.c 	chan = container_of(tx_desc->chan, struct ccp_dma_chan, dma_chan);
dma_chan          341 drivers/crypto/ccp/ccp-dmaengine.c 	dma_async_tx_descriptor_init(&desc->tx_desc, &chan->dma_chan);
dma_chan          353 drivers/crypto/ccp/ccp-dmaengine.c static struct ccp_dma_desc *ccp_create_desc(struct dma_chan *dma_chan,
dma_chan          360 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_chan *chan = container_of(dma_chan, struct ccp_dma_chan,
dma_chan          361 drivers/crypto/ccp/ccp-dmaengine.c 						 dma_chan);
dma_chan          480 drivers/crypto/ccp/ccp-dmaengine.c 	struct dma_chan *dma_chan, dma_addr_t dst, dma_addr_t src, size_t len,
dma_chan          483 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_chan *chan = container_of(dma_chan, struct ccp_dma_chan,
dma_chan          484 drivers/crypto/ccp/ccp-dmaengine.c 						 dma_chan);
dma_chan          500 drivers/crypto/ccp/ccp-dmaengine.c 	desc = ccp_create_desc(dma_chan, &dst_sg, 1, &src_sg, 1, flags);
dma_chan          508 drivers/crypto/ccp/ccp-dmaengine.c 	struct dma_chan *dma_chan, unsigned long flags)
dma_chan          510 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_chan *chan = container_of(dma_chan, struct ccp_dma_chan,
dma_chan          511 drivers/crypto/ccp/ccp-dmaengine.c 						 dma_chan);
dma_chan          521 drivers/crypto/ccp/ccp-dmaengine.c static void ccp_issue_pending(struct dma_chan *dma_chan)
dma_chan          523 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_chan *chan = container_of(dma_chan, struct ccp_dma_chan,
dma_chan          524 drivers/crypto/ccp/ccp-dmaengine.c 						 dma_chan);
dma_chan          541 drivers/crypto/ccp/ccp-dmaengine.c static enum dma_status ccp_tx_status(struct dma_chan *dma_chan,
dma_chan          545 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_chan *chan = container_of(dma_chan, struct ccp_dma_chan,
dma_chan          546 drivers/crypto/ccp/ccp-dmaengine.c 						 dma_chan);
dma_chan          556 drivers/crypto/ccp/ccp-dmaengine.c 	ret = dma_cookie_status(dma_chan, cookie, state);
dma_chan          578 drivers/crypto/ccp/ccp-dmaengine.c static int ccp_pause(struct dma_chan *dma_chan)
dma_chan          580 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_chan *chan = container_of(dma_chan, struct ccp_dma_chan,
dma_chan          581 drivers/crypto/ccp/ccp-dmaengine.c 						 dma_chan);
dma_chan          590 drivers/crypto/ccp/ccp-dmaengine.c static int ccp_resume(struct dma_chan *dma_chan)
dma_chan          592 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_chan *chan = container_of(dma_chan, struct ccp_dma_chan,
dma_chan          593 drivers/crypto/ccp/ccp-dmaengine.c 						 dma_chan);
dma_chan          614 drivers/crypto/ccp/ccp-dmaengine.c static int ccp_terminate_all(struct dma_chan *dma_chan)
dma_chan          616 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_chan *chan = container_of(dma_chan, struct ccp_dma_chan,
dma_chan          617 drivers/crypto/ccp/ccp-dmaengine.c 						 dma_chan);
dma_chan          640 drivers/crypto/ccp/ccp-dmaengine.c 	struct dma_chan *dma_chan;
dma_chan          705 drivers/crypto/ccp/ccp-dmaengine.c 		dma_chan = &chan->dma_chan;
dma_chan          718 drivers/crypto/ccp/ccp-dmaengine.c 		dma_chan->device = dma_dev;
dma_chan          719 drivers/crypto/ccp/ccp-dmaengine.c 		dma_cookie_init(dma_chan);
dma_chan          721 drivers/crypto/ccp/ccp-dmaengine.c 		list_add_tail(&dma_chan->device_node, &dma_dev->channels);
dma_chan          134 drivers/crypto/img-hash.c 	struct dma_chan		*dma_lch;
dma_chan          188 drivers/crypto/omap-aes.h 	struct dma_chan		*dma_lch_in;
dma_chan          189 drivers/crypto/omap-aes.h 	struct dma_chan		*dma_lch_out;
dma_chan          161 drivers/crypto/omap-des.c 	struct dma_chan		*dma_lch_in;
dma_chan          162 drivers/crypto/omap-des.c 	struct dma_chan		*dma_lch_out;
dma_chan          223 drivers/crypto/omap-sham.c 	struct dma_chan		*dma_lch;
dma_chan           74 drivers/crypto/qce/dma.c static int qce_dma_prep_sg(struct dma_chan *chan, struct scatterlist *sg,
dma_chan          100 drivers/crypto/qce/dma.c 	struct dma_chan *rxchan = dma->rxchan;
dma_chan          101 drivers/crypto/qce/dma.c 	struct dma_chan *txchan = dma->txchan;
dma_chan           31 drivers/crypto/qce/dma.h 	struct dma_chan *txchan;
dma_chan           32 drivers/crypto/qce/dma.h 	struct dma_chan *rxchan;
dma_chan          176 drivers/crypto/stm32/stm32-hash.c 	struct dma_chan		*dma_lch;
dma_chan          209 drivers/crypto/ux500/cryp/cryp.h 	struct dma_chan *chan_cryp2mem;
dma_chan          210 drivers/crypto/ux500/cryp/cryp.h 	struct dma_chan *chan_mem2cryp;
dma_chan          526 drivers/crypto/ux500/cryp/cryp_core.c 	struct dma_chan *channel = NULL;
dma_chan          611 drivers/crypto/ux500/cryp/cryp_core.c 	struct dma_chan *chan;
dma_chan          312 drivers/crypto/ux500/hash/hash_alg.h 	struct dma_chan		*chan_mem2hash;
dma_chan          142 drivers/crypto/ux500/hash/hash_core.c 	struct dma_chan *channel = NULL;
dma_chan          187 drivers/crypto/ux500/hash/hash_core.c 	struct dma_chan *chan;
dma_chan          160 drivers/dma/acpi-dma.c 		struct dma_chan *(*acpi_dma_xlate)
dma_chan          244 drivers/dma/acpi-dma.c 		struct dma_chan *(*acpi_dma_xlate)
dma_chan          356 drivers/dma/acpi-dma.c struct dma_chan *acpi_dma_request_slave_chan_by_index(struct device *dev,
dma_chan          364 drivers/dma/acpi-dma.c 	struct dma_chan *chan = NULL;
dma_chan          431 drivers/dma/acpi-dma.c struct dma_chan *acpi_dma_request_slave_chan_by_name(struct device *dev,
dma_chan          462 drivers/dma/acpi-dma.c struct dma_chan *acpi_dma_simple_xlate(struct acpi_dma_spec *dma_spec,
dma_chan          180 drivers/dma/altera-msgdma.c 	struct dma_chan	dmachan;
dma_chan          329 drivers/dma/altera-msgdma.c msgdma_prep_memcpy(struct dma_chan *dchan, dma_addr_t dma_dst,
dma_chan          385 drivers/dma/altera-msgdma.c msgdma_prep_slave_sg(struct dma_chan *dchan, struct scatterlist *sgl,
dma_chan          458 drivers/dma/altera-msgdma.c static int msgdma_dma_config(struct dma_chan *dchan,
dma_chan          566 drivers/dma/altera-msgdma.c static void msgdma_issue_pending(struct dma_chan *chan)
dma_chan          635 drivers/dma/altera-msgdma.c static void msgdma_free_chan_resources(struct dma_chan *dchan)
dma_chan          652 drivers/dma/altera-msgdma.c static int msgdma_alloc_chan_resources(struct dma_chan *dchan)
dma_chan          315 drivers/dma/amba-pl08x.c static inline struct pl08x_dma_chan *to_pl08x_chan(struct dma_chan *chan)
dma_chan         1532 drivers/dma/amba-pl08x.c static void pl08x_free_chan_resources(struct dma_chan *chan)
dma_chan         1539 drivers/dma/amba-pl08x.c 		struct dma_chan *chan, unsigned long flags)
dma_chan         1551 drivers/dma/amba-pl08x.c static enum dma_status pl08x_dma_tx_status(struct dma_chan *chan,
dma_chan         1739 drivers/dma/amba-pl08x.c static void pl08x_issue_pending(struct dma_chan *chan)
dma_chan         1890 drivers/dma/amba-pl08x.c 		struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
dma_chan         1937 drivers/dma/amba-pl08x.c 		struct dma_chan *chan,
dma_chan         2050 drivers/dma/amba-pl08x.c 		struct dma_chan *chan, struct scatterlist *sgl,
dma_chan         2092 drivers/dma/amba-pl08x.c 		struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
dma_chan         2134 drivers/dma/amba-pl08x.c static int pl08x_config(struct dma_chan *chan,
dma_chan         2160 drivers/dma/amba-pl08x.c static int pl08x_terminate_all(struct dma_chan *chan)
dma_chan         2194 drivers/dma/amba-pl08x.c static void pl08x_synchronize(struct dma_chan *chan)
dma_chan         2201 drivers/dma/amba-pl08x.c static int pl08x_pause(struct dma_chan *chan)
dma_chan         2224 drivers/dma/amba-pl08x.c static int pl08x_resume(struct dma_chan *chan)
dma_chan         2247 drivers/dma/amba-pl08x.c bool pl08x_filter_id(struct dma_chan *chan, void *chan_id)
dma_chan         2266 drivers/dma/amba-pl08x.c static bool pl08x_filter_fn(struct dma_chan *chan, void *chan_id)
dma_chan         2522 drivers/dma/amba-pl08x.c static struct dma_chan *pl08x_find_chan_id(struct pl08x_driver_data *pl08x,
dma_chan         2539 drivers/dma/amba-pl08x.c static struct dma_chan *pl08x_of_xlate(struct of_phandle_args *dma_spec,
dma_chan         2543 drivers/dma/amba-pl08x.c 	struct dma_chan *dma_chan;
dma_chan         2555 drivers/dma/amba-pl08x.c 	dma_chan = pl08x_find_chan_id(pl08x, dma_spec->args[0]);
dma_chan         2556 drivers/dma/amba-pl08x.c 	if (!dma_chan) {
dma_chan         2562 drivers/dma/amba-pl08x.c 	plchan = to_pl08x_chan(dma_chan);
dma_chan         2569 drivers/dma/amba-pl08x.c 	return dma_get_slave_channel(dma_chan);
dma_chan           60 drivers/dma/at_hdmac.c static void atc_issue_pending(struct dma_chan *chan);
dma_chan          102 drivers/dma/at_hdmac.c static struct at_desc *atc_alloc_descriptor(struct dma_chan *chan,
dma_chan          303 drivers/dma/at_hdmac.c static int atc_get_bytes_left(struct dma_chan *chan, dma_cookie_t cookie)
dma_chan          700 drivers/dma/at_hdmac.c atc_prep_dma_interleaved(struct dma_chan *chan,
dma_chan          801 drivers/dma/at_hdmac.c atc_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
dma_chan          872 drivers/dma/at_hdmac.c static struct at_desc *atc_create_memset_desc(struct dma_chan *chan,
dma_chan          921 drivers/dma/at_hdmac.c atc_prep_dma_memset(struct dma_chan *chan, dma_addr_t dest, int value,
dma_chan          978 drivers/dma/at_hdmac.c atc_prep_dma_memset_sg(struct dma_chan *chan,
dma_chan         1064 drivers/dma/at_hdmac.c atc_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
dma_chan         1226 drivers/dma/at_hdmac.c atc_dma_cyclic_fill_desc(struct dma_chan *chan, struct at_desc *desc,
dma_chan         1284 drivers/dma/at_hdmac.c atc_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
dma_chan         1358 drivers/dma/at_hdmac.c static int atc_config(struct dma_chan *chan,
dma_chan         1377 drivers/dma/at_hdmac.c static int atc_pause(struct dma_chan *chan)
dma_chan         1396 drivers/dma/at_hdmac.c static int atc_resume(struct dma_chan *chan)
dma_chan         1418 drivers/dma/at_hdmac.c static int atc_terminate_all(struct dma_chan *chan)
dma_chan         1473 drivers/dma/at_hdmac.c atc_tx_status(struct dma_chan *chan,
dma_chan         1516 drivers/dma/at_hdmac.c static void atc_issue_pending(struct dma_chan *chan)
dma_chan         1539 drivers/dma/at_hdmac.c static int atc_alloc_chan_resources(struct dma_chan *chan)
dma_chan         1609 drivers/dma/at_hdmac.c static void atc_free_chan_resources(struct dma_chan *chan)
dma_chan         1644 drivers/dma/at_hdmac.c static bool at_dma_filter(struct dma_chan *chan, void *slave)
dma_chan         1656 drivers/dma/at_hdmac.c static struct dma_chan *at_dma_xlate(struct of_phandle_args *dma_spec,
dma_chan         1659 drivers/dma/at_hdmac.c 	struct dma_chan *chan;
dma_chan         1715 drivers/dma/at_hdmac.c static struct dma_chan *at_dma_xlate(struct of_phandle_args *dma_spec,
dma_chan         1995 drivers/dma/at_hdmac.c 	struct dma_chan		*chan, *_chan;
dma_chan         2043 drivers/dma/at_hdmac.c 	struct dma_chan *chan, *_chan;
dma_chan         2057 drivers/dma/at_hdmac.c 	struct dma_chan	*chan = &atchan->chan_common;
dma_chan         2077 drivers/dma/at_hdmac.c 	struct dma_chan *chan, *_chan;
dma_chan         2118 drivers/dma/at_hdmac.c 	struct dma_chan *chan, *_chan;
dma_chan          249 drivers/dma/at_hdmac_regs.h 	struct dma_chan		chan_common;
dma_chan          276 drivers/dma/at_hdmac_regs.h static inline struct at_dma_chan *to_at_dma_chan(struct dma_chan *dchan)
dma_chan          352 drivers/dma/at_hdmac_regs.h static struct device *chan2dev(struct dma_chan *chan)
dma_chan          184 drivers/dma/at_xdmac.c 	struct dma_chan			chan;
dma_chan          259 drivers/dma/at_xdmac.c static inline struct at_xdmac_chan *to_at_xdmac_chan(struct dma_chan *dchan)
dma_chan          264 drivers/dma/at_xdmac.c static struct device *chan2dev(struct dma_chan *chan)
dma_chan          440 drivers/dma/at_xdmac.c static struct at_xdmac_desc *at_xdmac_alloc_desc(struct dma_chan *chan,
dma_chan          484 drivers/dma/at_xdmac.c static void at_xdmac_queue_desc(struct dma_chan *chan,
dma_chan          498 drivers/dma/at_xdmac.c static inline void at_xdmac_increment_block_count(struct dma_chan *chan,
dma_chan          511 drivers/dma/at_xdmac.c static struct dma_chan *at_xdmac_xlate(struct of_phandle_args *dma_spec,
dma_chan          516 drivers/dma/at_xdmac.c 	struct dma_chan		*chan;
dma_chan          540 drivers/dma/at_xdmac.c static int at_xdmac_compute_chan_conf(struct dma_chan *chan,
dma_chan          617 drivers/dma/at_xdmac.c static int at_xdmac_set_slave_config(struct dma_chan *chan,
dma_chan          633 drivers/dma/at_xdmac.c at_xdmac_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          734 drivers/dma/at_xdmac.c at_xdmac_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr,
dma_chan          817 drivers/dma/at_xdmac.c static inline u32 at_xdmac_align_width(struct dma_chan *chan, dma_addr_t addr)
dma_chan          847 drivers/dma/at_xdmac.c at_xdmac_interleaved_queue_desc(struct dma_chan *chan,
dma_chan          939 drivers/dma/at_xdmac.c at_xdmac_prep_interleaved(struct dma_chan *chan,
dma_chan         1033 drivers/dma/at_xdmac.c at_xdmac_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
dma_chan         1136 drivers/dma/at_xdmac.c static struct at_xdmac_desc *at_xdmac_memset_create_desc(struct dma_chan *chan,
dma_chan         1205 drivers/dma/at_xdmac.c at_xdmac_prep_dma_memset(struct dma_chan *chan, dma_addr_t dest, int value,
dma_chan         1228 drivers/dma/at_xdmac.c at_xdmac_prep_dma_memset_sg(struct dma_chan *chan, struct scatterlist *sgl,
dma_chan         1390 drivers/dma/at_xdmac.c at_xdmac_tx_status(struct dma_chan *chan, dma_cookie_t cookie,
dma_chan         1725 drivers/dma/at_xdmac.c static void at_xdmac_issue_pending(struct dma_chan *chan)
dma_chan         1737 drivers/dma/at_xdmac.c static int at_xdmac_device_config(struct dma_chan *chan,
dma_chan         1753 drivers/dma/at_xdmac.c static int at_xdmac_device_pause(struct dma_chan *chan)
dma_chan         1774 drivers/dma/at_xdmac.c static int at_xdmac_device_resume(struct dma_chan *chan)
dma_chan         1795 drivers/dma/at_xdmac.c static int at_xdmac_device_terminate_all(struct dma_chan *chan)
dma_chan         1820 drivers/dma/at_xdmac.c static int at_xdmac_alloc_chan_resources(struct dma_chan *chan)
dma_chan         1862 drivers/dma/at_xdmac.c static void at_xdmac_free_chan_resources(struct dma_chan *chan)
dma_chan         1881 drivers/dma/at_xdmac.c 	struct dma_chan		*chan, *_chan;
dma_chan         1900 drivers/dma/at_xdmac.c 	struct dma_chan		*chan, *_chan;
dma_chan         1925 drivers/dma/at_xdmac.c 	struct dma_chan		*chan, *_chan;
dma_chan           96 drivers/dma/bcm-sba-raid.c 	container_of(dchan, struct sba_device, dma_chan)
dma_chan          152 drivers/dma/bcm-sba-raid.c 	struct dma_chan dma_chan;
dma_chan          235 drivers/dma/bcm-sba-raid.c 	dma_async_tx_descriptor_init(&req->tx, &sba->dma_chan);
dma_chan          494 drivers/dma/bcm-sba-raid.c static void sba_free_chan_resources(struct dma_chan *dchan)
dma_chan          504 drivers/dma/bcm-sba-raid.c static int sba_device_terminate_all(struct dma_chan *dchan)
dma_chan          512 drivers/dma/bcm-sba-raid.c static void sba_issue_pending(struct dma_chan *dchan)
dma_chan          547 drivers/dma/bcm-sba-raid.c static enum dma_status sba_tx_status(struct dma_chan *dchan,
dma_chan          623 drivers/dma/bcm-sba-raid.c sba_prep_dma_interrupt(struct dma_chan *dchan, unsigned long flags)
dma_chan          736 drivers/dma/bcm-sba-raid.c sba_prep_dma_memcpy(struct dma_chan *dchan, dma_addr_t dst, dma_addr_t src,
dma_chan          875 drivers/dma/bcm-sba-raid.c sba_prep_dma_xor(struct dma_chan *dchan, dma_addr_t dst, dma_addr_t *src,
dma_chan         1342 drivers/dma/bcm-sba-raid.c sba_prep_dma_pq(struct dma_chan *dchan, dma_addr_t *dst, dma_addr_t *src,
dma_chan         1451 drivers/dma/bcm-sba-raid.c 			dma_chan_name(&sba->dma_chan), m->error);
dma_chan         1520 drivers/dma/bcm-sba-raid.c 		dma_async_tx_descriptor_init(&req->tx, &sba->dma_chan);
dma_chan         1542 drivers/dma/bcm-sba-raid.c 	dmaengine_terminate_all(&sba->dma_chan);
dma_chan         1557 drivers/dma/bcm-sba-raid.c 	sba->dma_chan.device = dma_dev;
dma_chan         1558 drivers/dma/bcm-sba-raid.c 	dma_cookie_init(&sba->dma_chan);
dma_chan         1602 drivers/dma/bcm-sba-raid.c 	list_add_tail(&sba->dma_chan.device_node, &dma_dev->channels);
dma_chan         1612 drivers/dma/bcm-sba-raid.c 	dma_chan_name(&sba->dma_chan),
dma_chan         1732 drivers/dma/bcm-sba-raid.c 		 dma_chan_name(&sba->dma_chan), sba->ver+1,
dma_chan          195 drivers/dma/bcm2835-dma.c static inline struct bcm2835_chan *to_bcm2835_dma_chan(struct dma_chan *c)
dma_chan          303 drivers/dma/bcm2835-dma.c 	struct dma_chan *chan, enum dma_transfer_direction direction,
dma_chan          386 drivers/dma/bcm2835-dma.c 	struct dma_chan *chan,
dma_chan          502 drivers/dma/bcm2835-dma.c static int bcm2835_dma_alloc_chan_resources(struct dma_chan *chan)
dma_chan          524 drivers/dma/bcm2835-dma.c static void bcm2835_dma_free_chan_resources(struct dma_chan *chan)
dma_chan          564 drivers/dma/bcm2835-dma.c static enum dma_status bcm2835_dma_tx_status(struct dma_chan *chan,
dma_chan          602 drivers/dma/bcm2835-dma.c static void bcm2835_dma_issue_pending(struct dma_chan *chan)
dma_chan          615 drivers/dma/bcm2835-dma.c 	struct dma_chan *chan, dma_addr_t dst, dma_addr_t src,
dma_chan          643 drivers/dma/bcm2835-dma.c 	struct dma_chan *chan,
dma_chan          695 drivers/dma/bcm2835-dma.c 	struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
dma_chan          780 drivers/dma/bcm2835-dma.c static int bcm2835_dma_slave_config(struct dma_chan *chan,
dma_chan          790 drivers/dma/bcm2835-dma.c static int bcm2835_dma_terminate_all(struct dma_chan *chan)
dma_chan          815 drivers/dma/bcm2835-dma.c static void bcm2835_dma_synchronize(struct dma_chan *chan)
dma_chan          867 drivers/dma/bcm2835-dma.c static struct dma_chan *bcm2835_dma_xlate(struct of_phandle_args *spec,
dma_chan          871 drivers/dma/bcm2835-dma.c 	struct dma_chan *chan;
dma_chan         1298 drivers/dma/coh901318.c 	struct dma_chan chan;
dma_chan         1399 drivers/dma/coh901318.c static inline struct coh901318_chan *to_coh901318_chan(struct dma_chan *chan)
dma_chan         1404 drivers/dma/coh901318.c static int coh901318_dma_set_runtimeconfig(struct dma_chan *chan,
dma_chan         1601 drivers/dma/coh901318.c static u32 coh901318_get_bytes_left(struct dma_chan *chan)
dma_chan         1683 drivers/dma/coh901318.c static int coh901318_pause(struct dma_chan *chan)
dma_chan         1729 drivers/dma/coh901318.c static int coh901318_resume(struct dma_chan *chan)
dma_chan         1757 drivers/dma/coh901318.c bool coh901318_filter_id(struct dma_chan *chan, void *chan_id)
dma_chan         1773 drivers/dma/coh901318.c static bool coh901318_filter_base_and_id(struct dma_chan *chan, void *data)
dma_chan         1784 drivers/dma/coh901318.c static struct dma_chan *coh901318_xlate(struct of_phandle_args *dma_spec,
dma_chan         2097 drivers/dma/coh901318.c static int coh901318_terminate_all(struct dma_chan *chan)
dma_chan         2148 drivers/dma/coh901318.c static int coh901318_alloc_chan_resources(struct dma_chan *chan)
dma_chan         2172 drivers/dma/coh901318.c coh901318_free_chan_resources(struct dma_chan *chan)
dma_chan         2214 drivers/dma/coh901318.c coh901318_prep_memcpy(struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
dma_chan         2268 drivers/dma/coh901318.c coh901318_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
dma_chan         2398 drivers/dma/coh901318.c coh901318_tx_status(struct dma_chan *chan, dma_cookie_t cookie,
dma_chan         2417 drivers/dma/coh901318.c coh901318_issue_pending(struct dma_chan *chan)
dma_chan         2497 drivers/dma/coh901318.c static int coh901318_dma_set_runtimeconfig(struct dma_chan *chan,
dma_chan         2579 drivers/dma/coh901318.c static int coh901318_dma_slave_config(struct dma_chan *chan,
dma_chan          147 drivers/dma/dma-axi-dmac.c static struct axi_dmac_chan *to_axi_dmac_chan(struct dma_chan *c)
dma_chan          426 drivers/dma/dma-axi-dmac.c static int axi_dmac_terminate_all(struct dma_chan *c)
dma_chan          445 drivers/dma/dma-axi-dmac.c static void axi_dmac_synchronize(struct dma_chan *c)
dma_chan          452 drivers/dma/dma-axi-dmac.c static void axi_dmac_issue_pending(struct dma_chan *c)
dma_chan          527 drivers/dma/dma-axi-dmac.c 	struct dma_chan *c, struct scatterlist *sgl,
dma_chan          568 drivers/dma/dma-axi-dmac.c 	struct dma_chan *c, dma_addr_t buf_addr, size_t buf_len,
dma_chan          602 drivers/dma/dma-axi-dmac.c 	struct dma_chan *c, struct dma_interleaved_template *xt,
dma_chan          672 drivers/dma/dma-axi-dmac.c static void axi_dmac_free_chan_resources(struct dma_chan *c)
dma_chan          164 drivers/dma/dma-jz4780.c static inline struct jz4780_dma_chan *to_jz4780_dma_chan(struct dma_chan *chan)
dma_chan          354 drivers/dma/dma-jz4780.c 	struct dma_chan *chan, struct scatterlist *sgl, unsigned int sg_len,
dma_chan          399 drivers/dma/dma-jz4780.c 	struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
dma_chan          451 drivers/dma/dma-jz4780.c 	struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
dma_chan          553 drivers/dma/dma-jz4780.c static void jz4780_dma_issue_pending(struct dma_chan *chan)
dma_chan          566 drivers/dma/dma-jz4780.c static int jz4780_dma_terminate_all(struct dma_chan *chan)
dma_chan          592 drivers/dma/dma-jz4780.c static void jz4780_dma_synchronize(struct dma_chan *chan)
dma_chan          601 drivers/dma/dma-jz4780.c static int jz4780_dma_config(struct dma_chan *chan,
dma_chan          633 drivers/dma/dma-jz4780.c static enum dma_status jz4780_dma_tx_status(struct dma_chan *chan,
dma_chan          750 drivers/dma/dma-jz4780.c static int jz4780_dma_alloc_chan_resources(struct dma_chan *chan)
dma_chan          767 drivers/dma/dma-jz4780.c static void jz4780_dma_free_chan_resources(struct dma_chan *chan)
dma_chan          776 drivers/dma/dma-jz4780.c static bool jz4780_dma_filter_fn(struct dma_chan *chan, void *param)
dma_chan          795 drivers/dma/dma-jz4780.c static struct dma_chan *jz4780_of_dma_xlate(struct of_phandle_args *dma_spec,
dma_chan           69 drivers/dma/dmaengine.c static struct dma_chan *dev_to_dma_chan(struct device *dev)
dma_chan           80 drivers/dma/dmaengine.c 	struct dma_chan *chan;
dma_chan          102 drivers/dma/dmaengine.c 	struct dma_chan *chan;
dma_chan          124 drivers/dma/dmaengine.c 	struct dma_chan *chan;
dma_chan          180 drivers/dma/dmaengine.c static struct module *dma_chan_to_owner(struct dma_chan *chan)
dma_chan          191 drivers/dma/dmaengine.c static void balance_ref_count(struct dma_chan *chan)
dma_chan          207 drivers/dma/dmaengine.c static int dma_chan_get(struct dma_chan *chan)
dma_chan          246 drivers/dma/dmaengine.c static void dma_chan_put(struct dma_chan *chan)
dma_chan          270 drivers/dma/dmaengine.c enum dma_status dma_sync_wait(struct dma_chan *chan, dma_cookie_t cookie)
dma_chan          301 drivers/dma/dmaengine.c 	struct dma_chan *chan;
dma_chan          346 drivers/dma/dmaengine.c struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type)
dma_chan          358 drivers/dma/dmaengine.c 	struct dma_chan *chan;
dma_chan          375 drivers/dma/dmaengine.c static bool dma_chan_is_local(struct dma_chan *chan, int cpu)
dma_chan          392 drivers/dma/dmaengine.c static struct dma_chan *min_chan(enum dma_transaction_type cap, int cpu)
dma_chan          395 drivers/dma/dmaengine.c 	struct dma_chan *chan;
dma_chan          396 drivers/dma/dmaengine.c 	struct dma_chan *min = NULL;
dma_chan          397 drivers/dma/dmaengine.c 	struct dma_chan *localmin = NULL;
dma_chan          434 drivers/dma/dmaengine.c 	struct dma_chan *chan;
dma_chan          463 drivers/dma/dmaengine.c int dma_get_slave_caps(struct dma_chan *chan, struct dma_slave_caps *caps)
dma_chan          499 drivers/dma/dmaengine.c static struct dma_chan *private_candidate(const dma_cap_mask_t *mask,
dma_chan          503 drivers/dma/dmaengine.c 	struct dma_chan *chan;
dma_chan          536 drivers/dma/dmaengine.c static struct dma_chan *find_candidate(struct dma_device *device,
dma_chan          540 drivers/dma/dmaengine.c 	struct dma_chan *chan = private_candidate(mask, device, fn, fn_param);
dma_chan          577 drivers/dma/dmaengine.c struct dma_chan *dma_get_slave_channel(struct dma_chan *chan)
dma_chan          608 drivers/dma/dmaengine.c struct dma_chan *dma_get_any_slave_channel(struct dma_device *device)
dma_chan          611 drivers/dma/dmaengine.c 	struct dma_chan *chan;
dma_chan          636 drivers/dma/dmaengine.c struct dma_chan *__dma_request_channel(const dma_cap_mask_t *mask,
dma_chan          641 drivers/dma/dmaengine.c 	struct dma_chan *chan = NULL;
dma_chan          694 drivers/dma/dmaengine.c struct dma_chan *dma_request_chan(struct device *dev, const char *name)
dma_chan          697 drivers/dma/dmaengine.c 	struct dma_chan *chan = NULL;
dma_chan          742 drivers/dma/dmaengine.c struct dma_chan *dma_request_slave_channel(struct device *dev,
dma_chan          745 drivers/dma/dmaengine.c 	struct dma_chan *ch = dma_request_chan(dev, name);
dma_chan          759 drivers/dma/dmaengine.c struct dma_chan *dma_request_chan_by_mask(const dma_cap_mask_t *mask)
dma_chan          761 drivers/dma/dmaengine.c 	struct dma_chan *chan;
dma_chan          780 drivers/dma/dmaengine.c void dma_release_channel(struct dma_chan *chan)
dma_chan          799 drivers/dma/dmaengine.c 	struct dma_chan *chan;
dma_chan          838 drivers/dma/dmaengine.c 	struct dma_chan *chan;
dma_chan          910 drivers/dma/dmaengine.c 	struct dma_chan* chan;
dma_chan         1113 drivers/dma/dmaengine.c 	struct dma_chan *chan;
dma_chan         1298 drivers/dma/dmaengine.c 	struct dma_chan *chan)
dma_chan         1339 drivers/dma/dmaengine.c 	struct dma_chan *chan;
dma_chan           16 drivers/dma/dmaengine.h static inline void dma_cookie_init(struct dma_chan *chan)
dma_chan           31 drivers/dma/dmaengine.h 	struct dma_chan *chan = tx->chan;
dma_chan           68 drivers/dma/dmaengine.h static inline enum dma_status dma_cookie_status(struct dma_chan *chan,
dma_chan          216 drivers/dma/dmatest.c 	struct dma_chan		*chan;
dma_chan          228 drivers/dma/dmatest.c 	struct dma_chan		*chan;
dma_chan          286 drivers/dma/dmatest.c 		struct dma_chan *chan)
dma_chan          558 drivers/dma/dmatest.c 	struct dma_chan		*chan;
dma_chan          939 drivers/dma/dmatest.c 	struct dma_chan *chan = dtc->chan;
dma_chan          986 drivers/dma/dmatest.c 		struct dma_chan *chan)
dma_chan         1034 drivers/dma/dmatest.c static bool filter(struct dma_chan *chan, void *param)
dma_chan         1054 drivers/dma/dmatest.c 		struct dma_chan *chan;
dma_chan         1117 drivers/dma/dmatest.c 	struct dma_chan *chan;
dma_chan          247 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c dma_chan_tx_status(struct dma_chan *dchan, dma_cookie_t cookie,
dma_chan          325 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c static void dma_chan_issue_pending(struct dma_chan *dchan)
dma_chan          336 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c static int dma_chan_alloc_chan_resources(struct dma_chan *dchan)
dma_chan          354 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c static void dma_chan_free_chan_resources(struct dma_chan *dchan)
dma_chan          425 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c dma_chan_prep_dma_memcpy(struct dma_chan *dchan, dma_addr_t dst_adr,
dma_chan          627 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c static int dma_chan_terminate_all(struct dma_chan *dchan)
dma_chan          652 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c static int dma_chan_pause(struct dma_chan *dchan)
dma_chan          695 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c static int dma_chan_resume(struct dma_chan *dchan)
dma_chan           91 drivers/dma/dw-axi-dmac/dw-axi-dmac.h static inline struct device *dchan2dev(struct dma_chan *dchan)
dma_chan          111 drivers/dma/dw-axi-dmac/dw-axi-dmac.h static inline struct axi_dma_chan *dchan_to_axi_dma_chan(struct dma_chan *dchan)
dma_chan           25 drivers/dma/dw-edma/dw-edma-core.c struct device *dchan2dev(struct dma_chan *dchan)
dma_chan          195 drivers/dma/dw-edma/dw-edma-core.c static int dw_edma_device_config(struct dma_chan *dchan,
dma_chan          206 drivers/dma/dw-edma/dw-edma-core.c static int dw_edma_device_pause(struct dma_chan *dchan)
dma_chan          223 drivers/dma/dw-edma/dw-edma-core.c static int dw_edma_device_resume(struct dma_chan *dchan)
dma_chan          242 drivers/dma/dw-edma/dw-edma-core.c static int dw_edma_device_terminate_all(struct dma_chan *dchan)
dma_chan          271 drivers/dma/dw-edma/dw-edma-core.c static void dw_edma_device_issue_pending(struct dma_chan *dchan)
dma_chan          286 drivers/dma/dw-edma/dw-edma-core.c dw_edma_device_tx_status(struct dma_chan *dchan, dma_cookie_t cookie,
dma_chan          435 drivers/dma/dw-edma/dw-edma-core.c dw_edma_device_prep_slave_sg(struct dma_chan *dchan, struct scatterlist *sgl,
dma_chan          453 drivers/dma/dw-edma/dw-edma-core.c dw_edma_device_prep_dma_cyclic(struct dma_chan *dchan, dma_addr_t paddr,
dma_chan          591 drivers/dma/dw-edma/dw-edma-core.c static int dw_edma_alloc_chan_resources(struct dma_chan *dchan)
dma_chan          603 drivers/dma/dw-edma/dw-edma-core.c static void dw_edma_free_chan_resources(struct dma_chan *dchan)
dma_chan          143 drivers/dma/dw-edma/dw-edma-core.h 	struct dma_chan			*dchan;
dma_chan          160 drivers/dma/dw-edma/dw-edma-core.h struct dw_edma_chan *dchan2dw_edma_chan(struct dma_chan *dchan)
dma_chan            9 drivers/dma/dw/acpi.c static bool dw_dma_acpi_filter(struct dma_chan *chan, void *param)
dma_chan           46 drivers/dma/dw/core.c static struct device *chan2dev(struct dma_chan *chan)
dma_chan          545 drivers/dma/dw/core.c dwc_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
dma_chan          622 drivers/dma/dw/core.c dwc_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          772 drivers/dma/dw/core.c bool dw_dma_filter(struct dma_chan *chan, void *param)
dma_chan          787 drivers/dma/dw/core.c static int dwc_config(struct dma_chan *chan, struct dma_slave_config *sconfig)
dma_chan          813 drivers/dma/dw/core.c static int dwc_pause(struct dma_chan *chan)
dma_chan          834 drivers/dma/dw/core.c static int dwc_resume(struct dma_chan *chan)
dma_chan          849 drivers/dma/dw/core.c static int dwc_terminate_all(struct dma_chan *chan)
dma_chan          917 drivers/dma/dw/core.c dwc_tx_status(struct dma_chan *chan,
dma_chan          942 drivers/dma/dw/core.c static void dwc_issue_pending(struct dma_chan *chan)
dma_chan          979 drivers/dma/dw/core.c static int dwc_alloc_chan_resources(struct dma_chan *chan)
dma_chan         1016 drivers/dma/dw/core.c static void dwc_free_chan_resources(struct dma_chan *chan)
dma_chan           24 drivers/dma/dw/internal.h extern bool dw_dma_filter(struct dma_chan *chan, void *param);
dma_chan           16 drivers/dma/dw/of.c static struct dma_chan *dw_dma_of_xlate(struct of_phandle_args *dma_spec,
dma_chan          265 drivers/dma/dw/regs.h 	struct dma_chan			chan;
dma_chan          305 drivers/dma/dw/regs.h static inline struct dw_dma_chan *to_dw_dma_chan(struct dma_chan *chan)
dma_chan          108 drivers/dma/ep93xx_dma.c static int ep93xx_dma_slave_config_write(struct dma_chan *chan,
dma_chan          164 drivers/dma/ep93xx_dma.c 	struct dma_chan			chan;
dma_chan          222 drivers/dma/ep93xx_dma.c static struct ep93xx_dma_chan *to_ep93xx_dma_chan(struct dma_chan *chan)
dma_chan          865 drivers/dma/ep93xx_dma.c static int ep93xx_dma_alloc_chan_resources(struct dma_chan *chan)
dma_chan          949 drivers/dma/ep93xx_dma.c static void ep93xx_dma_free_chan_resources(struct dma_chan *chan)
dma_chan          985 drivers/dma/ep93xx_dma.c ep93xx_dma_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest,
dma_chan         1033 drivers/dma/ep93xx_dma.c ep93xx_dma_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
dma_chan         1115 drivers/dma/ep93xx_dma.c ep93xx_dma_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t dma_addr,
dma_chan         1189 drivers/dma/ep93xx_dma.c static void ep93xx_dma_synchronize(struct dma_chan *chan)
dma_chan         1204 drivers/dma/ep93xx_dma.c static int ep93xx_dma_terminate_all(struct dma_chan *chan)
dma_chan         1230 drivers/dma/ep93xx_dma.c static int ep93xx_dma_slave_config(struct dma_chan *chan,
dma_chan         1240 drivers/dma/ep93xx_dma.c static int ep93xx_dma_slave_config_write(struct dma_chan *chan,
dma_chan         1297 drivers/dma/ep93xx_dma.c static enum dma_status ep93xx_dma_tx_status(struct dma_chan *chan,
dma_chan         1311 drivers/dma/ep93xx_dma.c static void ep93xx_dma_issue_pending(struct dma_chan *chan)
dma_chan          155 drivers/dma/fsl-edma-common.c int fsl_edma_terminate_all(struct dma_chan *chan)
dma_chan          172 drivers/dma/fsl-edma-common.c int fsl_edma_pause(struct dma_chan *chan)
dma_chan          188 drivers/dma/fsl-edma-common.c int fsl_edma_resume(struct dma_chan *chan)
dma_chan          253 drivers/dma/fsl-edma-common.c int fsl_edma_slave_config(struct dma_chan *chan,
dma_chan          308 drivers/dma/fsl-edma-common.c enum dma_status fsl_edma_tx_status(struct dma_chan *chan,
dma_chan          443 drivers/dma/fsl-edma-common.c 		struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len,
dma_chan          512 drivers/dma/fsl-edma-common.c 		struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          598 drivers/dma/fsl-edma-common.c void fsl_edma_issue_pending(struct dma_chan *chan)
dma_chan          618 drivers/dma/fsl-edma-common.c int fsl_edma_alloc_chan_resources(struct dma_chan *chan)
dma_chan          629 drivers/dma/fsl-edma-common.c void fsl_edma_free_chan_resources(struct dma_chan *chan)
dma_chan          213 drivers/dma/fsl-edma-common.h static inline struct fsl_edma_chan *to_fsl_edma_chan(struct dma_chan *chan)
dma_chan          227 drivers/dma/fsl-edma-common.h int fsl_edma_terminate_all(struct dma_chan *chan);
dma_chan          228 drivers/dma/fsl-edma-common.h int fsl_edma_pause(struct dma_chan *chan);
dma_chan          229 drivers/dma/fsl-edma-common.h int fsl_edma_resume(struct dma_chan *chan);
dma_chan          230 drivers/dma/fsl-edma-common.h int fsl_edma_slave_config(struct dma_chan *chan,
dma_chan          232 drivers/dma/fsl-edma-common.h enum dma_status fsl_edma_tx_status(struct dma_chan *chan,
dma_chan          235 drivers/dma/fsl-edma-common.h 		struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len,
dma_chan          239 drivers/dma/fsl-edma-common.h 		struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          243 drivers/dma/fsl-edma-common.h void fsl_edma_issue_pending(struct dma_chan *chan);
dma_chan          244 drivers/dma/fsl-edma-common.h int fsl_edma_alloc_chan_resources(struct dma_chan *chan);
dma_chan          245 drivers/dma/fsl-edma-common.h void fsl_edma_free_chan_resources(struct dma_chan *chan);
dma_chan           23 drivers/dma/fsl-edma.c static void fsl_edma_synchronize(struct dma_chan *chan)
dma_chan           96 drivers/dma/fsl-edma.c static struct dma_chan *fsl_edma_xlate(struct of_phandle_args *dma_spec,
dma_chan          100 drivers/dma/fsl-edma.c 	struct dma_chan *chan, *_chan;
dma_chan          282 drivers/dma/fsl-qdma.c static struct fsl_qdma_chan *to_fsl_qdma_chan(struct dma_chan *chan)
dma_chan          292 drivers/dma/fsl-qdma.c static void fsl_qdma_free_chan_resources(struct dma_chan *chan)
dma_chan          921 drivers/dma/fsl-qdma.c fsl_qdma_prep_memcpy(struct dma_chan *chan, dma_addr_t dst,
dma_chan          981 drivers/dma/fsl-qdma.c static void fsl_qdma_issue_pending(struct dma_chan *chan)
dma_chan          995 drivers/dma/fsl-qdma.c static void fsl_qdma_synchronize(struct dma_chan *chan)
dma_chan         1002 drivers/dma/fsl-qdma.c static int fsl_qdma_terminate_all(struct dma_chan *chan)
dma_chan         1015 drivers/dma/fsl-qdma.c static int fsl_qdma_alloc_chan_resources(struct dma_chan *chan)
dma_chan          105 drivers/dma/fsl_raid.c static void fsl_re_issue_pending(struct dma_chan *chan)
dma_chan          233 drivers/dma/fsl_raid.c static enum dma_status fsl_re_tx_status(struct dma_chan *chan,
dma_chan          317 drivers/dma/fsl_raid.c 		struct dma_chan *chan, dma_addr_t dest, dma_addr_t *src,
dma_chan          392 drivers/dma/fsl_raid.c 		struct dma_chan *chan, dma_addr_t dest, dma_addr_t *src,
dma_chan          404 drivers/dma/fsl_raid.c 		struct dma_chan *chan, dma_addr_t *dest, dma_addr_t *src,
dma_chan          527 drivers/dma/fsl_raid.c 		struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
dma_chan          573 drivers/dma/fsl_raid.c static int fsl_re_alloc_chan_resources(struct dma_chan *chan)
dma_chan          603 drivers/dma/fsl_raid.c static void fsl_re_free_chan_resources(struct dma_chan *chan)
dma_chan          275 drivers/dma/fsl_raid.h 	struct dma_chan chan;
dma_chan          368 drivers/dma/fsldma.c int fsl_dma_external_start(struct dma_chan *dchan, int enable)
dma_chan          689 drivers/dma/fsldma.c static int fsl_dma_alloc_chan_resources(struct dma_chan *dchan)
dma_chan          742 drivers/dma/fsldma.c static void fsl_dma_free_chan_resources(struct dma_chan *dchan)
dma_chan          759 drivers/dma/fsldma.c fsl_dma_prep_memcpy(struct dma_chan *dchan,
dma_chan          823 drivers/dma/fsldma.c static int fsl_dma_device_terminate_all(struct dma_chan *dchan)
dma_chan          847 drivers/dma/fsldma.c static int fsl_dma_device_config(struct dma_chan *dchan,
dma_chan          877 drivers/dma/fsldma.c static void fsl_dma_memcpy_issue_pending(struct dma_chan *dchan)
dma_chan          890 drivers/dma/fsldma.c static enum dma_status fsl_tx_status(struct dma_chan *dchan,
dma_chan          170 drivers/dma/fsldma.h 	struct dma_chan common;		/* DMA common channel */
dma_chan          259 drivers/dma/hsu/hsu.c 		struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          287 drivers/dma/hsu/hsu.c static void hsu_dma_issue_pending(struct dma_chan *chan)
dma_chan          315 drivers/dma/hsu/hsu.c static enum dma_status hsu_dma_tx_status(struct dma_chan *chan,
dma_chan          343 drivers/dma/hsu/hsu.c static int hsu_dma_slave_config(struct dma_chan *chan,
dma_chan          353 drivers/dma/hsu/hsu.c static int hsu_dma_pause(struct dma_chan *chan)
dma_chan          368 drivers/dma/hsu/hsu.c static int hsu_dma_resume(struct dma_chan *chan)
dma_chan          383 drivers/dma/hsu/hsu.c static int hsu_dma_terminate_all(struct dma_chan *chan)
dma_chan          404 drivers/dma/hsu/hsu.c static void hsu_dma_free_chan_resources(struct dma_chan *chan)
dma_chan          409 drivers/dma/hsu/hsu.c static void hsu_dma_synchronize(struct dma_chan *chan)
dma_chan           94 drivers/dma/hsu/hsu.h static inline struct hsu_dma_chan *to_hsu_dma_chan(struct dma_chan *chan)
dma_chan           28 drivers/dma/idma64.c static struct device *chan2dev(struct dma_chan *chan)
dma_chan          293 drivers/dma/idma64.c 		struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          329 drivers/dma/idma64.c static void idma64_issue_pending(struct dma_chan *chan)
dma_chan          365 drivers/dma/idma64.c static enum dma_status idma64_tx_status(struct dma_chan *chan,
dma_chan          401 drivers/dma/idma64.c static int idma64_slave_config(struct dma_chan *chan,
dma_chan          440 drivers/dma/idma64.c static int idma64_pause(struct dma_chan *chan)
dma_chan          455 drivers/dma/idma64.c static int idma64_resume(struct dma_chan *chan)
dma_chan          470 drivers/dma/idma64.c static int idma64_terminate_all(struct dma_chan *chan)
dma_chan          490 drivers/dma/idma64.c static void idma64_synchronize(struct dma_chan *chan)
dma_chan          497 drivers/dma/idma64.c static int idma64_alloc_chan_resources(struct dma_chan *chan)
dma_chan          513 drivers/dma/idma64.c static void idma64_free_chan_resources(struct dma_chan *chan)
dma_chan          141 drivers/dma/idma64.h static inline struct idma64_chan *to_idma64_chan(struct dma_chan *chan)
dma_chan          169 drivers/dma/img-mdc-dma.c static inline struct mdc_chan *to_mdc_chan(struct dma_chan *c)
dma_chan          286 drivers/dma/img-mdc-dma.c 	struct dma_chan *chan, dma_addr_t dest, dma_addr_t src, size_t len,
dma_chan          367 drivers/dma/img-mdc-dma.c 	struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
dma_chan          448 drivers/dma/img-mdc-dma.c 	struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          560 drivers/dma/img-mdc-dma.c static void mdc_issue_pending(struct dma_chan *chan)
dma_chan          571 drivers/dma/img-mdc-dma.c static enum dma_status mdc_tx_status(struct dma_chan *chan,
dma_chan          691 drivers/dma/img-mdc-dma.c static int mdc_terminate_all(struct dma_chan *chan)
dma_chan          717 drivers/dma/img-mdc-dma.c static void mdc_synchronize(struct dma_chan *chan)
dma_chan          724 drivers/dma/img-mdc-dma.c static int mdc_slave_config(struct dma_chan *chan,
dma_chan          737 drivers/dma/img-mdc-dma.c static int mdc_alloc_chan_resources(struct dma_chan *chan)
dma_chan          745 drivers/dma/img-mdc-dma.c static void mdc_free_chan_resources(struct dma_chan *chan)
dma_chan          808 drivers/dma/img-mdc-dma.c static struct dma_chan *mdc_of_xlate(struct of_phandle_args *dma_spec,
dma_chan          812 drivers/dma/img-mdc-dma.c 	struct dma_chan *chan;
dma_chan          155 drivers/dma/imx-dma.c 	struct dma_chan			chan;
dma_chan          237 drivers/dma/imx-dma.c static struct imxdma_channel *to_imxdma_chan(struct dma_chan *chan)
dma_chan          663 drivers/dma/imx-dma.c static int imxdma_terminate_all(struct dma_chan *chan)
dma_chan          678 drivers/dma/imx-dma.c static int imxdma_config_write(struct dma_chan *chan,
dma_chan          727 drivers/dma/imx-dma.c static int imxdma_config(struct dma_chan *chan,
dma_chan          737 drivers/dma/imx-dma.c static enum dma_status imxdma_tx_status(struct dma_chan *chan,
dma_chan          759 drivers/dma/imx-dma.c static int imxdma_alloc_chan_resources(struct dma_chan *chan)
dma_chan          790 drivers/dma/imx-dma.c static void imxdma_free_chan_resources(struct dma_chan *chan)
dma_chan          816 drivers/dma/imx-dma.c 		struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          867 drivers/dma/imx-dma.c 		struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len,
dma_chan          925 drivers/dma/imx-dma.c 	struct dma_chan *chan, dma_addr_t dest,
dma_chan          956 drivers/dma/imx-dma.c 	struct dma_chan *chan, struct dma_interleaved_template *xt,
dma_chan          999 drivers/dma/imx-dma.c static void imxdma_issue_pending(struct dma_chan *chan)
dma_chan         1024 drivers/dma/imx-dma.c static bool imxdma_filter_fn(struct dma_chan *chan, void *param)
dma_chan         1038 drivers/dma/imx-dma.c static struct dma_chan *imxdma_xlate(struct of_phandle_args *dma_spec,
dma_chan          449 drivers/dma/imx-sdma.c static int sdma_config_write(struct dma_chan *chan,
dma_chan         1041 drivers/dma/imx-sdma.c static struct sdma_channel *to_sdma_chan(struct dma_chan *chan)
dma_chan         1046 drivers/dma/imx-sdma.c static int sdma_disable_channel(struct dma_chan *chan)
dma_chan         1080 drivers/dma/imx-sdma.c static int sdma_disable_channel_async(struct dma_chan *chan)
dma_chan         1092 drivers/dma/imx-sdma.c static void sdma_channel_synchronize(struct dma_chan *chan)
dma_chan         1141 drivers/dma/imx-sdma.c static int sdma_config_channel(struct dma_chan *chan)
dma_chan         1258 drivers/dma/imx-sdma.c static int sdma_alloc_chan_resources(struct dma_chan *chan)
dma_chan         1322 drivers/dma/imx-sdma.c static void sdma_free_chan_resources(struct dma_chan *chan)
dma_chan         1385 drivers/dma/imx-sdma.c 		struct dma_chan *chan, dma_addr_t dma_dst,
dma_chan         1441 drivers/dma/imx-sdma.c 		struct dma_chan *chan, struct scatterlist *sgl,
dma_chan         1525 drivers/dma/imx-sdma.c 		struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len,
dma_chan         1595 drivers/dma/imx-sdma.c static int sdma_config_write(struct dma_chan *chan,
dma_chan         1624 drivers/dma/imx-sdma.c static int sdma_config(struct dma_chan *chan,
dma_chan         1647 drivers/dma/imx-sdma.c static enum dma_status sdma_tx_status(struct dma_chan *chan,
dma_chan         1684 drivers/dma/imx-sdma.c static void sdma_issue_pending(struct dma_chan *chan)
dma_chan         1939 drivers/dma/imx-sdma.c static bool sdma_filter_fn(struct dma_chan *chan, void *fn_param)
dma_chan         1953 drivers/dma/imx-sdma.c static struct dma_chan *sdma_xlate(struct of_phandle_args *dma_spec,
dma_chan          156 drivers/dma/ioat/dma.c 	ioat_cleanup_event((unsigned long)&ioat_chan->dma_chan);
dma_chan          171 drivers/dma/ioat/dma.c void ioat_issue_pending(struct dma_chan *c)
dma_chan          300 drivers/dma/ioat/dma.c 	struct dma_chan *c = tx->chan;
dma_chan          325 drivers/dma/ioat/dma.c ioat_alloc_ring_ent(struct dma_chan *chan, int idx, gfp_t flags)
dma_chan          354 drivers/dma/ioat/dma.c void ioat_free_ring_ent(struct ioat_ring_ent *desc, struct dma_chan *chan)
dma_chan          360 drivers/dma/ioat/dma.c ioat_alloc_ring(struct dma_chan *c, int order, gfp_t flags)
dma_chan          963 drivers/dma/ioat/dma.c ioat_tx_status(struct dma_chan *c, dma_cookie_t cookie,
dma_chan           90 drivers/dma/ioat/dma.h 	struct dma_chan dma_chan;
dma_chan          139 drivers/dma/ioat/dma.h 	ssize_t (*show)(struct dma_chan *, char *);
dma_chan          140 drivers/dma/ioat/dma.h 	ssize_t (*store)(struct dma_chan *, const char *, size_t);
dma_chan          202 drivers/dma/ioat/dma.h static inline struct ioatdma_chan *to_ioat_chan(struct dma_chan *c)
dma_chan          204 drivers/dma/ioat/dma.h 	return container_of(c, struct ioatdma_chan, dma_chan);
dma_chan          358 drivers/dma/ioat/dma.h ioat_dma_prep_memcpy_lock(struct dma_chan *c, dma_addr_t dma_dest,
dma_chan          361 drivers/dma/ioat/dma.h ioat_prep_interrupt_lock(struct dma_chan *c, unsigned long flags);
dma_chan          363 drivers/dma/ioat/dma.h ioat_prep_xor(struct dma_chan *chan, dma_addr_t dest, dma_addr_t *src,
dma_chan          366 drivers/dma/ioat/dma.h ioat_prep_xor_val(struct dma_chan *chan, dma_addr_t *src,
dma_chan          370 drivers/dma/ioat/dma.h ioat_prep_pq(struct dma_chan *chan, dma_addr_t *dst, dma_addr_t *src,
dma_chan          374 drivers/dma/ioat/dma.h ioat_prep_pq_val(struct dma_chan *chan, dma_addr_t *pq, dma_addr_t *src,
dma_chan          378 drivers/dma/ioat/dma.h ioat_prep_pqxor(struct dma_chan *chan, dma_addr_t dst, dma_addr_t *src,
dma_chan          381 drivers/dma/ioat/dma.h ioat_prep_pqxor_val(struct dma_chan *chan, dma_addr_t *src,
dma_chan          389 drivers/dma/ioat/dma.h ioat_alloc_ring(struct dma_chan *c, int order, gfp_t flags);
dma_chan          391 drivers/dma/ioat/dma.h void ioat_free_ring_ent(struct ioat_ring_ent *desc, struct dma_chan *chan);
dma_chan          394 drivers/dma/ioat/dma.h ioat_tx_status(struct dma_chan *c, dma_cookie_t cookie,
dma_chan          399 drivers/dma/ioat/dma.h void ioat_issue_pending(struct dma_chan *chan);
dma_chan          307 drivers/dma/ioat/init.c 	struct dma_chan *dma_chan;
dma_chan          330 drivers/dma/ioat/init.c 	dma_chan = container_of(dma->channels.next, struct dma_chan,
dma_chan          332 drivers/dma/ioat/init.c 	if (dma->device_alloc_chan_resources(dma_chan) < 1) {
dma_chan          351 drivers/dma/ioat/init.c 	tx = ioat_dma->dma_dev.device_prep_dma_memcpy(dma_chan, dma_dest,
dma_chan          370 drivers/dma/ioat/init.c 	dma->device_issue_pending(dma_chan);
dma_chan          375 drivers/dma/ioat/init.c 	    dma->device_tx_status(dma_chan, cookie, NULL)
dma_chan          392 drivers/dma/ioat/init.c 	dma->device_free_chan_resources(dma_chan);
dma_chan          611 drivers/dma/ioat/init.c static void ioat_free_chan_resources(struct dma_chan *c)
dma_chan          678 drivers/dma/ioat/init.c static int ioat_alloc_chan_resources(struct dma_chan *c)
dma_chan          770 drivers/dma/ioat/init.c 	struct dma_chan *c = &ioat_chan->dma_chan;
dma_chan          776 drivers/dma/ioat/init.c 	ioat_chan->dma_chan.device = dma;
dma_chan          777 drivers/dma/ioat/init.c 	dma_cookie_init(&ioat_chan->dma_chan);
dma_chan          778 drivers/dma/ioat/init.c 	list_add_tail(&ioat_chan->dma_chan.device_node, &dma->channels);
dma_chan          794 drivers/dma/ioat/init.c 	struct dma_chan *dma_chan;
dma_chan          843 drivers/dma/ioat/init.c 	dma_chan = container_of(dma->channels.next, struct dma_chan,
dma_chan          845 drivers/dma/ioat/init.c 	if (dma->device_alloc_chan_resources(dma_chan) < 1) {
dma_chan          867 drivers/dma/ioat/init.c 	tx = dma->device_prep_dma_xor(dma_chan, dest_dma, dma_srcs,
dma_chan          887 drivers/dma/ioat/init.c 	dma->device_issue_pending(dma_chan);
dma_chan          892 drivers/dma/ioat/init.c 	    dma->device_tx_status(dma_chan, cookie, NULL) != DMA_COMPLETE) {
dma_chan          916 drivers/dma/ioat/init.c 	if (!dma_has_cap(DMA_XOR_VAL, dma_chan->device->cap_mask))
dma_chan          936 drivers/dma/ioat/init.c 	tx = dma->device_prep_dma_xor_val(dma_chan, dma_srcs,
dma_chan          955 drivers/dma/ioat/init.c 	dma->device_issue_pending(dma_chan);
dma_chan          960 drivers/dma/ioat/init.c 	    dma->device_tx_status(dma_chan, cookie, NULL) != DMA_COMPLETE) {
dma_chan          989 drivers/dma/ioat/init.c 	tx = dma->device_prep_dma_xor_val(dma_chan, dma_srcs,
dma_chan         1008 drivers/dma/ioat/init.c 	dma->device_issue_pending(dma_chan);
dma_chan         1013 drivers/dma/ioat/init.c 	    dma->device_tx_status(dma_chan, cookie, NULL) != DMA_COMPLETE) {
dma_chan         1041 drivers/dma/ioat/init.c 	dma->device_free_chan_resources(dma_chan);
dma_chan         1066 drivers/dma/ioat/init.c 	struct dma_chan *c;
dma_chan         1094 drivers/dma/ioat/init.c 	struct dma_chan *c;
dma_chan          101 drivers/dma/ioat/prep.c ioat_dma_prep_memcpy_lock(struct dma_chan *c, dma_addr_t dma_dest,
dma_chan          152 drivers/dma/ioat/prep.c __ioat_prep_xor_lock(struct dma_chan *c, enum sum_check_flags *result,
dma_chan          245 drivers/dma/ioat/prep.c ioat_prep_xor(struct dma_chan *chan, dma_addr_t dest, dma_addr_t *src,
dma_chan          257 drivers/dma/ioat/prep.c ioat_prep_xor_val(struct dma_chan *chan, dma_addr_t *src,
dma_chan          339 drivers/dma/ioat/prep.c __ioat_prep_pq_lock(struct dma_chan *c, enum sum_check_flags *result,
dma_chan          463 drivers/dma/ioat/prep.c __ioat_prep_pq16_lock(struct dma_chan *c, enum sum_check_flags *result,
dma_chan          574 drivers/dma/ioat/prep.c ioat_prep_pq(struct dma_chan *chan, dma_addr_t *dst, dma_addr_t *src,
dma_chan          619 drivers/dma/ioat/prep.c ioat_prep_pq_val(struct dma_chan *chan, dma_addr_t *pq, dma_addr_t *src,
dma_chan          647 drivers/dma/ioat/prep.c ioat_prep_pqxor(struct dma_chan *chan, dma_addr_t dst, dma_addr_t *src,
dma_chan          673 drivers/dma/ioat/prep.c ioat_prep_pqxor_val(struct dma_chan *chan, dma_addr_t *src,
dma_chan          705 drivers/dma/ioat/prep.c ioat_prep_interrupt_lock(struct dma_chan *c, unsigned long flags)
dma_chan           17 drivers/dma/ioat/sysfs.c static ssize_t cap_show(struct dma_chan *c, char *page)
dma_chan           31 drivers/dma/ioat/sysfs.c static ssize_t version_show(struct dma_chan *c, char *page)
dma_chan           52 drivers/dma/ioat/sysfs.c 	return entry->show(&ioat_chan->dma_chan, page);
dma_chan           67 drivers/dma/ioat/sysfs.c 	return entry->store(&ioat_chan->dma_chan, page, count);
dma_chan           78 drivers/dma/ioat/sysfs.c 	struct dma_chan *c;
dma_chan           99 drivers/dma/ioat/sysfs.c 	struct dma_chan *c;
dma_chan          111 drivers/dma/ioat/sysfs.c static ssize_t ring_size_show(struct dma_chan *c, char *page)
dma_chan          119 drivers/dma/ioat/sysfs.c static ssize_t ring_active_show(struct dma_chan *c, char *page)
dma_chan          128 drivers/dma/ioat/sysfs.c static ssize_t intr_coalesce_show(struct dma_chan *c, char *page)
dma_chan          135 drivers/dma/ioat/sysfs.c static ssize_t intr_coalesce_store(struct dma_chan *c, const char *page,
dma_chan          417 drivers/dma/iop-adma.c static int iop_adma_alloc_chan_resources(struct dma_chan *chan)
dma_chan          484 drivers/dma/iop-adma.c iop_adma_prep_dma_interrupt(struct dma_chan *chan, unsigned long flags)
dma_chan          506 drivers/dma/iop-adma.c iop_adma_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dma_dest,
dma_chan          537 drivers/dma/iop-adma.c iop_adma_prep_dma_xor(struct dma_chan *chan, dma_addr_t dma_dest,
dma_chan          572 drivers/dma/iop-adma.c iop_adma_prep_dma_xor_val(struct dma_chan *chan, dma_addr_t *dma_src,
dma_chan          607 drivers/dma/iop-adma.c iop_adma_prep_dma_pq(struct dma_chan *chan, dma_addr_t *dst, dma_addr_t *src,
dma_chan          671 drivers/dma/iop-adma.c iop_adma_prep_dma_pq_val(struct dma_chan *chan, dma_addr_t *pq, dma_addr_t *src,
dma_chan          714 drivers/dma/iop-adma.c static void iop_adma_free_chan_resources(struct dma_chan *chan)
dma_chan          752 drivers/dma/iop-adma.c static enum dma_status iop_adma_status(struct dma_chan *chan,
dma_chan          816 drivers/dma/iop-adma.c static void iop_adma_issue_pending(struct dma_chan *chan)
dma_chan          836 drivers/dma/iop-adma.c 	struct dma_chan *dma_chan;
dma_chan          858 drivers/dma/iop-adma.c 	dma_chan = container_of(device->common.channels.next,
dma_chan          859 drivers/dma/iop-adma.c 				struct dma_chan,
dma_chan          861 drivers/dma/iop-adma.c 	if (iop_adma_alloc_chan_resources(dma_chan) < 1) {
dma_chan          866 drivers/dma/iop-adma.c 	dest_dma = dma_map_single(dma_chan->device->dev, dest,
dma_chan          868 drivers/dma/iop-adma.c 	src_dma = dma_map_single(dma_chan->device->dev, src,
dma_chan          870 drivers/dma/iop-adma.c 	tx = iop_adma_prep_dma_memcpy(dma_chan, dest_dma, src_dma,
dma_chan          875 drivers/dma/iop-adma.c 	iop_adma_issue_pending(dma_chan);
dma_chan          878 drivers/dma/iop-adma.c 	if (iop_adma_status(dma_chan, cookie, NULL) !=
dma_chan          880 drivers/dma/iop-adma.c 		dev_err(dma_chan->device->dev,
dma_chan          886 drivers/dma/iop-adma.c 	iop_chan = to_iop_adma_chan(dma_chan);
dma_chan          890 drivers/dma/iop-adma.c 		dev_err(dma_chan->device->dev,
dma_chan          897 drivers/dma/iop-adma.c 	iop_adma_free_chan_resources(dma_chan);
dma_chan          915 drivers/dma/iop-adma.c 	struct dma_chan *dma_chan;
dma_chan          956 drivers/dma/iop-adma.c 	dma_chan = container_of(device->common.channels.next,
dma_chan          957 drivers/dma/iop-adma.c 				struct dma_chan,
dma_chan          959 drivers/dma/iop-adma.c 	if (iop_adma_alloc_chan_resources(dma_chan) < 1) {
dma_chan          965 drivers/dma/iop-adma.c 	dest_dma = dma_map_page(dma_chan->device->dev, dest, 0,
dma_chan          968 drivers/dma/iop-adma.c 		dma_srcs[i] = dma_map_page(dma_chan->device->dev, xor_srcs[i],
dma_chan          970 drivers/dma/iop-adma.c 	tx = iop_adma_prep_dma_xor(dma_chan, dest_dma, dma_srcs,
dma_chan          975 drivers/dma/iop-adma.c 	iop_adma_issue_pending(dma_chan);
dma_chan          978 drivers/dma/iop-adma.c 	if (iop_adma_status(dma_chan, cookie, NULL) !=
dma_chan          980 drivers/dma/iop-adma.c 		dev_err(dma_chan->device->dev,
dma_chan          986 drivers/dma/iop-adma.c 	iop_chan = to_iop_adma_chan(dma_chan);
dma_chan          992 drivers/dma/iop-adma.c 			dev_err(dma_chan->device->dev,
dma_chan         1002 drivers/dma/iop-adma.c 	if (!dma_has_cap(DMA_XOR_VAL, dma_chan->device->cap_mask))
dma_chan         1013 drivers/dma/iop-adma.c 		dma_srcs[i] = dma_map_page(dma_chan->device->dev,
dma_chan         1016 drivers/dma/iop-adma.c 	tx = iop_adma_prep_dma_xor_val(dma_chan, dma_srcs,
dma_chan         1022 drivers/dma/iop-adma.c 	iop_adma_issue_pending(dma_chan);
dma_chan         1025 drivers/dma/iop-adma.c 	if (iop_adma_status(dma_chan, cookie, NULL) != DMA_COMPLETE) {
dma_chan         1026 drivers/dma/iop-adma.c 		dev_err(dma_chan->device->dev,
dma_chan         1033 drivers/dma/iop-adma.c 		dev_err(dma_chan->device->dev,
dma_chan         1042 drivers/dma/iop-adma.c 		dma_srcs[i] = dma_map_page(dma_chan->device->dev,
dma_chan         1045 drivers/dma/iop-adma.c 	tx = iop_adma_prep_dma_xor_val(dma_chan, dma_srcs,
dma_chan         1051 drivers/dma/iop-adma.c 	iop_adma_issue_pending(dma_chan);
dma_chan         1054 drivers/dma/iop-adma.c 	if (iop_adma_status(dma_chan, cookie, NULL) != DMA_COMPLETE) {
dma_chan         1055 drivers/dma/iop-adma.c 		dev_err(dma_chan->device->dev,
dma_chan         1062 drivers/dma/iop-adma.c 		dev_err(dma_chan->device->dev,
dma_chan         1069 drivers/dma/iop-adma.c 	iop_adma_free_chan_resources(dma_chan);
dma_chan         1093 drivers/dma/iop-adma.c 	struct dma_chan *dma_chan;
dma_chan         1118 drivers/dma/iop-adma.c 	dma_chan = container_of(device->common.channels.next,
dma_chan         1119 drivers/dma/iop-adma.c 				struct dma_chan,
dma_chan         1121 drivers/dma/iop-adma.c 	if (iop_adma_alloc_chan_resources(dma_chan) < 1) {
dma_chan         1126 drivers/dma/iop-adma.c 	dev = dma_chan->device->dev;
dma_chan         1139 drivers/dma/iop-adma.c 	tx = iop_adma_prep_dma_pq(dma_chan, pq_dest, pq_src,
dma_chan         1146 drivers/dma/iop-adma.c 	iop_adma_issue_pending(dma_chan);
dma_chan         1149 drivers/dma/iop-adma.c 	if (iop_adma_status(dma_chan, cookie, NULL) !=
dma_chan         1177 drivers/dma/iop-adma.c 	tx = iop_adma_prep_dma_pq_val(dma_chan, &pq_src[IOP_ADMA_NUM_SRC_TEST],
dma_chan         1183 drivers/dma/iop-adma.c 	iop_adma_issue_pending(dma_chan);
dma_chan         1186 drivers/dma/iop-adma.c 	if (iop_adma_status(dma_chan, cookie, NULL) !=
dma_chan         1209 drivers/dma/iop-adma.c 	tx = iop_adma_prep_dma_pq_val(dma_chan, &pq_src[IOP_ADMA_NUM_SRC_TEST],
dma_chan         1215 drivers/dma/iop-adma.c 	iop_adma_issue_pending(dma_chan);
dma_chan         1218 drivers/dma/iop-adma.c 	if (iop_adma_status(dma_chan, cookie, NULL) !=
dma_chan         1233 drivers/dma/iop-adma.c 	iop_adma_free_chan_resources(dma_chan);
dma_chan         1245 drivers/dma/iop-adma.c 	struct dma_chan *chan, *_chan;
dma_chan          605 drivers/dma/ipu/ipu_idmac.c 	enum ipu_channel channel = ichan->dma_chan.chan_id;
dma_chan          657 drivers/dma/ipu/ipu_idmac.c 	enum ipu_channel channel = ichan->dma_chan.chan_id;
dma_chan          658 drivers/dma/ipu/ipu_idmac.c 	struct idmac *idmac = to_idmac(ichan->dma_chan.device);
dma_chan          732 drivers/dma/ipu/ipu_idmac.c 	enum ipu_channel channel = ichan->dma_chan.chan_id;
dma_chan          776 drivers/dma/ipu/ipu_idmac.c 	unsigned int chan_id = ichan->dma_chan.chan_id;
dma_chan          777 drivers/dma/ipu/ipu_idmac.c 	struct device *dev = &ichan->dma_chan.dev->device;
dma_chan          825 drivers/dma/ipu/ipu_idmac.c 	struct device *dev = &ichan->dma_chan.dev->device;
dma_chan          898 drivers/dma/ipu/ipu_idmac.c 		ichan->dma_chan.cookie = cookie;
dma_chan          912 drivers/dma/ipu/ipu_idmac.c 	struct idmac *idmac = to_idmac(ichan->dma_chan.device);
dma_chan          929 drivers/dma/ipu/ipu_idmac.c 		dma_async_tx_descriptor_init(txd, &ichan->dma_chan);
dma_chan          952 drivers/dma/ipu/ipu_idmac.c 	enum ipu_channel channel = ichan->dma_chan.chan_id;
dma_chan         1009 drivers/dma/ipu/ipu_idmac.c 	enum ipu_channel channel = ichan->dma_chan.chan_id;
dma_chan         1072 drivers/dma/ipu/ipu_idmac.c 	enum ipu_channel channel = ichan->dma_chan.chan_id;
dma_chan         1156 drivers/dma/ipu/ipu_idmac.c 	struct device *dev = &ichan->dma_chan.dev->device;
dma_chan         1157 drivers/dma/ipu/ipu_idmac.c 	unsigned int chan_id = ichan->dma_chan.chan_id;
dma_chan         1333 drivers/dma/ipu/ipu_idmac.c static struct dma_async_tx_descriptor *idmac_prep_slave_sg(struct dma_chan *chan,
dma_chan         1377 drivers/dma/ipu/ipu_idmac.c static void idmac_issue_pending(struct dma_chan *chan)
dma_chan         1397 drivers/dma/ipu/ipu_idmac.c static int idmac_pause(struct dma_chan *chan)
dma_chan         1426 drivers/dma/ipu/ipu_idmac.c static int __idmac_terminate_all(struct dma_chan *chan)
dma_chan         1464 drivers/dma/ipu/ipu_idmac.c static int idmac_terminate_all(struct dma_chan *chan)
dma_chan         1483 drivers/dma/ipu/ipu_idmac.c 	       irq, ichan->dma_chan.chan_id);
dma_chan         1492 drivers/dma/ipu/ipu_idmac.c 	       irq, ichan->dma_chan.chan_id);
dma_chan         1500 drivers/dma/ipu/ipu_idmac.c static int idmac_alloc_chan_resources(struct dma_chan *chan)
dma_chan         1565 drivers/dma/ipu/ipu_idmac.c static void idmac_free_chan_resources(struct dma_chan *chan)
dma_chan         1602 drivers/dma/ipu/ipu_idmac.c static enum dma_status idmac_tx_status(struct dma_chan *chan,
dma_chan         1632 drivers/dma/ipu/ipu_idmac.c 		struct dma_chan *dma_chan = &ichan->dma_chan;
dma_chan         1641 drivers/dma/ipu/ipu_idmac.c 		dma_chan->device	= &idmac->dma;
dma_chan         1642 drivers/dma/ipu/ipu_idmac.c 		dma_cookie_init(dma_chan);
dma_chan         1643 drivers/dma/ipu/ipu_idmac.c 		dma_chan->chan_id	= i;
dma_chan         1644 drivers/dma/ipu/ipu_idmac.c 		list_add_tail(&dma_chan->device_node, &dma->channels);
dma_chan         1660 drivers/dma/ipu/ipu_idmac.c 		idmac_terminate_all(&ichan->dma_chan);
dma_chan          125 drivers/dma/k3dma.c static int k3_dma_config_write(struct dma_chan *chan,
dma_chan          129 drivers/dma/k3dma.c static struct k3_dma_chan *to_k3_chan(struct dma_chan *chan)
dma_chan          361 drivers/dma/k3dma.c static void k3_dma_free_chan_resources(struct dma_chan *chan)
dma_chan          375 drivers/dma/k3dma.c static enum dma_status k3_dma_tx_status(struct dma_chan *chan,
dma_chan          423 drivers/dma/k3dma.c static void k3_dma_issue_pending(struct dma_chan *chan)
dma_chan          463 drivers/dma/k3dma.c 							struct dma_chan *chan)
dma_chan          491 drivers/dma/k3dma.c 	struct dma_chan *chan,	dma_addr_t dst, dma_addr_t src,
dma_chan          533 drivers/dma/k3dma.c 	struct dma_chan *chan, struct scatterlist *sgl, unsigned int sglen,
dma_chan          589 drivers/dma/k3dma.c k3_dma_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr,
dma_chan          656 drivers/dma/k3dma.c static int k3_dma_config(struct dma_chan *chan,
dma_chan          666 drivers/dma/k3dma.c static int k3_dma_config_write(struct dma_chan *chan,
dma_chan          721 drivers/dma/k3dma.c static int k3_dma_terminate_all(struct dma_chan *chan)
dma_chan          756 drivers/dma/k3dma.c static void k3_dma_synchronize(struct dma_chan *chan)
dma_chan          763 drivers/dma/k3dma.c static int k3_dma_transfer_pause(struct dma_chan *chan)
dma_chan          784 drivers/dma/k3dma.c static int k3_dma_transfer_resume(struct dma_chan *chan)
dma_chan          827 drivers/dma/k3dma.c static struct dma_chan *k3_of_dma_simple_xlate(struct of_phandle_args *dma_spec,
dma_chan          297 drivers/dma/mcf-edma.c bool mcf_edma_filter_fn(struct dma_chan *chan, void *param)
dma_chan           85 drivers/dma/mediatek/mtk-cqdma.c 	struct dma_chan *ch;
dma_chan          149 drivers/dma/mediatek/mtk-cqdma.c static struct mtk_cqdma_device *to_cqdma_dev(struct dma_chan *chan)
dma_chan          154 drivers/dma/mediatek/mtk-cqdma.c static struct mtk_cqdma_vchan *to_cqdma_vchan(struct dma_chan *chan)
dma_chan          419 drivers/dma/mediatek/mtk-cqdma.c static struct virt_dma_desc *mtk_cqdma_find_active_desc(struct dma_chan *c,
dma_chan          441 drivers/dma/mediatek/mtk-cqdma.c static enum dma_status mtk_cqdma_tx_status(struct dma_chan *c,
dma_chan          470 drivers/dma/mediatek/mtk-cqdma.c static void mtk_cqdma_issue_pending(struct dma_chan *c)
dma_chan          488 drivers/dma/mediatek/mtk-cqdma.c mtk_cqdma_prep_dma_memcpy(struct dma_chan *c, dma_addr_t dest,
dma_chan          551 drivers/dma/mediatek/mtk-cqdma.c static void mtk_cqdma_free_inactive_desc(struct dma_chan *c)
dma_chan          571 drivers/dma/mediatek/mtk-cqdma.c static void mtk_cqdma_free_active_desc(struct dma_chan *c)
dma_chan          602 drivers/dma/mediatek/mtk-cqdma.c static int mtk_cqdma_terminate_all(struct dma_chan *c)
dma_chan          613 drivers/dma/mediatek/mtk-cqdma.c static int mtk_cqdma_alloc_chan_resources(struct dma_chan *c)
dma_chan          658 drivers/dma/mediatek/mtk-cqdma.c static void mtk_cqdma_free_chan_resources(struct dma_chan *c)
dma_chan          249 drivers/dma/mediatek/mtk-hsdma.c static struct mtk_hsdma_device *to_hsdma_dev(struct dma_chan *chan)
dma_chan          254 drivers/dma/mediatek/mtk-hsdma.c static inline struct mtk_hsdma_vchan *to_hsdma_vchan(struct dma_chan *chan)
dma_chan          660 drivers/dma/mediatek/mtk-hsdma.c static struct virt_dma_desc *mtk_hsdma_find_active_desc(struct dma_chan *c,
dma_chan          677 drivers/dma/mediatek/mtk-hsdma.c static enum dma_status mtk_hsdma_tx_status(struct dma_chan *c,
dma_chan          706 drivers/dma/mediatek/mtk-hsdma.c static void mtk_hsdma_issue_pending(struct dma_chan *c)
dma_chan          721 drivers/dma/mediatek/mtk-hsdma.c mtk_hsdma_prep_dma_memcpy(struct dma_chan *c, dma_addr_t dest,
dma_chan          738 drivers/dma/mediatek/mtk-hsdma.c static int mtk_hsdma_free_inactive_desc(struct dma_chan *c)
dma_chan          756 drivers/dma/mediatek/mtk-hsdma.c static void mtk_hsdma_free_active_desc(struct dma_chan *c)
dma_chan          789 drivers/dma/mediatek/mtk-hsdma.c static int mtk_hsdma_terminate_all(struct dma_chan *c)
dma_chan          808 drivers/dma/mediatek/mtk-hsdma.c static int mtk_hsdma_alloc_chan_resources(struct dma_chan *c)
dma_chan          834 drivers/dma/mediatek/mtk-hsdma.c static void mtk_hsdma_free_chan_resources(struct dma_chan *c)
dma_chan          110 drivers/dma/mediatek/mtk-uart-apdma.c static inline struct mtk_chan *to_mtk_uart_apdma_chan(struct dma_chan *c)
dma_chan          134 drivers/dma/mediatek/mtk-uart-apdma.c 	struct dma_chan *chan = vd->tx.chan;
dma_chan          255 drivers/dma/mediatek/mtk-uart-apdma.c 	struct dma_chan *chan = (struct dma_chan *)dev_id;
dma_chan          269 drivers/dma/mediatek/mtk-uart-apdma.c static int mtk_uart_apdma_alloc_chan_resources(struct dma_chan *chan)
dma_chan          305 drivers/dma/mediatek/mtk-uart-apdma.c static void mtk_uart_apdma_free_chan_resources(struct dma_chan *chan)
dma_chan          319 drivers/dma/mediatek/mtk-uart-apdma.c static enum dma_status mtk_uart_apdma_tx_status(struct dma_chan *chan,
dma_chan          340 drivers/dma/mediatek/mtk-uart-apdma.c 	(struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          362 drivers/dma/mediatek/mtk-uart-apdma.c static void mtk_uart_apdma_issue_pending(struct dma_chan *chan)
dma_chan          382 drivers/dma/mediatek/mtk-uart-apdma.c static int mtk_uart_apdma_slave_config(struct dma_chan *chan,
dma_chan          392 drivers/dma/mediatek/mtk-uart-apdma.c static int mtk_uart_apdma_terminate_all(struct dma_chan *chan)
dma_chan          439 drivers/dma/mediatek/mtk-uart-apdma.c static int mtk_uart_apdma_device_pause(struct dma_chan *chan)
dma_chan          206 drivers/dma/mic_x100_dma.c static inline void mic_dma_issue_pending(struct dma_chan *ch)
dma_chan          270 drivers/dma/mic_x100_dma.c mic_dma_prep_status_lock(struct dma_chan *ch, dma_addr_t dst, u64 src_val,
dma_chan          301 drivers/dma/mic_x100_dma.c mic_dma_prep_memcpy_lock(struct dma_chan *ch, dma_addr_t dma_dest,
dma_chan          321 drivers/dma/mic_x100_dma.c mic_dma_prep_interrupt_lock(struct dma_chan *ch, unsigned long flags)
dma_chan          336 drivers/dma/mic_x100_dma.c mic_dma_tx_status(struct dma_chan *ch, dma_cookie_t cookie,
dma_chan          568 drivers/dma/mic_x100_dma.c static int mic_dma_alloc_chan_resources(struct dma_chan *ch)
dma_chan          576 drivers/dma/mic_x100_dma.c static void mic_dma_free_chan_resources(struct dma_chan *ch)
dma_chan          108 drivers/dma/mic_x100_dma.h 	struct dma_chan api_ch;
dma_chan          140 drivers/dma/mic_x100_dma.h static inline struct mic_dma_chan *to_mic_dma_chan(struct dma_chan *ch)
dma_chan           92 drivers/dma/mmp_pdma.c 	struct dma_chan chan;
dma_chan          141 drivers/dma/mmp_pdma.c static int mmp_pdma_config_write(struct dma_chan *dchan,
dma_chan          392 drivers/dma/mmp_pdma.c static int mmp_pdma_alloc_chan_resources(struct dma_chan *dchan)
dma_chan          426 drivers/dma/mmp_pdma.c static void mmp_pdma_free_chan_resources(struct dma_chan *dchan)
dma_chan          445 drivers/dma/mmp_pdma.c mmp_pdma_prep_memcpy(struct dma_chan *dchan,
dma_chan          526 drivers/dma/mmp_pdma.c mmp_pdma_prep_slave_sg(struct dma_chan *dchan, struct scatterlist *sgl,
dma_chan          606 drivers/dma/mmp_pdma.c mmp_pdma_prep_dma_cyclic(struct dma_chan *dchan,
dma_chan          692 drivers/dma/mmp_pdma.c static int mmp_pdma_config_write(struct dma_chan *dchan,
dma_chan          741 drivers/dma/mmp_pdma.c static int mmp_pdma_config(struct dma_chan *dchan,
dma_chan          750 drivers/dma/mmp_pdma.c static int mmp_pdma_terminate_all(struct dma_chan *dchan)
dma_chan          843 drivers/dma/mmp_pdma.c static enum dma_status mmp_pdma_tx_status(struct dma_chan *dchan,
dma_chan          861 drivers/dma/mmp_pdma.c static void mmp_pdma_issue_pending(struct dma_chan *dchan)
dma_chan         1010 drivers/dma/mmp_pdma.c static struct dma_chan *mmp_pdma_dma_xlate(struct of_phandle_args *dma_spec,
dma_chan         1014 drivers/dma/mmp_pdma.c 	struct dma_chan *chan;
dma_chan         1149 drivers/dma/mmp_pdma.c bool mmp_pdma_filter_fn(struct dma_chan *chan, void *param)
dma_chan          103 drivers/dma/mmp_tdma.c 	struct dma_chan			chan;
dma_chan          139 drivers/dma/mmp_tdma.c static int mmp_tdma_config_write(struct dma_chan *chan,
dma_chan          166 drivers/dma/mmp_tdma.c static int mmp_tdma_disable_chan(struct dma_chan *chan)
dma_chan          181 drivers/dma/mmp_tdma.c static int mmp_tdma_resume_chan(struct dma_chan *chan)
dma_chan          192 drivers/dma/mmp_tdma.c static int mmp_tdma_pause_chan(struct dma_chan *chan)
dma_chan          203 drivers/dma/mmp_tdma.c static int mmp_tdma_config_chan(struct dma_chan *chan)
dma_chan          381 drivers/dma/mmp_tdma.c static int mmp_tdma_alloc_chan_resources(struct dma_chan *chan)
dma_chan          398 drivers/dma/mmp_tdma.c static void mmp_tdma_free_chan_resources(struct dma_chan *chan)
dma_chan          423 drivers/dma/mmp_tdma.c 		struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len,
dma_chan          488 drivers/dma/mmp_tdma.c static int mmp_tdma_terminate_all(struct dma_chan *chan)
dma_chan          499 drivers/dma/mmp_tdma.c static int mmp_tdma_config(struct dma_chan *chan,
dma_chan          509 drivers/dma/mmp_tdma.c static int mmp_tdma_config_write(struct dma_chan *chan,
dma_chan          529 drivers/dma/mmp_tdma.c static enum dma_status mmp_tdma_tx_status(struct dma_chan *chan,
dma_chan          541 drivers/dma/mmp_tdma.c static void mmp_tdma_issue_pending(struct dma_chan *chan)
dma_chan          591 drivers/dma/mmp_tdma.c static bool mmp_tdma_filter_fn(struct dma_chan *chan, void *fn_param)
dma_chan          601 drivers/dma/mmp_tdma.c static struct dma_chan *mmp_tdma_xlate(struct of_phandle_args *dma_spec,
dma_chan          165 drivers/dma/moxart-dma.c static struct device *chan2dev(struct dma_chan *chan)
dma_chan          170 drivers/dma/moxart-dma.c static inline struct moxart_chan *to_moxart_dma_chan(struct dma_chan *c)
dma_chan          186 drivers/dma/moxart-dma.c static int moxart_terminate_all(struct dma_chan *chan)
dma_chan          213 drivers/dma/moxart-dma.c static int moxart_slave_config(struct dma_chan *chan,
dma_chan          270 drivers/dma/moxart-dma.c 	struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          332 drivers/dma/moxart-dma.c static struct dma_chan *moxart_of_xlate(struct of_phandle_args *dma_spec,
dma_chan          336 drivers/dma/moxart-dma.c 	struct dma_chan *chan;
dma_chan          349 drivers/dma/moxart-dma.c static int moxart_alloc_chan_resources(struct dma_chan *chan)
dma_chan          360 drivers/dma/moxart-dma.c static void moxart_free_chan_resources(struct dma_chan *chan)
dma_chan          419 drivers/dma/moxart-dma.c static void moxart_dma_start_desc(struct dma_chan *chan)
dma_chan          439 drivers/dma/moxart-dma.c static void moxart_issue_pending(struct dma_chan *chan)
dma_chan          477 drivers/dma/moxart-dma.c static enum dma_status moxart_tx_status(struct dma_chan *chan,
dma_chan          194 drivers/dma/mpc512x_dma.c 	struct dma_chan			chan;
dma_chan          233 drivers/dma/mpc512x_dma.c static inline struct mpc_dma_chan *dma_chan_to_mpc_dma_chan(struct dma_chan *c)
dma_chan          239 drivers/dma/mpc512x_dma.c static inline struct mpc_dma *dma_chan_to_mpc_dma(struct dma_chan *c)
dma_chan          486 drivers/dma/mpc512x_dma.c static int mpc_dma_alloc_chan_resources(struct dma_chan *chan)
dma_chan          544 drivers/dma/mpc512x_dma.c static void mpc_dma_free_chan_resources(struct dma_chan *chan)
dma_chan          583 drivers/dma/mpc512x_dma.c static void mpc_dma_issue_pending(struct dma_chan *chan)
dma_chan          593 drivers/dma/mpc512x_dma.c mpc_dma_tx_status(struct dma_chan *chan, dma_cookie_t cookie,
dma_chan          601 drivers/dma/mpc512x_dma.c mpc_dma_prep_memcpy(struct dma_chan *chan, dma_addr_t dst, dma_addr_t src,
dma_chan          684 drivers/dma/mpc512x_dma.c mpc_dma_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          828 drivers/dma/mpc512x_dma.c static int mpc_dma_device_config(struct dma_chan *chan,
dma_chan          878 drivers/dma/mpc512x_dma.c static int mpc_dma_device_terminate_all(struct dma_chan *chan)
dma_chan           37 drivers/dma/mv_xor.c static void mv_xor_issue_pending(struct dma_chan *chan);
dma_chan          434 drivers/dma/mv_xor.c static int mv_xor_alloc_chan_resources(struct dma_chan *chan)
dma_chan          555 drivers/dma/mv_xor.c mv_xor_prep_dma_xor(struct dma_chan *chan, dma_addr_t dest, dma_addr_t *src,
dma_chan          599 drivers/dma/mv_xor.c mv_xor_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
dma_chan          610 drivers/dma/mv_xor.c mv_xor_prep_dma_interrupt(struct dma_chan *chan, unsigned long flags)
dma_chan          627 drivers/dma/mv_xor.c static void mv_xor_free_chan_resources(struct dma_chan *chan)
dma_chan          674 drivers/dma/mv_xor.c static enum dma_status mv_xor_status(struct dma_chan *chan,
dma_chan          747 drivers/dma/mv_xor.c static void mv_xor_issue_pending(struct dma_chan *chan)
dma_chan          766 drivers/dma/mv_xor.c 	struct dma_chan *dma_chan;
dma_chan          786 drivers/dma/mv_xor.c 	dma_chan = &mv_chan->dmachan;
dma_chan          787 drivers/dma/mv_xor.c 	if (mv_xor_alloc_chan_resources(dma_chan) < 1) {
dma_chan          792 drivers/dma/mv_xor.c 	unmap = dmaengine_get_unmap_data(dma_chan->device->dev, 2, GFP_KERNEL);
dma_chan          798 drivers/dma/mv_xor.c 	src_dma = dma_map_page(dma_chan->device->dev, virt_to_page(src),
dma_chan          803 drivers/dma/mv_xor.c 	ret = dma_mapping_error(dma_chan->device->dev, src_dma);
dma_chan          810 drivers/dma/mv_xor.c 	dest_dma = dma_map_page(dma_chan->device->dev, virt_to_page(dest),
dma_chan          815 drivers/dma/mv_xor.c 	ret = dma_mapping_error(dma_chan->device->dev, dest_dma);
dma_chan          823 drivers/dma/mv_xor.c 	tx = mv_xor_prep_dma_memcpy(dma_chan, dest_dma, src_dma,
dma_chan          826 drivers/dma/mv_xor.c 		dev_err(dma_chan->device->dev,
dma_chan          834 drivers/dma/mv_xor.c 		dev_err(dma_chan->device->dev,
dma_chan          840 drivers/dma/mv_xor.c 	mv_xor_issue_pending(dma_chan);
dma_chan          844 drivers/dma/mv_xor.c 	if (mv_xor_status(dma_chan, cookie, NULL) !=
dma_chan          846 drivers/dma/mv_xor.c 		dev_err(dma_chan->device->dev,
dma_chan          852 drivers/dma/mv_xor.c 	dma_sync_single_for_cpu(dma_chan->device->dev, dest_dma,
dma_chan          855 drivers/dma/mv_xor.c 		dev_err(dma_chan->device->dev,
dma_chan          863 drivers/dma/mv_xor.c 	mv_xor_free_chan_resources(dma_chan);
dma_chan          881 drivers/dma/mv_xor.c 	struct dma_chan *dma_chan;
dma_chan          919 drivers/dma/mv_xor.c 	dma_chan = &mv_chan->dmachan;
dma_chan          920 drivers/dma/mv_xor.c 	if (mv_xor_alloc_chan_resources(dma_chan) < 1) {
dma_chan          925 drivers/dma/mv_xor.c 	unmap = dmaengine_get_unmap_data(dma_chan->device->dev, src_count + 1,
dma_chan          934 drivers/dma/mv_xor.c 		unmap->addr[i] = dma_map_page(dma_chan->device->dev, xor_srcs[i],
dma_chan          937 drivers/dma/mv_xor.c 		ret = dma_mapping_error(dma_chan->device->dev, unmap->addr[i]);
dma_chan          945 drivers/dma/mv_xor.c 	unmap->addr[src_count] = dma_map_page(dma_chan->device->dev, dest, 0, PAGE_SIZE,
dma_chan          948 drivers/dma/mv_xor.c 	ret = dma_mapping_error(dma_chan->device->dev, unmap->addr[src_count]);
dma_chan          956 drivers/dma/mv_xor.c 	tx = mv_xor_prep_dma_xor(dma_chan, dest_dma, dma_srcs,
dma_chan          959 drivers/dma/mv_xor.c 		dev_err(dma_chan->device->dev,
dma_chan          967 drivers/dma/mv_xor.c 		dev_err(dma_chan->device->dev,
dma_chan          973 drivers/dma/mv_xor.c 	mv_xor_issue_pending(dma_chan);
dma_chan          977 drivers/dma/mv_xor.c 	if (mv_xor_status(dma_chan, cookie, NULL) !=
dma_chan          979 drivers/dma/mv_xor.c 		dev_err(dma_chan->device->dev,
dma_chan          985 drivers/dma/mv_xor.c 	dma_sync_single_for_cpu(dma_chan->device->dev, dest_dma,
dma_chan          990 drivers/dma/mv_xor.c 			dev_err(dma_chan->device->dev,
dma_chan         1000 drivers/dma/mv_xor.c 	mv_xor_free_chan_resources(dma_chan);
dma_chan         1011 drivers/dma/mv_xor.c 	struct dma_chan *chan, *_chan;
dma_chan          119 drivers/dma/mv_xor.h 	struct dma_chan		dmachan;
dma_chan          160 drivers/dma/mv_xor_v2.c 	struct dma_chan	dmachan;
dma_chan          374 drivers/dma/mv_xor_v2.c mv_xor_v2_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest,
dma_chan          427 drivers/dma/mv_xor_v2.c mv_xor_v2_prep_dma_xor(struct dma_chan *chan, dma_addr_t dest, dma_addr_t *src,
dma_chan          486 drivers/dma/mv_xor_v2.c mv_xor_v2_prep_dma_interrupt(struct dma_chan *chan, unsigned long flags)
dma_chan          515 drivers/dma/mv_xor_v2.c static void mv_xor_v2_issue_pending(struct dma_chan *chan)
dma_chan          111 drivers/dma/mxs-dma.c 	struct dma_chan			chan;
dma_chan          198 drivers/dma/mxs-dma.c static struct mxs_dma_chan *to_mxs_dma_chan(struct dma_chan *chan)
dma_chan          203 drivers/dma/mxs-dma.c static void mxs_dma_reset_chan(struct dma_chan *chan)
dma_chan          252 drivers/dma/mxs-dma.c static void mxs_dma_enable_chan(struct dma_chan *chan)
dma_chan          275 drivers/dma/mxs-dma.c static void mxs_dma_disable_chan(struct dma_chan *chan)
dma_chan          282 drivers/dma/mxs-dma.c static int mxs_dma_pause_chan(struct dma_chan *chan)
dma_chan          300 drivers/dma/mxs-dma.c static int mxs_dma_resume_chan(struct dma_chan *chan)
dma_chan          415 drivers/dma/mxs-dma.c static int mxs_dma_alloc_chan_resources(struct dma_chan *chan)
dma_chan          457 drivers/dma/mxs-dma.c static void mxs_dma_free_chan_resources(struct dma_chan *chan)
dma_chan          495 drivers/dma/mxs-dma.c 		struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          594 drivers/dma/mxs-dma.c 		struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len,
dma_chan          658 drivers/dma/mxs-dma.c static int mxs_dma_terminate_all(struct dma_chan *chan)
dma_chan          666 drivers/dma/mxs-dma.c static enum dma_status mxs_dma_tx_status(struct dma_chan *chan,
dma_chan          725 drivers/dma/mxs-dma.c static bool mxs_dma_filter_fn(struct dma_chan *chan, void *fn_param)
dma_chan          744 drivers/dma/mxs-dma.c static struct dma_chan *mxs_dma_xlate(struct of_phandle_args *dma_spec,
dma_chan          196 drivers/dma/nbpfaxi.c 	struct dma_chan dma_chan;
dma_chan          284 drivers/dma/nbpfaxi.c #define nbpf_to_chan(d) container_of(d, struct nbpf_channel, dma_chan)
dma_chan          302 drivers/dma/nbpfaxi.c 	dev_dbg(chan->dma_chan.device->dev, "%s(0x%p + 0x%x) = 0x%x\n",
dma_chan          311 drivers/dma/nbpfaxi.c 	dev_dbg(chan->dma_chan.device->dev, "%s(0x%p + 0x%x) = 0x%x\n",
dma_chan          375 drivers/dma/nbpfaxi.c 		dev_err(chan->dma_chan.device->dev,
dma_chan          506 drivers/dma/nbpfaxi.c 	struct device *dev = chan->dma_chan.device->dev;
dma_chan          595 drivers/dma/nbpfaxi.c static void nbpf_issue_pending(struct dma_chan *dchan)
dma_chan          619 drivers/dma/nbpfaxi.c static enum dma_status nbpf_tx_status(struct dma_chan *dchan,
dma_chan          678 drivers/dma/nbpfaxi.c 	dev_dbg(chan->dma_chan.device->dev, "Entry %s(%d)\n", __func__, cookie);
dma_chan          685 drivers/dma/nbpfaxi.c 	struct dma_chan *dchan = &chan->dma_chan;
dma_chan          857 drivers/dma/nbpfaxi.c static int nbpf_pause(struct dma_chan *dchan)
dma_chan          871 drivers/dma/nbpfaxi.c static int nbpf_terminate_all(struct dma_chan *dchan)
dma_chan          884 drivers/dma/nbpfaxi.c static int nbpf_config(struct dma_chan *dchan,
dma_chan          983 drivers/dma/nbpfaxi.c 	struct dma_chan *dchan, dma_addr_t dst, dma_addr_t src,
dma_chan         1007 drivers/dma/nbpfaxi.c 	struct dma_chan *dchan, struct scatterlist *sgl, unsigned int sg_len,
dma_chan         1033 drivers/dma/nbpfaxi.c static int nbpf_alloc_chan_resources(struct dma_chan *dchan)
dma_chan         1056 drivers/dma/nbpfaxi.c static void nbpf_free_chan_resources(struct dma_chan *dchan)
dma_chan         1081 drivers/dma/nbpfaxi.c static struct dma_chan *nbpf_of_xlate(struct of_phandle_args *dma_spec,
dma_chan         1085 drivers/dma/nbpfaxi.c 	struct dma_chan *dchan;
dma_chan         1186 drivers/dma/nbpfaxi.c 	dev_dbg(&chan->dma_chan.dev->device, "%s()\n", __func__);
dma_chan         1248 drivers/dma/nbpfaxi.c 	chan->dma_chan.device = dma_dev;
dma_chan         1249 drivers/dma/nbpfaxi.c 	dma_cookie_init(&chan->dma_chan);
dma_chan         1264 drivers/dma/nbpfaxi.c 	list_add_tail(&chan->dma_chan.device_node,
dma_chan           53 drivers/dma/of-dma.c static struct dma_chan *of_dma_router_xlate(struct of_phandle_args *dma_spec,
dma_chan           56 drivers/dma/of-dma.c 	struct dma_chan		*chan;
dma_chan          102 drivers/dma/of-dma.c 				struct dma_chan *(*of_dma_xlate)
dma_chan          234 drivers/dma/of-dma.c struct dma_chan *of_dma_request_slave_channel(struct device_node *np,
dma_chan          239 drivers/dma/of-dma.c 	struct dma_chan		*chan;
dma_chan          304 drivers/dma/of-dma.c struct dma_chan *of_dma_simple_xlate(struct of_phandle_args *dma_spec,
dma_chan          334 drivers/dma/of-dma.c struct dma_chan *of_dma_xlate_by_chan_id(struct of_phandle_args *dma_spec,
dma_chan          338 drivers/dma/of-dma.c 	struct dma_chan *chan, *candidate = NULL;
dma_chan          283 drivers/dma/owl-dma.c static struct device *chan2dev(struct dma_chan *chan)
dma_chan          288 drivers/dma/owl-dma.c static inline struct owl_dma_vchan *to_owl_vchan(struct dma_chan *chan)
dma_chan          657 drivers/dma/owl-dma.c static int owl_dma_terminate_all(struct dma_chan *chan)
dma_chan          682 drivers/dma/owl-dma.c static int owl_dma_config(struct dma_chan *chan,
dma_chan          697 drivers/dma/owl-dma.c static int owl_dma_pause(struct dma_chan *chan)
dma_chan          711 drivers/dma/owl-dma.c static int owl_dma_resume(struct dma_chan *chan)
dma_chan          763 drivers/dma/owl-dma.c static enum dma_status owl_dma_tx_status(struct dma_chan *chan,
dma_chan          812 drivers/dma/owl-dma.c static void owl_dma_issue_pending(struct dma_chan *chan)
dma_chan          826 drivers/dma/owl-dma.c 		*owl_dma_prep_memcpy(struct dma_chan *chan,
dma_chan          875 drivers/dma/owl-dma.c 		*owl_dma_prep_slave_sg(struct dma_chan *chan,
dma_chan          940 drivers/dma/owl-dma.c 		*owl_prep_dma_cyclic(struct dma_chan *chan,
dma_chan         1001 drivers/dma/owl-dma.c static void owl_dma_free_chan_resources(struct dma_chan *chan)
dma_chan         1021 drivers/dma/owl-dma.c static struct dma_chan *owl_dma_of_xlate(struct of_phandle_args *dma_spec,
dma_chan         1026 drivers/dma/owl-dma.c 	struct dma_chan *chan;
dma_chan           91 drivers/dma/pch_dma.c 	struct dma_chan		chan;
dma_chan          143 drivers/dma/pch_dma.c static inline struct pch_dma_chan *to_pd_chan(struct dma_chan *chan)
dma_chan          153 drivers/dma/pch_dma.c static inline struct device *chan2dev(struct dma_chan *chan)
dma_chan          158 drivers/dma/pch_dma.c static inline struct device *chan2parent(struct dma_chan *chan)
dma_chan          177 drivers/dma/pch_dma.c static void pdc_enable_irq(struct dma_chan *chan, int enable)
dma_chan          201 drivers/dma/pch_dma.c static void pdc_set_dir(struct dma_chan *chan)
dma_chan          249 drivers/dma/pch_dma.c static void pdc_set_mode(struct dma_chan *chan, u32 mode)
dma_chan          426 drivers/dma/pch_dma.c static struct pch_dma_desc *pdc_alloc_desc(struct dma_chan *chan, gfp_t flags)
dma_chan          489 drivers/dma/pch_dma.c static int pd_alloc_chan_resources(struct dma_chan *chan)
dma_chan          527 drivers/dma/pch_dma.c static void pd_free_chan_resources(struct dma_chan *chan)
dma_chan          549 drivers/dma/pch_dma.c static enum dma_status pd_tx_status(struct dma_chan *chan, dma_cookie_t cookie,
dma_chan          555 drivers/dma/pch_dma.c static void pd_issue_pending(struct dma_chan *chan)
dma_chan          566 drivers/dma/pch_dma.c static struct dma_async_tx_descriptor *pd_prep_slave_sg(struct dma_chan *chan,
dma_chan          652 drivers/dma/pch_dma.c static int pd_device_terminate_all(struct dma_chan *chan)
dma_chan          742 drivers/dma/pch_dma.c 	struct dma_chan *chan, *_c;
dma_chan          765 drivers/dma/pch_dma.c 	struct dma_chan *chan, *_c;
dma_chan          944 drivers/dma/pch_dma.c 	struct dma_chan *chan, *_c;
dma_chan          417 drivers/dma/pl330.c 	struct dma_chan chan;
dma_chan          547 drivers/dma/pl330.c static int pl330_config_write(struct dma_chan *chan,
dma_chan         2016 drivers/dma/pl330.c to_pchan(struct dma_chan *ch)
dma_chan         2130 drivers/dma/pl330.c static struct dma_chan *of_dma_pl330_xlate(struct of_phandle_args *dma_spec,
dma_chan         2150 drivers/dma/pl330.c static int pl330_alloc_chan_resources(struct dma_chan *chan)
dma_chan         2234 drivers/dma/pl330.c static int pl330_config_write(struct dma_chan *chan,
dma_chan         2260 drivers/dma/pl330.c static int pl330_config(struct dma_chan *chan,
dma_chan         2270 drivers/dma/pl330.c static int pl330_terminate_all(struct dma_chan *chan)
dma_chan         2321 drivers/dma/pl330.c static int pl330_pause(struct dma_chan *chan)
dma_chan         2341 drivers/dma/pl330.c static void pl330_free_chan_resources(struct dma_chan *chan)
dma_chan         2392 drivers/dma/pl330.c pl330_tx_status(struct dma_chan *chan, dma_cookie_t cookie,
dma_chan         2462 drivers/dma/pl330.c static void pl330_issue_pending(struct dma_chan *chan)
dma_chan         2665 drivers/dma/pl330.c 		struct dma_chan *chan, dma_addr_t dma_addr, size_t len,
dma_chan         2755 drivers/dma/pl330.c pl330_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dst,
dma_chan         2829 drivers/dma/pl330.c pl330_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
dma_chan           67 drivers/dma/ppc4xx/adma.c 	struct dma_chan *chan;
dma_chan         1224 drivers/dma/ppc4xx/adma.c static int ppc440spe_adma_alloc_chan_resources(struct dma_chan *chan);
dma_chan         1328 drivers/dma/ppc4xx/adma.c static int ppc440spe_adma_estimate(struct dma_chan *chan,
dma_chan         1369 drivers/dma/ppc4xx/adma.c struct dma_chan *
dma_chan         1374 drivers/dma/ppc4xx/adma.c 	struct dma_chan *best_chan = NULL;
dma_chan         1766 drivers/dma/ppc4xx/adma.c static int ppc440spe_adma_alloc_chan_resources(struct dma_chan *chan)
dma_chan         1947 drivers/dma/ppc4xx/adma.c 		struct dma_chan *chan, unsigned long flags)
dma_chan         1978 drivers/dma/ppc4xx/adma.c 		struct dma_chan *chan, dma_addr_t dma_dest,
dma_chan         2019 drivers/dma/ppc4xx/adma.c 		struct dma_chan *chan, dma_addr_t dma_dest,
dma_chan         2510 drivers/dma/ppc4xx/adma.c 		struct dma_chan *chan, dma_addr_t *dst, dma_addr_t *src,
dma_chan         2586 drivers/dma/ppc4xx/adma.c 		struct dma_chan *chan, dma_addr_t *pq, dma_addr_t *src,
dma_chan         2765 drivers/dma/ppc4xx/adma.c 		struct dma_chan *chan, dma_addr_t *src, unsigned int src_cnt,
dma_chan         3535 drivers/dma/ppc4xx/adma.c static void ppc440spe_adma_free_chan_resources(struct dma_chan *chan)
dma_chan         3576 drivers/dma/ppc4xx/adma.c static enum dma_status ppc440spe_adma_tx_status(struct dma_chan *chan,
dma_chan         3636 drivers/dma/ppc4xx/adma.c static void ppc440spe_adma_issue_pending(struct dma_chan *chan)
dma_chan         4242 drivers/dma/ppc4xx/adma.c 	struct dma_chan *chan, *_chan;
dma_chan           97 drivers/dma/ppc4xx/adma.h 	struct dma_chan common;
dma_chan          178 drivers/dma/pxa_dma.c static bool pxad_filter_fn(struct dma_chan *chan, void *param);
dma_chan          685 drivers/dma/pxa_dma.c static int pxad_alloc_chan_resources(struct dma_chan *dchan)
dma_chan          708 drivers/dma/pxa_dma.c static void pxad_free_chan_resources(struct dma_chan *dchan)
dma_chan          826 drivers/dma/pxa_dma.c static void pxad_issue_pending(struct dma_chan *dchan)
dma_chan          924 drivers/dma/pxa_dma.c pxad_prep_memcpy(struct dma_chan *dchan,
dma_chan          971 drivers/dma/pxa_dma.c pxad_prep_slave_sg(struct dma_chan *dchan, struct scatterlist *sgl,
dma_chan         1021 drivers/dma/pxa_dma.c pxad_prep_dma_cyclic(struct dma_chan *dchan,
dma_chan         1073 drivers/dma/pxa_dma.c static int pxad_config(struct dma_chan *dchan,
dma_chan         1085 drivers/dma/pxa_dma.c static int pxad_terminate_all(struct dma_chan *dchan)
dma_chan         1197 drivers/dma/pxa_dma.c static enum dma_status pxad_tx_status(struct dma_chan *dchan,
dma_chan         1214 drivers/dma/pxa_dma.c static void pxad_synchronize(struct dma_chan *dchan)
dma_chan         1292 drivers/dma/pxa_dma.c static struct dma_chan *pxad_dma_xlate(struct of_phandle_args *dma_spec,
dma_chan         1296 drivers/dma/pxa_dma.c 	struct dma_chan *chan;
dma_chan         1454 drivers/dma/pxa_dma.c static bool pxad_filter_fn(struct dma_chan *chan, void *param)
dma_chan          375 drivers/dma/qcom/bam_dma.c static inline struct bam_chan *to_bam_chan(struct dma_chan *common)
dma_chan          499 drivers/dma/qcom/bam_dma.c static int bam_alloc_chan(struct dma_chan *chan)
dma_chan          534 drivers/dma/qcom/bam_dma.c static void bam_free_chan(struct dma_chan *chan)
dma_chan          582 drivers/dma/qcom/bam_dma.c static int bam_slave_config(struct dma_chan *chan,
dma_chan          606 drivers/dma/qcom/bam_dma.c static struct dma_async_tx_descriptor *bam_prep_slave_sg(struct dma_chan *chan,
dma_chan          688 drivers/dma/qcom/bam_dma.c static int bam_dma_terminate_all(struct dma_chan *chan)
dma_chan          735 drivers/dma/qcom/bam_dma.c static int bam_pause(struct dma_chan *chan)
dma_chan          761 drivers/dma/qcom/bam_dma.c static int bam_resume(struct dma_chan *chan)
dma_chan          907 drivers/dma/qcom/bam_dma.c static enum dma_status bam_tx_status(struct dma_chan *chan, dma_cookie_t cookie,
dma_chan         1103 drivers/dma/qcom/bam_dma.c static void bam_issue_pending(struct dma_chan *chan)
dma_chan         1130 drivers/dma/qcom/bam_dma.c static struct dma_chan *bam_dma_xlate(struct of_phandle_args *dma_spec,
dma_chan           88 drivers/dma/qcom/hidma.c static inline struct hidma_chan *to_hidma_chan(struct dma_chan *dmach)
dma_chan          235 drivers/dma/qcom/hidma.c static void hidma_issue_pending(struct dma_chan *dmach)
dma_chan          278 drivers/dma/qcom/hidma.c static enum dma_status hidma_tx_status(struct dma_chan *dmach,
dma_chan          348 drivers/dma/qcom/hidma.c static int hidma_alloc_chan_resources(struct dma_chan *dmach)
dma_chan          400 drivers/dma/qcom/hidma.c hidma_prep_dma_memcpy(struct dma_chan *dmach, dma_addr_t dest, dma_addr_t src,
dma_chan          433 drivers/dma/qcom/hidma.c hidma_prep_dma_memset(struct dma_chan *dmach, dma_addr_t dest, int value,
dma_chan          465 drivers/dma/qcom/hidma.c static int hidma_terminate_channel(struct dma_chan *chan)
dma_chan          512 drivers/dma/qcom/hidma.c static int hidma_terminate_all(struct dma_chan *chan)
dma_chan          530 drivers/dma/qcom/hidma.c static void hidma_free_chan_resources(struct dma_chan *dmach)
dma_chan          557 drivers/dma/qcom/hidma.c static int hidma_pause(struct dma_chan *chan)
dma_chan          575 drivers/dma/qcom/hidma.c static int hidma_resume(struct dma_chan *chan)
dma_chan           99 drivers/dma/qcom/hidma.h 	struct dma_chan			chan;
dma_chan          365 drivers/dma/s3c24xx-dma.c struct s3c24xx_dma_chan *to_s3c24xx_dma_chan(struct dma_chan *chan)
dma_chan          379 drivers/dma/s3c24xx-dma.c static int s3c24xx_dma_set_runtime_config(struct dma_chan *chan,
dma_chan          708 drivers/dma/s3c24xx-dma.c static int s3c24xx_dma_terminate_all(struct dma_chan *chan)
dma_chan          744 drivers/dma/s3c24xx-dma.c static void s3c24xx_dma_synchronize(struct dma_chan *chan)
dma_chan          751 drivers/dma/s3c24xx-dma.c static void s3c24xx_dma_free_chan_resources(struct dma_chan *chan)
dma_chan          757 drivers/dma/s3c24xx-dma.c static enum dma_status s3c24xx_dma_tx_status(struct dma_chan *chan,
dma_chan          816 drivers/dma/s3c24xx-dma.c 		struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
dma_chan          878 drivers/dma/s3c24xx-dma.c 	struct dma_chan *chan, dma_addr_t addr, size_t size, size_t period,
dma_chan          975 drivers/dma/s3c24xx-dma.c 		struct dma_chan *chan, struct scatterlist *sgl,
dma_chan         1067 drivers/dma/s3c24xx-dma.c static void s3c24xx_dma_issue_pending(struct dma_chan *chan)
dma_chan         1413 drivers/dma/s3c24xx-dma.c bool s3c24xx_dma_filter(struct dma_chan *chan, void *param)
dma_chan          126 drivers/dma/sa11x0-dma.c static struct sa11x0_dma_chan *to_sa11x0_dma_chan(struct dma_chan *chan)
dma_chan          388 drivers/dma/sa11x0-dma.c static void sa11x0_dma_free_chan_resources(struct dma_chan *chan)
dma_chan          417 drivers/dma/sa11x0-dma.c static enum dma_status sa11x0_dma_tx_status(struct dma_chan *chan,
dma_chan          500 drivers/dma/sa11x0-dma.c static void sa11x0_dma_issue_pending(struct dma_chan *chan)
dma_chan          523 drivers/dma/sa11x0-dma.c 	struct dma_chan *chan, struct scatterlist *sg, unsigned int sglen,
dma_chan          605 drivers/dma/sa11x0-dma.c 	struct dma_chan *chan, dma_addr_t addr, size_t size, size_t period,
dma_chan          663 drivers/dma/sa11x0-dma.c static int sa11x0_dma_device_config(struct dma_chan *chan,
dma_chan          700 drivers/dma/sa11x0-dma.c static int sa11x0_dma_device_pause(struct dma_chan *chan)
dma_chan          726 drivers/dma/sa11x0-dma.c static int sa11x0_dma_device_resume(struct dma_chan *chan)
dma_chan          752 drivers/dma/sa11x0-dma.c static int sa11x0_dma_device_terminate_all(struct dma_chan *chan)
dma_chan          827 drivers/dma/sa11x0-dma.c static bool sa11x0_dma_filter_fn(struct dma_chan *chan, void *param)
dma_chan          160 drivers/dma/sh/rcar-dmac.c 	struct dma_chan chan;
dma_chan          829 drivers/dma/sh/rcar-dmac.c static int rcar_dmac_chan_pause(struct dma_chan *chan)
dma_chan         1020 drivers/dma/sh/rcar-dmac.c static int rcar_dmac_alloc_chan_resources(struct dma_chan *chan)
dma_chan         1040 drivers/dma/sh/rcar-dmac.c static void rcar_dmac_free_chan_resources(struct dma_chan *chan)
dma_chan         1093 drivers/dma/sh/rcar-dmac.c rcar_dmac_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dma_dest,
dma_chan         1112 drivers/dma/sh/rcar-dmac.c static int rcar_dmac_map_slave_addr(struct dma_chan *chan,
dma_chan         1166 drivers/dma/sh/rcar-dmac.c rcar_dmac_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
dma_chan         1190 drivers/dma/sh/rcar-dmac.c rcar_dmac_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr,
dma_chan         1245 drivers/dma/sh/rcar-dmac.c static int rcar_dmac_device_config(struct dma_chan *chan,
dma_chan         1262 drivers/dma/sh/rcar-dmac.c static int rcar_dmac_chan_terminate_all(struct dma_chan *chan)
dma_chan         1388 drivers/dma/sh/rcar-dmac.c static enum dma_status rcar_dmac_tx_status(struct dma_chan *chan,
dma_chan         1416 drivers/dma/sh/rcar-dmac.c static void rcar_dmac_issue_pending(struct dma_chan *chan)
dma_chan         1447 drivers/dma/sh/rcar-dmac.c static void rcar_dmac_device_synchronize(struct dma_chan *chan)
dma_chan         1650 drivers/dma/sh/rcar-dmac.c static bool rcar_dmac_chan_filter(struct dma_chan *chan, void *arg)
dma_chan         1668 drivers/dma/sh/rcar-dmac.c static struct dma_chan *rcar_dmac_of_xlate(struct of_phandle_args *dma_spec,
dma_chan         1672 drivers/dma/sh/rcar-dmac.c 	struct dma_chan *chan;
dma_chan         1732 drivers/dma/sh/rcar-dmac.c 	struct dma_chan *chan = &rchan->chan;
dma_chan           36 drivers/dma/sh/shdma-base.c #define to_shdma_chan(c) container_of(c, struct shdma_chan, dma_chan)
dma_chan           54 drivers/dma/sh/shdma-base.c 	struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device);
dma_chan          128 drivers/dma/sh/shdma-base.c 				to_shdma_dev(schan->dma_chan.device);
dma_chan          173 drivers/dma/sh/shdma-base.c 	struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device);
dma_chan          203 drivers/dma/sh/shdma-base.c static int shdma_alloc_chan_resources(struct dma_chan *chan)
dma_chan          206 drivers/dma/sh/shdma-base.c 	struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device);
dma_chan          238 drivers/dma/sh/shdma-base.c 					     &schan->dma_chan);
dma_chan          274 drivers/dma/sh/shdma-base.c bool shdma_chan_filter(struct dma_chan *chan, void *arg)
dma_chan          357 drivers/dma/sh/shdma-base.c 			if (schan->dma_chan.completed_cookie != desc->cookie - 1)
dma_chan          361 drivers/dma/sh/shdma-base.c 					schan->dma_chan.completed_cookie + 1);
dma_chan          362 drivers/dma/sh/shdma-base.c 			schan->dma_chan.completed_cookie = desc->cookie;
dma_chan          425 drivers/dma/sh/shdma-base.c 		schan->dma_chan.completed_cookie = schan->dma_chan.cookie;
dma_chan          450 drivers/dma/sh/shdma-base.c static void shdma_free_chan_resources(struct dma_chan *chan)
dma_chan          505 drivers/dma/sh/shdma-base.c 	struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device);
dma_chan          640 drivers/dma/sh/shdma-base.c 	struct dma_chan *chan, dma_addr_t dma_dest, dma_addr_t dma_src,
dma_chan          662 drivers/dma/sh/shdma-base.c 	struct dma_chan *chan, struct scatterlist *sgl, unsigned int sg_len,
dma_chan          666 drivers/dma/sh/shdma-base.c 	struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device);
dma_chan          692 drivers/dma/sh/shdma-base.c 	struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
dma_chan          697 drivers/dma/sh/shdma-base.c 	struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device);
dma_chan          753 drivers/dma/sh/shdma-base.c static int shdma_terminate_all(struct dma_chan *chan)
dma_chan          777 drivers/dma/sh/shdma-base.c static int shdma_config(struct dma_chan *chan,
dma_chan          806 drivers/dma/sh/shdma-base.c static void shdma_issue_pending(struct dma_chan *chan)
dma_chan          818 drivers/dma/sh/shdma-base.c static enum dma_status shdma_tx_status(struct dma_chan *chan,
dma_chan          905 drivers/dma/sh/shdma-base.c 		to_shdma_dev(schan->dma_chan.device)->ops;
dma_chan          921 drivers/dma/sh/shdma-base.c 		to_shdma_dev(schan->dma_chan.device)->ops;
dma_chan          961 drivers/dma/sh/shdma-base.c 	schan->dma_chan.device = &sdev->dma_dev;
dma_chan          962 drivers/dma/sh/shdma-base.c 	dma_cookie_init(&schan->dma_chan);
dma_chan          977 drivers/dma/sh/shdma-base.c 	list_add_tail(&schan->dma_chan.device_node,
dma_chan          985 drivers/dma/sh/shdma-base.c 	list_del(&schan->dma_chan.device_node);
dma_chan           17 drivers/dma/sh/shdma-of.c #define to_shdma_chan(c) container_of(c, struct shdma_chan, dma_chan)
dma_chan           19 drivers/dma/sh/shdma-of.c static struct dma_chan *shdma_of_xlate(struct of_phandle_args *dma_spec,
dma_chan           24 drivers/dma/sh/shdma-of.c 	struct dma_chan *chan;
dma_chan           58 drivers/dma/sh/shdma.h #define to_sh_dev(chan) container_of(chan->shdma_chan.dma_chan.device,\
dma_chan          345 drivers/dma/sh/usb-dmac.c 	struct dma_chan *chan = &uchan->vc.chan;
dma_chan          381 drivers/dma/sh/usb-dmac.c static int usb_dmac_alloc_chan_resources(struct dma_chan *chan)
dma_chan          399 drivers/dma/sh/usb-dmac.c static void usb_dmac_free_chan_resources(struct dma_chan *chan)
dma_chan          416 drivers/dma/sh/usb-dmac.c usb_dmac_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          445 drivers/dma/sh/usb-dmac.c static int usb_dmac_chan_terminate_all(struct dma_chan *chan)
dma_chan          528 drivers/dma/sh/usb-dmac.c static enum dma_status usb_dmac_tx_status(struct dma_chan *chan,
dma_chan          554 drivers/dma/sh/usb-dmac.c static void usb_dmac_issue_pending(struct dma_chan *chan)
dma_chan          634 drivers/dma/sh/usb-dmac.c static bool usb_dmac_chan_filter(struct dma_chan *chan, void *arg)
dma_chan          646 drivers/dma/sh/usb-dmac.c static struct dma_chan *usb_dmac_of_xlate(struct of_phandle_args *dma_spec,
dma_chan          649 drivers/dma/sh/usb-dmac.c 	struct dma_chan *chan;
dma_chan           98 drivers/dma/sirf-dma.c 	struct dma_chan			chan;
dma_chan          150 drivers/dma/sirf-dma.c struct sirfsoc_dma_chan *dma_chan_to_sirfsoc_dma_chan(struct dma_chan *c)
dma_chan          156 drivers/dma/sirf-dma.c static inline struct sirfsoc_dma *dma_chan_to_sirfsoc_dma(struct dma_chan *c)
dma_chan          425 drivers/dma/sirf-dma.c static int sirfsoc_dma_slave_config(struct dma_chan *chan,
dma_chan          442 drivers/dma/sirf-dma.c static int sirfsoc_dma_terminate_all(struct dma_chan *chan)
dma_chan          488 drivers/dma/sirf-dma.c static int sirfsoc_dma_pause_chan(struct dma_chan *chan)
dma_chan          522 drivers/dma/sirf-dma.c static int sirfsoc_dma_resume_chan(struct dma_chan *chan)
dma_chan          556 drivers/dma/sirf-dma.c static int sirfsoc_dma_alloc_chan_resources(struct dma_chan *chan)
dma_chan          596 drivers/dma/sirf-dma.c static void sirfsoc_dma_free_chan_resources(struct dma_chan *chan)
dma_chan          625 drivers/dma/sirf-dma.c static void sirfsoc_dma_issue_pending(struct dma_chan *chan)
dma_chan          640 drivers/dma/sirf-dma.c sirfsoc_dma_tx_status(struct dma_chan *chan, dma_cookie_t cookie,
dma_chan          689 drivers/dma/sirf-dma.c 	struct dma_chan *chan, struct dma_interleaved_template *xt,
dma_chan          757 drivers/dma/sirf-dma.c sirfsoc_dma_prep_cyclic(struct dma_chan *chan, dma_addr_t addr,
dma_chan          808 drivers/dma/sirf-dma.c bool sirfsoc_dma_filter_id(struct dma_chan *chan, void *chan_id)
dma_chan          827 drivers/dma/sirf-dma.c static struct dma_chan *of_dma_sirfsoc_xlate(struct of_phandle_args *dma_spec,
dma_chan          216 drivers/dma/sprd-dma.c static bool sprd_dma_filter_fn(struct dma_chan *chan, void *param);
dma_chan          221 drivers/dma/sprd-dma.c static inline struct sprd_dma_chn *to_sprd_dma_chan(struct dma_chan *c)
dma_chan          226 drivers/dma/sprd-dma.c static inline struct sprd_dma_dev *to_sprd_dma_dev(struct dma_chan *c)
dma_chan          609 drivers/dma/sprd-dma.c static int sprd_dma_alloc_chan_resources(struct dma_chan *chan)
dma_chan          614 drivers/dma/sprd-dma.c static void sprd_dma_free_chan_resources(struct dma_chan *chan)
dma_chan          634 drivers/dma/sprd-dma.c static enum dma_status sprd_dma_tx_status(struct dma_chan *chan,
dma_chan          678 drivers/dma/sprd-dma.c static void sprd_dma_issue_pending(struct dma_chan *chan)
dma_chan          717 drivers/dma/sprd-dma.c static int sprd_dma_fill_desc(struct dma_chan *chan,
dma_chan          844 drivers/dma/sprd-dma.c static int sprd_dma_fill_linklist_desc(struct dma_chan *chan,
dma_chan          865 drivers/dma/sprd-dma.c sprd_dma_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
dma_chan          920 drivers/dma/sprd-dma.c sprd_dma_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
dma_chan         1005 drivers/dma/sprd-dma.c static int sprd_dma_slave_config(struct dma_chan *chan,
dma_chan         1015 drivers/dma/sprd-dma.c static int sprd_dma_pause(struct dma_chan *chan)
dma_chan         1027 drivers/dma/sprd-dma.c static int sprd_dma_resume(struct dma_chan *chan)
dma_chan         1039 drivers/dma/sprd-dma.c static int sprd_dma_terminate_all(struct dma_chan *chan)
dma_chan         1069 drivers/dma/sprd-dma.c static bool sprd_dma_filter_fn(struct dma_chan *chan, void *param)
dma_chan           21 drivers/dma/st_fdma.c static inline struct st_fdma_chan *to_st_fdma_chan(struct dma_chan *c)
dma_chan          165 drivers/dma/st_fdma.c static struct dma_chan *st_fdma_of_xlate(struct of_phandle_args *dma_spec,
dma_chan          169 drivers/dma/st_fdma.c 	struct dma_chan *chan;
dma_chan          264 drivers/dma/st_fdma.c static int st_fdma_alloc_chan_res(struct dma_chan *chan)
dma_chan          286 drivers/dma/st_fdma.c static void st_fdma_free_chan_res(struct dma_chan *chan)
dma_chan          310 drivers/dma/st_fdma.c 	struct dma_chan *chan,	dma_addr_t dst, dma_addr_t src,
dma_chan          428 drivers/dma/st_fdma.c static inline struct st_fdma_chan *st_fdma_prep_common(struct dma_chan *chan,
dma_chan          447 drivers/dma/st_fdma.c 		struct dma_chan *chan, dma_addr_t buf_addr, size_t len,
dma_chan          506 drivers/dma/st_fdma.c 		struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          579 drivers/dma/st_fdma.c static enum dma_status st_fdma_tx_status(struct dma_chan *chan,
dma_chan          606 drivers/dma/st_fdma.c static void st_fdma_issue_pending(struct dma_chan *chan)
dma_chan          619 drivers/dma/st_fdma.c static int st_fdma_pause(struct dma_chan *chan)
dma_chan          636 drivers/dma/st_fdma.c static int st_fdma_resume(struct dma_chan *chan)
dma_chan          656 drivers/dma/st_fdma.c static int st_fdma_terminate_all(struct dma_chan *chan)
dma_chan          676 drivers/dma/st_fdma.c static int st_fdma_slave_config(struct dma_chan *chan,
dma_chan          463 drivers/dma/ste_dma40.c 	struct dma_chan			 chan;
dma_chan          630 drivers/dma/ste_dma40.c static int d40_set_runtime_config_write(struct dma_chan *chan,
dma_chan         1413 drivers/dma/ste_dma40.c static int d40_pause(struct dma_chan *chan)
dma_chan         1438 drivers/dma/ste_dma40.c static int d40_resume(struct dma_chan *chan)
dma_chan         2095 drivers/dma/ste_dma40.c static u32 stedma40_residue(struct dma_chan *chan)
dma_chan         2209 drivers/dma/ste_dma40.c d40_prep_sg(struct dma_chan *dchan, struct scatterlist *sg_src,
dma_chan         2272 drivers/dma/ste_dma40.c bool stedma40_filter(struct dma_chan *chan, void *data)
dma_chan         2346 drivers/dma/ste_dma40.c static struct dma_chan *d40_xlate(struct of_phandle_args *dma_spec,
dma_chan         2389 drivers/dma/ste_dma40.c static int d40_alloc_chan_resources(struct dma_chan *chan)
dma_chan         2454 drivers/dma/ste_dma40.c static void d40_free_chan_resources(struct dma_chan *chan)
dma_chan         2475 drivers/dma/ste_dma40.c static struct dma_async_tx_descriptor *d40_prep_memcpy(struct dma_chan *chan,
dma_chan         2498 drivers/dma/ste_dma40.c d40_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
dma_chan         2509 drivers/dma/ste_dma40.c dma40_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t dma_addr,
dma_chan         2538 drivers/dma/ste_dma40.c static enum dma_status d40_tx_status(struct dma_chan *chan,
dma_chan         2560 drivers/dma/ste_dma40.c static void d40_issue_pending(struct dma_chan *chan)
dma_chan         2581 drivers/dma/ste_dma40.c static int d40_terminate_all(struct dma_chan *chan)
dma_chan         2645 drivers/dma/ste_dma40.c static int d40_set_runtime_config(struct dma_chan *chan,
dma_chan         2656 drivers/dma/ste_dma40.c static int d40_set_runtime_config_write(struct dma_chan *chan,
dma_chan          221 drivers/dma/stm32-dma.c static struct stm32_dma_chan *to_stm32_dma_chan(struct dma_chan *c)
dma_chan          366 drivers/dma/stm32-dma.c static int stm32_dma_slave_config(struct dma_chan *c,
dma_chan          483 drivers/dma/stm32-dma.c static int stm32_dma_terminate_all(struct dma_chan *c)
dma_chan          503 drivers/dma/stm32-dma.c static void stm32_dma_synchronize(struct dma_chan *c)
dma_chan          678 drivers/dma/stm32-dma.c static void stm32_dma_issue_pending(struct dma_chan *c)
dma_chan          829 drivers/dma/stm32-dma.c 	struct dma_chan *c, struct scatterlist *sgl,
dma_chan          894 drivers/dma/stm32-dma.c 	struct dma_chan *c, dma_addr_t buf_addr, size_t buf_len,
dma_chan          975 drivers/dma/stm32-dma.c 	struct dma_chan *c, dma_addr_t dest,
dma_chan         1140 drivers/dma/stm32-dma.c static enum dma_status stm32_dma_tx_status(struct dma_chan *c,
dma_chan         1169 drivers/dma/stm32-dma.c static int stm32_dma_alloc_chan_resources(struct dma_chan *c)
dma_chan         1188 drivers/dma/stm32-dma.c static void stm32_dma_free_chan_resources(struct dma_chan *c)
dma_chan         1227 drivers/dma/stm32-dma.c static struct dma_chan *stm32_dma_of_xlate(struct of_phandle_args *dma_spec,
dma_chan         1234 drivers/dma/stm32-dma.c 	struct dma_chan *c;
dma_chan          291 drivers/dma/stm32-mdma.c static struct stm32_mdma_chan *to_stm32_mdma_chan(struct dma_chan *c)
dma_chan          781 drivers/dma/stm32-mdma.c stm32_mdma_prep_slave_sg(struct dma_chan *c, struct scatterlist *sgl,
dma_chan          821 drivers/dma/stm32-mdma.c stm32_mdma_prep_dma_cyclic(struct dma_chan *c, dma_addr_t buf_addr,
dma_chan          912 drivers/dma/stm32-mdma.c stm32_mdma_prep_dma_memcpy(struct dma_chan *c, dma_addr_t dest, dma_addr_t src,
dma_chan         1166 drivers/dma/stm32-mdma.c static void stm32_mdma_issue_pending(struct dma_chan *c)
dma_chan         1185 drivers/dma/stm32-mdma.c static int stm32_mdma_pause(struct dma_chan *c)
dma_chan         1201 drivers/dma/stm32-mdma.c static int stm32_mdma_resume(struct dma_chan *c)
dma_chan         1238 drivers/dma/stm32-mdma.c static int stm32_mdma_terminate_all(struct dma_chan *c)
dma_chan         1257 drivers/dma/stm32-mdma.c static void stm32_mdma_synchronize(struct dma_chan *c)
dma_chan         1264 drivers/dma/stm32-mdma.c static int stm32_mdma_slave_config(struct dma_chan *c,
dma_chan         1302 drivers/dma/stm32-mdma.c static enum dma_status stm32_mdma_tx_status(struct dma_chan *c,
dma_chan         1433 drivers/dma/stm32-mdma.c static int stm32_mdma_alloc_chan_resources(struct dma_chan *c)
dma_chan         1460 drivers/dma/stm32-mdma.c static void stm32_mdma_free_chan_resources(struct dma_chan *c)
dma_chan         1481 drivers/dma/stm32-mdma.c static struct dma_chan *stm32_mdma_of_xlate(struct of_phandle_args *dma_spec,
dma_chan         1486 drivers/dma/stm32-mdma.c 	struct dma_chan *c;
dma_chan          177 drivers/dma/sun4i-dma.c static struct sun4i_dma_vchan *to_sun4i_dma_vchan(struct dma_chan *chan)
dma_chan          187 drivers/dma/sun4i-dma.c static struct device *chan2dev(struct dma_chan *chan)
dma_chan          210 drivers/dma/sun4i-dma.c static void sun4i_dma_free_chan_resources(struct dma_chan *chan)
dma_chan          432 drivers/dma/sun4i-dma.c generate_ndma_promise(struct dma_chan *chan, dma_addr_t src, dma_addr_t dest,
dma_chan          499 drivers/dma/sun4i-dma.c generate_ddma_promise(struct dma_chan *chan, dma_addr_t src, dma_addr_t dest,
dma_chan          611 drivers/dma/sun4i-dma.c sun4i_dma_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest,
dma_chan          661 drivers/dma/sun4i-dma.c sun4i_dma_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf, size_t len,
dma_chan          767 drivers/dma/sun4i-dma.c sun4i_dma_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          862 drivers/dma/sun4i-dma.c static int sun4i_dma_terminate_all(struct dma_chan *chan)
dma_chan          897 drivers/dma/sun4i-dma.c static int sun4i_dma_config(struct dma_chan *chan,
dma_chan          907 drivers/dma/sun4i-dma.c static struct dma_chan *sun4i_dma_of_xlate(struct of_phandle_args *dma_spec,
dma_chan          912 drivers/dma/sun4i-dma.c 	struct dma_chan *chan;
dma_chan          937 drivers/dma/sun4i-dma.c static enum dma_status sun4i_dma_tx_status(struct dma_chan *chan,
dma_chan          986 drivers/dma/sun4i-dma.c static void sun4i_dma_issue_pending(struct dma_chan *chan)
dma_chan          205 drivers/dma/sun6i-dma.c static struct device *chan2dev(struct dma_chan *chan)
dma_chan          215 drivers/dma/sun6i-dma.c static inline struct sun6i_vchan *to_sun6i_vchan(struct dma_chan *chan)
dma_chan          630 drivers/dma/sun6i-dma.c 		struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
dma_chan          683 drivers/dma/sun6i-dma.c 		struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          762 drivers/dma/sun6i-dma.c 					struct dma_chan *chan,
dma_chan          829 drivers/dma/sun6i-dma.c static int sun6i_dma_config(struct dma_chan *chan,
dma_chan          839 drivers/dma/sun6i-dma.c static int sun6i_dma_pause(struct dma_chan *chan)
dma_chan          859 drivers/dma/sun6i-dma.c static int sun6i_dma_resume(struct dma_chan *chan)
dma_chan          884 drivers/dma/sun6i-dma.c static int sun6i_dma_terminate_all(struct dma_chan *chan)
dma_chan          927 drivers/dma/sun6i-dma.c static enum dma_status sun6i_dma_tx_status(struct dma_chan *chan,
dma_chan          965 drivers/dma/sun6i-dma.c static void sun6i_dma_issue_pending(struct dma_chan *chan)
dma_chan          992 drivers/dma/sun6i-dma.c static void sun6i_dma_free_chan_resources(struct dma_chan *chan)
dma_chan         1005 drivers/dma/sun6i-dma.c static struct dma_chan *sun6i_dma_of_xlate(struct of_phandle_args *dma_spec,
dma_chan         1010 drivers/dma/sun6i-dma.c 	struct dma_chan *chan;
dma_chan          181 drivers/dma/tegra20-apb-dma.c 	struct dma_chan		dma_chan;
dma_chan          253 drivers/dma/tegra20-apb-dma.c static inline struct tegra_dma_channel *to_tegra_dma_chan(struct dma_chan *dc)
dma_chan          255 drivers/dma/tegra20-apb-dma.c 	return container_of(dc, struct tegra_dma_channel, dma_chan);
dma_chan          266 drivers/dma/tegra20-apb-dma.c 	return &tdc->dma_chan.dev->device;
dma_chan          299 drivers/dma/tegra20-apb-dma.c 	dma_async_tx_descriptor_init(&dma_desc->txd, &tdc->dma_chan);
dma_chan          338 drivers/dma/tegra20-apb-dma.c static int tegra_dma_slave_config(struct dma_chan *dc,
dma_chan          672 drivers/dma/tegra20-apb-dma.c 		trace_tegra_dma_complete_cb(&tdc->dma_chan, cb_count,
dma_chan          690 drivers/dma/tegra20-apb-dma.c 	trace_tegra_dma_isr(&tdc->dma_chan, irq);
dma_chan          721 drivers/dma/tegra20-apb-dma.c static void tegra_dma_issue_pending(struct dma_chan *dc)
dma_chan          748 drivers/dma/tegra20-apb-dma.c static int tegra_dma_terminate_all(struct dma_chan *dc)
dma_chan          860 drivers/dma/tegra20-apb-dma.c static enum dma_status tegra_dma_tx_status(struct dma_chan *dc,
dma_chan          906 drivers/dma/tegra20-apb-dma.c 	trace_tegra_dma_tx_status(&tdc->dma_chan, cookie, txstate);
dma_chan         1001 drivers/dma/tegra20-apb-dma.c 	struct dma_chan *dc, struct scatterlist *sgl, unsigned int sg_len,
dma_chan         1124 drivers/dma/tegra20-apb-dma.c 	struct dma_chan *dc, dma_addr_t buf_addr, size_t buf_len,
dma_chan         1259 drivers/dma/tegra20-apb-dma.c static int tegra_dma_alloc_chan_resources(struct dma_chan *dc)
dma_chan         1265 drivers/dma/tegra20-apb-dma.c 	dma_cookie_init(&tdc->dma_chan);
dma_chan         1275 drivers/dma/tegra20-apb-dma.c static void tegra_dma_free_chan_resources(struct dma_chan *dc)
dma_chan         1319 drivers/dma/tegra20-apb-dma.c static struct dma_chan *tegra_dma_of_xlate(struct of_phandle_args *dma_spec,
dma_chan         1323 drivers/dma/tegra20-apb-dma.c 	struct dma_chan *chan;
dma_chan         1467 drivers/dma/tegra20-apb-dma.c 		tdc->dma_chan.device = &tdma->dma_dev;
dma_chan         1468 drivers/dma/tegra20-apb-dma.c 		dma_cookie_init(&tdc->dma_chan);
dma_chan         1469 drivers/dma/tegra20-apb-dma.c 		list_add_tail(&tdc->dma_chan.device_node,
dma_chan          190 drivers/dma/tegra210-adma.c static inline struct tegra_adma_chan *to_tegra_adma_chan(struct dma_chan *dc)
dma_chan          211 drivers/dma/tegra210-adma.c static int tegra_adma_slave_config(struct dma_chan *dc,
dma_chan          428 drivers/dma/tegra210-adma.c static void tegra_adma_issue_pending(struct dma_chan *dc)
dma_chan          453 drivers/dma/tegra210-adma.c static int tegra_adma_pause(struct dma_chan *dc)
dma_chan          475 drivers/dma/tegra210-adma.c static int tegra_adma_resume(struct dma_chan *dc)
dma_chan          488 drivers/dma/tegra210-adma.c static int tegra_adma_terminate_all(struct dma_chan *dc)
dma_chan          507 drivers/dma/tegra210-adma.c static enum dma_status tegra_adma_tx_status(struct dma_chan *dc,
dma_chan          609 drivers/dma/tegra210-adma.c 	struct dma_chan *dc, dma_addr_t buf_addr, size_t buf_len,
dma_chan          647 drivers/dma/tegra210-adma.c static int tegra_adma_alloc_chan_resources(struct dma_chan *dc)
dma_chan          670 drivers/dma/tegra210-adma.c static void tegra_adma_free_chan_resources(struct dma_chan *dc)
dma_chan          684 drivers/dma/tegra210-adma.c static struct dma_chan *tegra_dma_of_xlate(struct of_phandle_args *dma_spec,
dma_chan          689 drivers/dma/tegra210-adma.c 	struct dma_chan *chan;
dma_chan           86 drivers/dma/ti/cppi41.c 	struct dma_chan chan;
dma_chan          249 drivers/dma/ti/cppi41.c static struct cppi41_channel *to_cpp41_chan(struct dma_chan *c)
dma_chan          371 drivers/dma/ti/cppi41.c static int cppi41_dma_alloc_chan_resources(struct dma_chan *chan)
dma_chan          399 drivers/dma/ti/cppi41.c static void cppi41_dma_free_chan_resources(struct dma_chan *chan)
dma_chan          418 drivers/dma/ti/cppi41.c static enum dma_status cppi41_dma_tx_status(struct dma_chan *chan,
dma_chan          490 drivers/dma/ti/cppi41.c static void cppi41_dma_issue_pending(struct dma_chan *chan)
dma_chan          585 drivers/dma/ti/cppi41.c 	struct dma_chan *chan, struct scatterlist *sgl, unsigned sg_len,
dma_chan          736 drivers/dma/ti/cppi41.c static int cppi41_stop_chan(struct dma_chan *chan)
dma_chan          946 drivers/dma/ti/cppi41.c static bool cpp41_dma_filter_fn(struct dma_chan *chan, void *param)
dma_chan          983 drivers/dma/ti/cppi41.c static struct dma_chan *cppi41_dma_xlate(struct of_phandle_args *dma_spec,
dma_chan          746 drivers/dma/ti/edma.c static inline struct edma_chan *to_edma_chan(struct dma_chan *c)
dma_chan          855 drivers/dma/ti/edma.c static int edma_terminate_all(struct dma_chan *chan)
dma_chan          885 drivers/dma/ti/edma.c static void edma_synchronize(struct dma_chan *chan)
dma_chan          892 drivers/dma/ti/edma.c static int edma_slave_config(struct dma_chan *chan,
dma_chan          910 drivers/dma/ti/edma.c static int edma_dma_pause(struct dma_chan *chan)
dma_chan          921 drivers/dma/ti/edma.c static int edma_dma_resume(struct dma_chan *chan)
dma_chan          940 drivers/dma/ti/edma.c static int edma_config_pset(struct dma_chan *chan, struct edma_pset *epset,
dma_chan         1054 drivers/dma/ti/edma.c 	struct dma_chan *chan, struct scatterlist *sgl,
dma_chan         1150 drivers/dma/ti/edma.c 	struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
dma_chan         1266 drivers/dma/ti/edma.c 	struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
dma_chan         1635 drivers/dma/ti/edma.c static int edma_alloc_chan_resources(struct dma_chan *chan)
dma_chan         1679 drivers/dma/ti/edma.c static void edma_free_chan_resources(struct dma_chan *chan)
dma_chan         1715 drivers/dma/ti/edma.c static void edma_issue_pending(struct dma_chan *chan)
dma_chan         1825 drivers/dma/ti/edma.c static enum dma_status edma_tx_status(struct dma_chan *chan,
dma_chan         2195 drivers/dma/ti/edma.c static struct dma_chan *of_edma_xlate(struct of_phandle_args *dma_spec,
dma_chan         2199 drivers/dma/ti/edma.c 	struct dma_chan *chan = NULL;
dma_chan         2239 drivers/dma/ti/edma.c static struct dma_chan *of_edma_xlate(struct of_phandle_args *dma_spec,
dma_chan         2246 drivers/dma/ti/edma.c static bool edma_filter_fn(struct dma_chan *chan, void *param);
dma_chan         2590 drivers/dma/ti/edma.c static bool edma_filter_fn(struct dma_chan *chan, void *param)
dma_chan          206 drivers/dma/ti/omap-dma.c static bool omap_dma_filter_fn(struct dma_chan *chan, void *param);
dma_chan          216 drivers/dma/ti/omap-dma.c static inline struct omap_chan *to_omap_dma_chan(struct dma_chan *c)
dma_chan          636 drivers/dma/ti/omap-dma.c static int omap_dma_alloc_chan_resources(struct dma_chan *chan)
dma_chan          690 drivers/dma/ti/omap-dma.c static void omap_dma_free_chan_resources(struct dma_chan *chan)
dma_chan          813 drivers/dma/ti/omap-dma.c static enum dma_status omap_dma_tx_status(struct dma_chan *chan,
dma_chan          874 drivers/dma/ti/omap-dma.c static void omap_dma_issue_pending(struct dma_chan *chan)
dma_chan          886 drivers/dma/ti/omap-dma.c 	struct dma_chan *chan, struct scatterlist *sgl, unsigned sglen,
dma_chan         1068 drivers/dma/ti/omap-dma.c 	struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
dma_chan         1169 drivers/dma/ti/omap-dma.c 	struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
dma_chan         1215 drivers/dma/ti/omap-dma.c 	struct dma_chan *chan, struct dma_interleaved_template *xt,
dma_chan         1297 drivers/dma/ti/omap-dma.c static int omap_dma_slave_config(struct dma_chan *chan, struct dma_slave_config *cfg)
dma_chan         1314 drivers/dma/ti/omap-dma.c static int omap_dma_terminate_all(struct dma_chan *chan)
dma_chan         1345 drivers/dma/ti/omap-dma.c static void omap_dma_synchronize(struct dma_chan *chan)
dma_chan         1352 drivers/dma/ti/omap-dma.c static int omap_dma_pause(struct dma_chan *chan)
dma_chan         1405 drivers/dma/ti/omap-dma.c static int omap_dma_resume(struct dma_chan *chan)
dma_chan         1659 drivers/dma/ti/omap-dma.c static bool omap_dma_filter_fn(struct dma_chan *chan, void *param)
dma_chan           71 drivers/dma/timb_dma.c 	struct dma_chan		chan;
dma_chan           94 drivers/dma/timb_dma.c static struct device *chan2dev(struct dma_chan *chan)
dma_chan           98 drivers/dma/timb_dma.c static struct device *chan2dmadev(struct dma_chan *chan)
dma_chan          324 drivers/dma/timb_dma.c 	struct dma_chan *chan = &td_chan->chan;
dma_chan          401 drivers/dma/timb_dma.c static int td_alloc_chan_resources(struct dma_chan *chan)
dma_chan          432 drivers/dma/timb_dma.c static void td_free_chan_resources(struct dma_chan *chan)
dma_chan          456 drivers/dma/timb_dma.c static enum dma_status td_tx_status(struct dma_chan *chan, dma_cookie_t cookie,
dma_chan          470 drivers/dma/timb_dma.c static void td_issue_pending(struct dma_chan *chan)
dma_chan          489 drivers/dma/timb_dma.c static struct dma_async_tx_descriptor *td_prep_slave_sg(struct dma_chan *chan,
dma_chan          545 drivers/dma/timb_dma.c static int td_terminate_all(struct dma_chan *chan)
dma_chan           19 drivers/dma/txx9dmac.c static struct txx9dmac_chan *to_txx9dmac_chan(struct dma_chan *chan)
dma_chan          129 drivers/dma/txx9dmac.c static struct device *chan2dev(struct dma_chan *chan)
dma_chan          133 drivers/dma/txx9dmac.c static struct device *chan2parent(struct dma_chan *chan)
dma_chan          709 drivers/dma/txx9dmac.c txx9dmac_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
dma_chan          803 drivers/dma/txx9dmac.c txx9dmac_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          897 drivers/dma/txx9dmac.c static int txx9dmac_terminate_all(struct dma_chan *chan)
dma_chan          922 drivers/dma/txx9dmac.c txx9dmac_tx_status(struct dma_chan *chan, dma_cookie_t cookie,
dma_chan          960 drivers/dma/txx9dmac.c static void txx9dmac_issue_pending(struct dma_chan *chan)
dma_chan          984 drivers/dma/txx9dmac.c static int txx9dmac_alloc_chan_resources(struct dma_chan *chan)
dma_chan         1043 drivers/dma/txx9dmac.c static void txx9dmac_free_chan_resources(struct dma_chan *chan)
dma_chan          161 drivers/dma/txx9dmac.h 	struct dma_chan		chan;
dma_chan          224 drivers/dma/uniphier-mdmac.c static void uniphier_mdmac_free_chan_resources(struct dma_chan *chan)
dma_chan          230 drivers/dma/uniphier-mdmac.c uniphier_mdmac_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          252 drivers/dma/uniphier-mdmac.c static int uniphier_mdmac_terminate_all(struct dma_chan *chan)
dma_chan          276 drivers/dma/uniphier-mdmac.c static void uniphier_mdmac_synchronize(struct dma_chan *chan)
dma_chan          281 drivers/dma/uniphier-mdmac.c static enum dma_status uniphier_mdmac_tx_status(struct dma_chan *chan,
dma_chan          328 drivers/dma/uniphier-mdmac.c static void uniphier_mdmac_issue_pending(struct dma_chan *chan)
dma_chan          461 drivers/dma/uniphier-mdmac.c 	struct dma_chan *chan;
dma_chan           23 drivers/dma/virt-dma.h 	struct dma_chan	chan;
dma_chan           39 drivers/dma/virt-dma.h static inline struct virt_dma_chan *to_virt_chan(struct dma_chan *chan)
dma_chan          191 drivers/dma/xgene-dma.c 	container_of(dchan, struct xgene_dma_chan, dma_chan)
dma_chan          270 drivers/dma/xgene-dma.c 	struct dma_chan dma_chan;
dma_chan          501 drivers/dma/xgene-dma.c 	dma_async_tx_descriptor_init(&desc->tx, &chan->dma_chan);
dma_chan          772 drivers/dma/xgene-dma.c static int xgene_dma_alloc_chan_resources(struct dma_chan *dchan)
dma_chan          809 drivers/dma/xgene-dma.c static void xgene_dma_free_chan_resources(struct dma_chan *dchan)
dma_chan          836 drivers/dma/xgene-dma.c 	struct dma_chan *dchan, dma_addr_t dst,	dma_addr_t *src,
dma_chan          884 drivers/dma/xgene-dma.c 	struct dma_chan *dchan, dma_addr_t *dst, dma_addr_t *src,
dma_chan          960 drivers/dma/xgene-dma.c static void xgene_dma_issue_pending(struct dma_chan *dchan)
dma_chan          969 drivers/dma/xgene-dma.c static enum dma_status xgene_dma_tx_status(struct dma_chan *dchan,
dma_chan         1534 drivers/dma/xgene-dma.c 	chan->dma_chan.device = dma_dev;
dma_chan         1545 drivers/dma/xgene-dma.c 	dma_cookie_init(&chan->dma_chan);
dma_chan         1552 drivers/dma/xgene-dma.c 	list_add_tail(&chan->dma_chan.device_node, &dma_dev->channels);
dma_chan         1565 drivers/dma/xgene-dma.c 		 "%s: CAPABILITY ( %s%s)\n", dma_chan_name(&chan->dma_chan),
dma_chan          361 drivers/dma/xilinx/xilinx_dma.c 	struct dma_chan common;
dma_chan          762 drivers/dma/xilinx/xilinx_dma.c static void xilinx_dma_free_chan_resources(struct dma_chan *dchan)
dma_chan          869 drivers/dma/xilinx/xilinx_dma.c static int xilinx_dma_alloc_chan_resources(struct dma_chan *dchan)
dma_chan         1000 drivers/dma/xilinx/xilinx_dma.c static enum dma_status xilinx_dma_tx_status(struct dma_chan *dchan,
dma_chan         1377 drivers/dma/xilinx/xilinx_dma.c static void xilinx_dma_issue_pending(struct dma_chan *dchan)
dma_chan         1636 drivers/dma/xilinx/xilinx_dma.c xilinx_vdma_dma_prep_interleaved(struct dma_chan *dchan,
dma_chan         1719 drivers/dma/xilinx/xilinx_dma.c xilinx_cdma_prep_memcpy(struct dma_chan *dchan, dma_addr_t dma_dst,
dma_chan         1776 drivers/dma/xilinx/xilinx_dma.c 	struct dma_chan *dchan, struct scatterlist *sgl, unsigned int sg_len,
dma_chan         1875 drivers/dma/xilinx/xilinx_dma.c 	struct dma_chan *dchan, dma_addr_t buf_addr, size_t buf_len,
dma_chan         1980 drivers/dma/xilinx/xilinx_dma.c xilinx_dma_prep_interleaved(struct dma_chan *dchan,
dma_chan         2060 drivers/dma/xilinx/xilinx_dma.c static int xilinx_dma_terminate_all(struct dma_chan *dchan)
dma_chan         2107 drivers/dma/xilinx/xilinx_dma.c int xilinx_vdma_channel_set_config(struct dma_chan *dchan,
dma_chan         2567 drivers/dma/xilinx/xilinx_dma.c static struct dma_chan *of_dma_xilinx_xlate(struct of_phandle_args *dma_spec,
dma_chan          224 drivers/dma/xilinx/zynqmp_dma.c 	struct dma_chan common;
dma_chan          462 drivers/dma/xilinx/zynqmp_dma.c static int zynqmp_dma_alloc_chan_resources(struct dma_chan *dchan)
dma_chan          558 drivers/dma/xilinx/zynqmp_dma.c static int zynqmp_dma_device_config(struct dma_chan *dchan,
dma_chan          641 drivers/dma/xilinx/zynqmp_dma.c static void zynqmp_dma_issue_pending(struct dma_chan *dchan)
dma_chan          666 drivers/dma/xilinx/zynqmp_dma.c static void zynqmp_dma_free_chan_resources(struct dma_chan *dchan)
dma_chan          777 drivers/dma/xilinx/zynqmp_dma.c static int zynqmp_dma_device_terminate_all(struct dma_chan *dchan)
dma_chan          801 drivers/dma/xilinx/zynqmp_dma.c 				struct dma_chan *dchan, dma_addr_t dma_dst,
dma_chan          938 drivers/dma/xilinx/zynqmp_dma.c static struct dma_chan *of_zynqmp_dma_xlate(struct of_phandle_args *dma_spec,
dma_chan          133 drivers/dma/zx_dma.c static struct zx_dma_chan *to_zx_chan(struct dma_chan *chan)
dma_chan          317 drivers/dma/zx_dma.c static void zx_dma_free_chan_resources(struct dma_chan *chan)
dma_chan          331 drivers/dma/zx_dma.c static enum dma_status zx_dma_tx_status(struct dma_chan *chan,
dma_chan          379 drivers/dma/zx_dma.c static void zx_dma_issue_pending(struct dma_chan *chan)
dma_chan          419 drivers/dma/zx_dma.c 						     struct dma_chan *chan)
dma_chan          507 drivers/dma/zx_dma.c 	struct dma_chan *chan,	dma_addr_t dst, dma_addr_t src,
dma_chan          546 drivers/dma/zx_dma.c 	struct dma_chan *chan, struct scatterlist *sgl, unsigned int sglen,
dma_chan          604 drivers/dma/zx_dma.c 		struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len,
dma_chan          646 drivers/dma/zx_dma.c static int zx_dma_config(struct dma_chan *chan,
dma_chan          659 drivers/dma/zx_dma.c static int zx_dma_terminate_all(struct dma_chan *chan)
dma_chan          691 drivers/dma/zx_dma.c static int zx_dma_transfer_pause(struct dma_chan *chan)
dma_chan          703 drivers/dma/zx_dma.c static int zx_dma_transfer_resume(struct dma_chan *chan)
dma_chan          731 drivers/dma/zx_dma.c static struct dma_chan *zx_of_dma_simple_xlate(struct of_phandle_args *dma_spec,
dma_chan          736 drivers/dma/zx_dma.c 	struct dma_chan *chan;
dma_chan          198 drivers/gpu/drm/omapdrm/omap_dmm_priv.h 	struct dma_chan *wa_dma_chan;
dma_chan          504 drivers/gpu/drm/vc4/vc4_dsi.c 	struct dma_chan *reg_dma_chan;
dma_chan          550 drivers/gpu/drm/vc4/vc4_dsi.c 	struct dma_chan *chan = dsi->reg_dma_chan;
dma_chan          160 drivers/i2c/busses/i2c-at91-master.c 	struct dma_chan *chan_tx = dma->chan_tx;
dma_chan          299 drivers/i2c/busses/i2c-at91-master.c 	struct dma_chan *chan_rx = dma->chan_rx;
dma_chan          115 drivers/i2c/busses/i2c-at91.h 	struct dma_chan *chan_rx;
dma_chan          116 drivers/i2c/busses/i2c-at91.h 	struct dma_chan *chan_tx;
dma_chan          176 drivers/i2c/busses/i2c-imx.c 	struct dma_chan		*chan_tx;
dma_chan          177 drivers/i2c/busses/i2c-imx.c 	struct dma_chan		*chan_rx;
dma_chan          178 drivers/i2c/busses/i2c-imx.c 	struct dma_chan		*chan_using;
dma_chan          125 drivers/i2c/busses/i2c-mxs.c 	struct dma_chan			*dmach;
dma_chan          224 drivers/i2c/busses/i2c-qup.c 	struct	dma_chan *dma;
dma_chan          136 drivers/i2c/busses/i2c-rcar.c 	struct dma_chan *dma_tx;
dma_chan          137 drivers/i2c/busses/i2c-rcar.c 	struct dma_chan *dma_rx;
dma_chan          365 drivers/i2c/busses/i2c-rcar.c 	struct dma_chan *chan = priv->dma_direction == DMA_FROM_DEVICE
dma_chan          409 drivers/i2c/busses/i2c-rcar.c 	struct dma_chan *chan = read ? priv->dma_rx : priv->dma_tx;
dma_chan          681 drivers/i2c/busses/i2c-rcar.c static struct dma_chan *rcar_i2c_request_dma_chan(struct device *dev,
dma_chan          685 drivers/i2c/busses/i2c-rcar.c 	struct dma_chan *chan;
dma_chan          724 drivers/i2c/busses/i2c-rcar.c 	struct dma_chan *chan;
dma_chan          134 drivers/i2c/busses/i2c-sh_mobile.c 	struct dma_chan *dma_tx;
dma_chan          135 drivers/i2c/busses/i2c-sh_mobile.c 	struct dma_chan *dma_rx;
dma_chan          449 drivers/i2c/busses/i2c-sh_mobile.c 	struct dma_chan *chan = pd->dma_direction == DMA_FROM_DEVICE
dma_chan          481 drivers/i2c/busses/i2c-sh_mobile.c static struct dma_chan *sh_mobile_i2c_request_dma_chan(struct device *dev,
dma_chan          484 drivers/i2c/busses/i2c-sh_mobile.c 	struct dma_chan *chan;
dma_chan          521 drivers/i2c/busses/i2c-sh_mobile.c 	struct dma_chan *chan = read ? pd->dma_rx : pd->dma_tx;
dma_chan           37 drivers/i2c/busses/i2c-stm32.h 	struct dma_chan *chan_tx;
dma_chan           38 drivers/i2c/busses/i2c-stm32.h 	struct dma_chan *chan_rx;
dma_chan           39 drivers/i2c/busses/i2c-stm32.h 	struct dma_chan *chan_using;
dma_chan          275 drivers/i2c/busses/i2c-tegra.c 	struct dma_chan *tx_dma_chan;
dma_chan          276 drivers/i2c/busses/i2c-tegra.c 	struct dma_chan *rx_dma_chan;
dma_chan          361 drivers/i2c/busses/i2c-tegra.c 	struct dma_chan *chan;
dma_chan          403 drivers/i2c/busses/i2c-tegra.c 	struct dma_chan *chan;
dma_chan          938 drivers/i2c/busses/i2c-tegra.c 	struct dma_chan *chan;
dma_chan          358 drivers/iio/adc/at91-sama5d2_adc.c 	struct dma_chan			*dma_chan;
dma_chan          753 drivers/iio/adc/at91-sama5d2_adc.c 			if (!st->dma_st.dma_chan) {
dma_chan          759 drivers/iio/adc/at91-sama5d2_adc.c 			if (!st->dma_st.dma_chan) {
dma_chan          777 drivers/iio/adc/at91-sama5d2_adc.c 	if (st->dma_st.dma_chan)
dma_chan          799 drivers/iio/adc/at91-sama5d2_adc.c 	status = dmaengine_tx_status(st->dma_st.dma_chan,
dma_chan          800 drivers/iio/adc/at91-sama5d2_adc.c 				     st->dma_st.dma_chan->cookie,
dma_chan          831 drivers/iio/adc/at91-sama5d2_adc.c 	if (!st->dma_st.dma_chan)
dma_chan          856 drivers/iio/adc/at91-sama5d2_adc.c 	desc = dmaengine_prep_dma_cyclic(st->dma_st.dma_chan,
dma_chan          874 drivers/iio/adc/at91-sama5d2_adc.c 		dmaengine_terminate_async(st->dma_st.dma_chan);
dma_chan          881 drivers/iio/adc/at91-sama5d2_adc.c 	dma_async_issue_pending(st->dma_st.dma_chan);
dma_chan          939 drivers/iio/adc/at91-sama5d2_adc.c 	if (!st->dma_st.dma_chan)
dma_chan          943 drivers/iio/adc/at91-sama5d2_adc.c 	dmaengine_terminate_sync(st->dma_st.dma_chan);
dma_chan          961 drivers/iio/adc/at91-sama5d2_adc.c 		if (st->dma_st.dma_chan)
dma_chan         1105 drivers/iio/adc/at91-sama5d2_adc.c 	if (st->dma_st.dma_chan)
dma_chan         1284 drivers/iio/adc/at91-sama5d2_adc.c 	} else if (iio_buffer_enabled(indio) && !st->dma_st.dma_chan) {
dma_chan         1288 drivers/iio/adc/at91-sama5d2_adc.c 	} else if (iio_buffer_enabled(indio) && st->dma_st.dma_chan) {
dma_chan         1459 drivers/iio/adc/at91-sama5d2_adc.c 	if (st->dma_st.dma_chan)
dma_chan         1462 drivers/iio/adc/at91-sama5d2_adc.c 	st->dma_st.dma_chan = dma_request_slave_channel(&pdev->dev, "rx");
dma_chan         1464 drivers/iio/adc/at91-sama5d2_adc.c 	if (!st->dma_st.dma_chan)  {
dma_chan         1469 drivers/iio/adc/at91-sama5d2_adc.c 	st->dma_st.rx_buf = dma_alloc_coherent(st->dma_st.dma_chan->device->dev,
dma_chan         1486 drivers/iio/adc/at91-sama5d2_adc.c 	if (dmaengine_slave_config(st->dma_st.dma_chan, &config)) {
dma_chan         1492 drivers/iio/adc/at91-sama5d2_adc.c 		 dma_chan_name(st->dma_st.dma_chan));
dma_chan         1497 drivers/iio/adc/at91-sama5d2_adc.c 	dma_free_coherent(st->dma_st.dma_chan->device->dev, pages * PAGE_SIZE,
dma_chan         1500 drivers/iio/adc/at91-sama5d2_adc.c 	dma_release_channel(st->dma_st.dma_chan);
dma_chan         1501 drivers/iio/adc/at91-sama5d2_adc.c 	st->dma_st.dma_chan = 0;
dma_chan         1515 drivers/iio/adc/at91-sama5d2_adc.c 	if (!st->dma_st.dma_chan)
dma_chan         1519 drivers/iio/adc/at91-sama5d2_adc.c 	dmaengine_terminate_sync(st->dma_st.dma_chan);
dma_chan         1521 drivers/iio/adc/at91-sama5d2_adc.c 	dma_free_coherent(st->dma_st.dma_chan->device->dev, pages * PAGE_SIZE,
dma_chan         1523 drivers/iio/adc/at91-sama5d2_adc.c 	dma_release_channel(st->dma_st.dma_chan);
dma_chan         1524 drivers/iio/adc/at91-sama5d2_adc.c 	st->dma_st.dma_chan = 0;
dma_chan         1599 drivers/iio/adc/at91-sama5d2_adc.c 	return scnprintf(buf, PAGE_SIZE, "%d\n", !!st->dma_st.dma_chan);
dma_chan          205 drivers/iio/adc/stm32-adc.c 	struct dma_chan		*dma_chan;
dma_chan         1347 drivers/iio/adc/stm32-adc.c 	status = dmaengine_tx_status(adc->dma_chan,
dma_chan         1348 drivers/iio/adc/stm32-adc.c 				     adc->dma_chan->cookie,
dma_chan         1403 drivers/iio/adc/stm32-adc.c 	if (!adc->dma_chan)
dma_chan         1410 drivers/iio/adc/stm32-adc.c 	desc = dmaengine_prep_dma_cyclic(adc->dma_chan,
dma_chan         1424 drivers/iio/adc/stm32-adc.c 		dmaengine_terminate_sync(adc->dma_chan);
dma_chan         1429 drivers/iio/adc/stm32-adc.c 	dma_async_issue_pending(adc->dma_chan);
dma_chan         1461 drivers/iio/adc/stm32-adc.c 	if (!adc->dma_chan)
dma_chan         1464 drivers/iio/adc/stm32-adc.c 	adc->cfg->start_conv(adc, !!adc->dma_chan);
dma_chan         1498 drivers/iio/adc/stm32-adc.c 	if (!adc->dma_chan)
dma_chan         1501 drivers/iio/adc/stm32-adc.c 	if (adc->dma_chan)
dma_chan         1502 drivers/iio/adc/stm32-adc.c 		dmaengine_terminate_sync(adc->dma_chan);
dma_chan         1537 drivers/iio/adc/stm32-adc.c 	if (!adc->dma_chan) {
dma_chan         1560 drivers/iio/adc/stm32-adc.c 	if (!adc->dma_chan)
dma_chan         1766 drivers/iio/adc/stm32-adc.c 	adc->dma_chan = dma_request_chan(dev, "rx");
dma_chan         1767 drivers/iio/adc/stm32-adc.c 	if (IS_ERR(adc->dma_chan)) {
dma_chan         1768 drivers/iio/adc/stm32-adc.c 		ret = PTR_ERR(adc->dma_chan);
dma_chan         1778 drivers/iio/adc/stm32-adc.c 		adc->dma_chan = NULL;
dma_chan         1782 drivers/iio/adc/stm32-adc.c 	adc->rx_buf = dma_alloc_coherent(adc->dma_chan->device->dev,
dma_chan         1796 drivers/iio/adc/stm32-adc.c 	ret = dmaengine_slave_config(adc->dma_chan, &config);
dma_chan         1803 drivers/iio/adc/stm32-adc.c 	dma_free_coherent(adc->dma_chan->device->dev, STM32_DMA_BUFFER_SIZE,
dma_chan         1806 drivers/iio/adc/stm32-adc.c 	dma_release_channel(adc->dma_chan);
dma_chan         1881 drivers/iio/adc/stm32-adc.c 	if (!adc->dma_chan)
dma_chan         1924 drivers/iio/adc/stm32-adc.c 	if (adc->dma_chan) {
dma_chan         1925 drivers/iio/adc/stm32-adc.c 		dma_free_coherent(adc->dma_chan->device->dev,
dma_chan         1928 drivers/iio/adc/stm32-adc.c 		dma_release_channel(adc->dma_chan);
dma_chan         1946 drivers/iio/adc/stm32-adc.c 	if (adc->dma_chan) {
dma_chan         1947 drivers/iio/adc/stm32-adc.c 		dma_free_coherent(adc->dma_chan->device->dev,
dma_chan         1950 drivers/iio/adc/stm32-adc.c 		dma_release_channel(adc->dma_chan);
dma_chan           93 drivers/iio/adc/stm32-dfsdm-adc.c 	struct dma_chan	*dma_chan;
dma_chan          801 drivers/iio/adc/stm32-dfsdm-adc.c 	status = dmaengine_tx_status(adc->dma_chan,
dma_chan          802 drivers/iio/adc/stm32-dfsdm-adc.c 				     adc->dma_chan->cookie,
dma_chan          912 drivers/iio/adc/stm32-dfsdm-adc.c 	if (!adc->dma_chan)
dma_chan          922 drivers/iio/adc/stm32-dfsdm-adc.c 	ret = dmaengine_slave_config(adc->dma_chan, &config);
dma_chan          927 drivers/iio/adc/stm32-dfsdm-adc.c 	desc = dmaengine_prep_dma_cyclic(adc->dma_chan,
dma_chan          944 drivers/iio/adc/stm32-dfsdm-adc.c 	dma_async_issue_pending(adc->dma_chan);
dma_chan          966 drivers/iio/adc/stm32-dfsdm-adc.c 	dmaengine_terminate_all(adc->dma_chan);
dma_chan          975 drivers/iio/adc/stm32-dfsdm-adc.c 	if (!adc->dma_chan)
dma_chan          980 drivers/iio/adc/stm32-dfsdm-adc.c 	dmaengine_terminate_all(adc->dma_chan);
dma_chan         1354 drivers/iio/adc/stm32-dfsdm-adc.c 	if (adc->dma_chan) {
dma_chan         1355 drivers/iio/adc/stm32-dfsdm-adc.c 		dma_free_coherent(adc->dma_chan->device->dev,
dma_chan         1358 drivers/iio/adc/stm32-dfsdm-adc.c 		dma_release_channel(adc->dma_chan);
dma_chan         1367 drivers/iio/adc/stm32-dfsdm-adc.c 	adc->dma_chan = dma_request_chan(dev, "rx");
dma_chan         1368 drivers/iio/adc/stm32-dfsdm-adc.c 	if (IS_ERR(adc->dma_chan)) {
dma_chan         1369 drivers/iio/adc/stm32-dfsdm-adc.c 		int ret = PTR_ERR(adc->dma_chan);
dma_chan         1371 drivers/iio/adc/stm32-dfsdm-adc.c 		adc->dma_chan = NULL;
dma_chan         1375 drivers/iio/adc/stm32-dfsdm-adc.c 	adc->rx_buf = dma_alloc_coherent(adc->dma_chan->device->dev,
dma_chan         1379 drivers/iio/adc/stm32-dfsdm-adc.c 		dma_release_channel(adc->dma_chan);
dma_chan           40 drivers/iio/adc/ti_am335x_adc.c 	struct dma_chan		*chan;
dma_chan           33 drivers/iio/buffer/industrialio-buffer-dmaengine.c 	struct dma_chan *chan;
dma_chan          146 drivers/iio/buffer/industrialio-buffer-dmaengine.c 	struct dma_chan *chan;
dma_chan          544 drivers/media/pci/intel/ipu3/ipu3-cio2.c static void cio2_buffer_done(struct cio2_device *cio2, unsigned int dma_chan)
dma_chan          551 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	if (dma_chan >= CIO2_QUEUES) {
dma_chan          552 drivers/media/pci/intel/ipu3/ipu3-cio2.c 		dev_err(dev, "bad DMA channel %i\n", dma_chan);
dma_chan          592 drivers/media/pci/intel/ipu3/ipu3-cio2.c 			 dma_chan);
dma_chan          129 drivers/media/platform/m2m-deinterlace.c 	struct dma_chan		*dma_chan;
dma_chan          208 drivers/media/platform/m2m-deinterlace.c 	struct dma_chan *chan = pcdev->dma_chan;
dma_chan          934 drivers/media/platform/m2m-deinterlace.c 	pcdev->dma_chan = dma_request_channel(mask, NULL, pcdev);
dma_chan          935 drivers/media/platform/m2m-deinterlace.c 	if (!pcdev->dma_chan)
dma_chan          938 drivers/media/platform/m2m-deinterlace.c 	if (!dma_has_cap(DMA_INTERLEAVE, pcdev->dma_chan->device->cap_mask)) {
dma_chan          982 drivers/media/platform/m2m-deinterlace.c 	dma_release_channel(pcdev->dma_chan);
dma_chan          995 drivers/media/platform/m2m-deinterlace.c 	dma_release_channel(pcdev->dma_chan);
dma_chan          235 drivers/media/platform/omap/omap_vout_vrfb.c 	struct dma_chan *chan = vout->vrfb_dma_tx.chan;
dma_chan           86 drivers/media/platform/omap/omap_voutdef.h 	struct dma_chan *chan;
dma_chan           32 drivers/media/platform/omap3isp/ispstat.h struct dma_chan;
dma_chan          109 drivers/media/platform/omap3isp/ispstat.h 	struct dma_chan *dma_ch;
dma_chan          708 drivers/media/platform/pxa_camera.c 	struct dma_chan		*dma_chans[3];
dma_chan          863 drivers/media/platform/pxa_camera.c 	struct dma_chan *dma_chan = pcdev->dma_chans[channel];
dma_chan          866 drivers/media/platform/pxa_camera.c 	tx = dmaengine_prep_slave_sg(dma_chan, sg, sglen, DMA_DEV_TO_MEM,
dma_chan          203 drivers/media/platform/rcar_drif.c 	struct dma_chan *dmach;		/* Reserved DMA channel */
dma_chan          163 drivers/media/platform/stm32/stm32-dcmi.c 	struct dma_chan			*dma_chan;
dma_chan          268 drivers/media/platform/stm32/stm32-dcmi.c 	status = dmaengine_tx_status(dcmi->dma_chan, dcmi->dma_cookie, &state);
dma_chan          319 drivers/media/platform/stm32/stm32-dcmi.c 	ret = dmaengine_slave_config(dcmi->dma_chan, &config);
dma_chan          334 drivers/media/platform/stm32/stm32-dcmi.c 	desc = dmaengine_prep_slave_single(dcmi->dma_chan, buf->paddr,
dma_chan          359 drivers/media/platform/stm32/stm32-dcmi.c 	dma_async_issue_pending(dcmi->dma_chan);
dma_chan          425 drivers/media/platform/stm32/stm32-dcmi.c 	dmaengine_synchronize(dcmi->dma_chan);
dma_chan          428 drivers/media/platform/stm32/stm32-dcmi.c 	status = dmaengine_tx_status(dcmi->dma_chan, dcmi->dma_cookie, &state);
dma_chan          441 drivers/media/platform/stm32/stm32-dcmi.c 	dmaengine_terminate_all(dcmi->dma_chan);
dma_chan          887 drivers/media/platform/stm32/stm32-dcmi.c 	dmaengine_terminate_all(dcmi->dma_chan);
dma_chan         1839 drivers/media/platform/stm32/stm32-dcmi.c 	struct dma_chan *chan;
dma_chan         1928 drivers/media/platform/stm32/stm32-dcmi.c 	dcmi->dma_chan = chan;
dma_chan         2038 drivers/media/platform/stm32/stm32-dcmi.c 	dma_release_channel(dcmi->dma_chan);
dma_chan         2055 drivers/media/platform/stm32/stm32-dcmi.c 	dma_release_channel(dcmi->dma_chan);
dma_chan           24 drivers/media/platform/xilinx/xilinx-dma.h struct dma_chan;
dma_chan           92 drivers/media/platform/xilinx/xilinx-dma.h 	struct dma_chan *dma;
dma_chan          136 drivers/misc/mic/bus/scif_bus.c 		     void __iomem *rdp, struct dma_chan **chan, int num_chan,
dma_chan           54 drivers/misc/mic/bus/scif_bus.h 	struct dma_chan **dma_ch;
dma_chan          112 drivers/misc/mic/bus/scif_bus.h 		     struct dma_chan **chan, int num_chan,
dma_chan          136 drivers/misc/mic/bus/vop_bus.c 		    struct dma_chan *chan)
dma_chan           49 drivers/misc/mic/bus/vop_bus.h 	struct dma_chan *dma_ch;
dma_chan          105 drivers/misc/mic/bus/vop_bus.h 		    struct dma_chan *chan);
dma_chan          314 drivers/misc/mic/card/mic_device.c 	struct dma_chan *chan;
dma_chan           80 drivers/misc/mic/card/mic_device.h 	struct dma_chan *dma_ch[MIC_MAX_DMA_CHAN];
dma_chan          411 drivers/misc/mic/host/mic_boot.c 	struct dma_chan *chan;
dma_chan           82 drivers/misc/mic/host/mic_device.h 	struct dma_chan *dma_ch[MIC_MAX_DMA_CHAN];
dma_chan          123 drivers/misc/mic/host/mic_device.h 	bool (*dma_filter)(struct dma_chan *chan, void *param);
dma_chan          542 drivers/misc/mic/host/mic_x100.c static bool mic_x100_dma_filter(struct dma_chan *chan, void *param)
dma_chan           81 drivers/misc/mic/scif/scif_dma.c 	struct dma_chan *chan;
dma_chan           96 drivers/misc/mic/scif/scif_dma.c 	ep->rma_info.dma_chan = chan;
dma_chan          409 drivers/misc/mic/scif/scif_dma.c static int scif_sync_dma(struct scif_hw_dev *sdev, struct dma_chan *chan,
dma_chan          475 drivers/misc/mic/scif/scif_dma.c static int scif_async_dma(struct scif_hw_dev *sdev, struct dma_chan *chan)
dma_chan          540 drivers/misc/mic/scif/scif_dma.c static int scif_drain_dma_poll(struct scif_hw_dev *sdev, struct dma_chan *chan)
dma_chan          555 drivers/misc/mic/scif/scif_dma.c int scif_drain_dma_intr(struct scif_hw_dev *sdev, struct dma_chan *chan)
dma_chan          572 drivers/misc/mic/scif/scif_dma.c 	struct dma_chan *chan;
dma_chan          581 drivers/misc/mic/scif/scif_dma.c 		chan = ep->rma_info.dma_chan;
dma_chan          587 drivers/misc/mic/scif/scif_dma.c 					 ep->rma_info.dma_chan))
dma_chan          616 drivers/misc/mic/scif/scif_dma.c 	struct dma_chan *chan;
dma_chan          624 drivers/misc/mic/scif/scif_dma.c 		chan = ep->rma_info.dma_chan;
dma_chan          630 drivers/misc/mic/scif/scif_dma.c 					 ep->rma_info.dma_chan)) {
dma_chan          868 drivers/misc/mic/scif/scif_dma.c 				 u8 *temp, struct dma_chan *chan,
dma_chan         1089 drivers/misc/mic/scif/scif_dma.c 					   struct dma_chan *chan)
dma_chan         1207 drivers/misc/mic/scif/scif_dma.c 					  struct dma_chan *chan)
dma_chan         1535 drivers/misc/mic/scif/scif_dma.c 					  struct dma_chan *chan, off_t loffset)
dma_chan         1646 drivers/misc/mic/scif/scif_dma.c 	struct dma_chan *chan;
dma_chan         1787 drivers/misc/mic/scif/scif_dma.c 		chan = ep->rma_info.dma_chan;
dma_chan         1801 drivers/misc/mic/scif/scif_dma.c 						  ep->rma_info.dma_chan);
dma_chan         1804 drivers/misc/mic/scif/scif_dma.c 						  ep->rma_info.dma_chan);
dma_chan          199 drivers/misc/mic/scif/scif_fence.c 	struct dma_chan *chan = ep->rma_info.dma_chan;
dma_chan          348 drivers/misc/mic/scif/scif_fence.c 					       ep->rma_info.dma_chan,
dma_chan          589 drivers/misc/mic/scif/scif_fence.c 	struct dma_chan *chan = ep->rma_info.dma_chan;
dma_chan          343 drivers/misc/mic/scif/scif_mmap.c 				    ep->rma_info.dma_chan);
dma_chan          474 drivers/misc/mic/scif/scif_mmap.c 					    ep->rma_info.dma_chan);
dma_chan           44 drivers/misc/mic/scif/scif_rma.c 	rma->dma_chan = NULL;
dma_chan          719 drivers/misc/mic/scif/scif_rma.c 					    ep->rma_info.dma_chan);
dma_chan         1227 drivers/misc/mic/scif/scif_rma.c 				    ep->rma_info.dma_chan);
dma_chan          111 drivers/misc/mic/scif/scif_rma.h 	struct dma_chan	*dma_chan;
dma_chan          374 drivers/misc/mic/scif/scif_rma.h int scif_drain_dma_intr(struct scif_hw_dev *sdev, struct dma_chan *chan);
dma_chan           62 drivers/misc/mic/vop/vop_main.h 	struct dma_chan *dma_ch;
dma_chan          476 drivers/misc/mic/vop/vop_vringh.c 	struct dma_chan *vop_ch = vi->dma_ch;
dma_chan          218 drivers/mmc/host/atmel-mci.c 	struct dma_chan			*chan;
dma_chan          321 drivers/mmc/host/atmel-mci.c 	struct dma_chan		*data_chan;
dma_chan         1084 drivers/mmc/host/atmel-mci.c 	struct dma_chan			*chan;
dma_chan         1180 drivers/mmc/host/atmel-mci.c 	struct dma_chan			*chan = host->data_chan;
dma_chan         1207 drivers/mmc/host/atmel-mci.c 	struct dma_chan *chan = host->data_chan;
dma_chan          180 drivers/mmc/host/bcm2835.c 	struct dma_chan		*dma_chan_rxtx;
dma_chan          181 drivers/mmc/host/bcm2835.c 	struct dma_chan		*dma_chan;
dma_chan          275 drivers/mmc/host/bcm2835.c 	if (host->dma_chan)
dma_chan          276 drivers/mmc/host/bcm2835.c 		dmaengine_terminate_sync(host->dma_chan);
dma_chan          277 drivers/mmc/host/bcm2835.c 	host->dma_chan = NULL;
dma_chan          457 drivers/mmc/host/bcm2835.c 	struct dma_chan *dma_chan;
dma_chan          459 drivers/mmc/host/bcm2835.c 	dma_chan = host->dma_chan_rxtx;
dma_chan          496 drivers/mmc/host/bcm2835.c 	(void)dmaengine_slave_config(dma_chan,
dma_chan          501 drivers/mmc/host/bcm2835.c 	sg_len = dma_map_sg(dma_chan->device->dev, data->sg, data->sg_len,
dma_chan          506 drivers/mmc/host/bcm2835.c 	desc = dmaengine_prep_slave_sg(dma_chan, data->sg, sg_len, dir_slave,
dma_chan          510 drivers/mmc/host/bcm2835.c 		dma_unmap_sg(dma_chan->device->dev, data->sg, sg_len, dir_data);
dma_chan          517 drivers/mmc/host/bcm2835.c 	host->dma_chan = dma_chan;
dma_chan          524 drivers/mmc/host/bcm2835.c 	dma_async_issue_pending(host->dma_chan);
dma_chan          597 drivers/mmc/host/bcm2835.c 	struct dma_chan *terminate_chan = NULL;
dma_chan          609 drivers/mmc/host/bcm2835.c 	terminate_chan = host->dma_chan;
dma_chan          610 drivers/mmc/host/bcm2835.c 	host->dma_chan = NULL;
dma_chan         1062 drivers/mmc/host/bcm2835.c 	if (host->dma_chan) {
dma_chan         1063 drivers/mmc/host/bcm2835.c 		dma_unmap_sg(host->dma_chan->device->dev,
dma_chan         1067 drivers/mmc/host/bcm2835.c 		host->dma_chan = NULL;
dma_chan         1395 drivers/mmc/host/bcm2835.c 	host->dma_chan = NULL;
dma_chan          192 drivers/mmc/host/davinci_mmc.c 	struct dma_chan *dma_tx;
dma_chan          193 drivers/mmc/host/davinci_mmc.c 	struct dma_chan *dma_rx;
dma_chan          390 drivers/mmc/host/davinci_mmc.c 	struct dma_chan *sync_dev;
dma_chan          403 drivers/mmc/host/davinci_mmc.c 	struct dma_chan *chan;
dma_chan           52 drivers/mmc/host/dw_mmc.h 	struct dma_chan *ch;
dma_chan          163 drivers/mmc/host/jz4740_mmc.c 	struct dma_chan *dma_rx;
dma_chan          164 drivers/mmc/host/jz4740_mmc.c 	struct dma_chan *dma_tx;
dma_chan          230 drivers/mmc/host/jz4740_mmc.c static inline struct dma_chan *jz4740_mmc_get_dma_chan(struct jz4740_mmc_host *host,
dma_chan          239 drivers/mmc/host/jz4740_mmc.c 	struct dma_chan *chan = jz4740_mmc_get_dma_chan(host, data);
dma_chan          253 drivers/mmc/host/jz4740_mmc.c 	struct dma_chan *chan = jz4740_mmc_get_dma_chan(host, data);
dma_chan          280 drivers/mmc/host/jz4740_mmc.c 	struct dma_chan *chan = jz4740_mmc_get_dma_chan(host, data);
dma_chan          349 drivers/mmc/host/jz4740_mmc.c 		struct dma_chan *chan = jz4740_mmc_get_dma_chan(host, data);
dma_chan          621 drivers/mmc/host/mmci.c 	struct dma_chan	*chan;
dma_chan          625 drivers/mmc/host/mmci.c 	struct dma_chan	*cur;
dma_chan          626 drivers/mmc/host/mmci.c 	struct dma_chan	*rx_channel;
dma_chan          627 drivers/mmc/host/mmci.c 	struct dma_chan	*tx_channel;
dma_chan          714 drivers/mmc/host/mmci.c 	struct dma_chan *chan;
dma_chan          789 drivers/mmc/host/mmci.c 				struct dma_chan **dma_chan,
dma_chan          803 drivers/mmc/host/mmci.c 	struct dma_chan *chan;
dma_chan          840 drivers/mmc/host/mmci.c 	*dma_chan = chan;
dma_chan          914 drivers/mmc/host/mmci.c 		struct dma_chan *chan;
dma_chan          256 drivers/mmc/host/mmci.h struct dma_chan;
dma_chan          129 drivers/mmc/host/moxart-mmc.c 	struct dma_chan			*dma_chan_tx;
dma_chan          130 drivers/mmc/host/moxart-mmc.c 	struct dma_chan                 *dma_chan_rx;
dma_chan          262 drivers/mmc/host/moxart-mmc.c 	struct dma_chan *dma_chan;
dma_chan          268 drivers/mmc/host/moxart-mmc.c 		dma_chan = host->dma_chan_tx;
dma_chan          271 drivers/mmc/host/moxart-mmc.c 		dma_chan = host->dma_chan_rx;
dma_chan          275 drivers/mmc/host/moxart-mmc.c 	len = dma_map_sg(dma_chan->device->dev, data->sg,
dma_chan          279 drivers/mmc/host/moxart-mmc.c 		desc = dmaengine_prep_slave_sg(dma_chan, data->sg,
dma_chan          292 drivers/mmc/host/moxart-mmc.c 		dma_async_issue_pending(dma_chan);
dma_chan          300 drivers/mmc/host/moxart-mmc.c 	dma_unmap_sg(dma_chan->device->dev,
dma_chan          125 drivers/mmc/host/mxcmmc.c 	struct dma_chan		*dma;
dma_chan          948 drivers/mmc/host/mxcmmc.c static bool filter(struct dma_chan *chan, void *param)
dma_chan          127 drivers/mmc/host/omap.c 	struct dma_chan		*dma_rx;
dma_chan          129 drivers/mmc/host/omap.c 	struct dma_chan		*dma_tx;
dma_chan          407 drivers/mmc/host/omap.c 	struct dma_chan *c;
dma_chan          984 drivers/mmc/host/omap.c 		struct dma_chan *c;
dma_chan         1076 drivers/mmc/host/omap.c 		struct dma_chan *c = host->data->flags & MMC_DATA_WRITE ?
dma_chan          195 drivers/mmc/host/omap_hsmmc.c 	struct dma_chan		*tx_chan;
dma_chan          196 drivers/mmc/host/omap_hsmmc.c 	struct dma_chan		*rx_chan;
dma_chan          815 drivers/mmc/host/omap_hsmmc.c static struct dma_chan *omap_hsmmc_get_dma_chan(struct omap_hsmmc_host *host,
dma_chan          921 drivers/mmc/host/omap_hsmmc.c 		struct dma_chan *chan = omap_hsmmc_get_dma_chan(host, host->data);
dma_chan         1168 drivers/mmc/host/omap_hsmmc.c 	struct dma_chan *chan;
dma_chan         1201 drivers/mmc/host/omap_hsmmc.c 				       struct dma_chan *chan)
dma_chan         1245 drivers/mmc/host/omap_hsmmc.c 	struct dma_chan *chan;
dma_chan         1342 drivers/mmc/host/omap_hsmmc.c 	struct dma_chan *chan;
dma_chan         1399 drivers/mmc/host/omap_hsmmc.c 		struct dma_chan *c = omap_hsmmc_get_dma_chan(host, data);
dma_chan         1417 drivers/mmc/host/omap_hsmmc.c 		struct dma_chan *c = omap_hsmmc_get_dma_chan(host, mrq->data);
dma_chan           70 drivers/mmc/host/pxamci.c 	struct dma_chan		*dma_chan_rx;
dma_chan           71 drivers/mmc/host/pxamci.c 	struct dma_chan		*dma_chan_tx;
dma_chan          164 drivers/mmc/host/pxamci.c 	struct dma_chan *chan;
dma_chan          333 drivers/mmc/host/pxamci.c 	struct dma_chan *chan;
dma_chan          534 drivers/mmc/host/pxamci.c 	struct dma_chan *chan;
dma_chan           38 drivers/mmc/host/renesas_sdhi.h 	bool (*filter)(struct dma_chan *chan, void *arg);
dma_chan          157 drivers/mmc/host/renesas_sdhi_sys_dmac.c 	struct dma_chan *chan = host->chan_rx;
dma_chan          229 drivers/mmc/host/renesas_sdhi_sys_dmac.c 	struct dma_chan *chan = host->chan_tx;
dma_chan          316 drivers/mmc/host/renesas_sdhi_sys_dmac.c 	struct dma_chan *chan = NULL;
dma_chan          424 drivers/mmc/host/renesas_sdhi_sys_dmac.c 		struct dma_chan *chan = host->chan_tx;
dma_chan          430 drivers/mmc/host/renesas_sdhi_sys_dmac.c 		struct dma_chan *chan = host->chan_rx;
dma_chan           26 drivers/mmc/host/s3cmci.h 	struct dma_chan		*dma;
dma_chan          246 drivers/mmc/host/sh_mmcif.c 	struct dma_chan		*chan_rx;
dma_chan          247 drivers/mmc/host/sh_mmcif.c 	struct dma_chan		*chan_tx;
dma_chan          292 drivers/mmc/host/sh_mmcif.c 	struct dma_chan *chan = host->chan_rx;
dma_chan          342 drivers/mmc/host/sh_mmcif.c 	struct dma_chan *chan = host->chan_tx;
dma_chan          387 drivers/mmc/host/sh_mmcif.c static struct dma_chan *
dma_chan          401 drivers/mmc/host/sh_mmcif.c 				     struct dma_chan *chan,
dma_chan          461 drivers/mmc/host/sh_mmcif.c 		struct dma_chan *chan = host->chan_tx;
dma_chan          466 drivers/mmc/host/sh_mmcif.c 		struct dma_chan *chan = host->chan_rx;
dma_chan          146 drivers/mmc/host/tmio_mmc.h 	struct dma_chan		*chan_rx;
dma_chan          147 drivers/mmc/host/tmio_mmc.h 	struct dma_chan		*chan_tx;
dma_chan           68 drivers/mmc/host/uniphier-sd.c 	struct dma_chan *chan;
dma_chan          180 drivers/mmc/host/uniphier-sd.c 	struct dma_chan *chan;
dma_chan          196 drivers/mmc/host/usdhi6rol0.c 	struct dma_chan *chan_rx;
dma_chan          197 drivers/mmc/host/usdhi6rol0.c 	struct dma_chan *chan_tx;
dma_chan          520 drivers/mmc/host/usdhi6rol0.c 		struct dma_chan *chan = host->chan_tx;
dma_chan          525 drivers/mmc/host/usdhi6rol0.c 		struct dma_chan *chan = host->chan_rx;
dma_chan          565 drivers/mmc/host/usdhi6rol0.c static int usdhi6_dma_setup(struct usdhi6_host *host, struct dma_chan *chan,
dma_chan           42 drivers/mtd/nand/onenand/omap2.c 	struct dma_chan *dma_chan;
dma_chan          331 drivers/mtd/nand/onenand/omap2.c 	tx = dmaengine_prep_dma_memcpy(c->dma_chan, dst, src, count,
dma_chan          349 drivers/mtd/nand/onenand/omap2.c 	dma_async_issue_pending(c->dma_chan);
dma_chan          353 drivers/mtd/nand/onenand/omap2.c 		dmaengine_terminate_sync(c->dma_chan);
dma_chan          517 drivers/mtd/nand/onenand/omap2.c 	c->dma_chan = dma_request_channel(mask, NULL, NULL);
dma_chan          518 drivers/mtd/nand/onenand/omap2.c 	if (c->dma_chan) {
dma_chan          530 drivers/mtd/nand/onenand/omap2.c 		 c->dma_chan ? "DMA" : "PIO");
dma_chan          580 drivers/mtd/nand/onenand/omap2.c 	if (c->dma_chan)
dma_chan          581 drivers/mtd/nand/onenand/omap2.c 		dma_release_channel(c->dma_chan);
dma_chan          591 drivers/mtd/nand/onenand/omap2.c 	if (c->dma_chan)
dma_chan          592 drivers/mtd/nand/onenand/omap2.c 		dma_release_channel(c->dma_chan);
dma_chan          221 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct dma_chan *dmac;
dma_chan          145 drivers/mtd/nand/raw/fsmc_nand.c 	struct dma_chan		*read_dma_chan;
dma_chan          146 drivers/mtd/nand/raw/fsmc_nand.c 	struct dma_chan		*write_dma_chan;
dma_chan          460 drivers/mtd/nand/raw/fsmc_nand.c 	struct dma_chan *chan;
dma_chan          823 drivers/mtd/nand/raw/fsmc_nand.c static bool filter(struct dma_chan *chan, void *slave)
dma_chan          771 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static struct dma_chan *get_dma_chan(struct gpmi_nand_data *this)
dma_chan         1150 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct dma_chan *dma_chan;
dma_chan         1153 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	dma_chan = dma_request_slave_channel(&pdev->dev, "rx-tx");
dma_chan         1154 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (!dma_chan) {
dma_chan         1159 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->dma_chans[0] = dma_chan;
dma_chan         2244 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct dma_chan *channel = get_dma_chan(this);
dma_chan         2286 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct dma_chan *channel = get_dma_chan(this);
dma_chan         2305 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct dma_chan *channel = get_dma_chan(this);
dma_chan         2351 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct dma_chan *channel = get_dma_chan(this);
dma_chan          156 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h 	struct dma_chan		*dma_chans[DMA_CHANS];
dma_chan          199 drivers/mtd/nand/raw/lpc32xx_mlc.c 	struct dma_chan		*dma_chan;
dma_chan          403 drivers/mtd/nand/raw/lpc32xx_mlc.c 	res = dma_map_sg(host->dma_chan->device->dev, &host->sgl, 1,
dma_chan          409 drivers/mtd/nand/raw/lpc32xx_mlc.c 	desc = dmaengine_prep_slave_sg(host->dma_chan, &host->sgl, 1, dir,
dma_chan          421 drivers/mtd/nand/raw/lpc32xx_mlc.c 	dma_async_issue_pending(host->dma_chan);
dma_chan          425 drivers/mtd/nand/raw/lpc32xx_mlc.c 	dma_unmap_sg(host->dma_chan->device->dev, &host->sgl, 1,
dma_chan          429 drivers/mtd/nand/raw/lpc32xx_mlc.c 	dma_unmap_sg(host->dma_chan->device->dev, &host->sgl, 1,
dma_chan          584 drivers/mtd/nand/raw/lpc32xx_mlc.c 	host->dma_chan = dma_request_channel(mask, host->pdata->dma_filter,
dma_chan          586 drivers/mtd/nand/raw/lpc32xx_mlc.c 	if (!host->dma_chan) {
dma_chan          605 drivers/mtd/nand/raw/lpc32xx_mlc.c 	if (dmaengine_slave_config(host->dma_chan, &host->dma_slave_config)) {
dma_chan          612 drivers/mtd/nand/raw/lpc32xx_mlc.c 	dma_release_channel(host->dma_chan);
dma_chan          812 drivers/mtd/nand/raw/lpc32xx_mlc.c 		dma_release_channel(host->dma_chan);
dma_chan          834 drivers/mtd/nand/raw/lpc32xx_mlc.c 		dma_release_channel(host->dma_chan);
dma_chan          225 drivers/mtd/nand/raw/lpc32xx_slc.c 	struct dma_chan		*dma_chan;
dma_chan          445 drivers/mtd/nand/raw/lpc32xx_slc.c 	if (dmaengine_slave_config(host->dma_chan, &host->dma_slave_config)) {
dma_chan          452 drivers/mtd/nand/raw/lpc32xx_slc.c 	res = dma_map_sg(host->dma_chan->device->dev, &host->sgl, 1,
dma_chan          458 drivers/mtd/nand/raw/lpc32xx_slc.c 	desc = dmaengine_prep_slave_sg(host->dma_chan, &host->sgl, 1, dir,
dma_chan          470 drivers/mtd/nand/raw/lpc32xx_slc.c 	dma_async_issue_pending(host->dma_chan);
dma_chan          474 drivers/mtd/nand/raw/lpc32xx_slc.c 	dma_unmap_sg(host->dma_chan->device->dev, &host->sgl, 1,
dma_chan          479 drivers/mtd/nand/raw/lpc32xx_slc.c 	dma_unmap_sg(host->dma_chan->device->dev, &host->sgl, 1,
dma_chan          576 drivers/mtd/nand/raw/lpc32xx_slc.c 	dmaengine_terminate_all(host->dma_chan);
dma_chan          733 drivers/mtd/nand/raw/lpc32xx_slc.c 	host->dma_chan = dma_request_channel(mask, host->pdata->dma_filter,
dma_chan          735 drivers/mtd/nand/raw/lpc32xx_slc.c 	if (!host->dma_chan) {
dma_chan          934 drivers/mtd/nand/raw/lpc32xx_slc.c 	dma_release_channel(host->dma_chan);
dma_chan          952 drivers/mtd/nand/raw/lpc32xx_slc.c 	dma_release_channel(host->dma_chan);
dma_chan          404 drivers/mtd/nand/raw/marvell_nand.c 	struct dma_chan *dma_chan;
dma_chan          663 drivers/mtd/nand/raw/marvell_nand.c 		if (nfc->dma_chan)
dma_chan          664 drivers/mtd/nand/raw/marvell_nand.c 			dmaengine_terminate_all(nfc->dma_chan);
dma_chan          831 drivers/mtd/nand/raw/marvell_nand.c 	dma_map_sg(nfc->dma_chan->device->dev, &sg, 1, direction);
dma_chan          832 drivers/mtd/nand/raw/marvell_nand.c 	tx = dmaengine_prep_slave_sg(nfc->dma_chan, &sg, 1,
dma_chan          847 drivers/mtd/nand/raw/marvell_nand.c 	dma_async_issue_pending(nfc->dma_chan);
dma_chan          849 drivers/mtd/nand/raw/marvell_nand.c 	dma_unmap_sg(nfc->dma_chan->device->dev, &sg, 1, direction);
dma_chan          853 drivers/mtd/nand/raw/marvell_nand.c 			dmaengine_tx_status(nfc->dma_chan, cookie, NULL));
dma_chan          854 drivers/mtd/nand/raw/marvell_nand.c 		dmaengine_terminate_all(nfc->dma_chan);
dma_chan         2746 drivers/mtd/nand/raw/marvell_nand.c 	nfc->dma_chan =	dma_request_slave_channel(nfc->dev, "data");
dma_chan         2747 drivers/mtd/nand/raw/marvell_nand.c 	if (!nfc->dma_chan) {
dma_chan         2763 drivers/mtd/nand/raw/marvell_nand.c 	ret = dmaengine_slave_config(nfc->dma_chan, &config);
dma_chan         2944 drivers/mtd/nand/raw/marvell_nand.c 		dmaengine_terminate_all(nfc->dma_chan);
dma_chan         2945 drivers/mtd/nand/raw/marvell_nand.c 		dma_release_channel(nfc->dma_chan);
dma_chan          157 drivers/mtd/nand/raw/omap2.c 	struct dma_chan			*dma;
dma_chan          375 drivers/mtd/nand/raw/qcom_nandc.c 			struct dma_chan *tx_chan;
dma_chan          376 drivers/mtd/nand/raw/qcom_nandc.c 			struct dma_chan *rx_chan;
dma_chan          377 drivers/mtd/nand/raw/qcom_nandc.c 			struct dma_chan *cmd_chan;
dma_chan          382 drivers/mtd/nand/raw/qcom_nandc.c 			struct dma_chan *chan;
dma_chan          728 drivers/mtd/nand/raw/qcom_nandc.c 				  struct dma_chan *chan,
dma_chan          382 drivers/mtd/nand/raw/sh_flctl.c 	struct dma_chan *chan;
dma_chan          263 drivers/mtd/nand/raw/stm32_fmc2_nand.c 	struct dma_chan *dma_tx_ch;
dma_chan          264 drivers/mtd/nand/raw/stm32_fmc2_nand.c 	struct dma_chan *dma_rx_ch;
dma_chan          265 drivers/mtd/nand/raw/stm32_fmc2_nand.c 	struct dma_chan *dma_ecc_ch;
dma_chan          899 drivers/mtd/nand/raw/stm32_fmc2_nand.c 	struct dma_chan *dma_ch = fmc2->dma_rx_ch;
dma_chan          248 drivers/mtd/nand/raw/sunxi_nand.c 	struct dma_chan *dmac;
dma_chan           88 drivers/mtd/nand/raw/tango_nand.c 	struct dma_chan *chan;
dma_chan          233 drivers/mtd/nand/raw/tango_nand.c 	struct dma_chan *chan = nfc->chan;
dma_chan           75 drivers/mtd/spi-nor/cadence-quadspi.c 	struct dma_chan		*rx_chan;
dma_chan          131 drivers/net/ethernet/micrel/ks8842.c 	struct dma_chan *chan;
dma_chan          139 drivers/net/ethernet/micrel/ks8842.c 	struct dma_chan *chan;
dma_chan          907 drivers/net/ethernet/micrel/ks8842.c static bool ks8842_dma_filter_fn(struct dma_chan *chan, void *filter_param)
dma_chan           93 drivers/net/ethernet/smsc/smc911x.h 	struct dma_chan *rxdma;
dma_chan           94 drivers/net/ethernet/smsc/smc911x.h 	struct dma_chan *txdma;
dma_chan          219 drivers/net/ethernet/smsc/smc911x.h 		int reg, struct dma_chan *dma, u_char *buf, int len)
dma_chan          251 drivers/net/ethernet/smsc/smc911x.h 		int reg, struct dma_chan *dma, u_char *buf, int len)
dma_chan         2013 drivers/net/ethernet/smsc/smc91x.c 		lp->dma_chan = dma_request_channel(mask, NULL, NULL);
dma_chan         2024 drivers/net/ethernet/smsc/smc91x.c 		if (lp->dma_chan)
dma_chan         2025 drivers/net/ethernet/smsc/smc91x.c 			pr_cont(" DMA %p", lp->dma_chan);
dma_chan         2050 drivers/net/ethernet/smsc/smc91x.c 	if (retval && lp->dma_chan)
dma_chan         2051 drivers/net/ethernet/smsc/smc91x.c 		dma_release_channel(lp->dma_chan);
dma_chan         2417 drivers/net/ethernet/smsc/smc91x.c 	if (lp->dma_chan)
dma_chan         2418 drivers/net/ethernet/smsc/smc91x.c 		dma_release_channel(lp->dma_chan);
dma_chan          269 drivers/net/ethernet/smsc/smc91x.h 	struct dma_chan *dma_chan;
dma_chan          308 drivers/net/ethernet/smsc/smc91x.h 	tx = dmaengine_prep_slave_single(lp->dma_chan, dmabuf, len,
dma_chan          312 drivers/net/ethernet/smsc/smc91x.h 		dma_async_issue_pending(lp->dma_chan);
dma_chan          314 drivers/net/ethernet/smsc/smc91x.h 			status = dmaengine_tx_status(lp->dma_chan, cookie,
dma_chan          319 drivers/net/ethernet/smsc/smc91x.h 		dmaengine_terminate_all(lp->dma_chan);
dma_chan          332 drivers/net/ethernet/smsc/smc91x.h 	if (!lp->dma_chan) {
dma_chan          351 drivers/net/ethernet/smsc/smc91x.h 	ret = dmaengine_slave_config(lp->dma_chan, &config);
dma_chan          375 drivers/net/ethernet/smsc/smc91x.h 	if (!lp->dma_chan) {
dma_chan          394 drivers/net/ethernet/smsc/smc91x.h 	ret = dmaengine_slave_config(lp->dma_chan, &config);
dma_chan          135 drivers/ntb/ntb_transport.c 	struct dma_chan *tx_dma_chan;
dma_chan          136 drivers/ntb/ntb_transport.c 	struct dma_chan *rx_dma_chan;
dma_chan         1526 drivers/ntb/ntb_transport.c 	struct dma_chan *chan = qp->rx_dma_chan;
dma_chan         1593 drivers/ntb/ntb_transport.c 	struct dma_chan *chan = qp->rx_dma_chan;
dma_chan         1805 drivers/ntb/ntb_transport.c 	struct dma_chan *chan = qp->tx_dma_chan;
dma_chan         1864 drivers/ntb/ntb_transport.c 	struct dma_chan *chan = qp->tx_dma_chan;
dma_chan         1957 drivers/ntb/ntb_transport.c static bool ntb_dma_filter_fn(struct dma_chan *chan, void *node)
dma_chan         2122 drivers/ntb/ntb_transport.c 		struct dma_chan *chan = qp->tx_dma_chan;
dma_chan         2142 drivers/ntb/ntb_transport.c 		struct dma_chan *chan = qp->rx_dma_chan;
dma_chan         2399 drivers/ntb/ntb_transport.c 	struct dma_chan *rx_chan, *tx_chan;
dma_chan          172 drivers/ntb/test/ntb_perf.c 	struct dma_chan *dma_chan;
dma_chan          791 drivers/ntb/test/ntb_perf.c 	dma_dev = pthr->dma_chan->device->dev;
dma_chan          793 drivers/ntb/test/ntb_perf.c 	if (!is_dma_copy_aligned(pthr->dma_chan->device, offset_in_page(src),
dma_chan          819 drivers/ntb/test/ntb_perf.c 		tx = dmaengine_prep_dma_memcpy(pthr->dma_chan, unmap->addr[1],
dma_chan          843 drivers/ntb/test/ntb_perf.c 	dma_async_issue_pending(pthr->dma_chan);
dma_chan          854 drivers/ntb/test/ntb_perf.c static bool perf_dma_filter(struct dma_chan *chan, void *data)
dma_chan          881 drivers/ntb/test/ntb_perf.c 	pthr->dma_chan = dma_request_channel(dma_mask, perf_dma_filter, perf);
dma_chan          882 drivers/ntb/test/ntb_perf.c 	if (!pthr->dma_chan) {
dma_chan          980 drivers/ntb/test/ntb_perf.c 	(void)dmaengine_terminate_sync(pthr->dma_chan);
dma_chan          982 drivers/ntb/test/ntb_perf.c 	dma_release_channel(pthr->dma_chan);
dma_chan          178 drivers/rapidio/devices/rio_mport_cdev.c 	struct dma_chan *dma_chan;
dma_chan          209 drivers/rapidio/devices/rio_mport_cdev.c 	struct dma_chan		*dmach;
dma_chan          544 drivers/rapidio/devices/rio_mport_cdev.c 	struct dma_chan *dmach;
dma_chan          556 drivers/rapidio/devices/rio_mport_cdev.c 	rmcd_debug(EXIT, "DMA_%d", md->dma_chan->chan_id);
dma_chan          557 drivers/rapidio/devices/rio_mport_cdev.c 	rio_release_dma(md->dma_chan);
dma_chan          558 drivers/rapidio/devices/rio_mport_cdev.c 	md->dma_chan = NULL;
dma_chan          616 drivers/rapidio/devices/rio_mport_cdev.c *prep_dma_xfer(struct dma_chan *chan, struct rio_transfer_io *transfer,
dma_chan          660 drivers/rapidio/devices/rio_mport_cdev.c 			if (priv->md->dma_chan) {
dma_chan          661 drivers/rapidio/devices/rio_mport_cdev.c 				priv->dmach = priv->md->dma_chan;
dma_chan          668 drivers/rapidio/devices/rio_mport_cdev.c 		} else if (!priv->md->dma_chan) {
dma_chan          670 drivers/rapidio/devices/rio_mport_cdev.c 			priv->md->dma_chan = priv->dmach;
dma_chan          699 drivers/rapidio/devices/rio_mport_cdev.c 	struct dma_chan *chan;
dma_chan          817 drivers/rapidio/devices/rio_mport_cdev.c 	struct dma_chan *chan;
dma_chan         1988 drivers/rapidio/devices/rio_mport_cdev.c 	if (priv->dmach != priv->md->dma_chan) {
dma_chan         2462 drivers/rapidio/devices/rio_mport_cdev.c 	if (md->dma_chan) {
dma_chan         2463 drivers/rapidio/devices/rio_mport_cdev.c 		dmaengine_terminate_all(md->dma_chan);
dma_chan         2464 drivers/rapidio/devices/rio_mport_cdev.c 		rio_release_dma(md->dma_chan);
dma_chan         2465 drivers/rapidio/devices/rio_mport_cdev.c 		md->dma_chan = NULL;
dma_chan          701 drivers/rapidio/devices/tsi721.h 	struct dma_chan		dchan;
dma_chan           47 drivers/rapidio/devices/tsi721_dma.c static inline struct tsi721_bdma_chan *to_tsi721_chan(struct dma_chan *chan)
dma_chan          411 drivers/rapidio/devices/tsi721_dma.c 	struct dma_chan *dchan = desc->txd.chan;
dma_chan          721 drivers/rapidio/devices/tsi721_dma.c static int tsi721_alloc_chan_resources(struct dma_chan *dchan)
dma_chan          779 drivers/rapidio/devices/tsi721_dma.c static void tsi721_free_chan_resources(struct dma_chan *dchan)
dma_chan          798 drivers/rapidio/devices/tsi721_dma.c enum dma_status tsi721_tx_status(struct dma_chan *dchan, dma_cookie_t cookie,
dma_chan          810 drivers/rapidio/devices/tsi721_dma.c static void tsi721_issue_pending(struct dma_chan *dchan)
dma_chan          824 drivers/rapidio/devices/tsi721_dma.c struct dma_async_tx_descriptor *tsi721_prep_rio_sg(struct dma_chan *dchan,
dma_chan          893 drivers/rapidio/devices/tsi721_dma.c static int tsi721_terminate_all(struct dma_chan *dchan)
dma_chan         1021 drivers/rapidio/devices/tsi721_dma.c 	struct dma_chan *chan, *_c;
dma_chan         1817 drivers/rapidio/rio.c static bool rio_chan_filter(struct dma_chan *chan, void *arg)
dma_chan         1832 drivers/rapidio/rio.c struct dma_chan *rio_request_mport_dma(struct rio_mport *mport)
dma_chan         1849 drivers/rapidio/rio.c struct dma_chan *rio_request_dma(struct rio_dev *rdev)
dma_chan         1859 drivers/rapidio/rio.c void rio_release_dma(struct dma_chan *dchan)
dma_chan         1881 drivers/rapidio/rio.c struct dma_async_tx_descriptor *rio_dma_prep_xfer(struct dma_chan *dchan,
dma_chan         1919 drivers/rapidio/rio.c 	struct dma_chan *dchan, struct rio_dma_data *data,
dma_chan          152 drivers/slimbus/qcom-ngd-ctrl.c 	struct dma_chan *dma_rx_channel;
dma_chan          153 drivers/slimbus/qcom-ngd-ctrl.c 	struct dma_chan	*dma_tx_channel;
dma_chan           88 drivers/soc/tegra/fuse/fuse-tegra20.c static bool dma_filter(struct dma_chan *chan, void *filter_param)
dma_chan           46 drivers/soc/tegra/fuse/fuse.h 		struct dma_chan *chan;
dma_chan          220 drivers/spi/spi-at91-usart.c 	struct dma_chan	 *rxchan = ctlr->dma_rx;
dma_chan          221 drivers/spi/spi-at91-usart.c 	struct dma_chan *txchan = ctlr->dma_tx;
dma_chan          733 drivers/spi/spi-atmel.c 	struct dma_chan		*rxchan = master->dma_rx;
dma_chan          734 drivers/spi/spi-atmel.c 	struct dma_chan		*txchan = master->dma_tx;
dma_chan          665 drivers/spi/spi-bcm2835.c 	struct dma_chan *chan;
dma_chan          120 drivers/spi/spi-davinci.c 	struct dma_chan		*dma_rx;
dma_chan          121 drivers/spi/spi-davinci.c 	struct dma_chan		*dma_tx;
dma_chan           27 drivers/spi/spi-dw-mid.c static bool mid_spi_dma_chan_filter(struct dma_chan *chan, void *param)
dma_chan          134 drivers/spi/spi-dw.h 	struct dma_chan		*txchan;
dma_chan          135 drivers/spi/spi-dw.h 	struct dma_chan		*rxchan;
dma_chan           92 drivers/spi/spi-ep93xx.c 	struct dma_chan			*dma_rx;
dma_chan           93 drivers/spi/spi-ep93xx.c 	struct dma_chan			*dma_tx;
dma_chan          278 drivers/spi/spi-ep93xx.c 	struct dma_chan *chan;
dma_chan          376 drivers/spi/spi-ep93xx.c 	struct dma_chan *chan;
dma_chan          574 drivers/spi/spi-ep93xx.c static bool ep93xx_spi_dma_filter(struct dma_chan *chan, void *filter_param)
dma_chan          161 drivers/spi/spi-fsl-dspi.c 	struct dma_chan				*chan_tx;
dma_chan          167 drivers/spi/spi-fsl-dspi.c 	struct dma_chan				*chan_rx;
dma_chan           99 drivers/spi/spi-img-spfi.c 	struct dma_chan *rx_ch;
dma_chan          100 drivers/spi/spi-img-spfi.c 	struct dma_chan *tx_ch;
dma_chan           94 drivers/spi/spi-omap2-mcspi.c 	struct dma_chan *dma_tx;
dma_chan           95 drivers/spi/spi-omap2-mcspi.c 	struct dma_chan *dma_rx;
dma_chan          389 drivers/spi/spi-pl022.c 	struct dma_chan			*dma_rx_channel;
dma_chan          390 drivers/spi/spi-pl022.c 	struct dma_chan			*dma_tx_channel;
dma_chan          932 drivers/spi/spi-pl022.c 	struct dma_chan *rxchan = pl022->dma_rx_channel;
dma_chan          933 drivers/spi/spi-pl022.c 	struct dma_chan *txchan = pl022->dma_tx_channel;
dma_chan         1158 drivers/spi/spi-pl022.c 	struct dma_chan *chan;
dma_chan         1198 drivers/spi/spi-pl022.c 	struct dma_chan *rxchan = pl022->dma_rx_channel;
dma_chan         1199 drivers/spi/spi-pl022.c 	struct dma_chan *txchan = pl022->dma_tx_channel;
dma_chan           77 drivers/spi/spi-pxa2xx-dma.c 	struct dma_chan *chan;
dma_chan           34 drivers/spi/spi-pxa2xx-pci.c 	bool (*dma_filter)(struct dma_chan *chan, void *param);
dma_chan           63 drivers/spi/spi-pxa2xx-pci.c static bool lpss_dma_filter(struct dma_chan *chan, void *param)
dma_chan         1533 drivers/spi/spi-pxa2xx.c static bool pxa2xx_spi_idma_filter(struct dma_chan *chan, void *param)
dma_chan          396 drivers/spi/spi-qup.c 	struct dma_chan *chan;
dma_chan         1025 drivers/spi/spi-rspi.c static struct dma_chan *rspi_request_dma_chan(struct device *dev,
dma_chan         1031 drivers/spi/spi-rspi.c 	struct dma_chan *chan;
dma_chan          124 drivers/spi/spi-s3c64xx.c 	struct dma_chan *ch;
dma_chan         1167 drivers/spi/spi-sh-msiof.c static struct dma_chan *sh_msiof_request_dma_chan(struct device *dev,
dma_chan         1171 drivers/spi/spi-sh-msiof.c 	struct dma_chan *chan;
dma_chan          273 drivers/spi/spi-sirf.c 	struct dma_chan *rx_chan;
dma_chan          274 drivers/spi/spi-sirf.c 	struct dma_chan *tx_chan;
dma_chan          145 drivers/spi/spi-sprd.c 	struct dma_chan *dma_chan[SPRD_SPI_MAX];
dma_chan          488 drivers/spi/spi-sprd.c static int sprd_spi_dma_submit(struct dma_chan *dma_chan,
dma_chan          498 drivers/spi/spi-sprd.c 	ret = dmaengine_slave_config(dma_chan, c);
dma_chan          504 drivers/spi/spi-sprd.c 	desc = dmaengine_prep_slave_sg(dma_chan, sg->sgl, sg->nents, dir, flags);
dma_chan          512 drivers/spi/spi-sprd.c 	dma_async_issue_pending(dma_chan);
dma_chan          519 drivers/spi/spi-sprd.c 	struct dma_chan *dma_chan = ss->dma.dma_chan[SPRD_SPI_RX];
dma_chan          528 drivers/spi/spi-sprd.c 	ret = sprd_spi_dma_submit(dma_chan, &config, &t->rx_sg, DMA_DEV_TO_MEM);
dma_chan          537 drivers/spi/spi-sprd.c 	struct dma_chan *dma_chan = ss->dma.dma_chan[SPRD_SPI_TX];
dma_chan          546 drivers/spi/spi-sprd.c 	ret = sprd_spi_dma_submit(dma_chan, &config, &t->tx_sg, DMA_MEM_TO_DEV);
dma_chan          555 drivers/spi/spi-sprd.c 	ss->dma.dma_chan[SPRD_SPI_RX] = dma_request_chan(ss->dev, "rx_chn");
dma_chan          556 drivers/spi/spi-sprd.c 	if (IS_ERR_OR_NULL(ss->dma.dma_chan[SPRD_SPI_RX])) {
dma_chan          557 drivers/spi/spi-sprd.c 		if (PTR_ERR(ss->dma.dma_chan[SPRD_SPI_RX]) == -EPROBE_DEFER)
dma_chan          558 drivers/spi/spi-sprd.c 			return PTR_ERR(ss->dma.dma_chan[SPRD_SPI_RX]);
dma_chan          561 drivers/spi/spi-sprd.c 		return PTR_ERR(ss->dma.dma_chan[SPRD_SPI_RX]);
dma_chan          564 drivers/spi/spi-sprd.c 	ss->dma.dma_chan[SPRD_SPI_TX]  = dma_request_chan(ss->dev, "tx_chn");
dma_chan          565 drivers/spi/spi-sprd.c 	if (IS_ERR_OR_NULL(ss->dma.dma_chan[SPRD_SPI_TX])) {
dma_chan          566 drivers/spi/spi-sprd.c 		if (PTR_ERR(ss->dma.dma_chan[SPRD_SPI_TX]) == -EPROBE_DEFER)
dma_chan          567 drivers/spi/spi-sprd.c 			return PTR_ERR(ss->dma.dma_chan[SPRD_SPI_TX]);
dma_chan          570 drivers/spi/spi-sprd.c 		dma_release_channel(ss->dma.dma_chan[SPRD_SPI_RX]);
dma_chan          571 drivers/spi/spi-sprd.c 		return PTR_ERR(ss->dma.dma_chan[SPRD_SPI_TX]);
dma_chan          579 drivers/spi/spi-sprd.c 	if (ss->dma.dma_chan[SPRD_SPI_RX])
dma_chan          580 drivers/spi/spi-sprd.c 		dma_release_channel(ss->dma.dma_chan[SPRD_SPI_RX]);
dma_chan          582 drivers/spi/spi-sprd.c 	if (ss->dma.dma_chan[SPRD_SPI_TX])
dma_chan          583 drivers/spi/spi-sprd.c 		dma_release_channel(ss->dma.dma_chan[SPRD_SPI_TX]);
dma_chan          110 drivers/spi/spi-stm32-qspi.c 	struct dma_chan *dma_chtx;
dma_chan          111 drivers/spi/spi-stm32-qspi.c 	struct dma_chan *dma_chrx;
dma_chan          204 drivers/spi/spi-stm32-qspi.c 	struct dma_chan *dma_ch;
dma_chan          314 drivers/spi/spi-stm32.c 	struct dma_chan *dma_tx;
dma_chan          315 drivers/spi/spi-stm32.c 	struct dma_chan *dma_rx;
dma_chan          212 drivers/spi/spi-tegra114.c 	struct dma_chan				*rx_dma_chan;
dma_chan          217 drivers/spi/spi-tegra114.c 	struct dma_chan				*tx_dma_chan;
dma_chan          664 drivers/spi/spi-tegra114.c 	struct dma_chan *dma_chan;
dma_chan          669 drivers/spi/spi-tegra114.c 	dma_chan = dma_request_slave_channel_reason(tspi->dev,
dma_chan          671 drivers/spi/spi-tegra114.c 	if (IS_ERR(dma_chan)) {
dma_chan          672 drivers/spi/spi-tegra114.c 		ret = PTR_ERR(dma_chan);
dma_chan          683 drivers/spi/spi-tegra114.c 		dma_release_channel(dma_chan);
dma_chan          688 drivers/spi/spi-tegra114.c 		tspi->rx_dma_chan = dma_chan;
dma_chan          692 drivers/spi/spi-tegra114.c 		tspi->tx_dma_chan = dma_chan;
dma_chan          704 drivers/spi/spi-tegra114.c 	struct dma_chan *dma_chan;
dma_chan          708 drivers/spi/spi-tegra114.c 		dma_chan = tspi->rx_dma_chan;
dma_chan          714 drivers/spi/spi-tegra114.c 		dma_chan = tspi->tx_dma_chan;
dma_chan          719 drivers/spi/spi-tegra114.c 	if (!dma_chan)
dma_chan          723 drivers/spi/spi-tegra114.c 	dma_release_channel(dma_chan);
dma_chan          196 drivers/spi/spi-tegra20-slink.c 	struct dma_chan				*rx_dma_chan;
dma_chan          201 drivers/spi/spi-tegra20-slink.c 	struct dma_chan				*tx_dma_chan;
dma_chan          596 drivers/spi/spi-tegra20-slink.c 	struct dma_chan *dma_chan;
dma_chan          602 drivers/spi/spi-tegra20-slink.c 	dma_chan = dma_request_slave_channel_reason(tspi->dev,
dma_chan          604 drivers/spi/spi-tegra20-slink.c 	if (IS_ERR(dma_chan)) {
dma_chan          605 drivers/spi/spi-tegra20-slink.c 		ret = PTR_ERR(dma_chan);
dma_chan          616 drivers/spi/spi-tegra20-slink.c 		dma_release_channel(dma_chan);
dma_chan          630 drivers/spi/spi-tegra20-slink.c 	ret = dmaengine_slave_config(dma_chan, &dma_sconfig);
dma_chan          634 drivers/spi/spi-tegra20-slink.c 		tspi->rx_dma_chan = dma_chan;
dma_chan          638 drivers/spi/spi-tegra20-slink.c 		tspi->tx_dma_chan = dma_chan;
dma_chan          646 drivers/spi/spi-tegra20-slink.c 	dma_release_channel(dma_chan);
dma_chan          655 drivers/spi/spi-tegra20-slink.c 	struct dma_chan *dma_chan;
dma_chan          659 drivers/spi/spi-tegra20-slink.c 		dma_chan = tspi->rx_dma_chan;
dma_chan          665 drivers/spi/spi-tegra20-slink.c 		dma_chan = tspi->tx_dma_chan;
dma_chan          670 drivers/spi/spi-tegra20-slink.c 	if (!dma_chan)
dma_chan          674 drivers/spi/spi-tegra20-slink.c 	dma_release_channel(dma_chan);
dma_chan           58 drivers/spi/spi-ti-qspi.c 	struct dma_chan		*rx_chan;
dma_chan          398 drivers/spi/spi-ti-qspi.c 	struct dma_chan *chan = qspi->rx_chan;
dma_chan          110 drivers/spi/spi-topcliff-pch.c 	struct dma_chan		*chan_tx;
dma_chan          111 drivers/spi/spi-topcliff-pch.c 	struct dma_chan		*chan_rx;
dma_chan          828 drivers/spi/spi-topcliff-pch.c static bool pch_spi_filter(struct dma_chan *chan, void *slave)
dma_chan          844 drivers/spi/spi-topcliff-pch.c 	struct dma_chan *chan;
dma_chan           41 drivers/staging/comedi/drivers/comedi_isadma.c unsigned int comedi_isadma_disable(unsigned int dma_chan)
dma_chan           47 drivers/staging/comedi/drivers/comedi_isadma.c 	disable_dma(dma_chan);
dma_chan           48 drivers/staging/comedi/drivers/comedi_isadma.c 	residue = get_dma_residue(dma_chan);
dma_chan           62 drivers/staging/comedi/drivers/comedi_isadma.c unsigned int comedi_isadma_disable_on_sample(unsigned int dma_chan,
dma_chan           70 drivers/staging/comedi/drivers/comedi_isadma.c 	residue = comedi_isadma_disable(dma_chan);
dma_chan           74 drivers/staging/comedi/drivers/comedi_isadma.c 		enable_dma(dma_chan);
dma_chan           78 drivers/staging/comedi/drivers/comedi_isadma.c 		new_residue = comedi_isadma_disable(dma_chan);
dma_chan           61 drivers/staging/comedi/drivers/comedi_isadma.h unsigned int comedi_isadma_disable(unsigned int dma_chan);
dma_chan           62 drivers/staging/comedi/drivers/comedi_isadma.h unsigned int comedi_isadma_disable_on_sample(unsigned int dma_chan,
dma_chan           79 drivers/staging/comedi/drivers/comedi_isadma.h static inline unsigned int comedi_isadma_disable(unsigned int dma_chan)
dma_chan           85 drivers/staging/comedi/drivers/comedi_isadma.h comedi_isadma_disable_on_sample(unsigned int dma_chan, unsigned int size)
dma_chan          925 drivers/staging/comedi/drivers/das16.c static void das16_alloc_dma(struct comedi_device *dev, unsigned int dma_chan)
dma_chan          932 drivers/staging/comedi/drivers/das16.c 	if (!(dma_chan == 1 || dma_chan == 3))
dma_chan          936 drivers/staging/comedi/drivers/das16.c 	devpriv->dma = comedi_isadma_alloc(dev, 2, dma_chan, dma_chan,
dma_chan         1049 drivers/staging/comedi/drivers/das1800.c 	unsigned int *dma_chan;
dma_chan         1057 drivers/staging/comedi/drivers/das1800.c 	dma_chan = &it->options[2];
dma_chan         1059 drivers/staging/comedi/drivers/das1800.c 	switch ((dma_chan[0] & 0x7) | (dma_chan[1] << 4)) {
dma_chan         1083 drivers/staging/comedi/drivers/das1800.c 	devpriv->dma = comedi_isadma_alloc(dev, dma_chan[1] ? 2 : 1,
dma_chan         1084 drivers/staging/comedi/drivers/das1800.c 					   dma_chan[0], dma_chan[1],
dma_chan         1034 drivers/staging/comedi/drivers/dt282x.c 	unsigned int dma_chan[2];
dma_chan         1037 drivers/staging/comedi/drivers/dt282x.c 		dma_chan[0] = it->options[2];
dma_chan         1038 drivers/staging/comedi/drivers/dt282x.c 		dma_chan[1] = it->options[3];
dma_chan         1040 drivers/staging/comedi/drivers/dt282x.c 		dma_chan[0] = it->options[3];
dma_chan         1041 drivers/staging/comedi/drivers/dt282x.c 		dma_chan[1] = it->options[2];
dma_chan         1044 drivers/staging/comedi/drivers/dt282x.c 	if (!irq_num || dma_chan[0] == dma_chan[1] ||
dma_chan         1045 drivers/staging/comedi/drivers/dt282x.c 	    dma_chan[0] < 5 || dma_chan[0] > 7 ||
dma_chan         1046 drivers/staging/comedi/drivers/dt282x.c 	    dma_chan[1] < 5 || dma_chan[1] > 7)
dma_chan         1053 drivers/staging/comedi/drivers/dt282x.c 	devpriv->dma = comedi_isadma_alloc(dev, 2, dma_chan[0], dma_chan[1],
dma_chan          642 drivers/staging/comedi/drivers/ni_at_a2150.c 	unsigned int dma_chan = it->options[2];
dma_chan          648 drivers/staging/comedi/drivers/ni_at_a2150.c 	if (irq_num > 15 || dma_chan > 7 ||
dma_chan          649 drivers/staging/comedi/drivers/ni_at_a2150.c 	    !((1 << irq_num) & 0xdef8) || !((1 << dma_chan) & 0xef))
dma_chan          656 drivers/staging/comedi/drivers/ni_at_a2150.c 	devpriv->dma = comedi_isadma_alloc(dev, 1, dma_chan, dma_chan,
dma_chan          664 drivers/staging/comedi/drivers/ni_at_a2150.c 					DMA_CHAN_BITS(dma_chan);
dma_chan           79 drivers/staging/comedi/drivers/ni_labpc.c 	unsigned int dma_chan = it->options[2];
dma_chan           91 drivers/staging/comedi/drivers/ni_labpc.c 		labpc_init_dma_chan(dev, dma_chan);
dma_chan          144 drivers/staging/comedi/drivers/ni_labpc_isadma.c void labpc_init_dma_chan(struct comedi_device *dev, unsigned int dma_chan)
dma_chan          149 drivers/staging/comedi/drivers/ni_labpc_isadma.c 	if (dma_chan != 1 && dma_chan != 3)
dma_chan          153 drivers/staging/comedi/drivers/ni_labpc_isadma.c 	devpriv->dma = comedi_isadma_alloc(dev, 1, dma_chan, dma_chan,
dma_chan           11 drivers/staging/comedi/drivers/ni_labpc_isadma.h void labpc_init_dma_chan(struct comedi_device *dev, unsigned int dma_chan);
dma_chan           20 drivers/staging/comedi/drivers/ni_labpc_isadma.h 				       unsigned int dma_chan)
dma_chan         1109 drivers/staging/comedi/drivers/pcl812.c static void pcl812_alloc_dma(struct comedi_device *dev, unsigned int dma_chan)
dma_chan         1114 drivers/staging/comedi/drivers/pcl812.c 	if (!(dma_chan == 3 || dma_chan == 1))
dma_chan         1118 drivers/staging/comedi/drivers/pcl812.c 	devpriv->dma = comedi_isadma_alloc(dev, 2, dma_chan, dma_chan,
dma_chan          575 drivers/staging/comedi/drivers/pcl816.c 	unsigned int dma_chan = it->options[2];
dma_chan          579 drivers/staging/comedi/drivers/pcl816.c 	    !(dma_chan == 3 || dma_chan == 1))
dma_chan          586 drivers/staging/comedi/drivers/pcl816.c 	devpriv->dma = comedi_isadma_alloc(dev, 2, dma_chan, dma_chan,
dma_chan          960 drivers/staging/comedi/drivers/pcl818.c static void pcl818_alloc_dma(struct comedi_device *dev, unsigned int dma_chan)
dma_chan          965 drivers/staging/comedi/drivers/pcl818.c 	if (!(dma_chan == 3 || dma_chan == 1))
dma_chan          969 drivers/staging/comedi/drivers/pcl818.c 	devpriv->dma = comedi_isadma_alloc(dev, 2, dma_chan, dma_chan,
dma_chan          172 drivers/staging/mt7621-dma/mtk-hsdma.c static inline struct mtk_hsdma_chan *to_mtk_hsdma_chan(struct dma_chan *c)
dma_chan          284 drivers/staging/mt7621-dma/mtk-hsdma.c static int mtk_hsdma_terminate_all(struct dma_chan *c)
dma_chan          444 drivers/staging/mt7621-dma/mtk-hsdma.c static void mtk_hsdma_issue_pending(struct dma_chan *c)
dma_chan          462 drivers/staging/mt7621-dma/mtk-hsdma.c 		struct dma_chan *c, dma_addr_t dest, dma_addr_t src,
dma_chan          484 drivers/staging/mt7621-dma/mtk-hsdma.c static enum dma_status mtk_hsdma_tx_status(struct dma_chan *c,
dma_chan          491 drivers/staging/mt7621-dma/mtk-hsdma.c static void mtk_hsdma_free_chan_resources(struct dma_chan *c)
dma_chan          145 drivers/staging/ralink-gdma/ralink-gdma.c static struct gdma_dmaengine_chan *to_gdma_dma_chan(struct dma_chan *c)
dma_chan          181 drivers/staging/ralink-gdma/ralink-gdma.c static int gdma_dma_config(struct dma_chan *c,
dma_chan          220 drivers/staging/ralink-gdma/ralink-gdma.c static int gdma_dma_terminate_all(struct dma_chan *c)
dma_chan          494 drivers/staging/ralink-gdma/ralink-gdma.c static void gdma_dma_issue_pending(struct dma_chan *c)
dma_chan          514 drivers/staging/ralink-gdma/ralink-gdma.c 		struct dma_chan *c, struct scatterlist *sgl,
dma_chan          562 drivers/staging/ralink-gdma/ralink-gdma.c 		struct dma_chan *c, dma_addr_t dest, dma_addr_t src,
dma_chan          605 drivers/staging/ralink-gdma/ralink-gdma.c 	struct dma_chan *c, dma_addr_t buf_addr, size_t buf_len,
dma_chan          655 drivers/staging/ralink-gdma/ralink-gdma.c static enum dma_status gdma_dma_tx_status(struct dma_chan *c,
dma_chan          694 drivers/staging/ralink-gdma/ralink-gdma.c static void gdma_dma_free_chan_resources(struct dma_chan *c)
dma_chan           29 drivers/tty/serial/8250/8250.h 	struct dma_chan		*rxchan;
dma_chan           30 drivers/tty/serial/8250/8250.h 	struct dma_chan		*txchan;
dma_chan          331 drivers/tty/serial/8250/8250_dw.c static bool dw8250_fallback_dma_filter(struct dma_chan *chan, void *param)
dma_chan          336 drivers/tty/serial/8250/8250_dw.c static bool dw8250_idma_filter(struct dma_chan *chan, void *param)
dma_chan          244 drivers/tty/serial/8250/8250_lpss.c static bool lpss8250_dma_filter(struct dma_chan *chan, void *param)
dma_chan          235 drivers/tty/serial/8250/8250_mid.c static bool mid8250_dma_filter(struct dma_chan *chan, void *param)
dma_chan          431 drivers/tty/serial/8250/8250_mtk.c static bool mtk8250_dma_filter(struct dma_chan *chan, void *param)
dma_chan         1094 drivers/tty/serial/8250/8250_omap.c static bool the_no_dma_filter_fn(struct dma_chan *chan, void *param)
dma_chan          236 drivers/tty/serial/amba-pl011.c 	struct dma_chan		*chan;
dma_chan          252 drivers/tty/serial/amba-pl011.c 	struct dma_chan		*chan;
dma_chan          371 drivers/tty/serial/amba-pl011.c static int pl011_sgbuf_init(struct dma_chan *chan, struct pl011_sgbuf *sg,
dma_chan          390 drivers/tty/serial/amba-pl011.c static void pl011_sgbuf_free(struct dma_chan *chan, struct pl011_sgbuf *sg,
dma_chan          413 drivers/tty/serial/amba-pl011.c 	struct dma_chan *chan;
dma_chan          601 drivers/tty/serial/amba-pl011.c 	struct dma_chan *chan = dmatx->chan;
dma_chan          831 drivers/tty/serial/amba-pl011.c 	struct dma_chan *rxchan = uap->dmarx.chan;
dma_chan          953 drivers/tty/serial/amba-pl011.c 	struct dma_chan *rxchan = dmarx->chan;
dma_chan         1002 drivers/tty/serial/amba-pl011.c 	struct dma_chan *rxchan = dmarx->chan;
dma_chan         1068 drivers/tty/serial/amba-pl011.c 	struct dma_chan *rxchan = uap->dmarx.chan;
dma_chan          134 drivers/tty/serial/atmel_serial.c 	struct dma_chan			*chan_tx;
dma_chan          135 drivers/tty/serial/atmel_serial.c 	struct dma_chan			*chan_rx;
dma_chan          866 drivers/tty/serial/atmel_serial.c 	struct dma_chan *chan = atmel_port->chan_tx;
dma_chan          910 drivers/tty/serial/atmel_serial.c 	struct dma_chan *chan = atmel_port->chan_tx;
dma_chan          931 drivers/tty/serial/atmel_serial.c 	struct dma_chan *chan = atmel_port->chan_tx;
dma_chan         1088 drivers/tty/serial/atmel_serial.c 	struct dma_chan *chan = atmel_port->chan_rx;
dma_chan         1107 drivers/tty/serial/atmel_serial.c 	struct dma_chan *chan = atmel_port->chan_rx;
dma_chan          255 drivers/tty/serial/fsl_lpuart.c 	struct dma_chan		*dma_tx_chan;
dma_chan          256 drivers/tty/serial/fsl_lpuart.c 	struct dma_chan		*dma_rx_chan;
dma_chan          219 drivers/tty/serial/imx.c 	struct dma_chan		*dma_chan_rx, *dma_chan_tx;
dma_chan          592 drivers/tty/serial/imx.c 	struct dma_chan	*chan = sport->dma_chan_tx;
dma_chan         1075 drivers/tty/serial/imx.c 	struct dma_chan	*chan = sport->dma_chan_rx;
dma_chan         1151 drivers/tty/serial/imx.c 	struct dma_chan	*chan = sport->dma_chan_rx;
dma_chan          164 drivers/tty/serial/msm_serial.c 	struct dma_chan		*chan;
dma_chan          438 drivers/tty/serial/mxs-auart.c 	struct dma_chan	*tx_dma_chan;
dma_chan          442 drivers/tty/serial/mxs-auart.c 	struct dma_chan	*rx_dma_chan;
dma_chan          553 drivers/tty/serial/mxs-auart.c 	struct dma_chan *channel = s->tx_dma_chan;
dma_chan          875 drivers/tty/serial/mxs-auart.c 	struct dma_chan *channel = s->rx_dma_chan;
dma_chan          232 drivers/tty/serial/pch_uart.c 	struct dma_chan			*chan_tx;
dma_chan          233 drivers/tty/serial/pch_uart.c 	struct dma_chan			*chan_rx;
dma_chan          699 drivers/tty/serial/pch_uart.c static bool filter(struct dma_chan *chan, void *slave)
dma_chan          715 drivers/tty/serial/pch_uart.c 	struct dma_chan *chan;
dma_chan           50 drivers/tty/serial/samsung.h 	struct dma_chan			*rx_chan;
dma_chan           51 drivers/tty/serial/samsung.h 	struct dma_chan			*tx_chan;
dma_chan          126 drivers/tty/serial/serial-tegra.c 	struct dma_chan				*rx_dma_chan;
dma_chan          127 drivers/tty/serial/serial-tegra.c 	struct dma_chan				*tx_dma_chan;
dma_chan         1119 drivers/tty/serial/serial-tegra.c 	struct dma_chan *dma_chan;
dma_chan         1125 drivers/tty/serial/serial-tegra.c 	dma_chan = dma_request_slave_channel_reason(tup->uport.dev,
dma_chan         1127 drivers/tty/serial/serial-tegra.c 	if (IS_ERR(dma_chan)) {
dma_chan         1128 drivers/tty/serial/serial-tegra.c 		ret = PTR_ERR(dma_chan);
dma_chan         1141 drivers/tty/serial/serial-tegra.c 			dma_release_channel(dma_chan);
dma_chan         1147 drivers/tty/serial/serial-tegra.c 		tup->rx_dma_chan = dma_chan;
dma_chan         1156 drivers/tty/serial/serial-tegra.c 			dma_release_channel(dma_chan);
dma_chan         1163 drivers/tty/serial/serial-tegra.c 		tup->tx_dma_chan = dma_chan;
dma_chan         1168 drivers/tty/serial/serial-tegra.c 	ret = dmaengine_slave_config(dma_chan, &dma_sconfig);
dma_chan          136 drivers/tty/serial/sh-sci.c 	struct dma_chan			*chan_tx;
dma_chan          137 drivers/tty/serial/sh-sci.c 	struct dma_chan			*chan_rx;
dma_chan          140 drivers/tty/serial/sh-sci.c 	struct dma_chan			*chan_tx_saved;
dma_chan          141 drivers/tty/serial/sh-sci.c 	struct dma_chan			*chan_rx_saved;
dma_chan         1253 drivers/tty/serial/sh-sci.c 	struct dma_chan *chan = s->chan_rx_saved;
dma_chan         1289 drivers/tty/serial/sh-sci.c 	struct dma_chan *chan = s->chan_rx;
dma_chan         1343 drivers/tty/serial/sh-sci.c 	struct dma_chan *chan = s->chan_tx_saved;
dma_chan         1356 drivers/tty/serial/sh-sci.c 	struct dma_chan *chan = s->chan_rx;
dma_chan         1401 drivers/tty/serial/sh-sci.c 	struct dma_chan *chan = s->chan_tx;
dma_chan         1467 drivers/tty/serial/sh-sci.c 	struct dma_chan *chan = s->chan_rx;
dma_chan         1530 drivers/tty/serial/sh-sci.c static struct dma_chan *sci_request_dma_chan(struct uart_port *port,
dma_chan         1533 drivers/tty/serial/sh-sci.c 	struct dma_chan *chan;
dma_chan         1569 drivers/tty/serial/sh-sci.c 	struct dma_chan *chan;
dma_chan          421 drivers/tty/serial/sirfsoc_uart.h 	struct dma_chan			*rx_dma_chan;
dma_chan          422 drivers/tty/serial/sirfsoc_uart.h 	struct dma_chan			*tx_dma_chan;
dma_chan          117 drivers/tty/serial/sprd_serial.c 	struct dma_chan *chn;
dma_chan          263 drivers/tty/serial/stm32-usart.h 	struct dma_chan *rx_ch;  /* dma rx channel            */
dma_chan          266 drivers/tty/serial/stm32-usart.h 	struct dma_chan *tx_ch;  /* dma tx channel            */
dma_chan          131 drivers/usb/musb/cppi_dma.h 	struct dma_chan *dc;
dma_chan          148 drivers/usb/musb/musb_cppi41.c 		struct dma_chan *dc = cppi41_channel->dc;
dma_chan          417 drivers/usb/musb/musb_cppi41.c 	struct dma_chan *dc = cppi41_channel->dc;
dma_chan          647 drivers/usb/musb/musb_cppi41.c 	struct dma_chan *dc;
dma_chan          680 drivers/usb/musb/musb_cppi41.c 		struct dma_chan *dc;
dma_chan           26 drivers/usb/musb/tusb6010_omap.c 	struct dma_chan		*chan;
dma_chan           34 drivers/usb/musb/ux500_dma.c 	struct dma_chan *dma_chan;
dma_chan           76 drivers/usb/musb/ux500_dma.c 	struct dma_chan *dma_chan = ux500_channel->dma_chan;
dma_chan          112 drivers/usb/musb/ux500_dma.c 	dmaengine_slave_config(dma_chan, &slave_conf);
dma_chan          114 drivers/usb/musb/ux500_dma.c 	dma_desc = dmaengine_prep_slave_sg(dma_chan, &sg, 1, direction,
dma_chan          123 drivers/usb/musb/ux500_dma.c 	dma_async_issue_pending(dma_chan);
dma_chan          233 drivers/usb/musb/ux500_dma.c 		dmaengine_terminate_all(ux500_channel->dma_chan);
dma_chan          251 drivers/usb/musb/ux500_dma.c 		if (ux500_channel->dma_chan)
dma_chan          252 drivers/usb/musb/ux500_dma.c 			dma_release_channel(ux500_channel->dma_chan);
dma_chan          261 drivers/usb/musb/ux500_dma.c 		if (ux500_channel->dma_chan)
dma_chan          262 drivers/usb/musb/ux500_dma.c 			dma_release_channel(ux500_channel->dma_chan);
dma_chan          312 drivers/usb/musb/ux500_dma.c 			ux500_channel->dma_chan =
dma_chan          315 drivers/usb/musb/ux500_dma.c 			if (!ux500_channel->dma_chan)
dma_chan          316 drivers/usb/musb/ux500_dma.c 				ux500_channel->dma_chan =
dma_chan          325 drivers/usb/musb/ux500_dma.c 			if (!ux500_channel->dma_chan) {
dma_chan           99 drivers/usb/renesas_usbhs/fifo.c static struct dma_chan *usbhsf_dma_chan_get(struct usbhs_fifo *fifo,
dma_chan          119 drivers/usb/renesas_usbhs/fifo.c 		struct dma_chan *chan = NULL;
dma_chan          757 drivers/usb/renesas_usbhs/fifo.c static struct dma_chan *usbhsf_dma_chan_get(struct usbhs_fifo *fifo,
dma_chan          801 drivers/usb/renesas_usbhs/fifo.c 	struct dma_chan *chan = usbhsf_dma_chan_get(fifo, pkt);
dma_chan          813 drivers/usb/renesas_usbhs/fifo.c 	struct dma_chan *chan;
dma_chan         1152 drivers/usb/renesas_usbhs/fifo.c 					   struct dma_chan *chan, int dtln)
dma_chan         1177 drivers/usb/renesas_usbhs/fifo.c 	struct dma_chan *chan = usbhsf_dma_chan_get(fifo, pkt);
dma_chan         1221 drivers/usb/renesas_usbhs/fifo.c static bool usbhsf_dma_filter(struct dma_chan *chan, void *param)
dma_chan           25 drivers/usb/renesas_usbhs/fifo.h 	struct dma_chan		*tx_chan;
dma_chan           26 drivers/usb/renesas_usbhs/fifo.h 	struct dma_chan		*rx_chan;
dma_chan          390 drivers/video/fbdev/mx3fb.c 	struct dma_chan *dma_chan = &ichan->dma_chan;
dma_chan          402 drivers/video/fbdev/mx3fb.c 		mx3_fbi->txd = dmaengine_prep_slave_sg(dma_chan,
dma_chan          406 drivers/video/fbdev/mx3fb.c 				dma_chan->chan_id);
dma_chan          419 drivers/video/fbdev/mx3fb.c 				dma_chan->chan_id);
dma_chan          424 drivers/video/fbdev/mx3fb.c 		dma_async_issue_pending(dma_chan);
dma_chan          759 drivers/video/fbdev/mx3fb.c 	struct dma_chan *chan = tx_desc->txd.chan;
dma_chan         1142 drivers/video/fbdev/mx3fb.c 	struct dma_chan *dma_chan = &mx3_fbi->idmac_channel->dma_chan;
dma_chan         1202 drivers/video/fbdev/mx3fb.c 	txd = dmaengine_prep_slave_sg(dma_chan, sg +
dma_chan         1445 drivers/video/fbdev/mx3fb.c 	if (ichan->dma_chan.chan_id != IDMAC_SDC_0)
dma_chan         1491 drivers/video/fbdev/mx3fb.c 	mx3fbi->ipu_ch		= ichan->dma_chan.chan_id;
dma_chan         1523 drivers/video/fbdev/mx3fb.c static bool chan_filter(struct dma_chan *chan, void *arg)
dma_chan         1559 drivers/video/fbdev/mx3fb.c 	struct dma_chan *chan;
dma_chan         1627 drivers/video/fbdev/mx3fb.c 	struct dma_chan *chan;
dma_chan         1629 drivers/video/fbdev/mx3fb.c 	chan = &mx3_fbi->idmac_channel->dma_chan;
dma_chan           44 include/linux/acpi_dma.h 	struct dma_chan		*(*acpi_dma_xlate)
dma_chan           60 include/linux/acpi_dma.h 		struct dma_chan *(*acpi_dma_xlate)
dma_chan           65 include/linux/acpi_dma.h 		struct dma_chan *(*acpi_dma_xlate)
dma_chan           70 include/linux/acpi_dma.h struct dma_chan *acpi_dma_request_slave_chan_by_index(struct device *dev,
dma_chan           72 include/linux/acpi_dma.h struct dma_chan *acpi_dma_request_slave_chan_by_name(struct device *dev,
dma_chan           75 include/linux/acpi_dma.h struct dma_chan *acpi_dma_simple_xlate(struct acpi_dma_spec *dma_spec,
dma_chan           80 include/linux/acpi_dma.h 		struct dma_chan *(*acpi_dma_xlate)
dma_chan           91 include/linux/acpi_dma.h 		struct dma_chan *(*acpi_dma_xlate)
dma_chan          101 include/linux/acpi_dma.h static inline struct dma_chan *acpi_dma_request_slave_chan_by_index(
dma_chan          106 include/linux/acpi_dma.h static inline struct dma_chan *acpi_dma_request_slave_chan_by_name(
dma_chan          222 include/linux/amba/pl022.h struct dma_chan;
dma_chan          244 include/linux/amba/pl022.h 	bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
dma_chan          122 include/linux/amba/pl08x.h bool pl08x_filter_id(struct dma_chan *chan, void *chan_id);
dma_chan          124 include/linux/amba/pl08x.h static inline bool pl08x_filter_id(struct dma_chan *chan, void *chan_id)
dma_chan          215 include/linux/amba/serial.h struct dma_chan;
dma_chan          217 include/linux/amba/serial.h 	bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
dma_chan           30 include/linux/async_tx.h 	struct dma_chan *chan;
dma_chan           91 include/linux/async_tx.h 		struct dma_chan *chan = tx->chan;
dma_chan          102 include/linux/async_tx.h struct dma_chan *
dma_chan          117 include/linux/async_tx.h static inline struct dma_chan *
dma_chan          158 include/linux/async_tx.h void async_tx_submit(struct dma_chan *chan, struct dma_async_tx_descriptor *tx,
dma_chan          152 include/linux/dma/ipu-dma.h 	struct dma_chan		dma_chan;
dma_chan          172 include/linux/dma/ipu-dma.h #define to_idmac_chan(c) container_of(c, struct idmac_channel, dma_chan)
dma_chan            5 include/linux/dma/mmp-pdma.h struct dma_chan;
dma_chan            8 include/linux/dma/mmp-pdma.h bool mmp_pdma_filter_fn(struct dma_chan *chan, void *param);
dma_chan           10 include/linux/dma/mmp-pdma.h static inline bool mmp_pdma_filter_fn(struct dma_chan *chan, void *param)
dma_chan           17 include/linux/dma/mxs-dma.h         struct dma_chan *chan, u32 *pio, unsigned int npio,
dma_chan           42 include/linux/dma/xilinx_dma.h int xilinx_vdma_channel_set_config(struct dma_chan *dchan,
dma_chan          282 include/linux/dmaengine.h 	struct dma_chan *chan;
dma_chan          426 include/linux/dmaengine.h static inline const char *dma_chan_name(struct dma_chan *chan)
dma_chan          444 include/linux/dmaengine.h typedef bool (*dma_filter_fn)(struct dma_chan *chan, void *filter_param);
dma_chan          500 include/linux/dmaengine.h 	struct dma_chan *chan;
dma_chan          750 include/linux/dmaengine.h 	int (*device_alloc_chan_resources)(struct dma_chan *chan);
dma_chan          751 include/linux/dmaengine.h 	void (*device_free_chan_resources)(struct dma_chan *chan);
dma_chan          754 include/linux/dmaengine.h 		struct dma_chan *chan, dma_addr_t dst, dma_addr_t src,
dma_chan          757 include/linux/dmaengine.h 		struct dma_chan *chan, dma_addr_t dst, dma_addr_t *src,
dma_chan          760 include/linux/dmaengine.h 		struct dma_chan *chan, dma_addr_t *src,	unsigned int src_cnt,
dma_chan          763 include/linux/dmaengine.h 		struct dma_chan *chan, dma_addr_t *dst, dma_addr_t *src,
dma_chan          767 include/linux/dmaengine.h 		struct dma_chan *chan, dma_addr_t *pq, dma_addr_t *src,
dma_chan          771 include/linux/dmaengine.h 		struct dma_chan *chan, dma_addr_t dest, int value, size_t len,
dma_chan          774 include/linux/dmaengine.h 		struct dma_chan *chan, struct scatterlist *sg,
dma_chan          777 include/linux/dmaengine.h 		struct dma_chan *chan, unsigned long flags);
dma_chan          780 include/linux/dmaengine.h 		struct dma_chan *chan, struct scatterlist *sgl,
dma_chan          784 include/linux/dmaengine.h 		struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
dma_chan          788 include/linux/dmaengine.h 		struct dma_chan *chan, struct dma_interleaved_template *xt,
dma_chan          791 include/linux/dmaengine.h 		struct dma_chan *chan, dma_addr_t dst, u64 data,
dma_chan          794 include/linux/dmaengine.h 	int (*device_config)(struct dma_chan *chan,
dma_chan          796 include/linux/dmaengine.h 	int (*device_pause)(struct dma_chan *chan);
dma_chan          797 include/linux/dmaengine.h 	int (*device_resume)(struct dma_chan *chan);
dma_chan          798 include/linux/dmaengine.h 	int (*device_terminate_all)(struct dma_chan *chan);
dma_chan          799 include/linux/dmaengine.h 	void (*device_synchronize)(struct dma_chan *chan);
dma_chan          801 include/linux/dmaengine.h 	enum dma_status (*device_tx_status)(struct dma_chan *chan,
dma_chan          804 include/linux/dmaengine.h 	void (*device_issue_pending)(struct dma_chan *chan);
dma_chan          807 include/linux/dmaengine.h static inline int dmaengine_slave_config(struct dma_chan *chan,
dma_chan          822 include/linux/dmaengine.h 	struct dma_chan *chan, dma_addr_t buf, size_t len,
dma_chan          838 include/linux/dmaengine.h 	struct dma_chan *chan, struct scatterlist *sgl,	unsigned int sg_len,
dma_chan          851 include/linux/dmaengine.h 	struct dma_chan *chan, struct scatterlist *sgl,	unsigned int sg_len,
dma_chan          864 include/linux/dmaengine.h 		struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
dma_chan          876 include/linux/dmaengine.h 		struct dma_chan *chan, struct dma_interleaved_template *xt,
dma_chan          886 include/linux/dmaengine.h 		struct dma_chan *chan, dma_addr_t dest, int value, size_t len,
dma_chan          897 include/linux/dmaengine.h 		struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
dma_chan          914 include/linux/dmaengine.h static inline int dmaengine_terminate_all(struct dma_chan *chan)
dma_chan          943 include/linux/dmaengine.h static inline int dmaengine_terminate_async(struct dma_chan *chan)
dma_chan          969 include/linux/dmaengine.h static inline void dmaengine_synchronize(struct dma_chan *chan)
dma_chan          991 include/linux/dmaengine.h static inline int dmaengine_terminate_sync(struct dma_chan *chan)
dma_chan         1004 include/linux/dmaengine.h static inline int dmaengine_pause(struct dma_chan *chan)
dma_chan         1012 include/linux/dmaengine.h static inline int dmaengine_resume(struct dma_chan *chan)
dma_chan         1020 include/linux/dmaengine.h static inline enum dma_status dmaengine_tx_status(struct dma_chan *chan,
dma_chan         1178 include/linux/dmaengine.h static inline struct dma_chan *
dma_chan         1185 include/linux/dmaengine.h 				  struct dma_chan *chan);
dma_chan         1239 include/linux/dmaengine.h static inline void dma_async_issue_pending(struct dma_chan *chan)
dma_chan         1255 include/linux/dmaengine.h static inline enum dma_status dma_async_is_tx_complete(struct dma_chan *chan,
dma_chan         1302 include/linux/dmaengine.h struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type);
dma_chan         1303 include/linux/dmaengine.h enum dma_status dma_sync_wait(struct dma_chan *chan, dma_cookie_t cookie);
dma_chan         1306 include/linux/dmaengine.h struct dma_chan *__dma_request_channel(const dma_cap_mask_t *mask,
dma_chan         1309 include/linux/dmaengine.h struct dma_chan *dma_request_slave_channel(struct device *dev, const char *name);
dma_chan         1311 include/linux/dmaengine.h struct dma_chan *dma_request_chan(struct device *dev, const char *name);
dma_chan         1312 include/linux/dmaengine.h struct dma_chan *dma_request_chan_by_mask(const dma_cap_mask_t *mask);
dma_chan         1314 include/linux/dmaengine.h void dma_release_channel(struct dma_chan *chan);
dma_chan         1315 include/linux/dmaengine.h int dma_get_slave_caps(struct dma_chan *chan, struct dma_slave_caps *caps);
dma_chan         1317 include/linux/dmaengine.h static inline struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type)
dma_chan         1321 include/linux/dmaengine.h static inline enum dma_status dma_sync_wait(struct dma_chan *chan, dma_cookie_t cookie)
dma_chan         1332 include/linux/dmaengine.h static inline struct dma_chan *__dma_request_channel(const dma_cap_mask_t *mask,
dma_chan         1339 include/linux/dmaengine.h static inline struct dma_chan *dma_request_slave_channel(struct device *dev,
dma_chan         1344 include/linux/dmaengine.h static inline struct dma_chan *dma_request_chan(struct device *dev,
dma_chan         1349 include/linux/dmaengine.h static inline struct dma_chan *dma_request_chan_by_mask(
dma_chan         1354 include/linux/dmaengine.h static inline void dma_release_channel(struct dma_chan *chan)
dma_chan         1357 include/linux/dmaengine.h static inline int dma_get_slave_caps(struct dma_chan *chan,
dma_chan         1408 include/linux/dmaengine.h struct dma_chan *dma_get_slave_channel(struct dma_chan *chan);
dma_chan         1409 include/linux/dmaengine.h struct dma_chan *dma_get_any_slave_channel(struct dma_device *device);
dma_chan         1415 include/linux/dmaengine.h static inline struct dma_chan
dma_chan         1420 include/linux/dmaengine.h 	struct dma_chan *chan;
dma_chan            8 include/linux/fsldma.h int fsl_dma_external_start(struct dma_chan *dchan, int enable);
dma_chan          116 include/linux/mfd/stm32-timers.h 	struct dma_chan *chan;
dma_chan          117 include/linux/mfd/stm32-timers.h 	struct dma_chan *chans[STM32_TIMERS_MAX_DMAS];
dma_chan           90 include/linux/mfd/tmio.h struct dma_chan;
dma_chan           14 include/linux/mtd/lpc32xx_mlc.h 	bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
dma_chan           14 include/linux/mtd/lpc32xx_slc.h 	bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
dma_chan          131 include/linux/mtd/sh_flctl.h struct dma_chan;
dma_chan          158 include/linux/mtd/sh_flctl.h 	struct dma_chan		*chan_fifo0_rx;
dma_chan          159 include/linux/mtd/sh_flctl.h 	struct dma_chan		*chan_fifo0_tx;
dma_chan           21 include/linux/of_dma.h 	struct dma_chan		*(*of_dma_xlate)
dma_chan           36 include/linux/of_dma.h 		struct dma_chan *(*of_dma_xlate)
dma_chan           47 include/linux/of_dma.h extern struct dma_chan *of_dma_request_slave_channel(struct device_node *np,
dma_chan           49 include/linux/of_dma.h extern struct dma_chan *of_dma_simple_xlate(struct of_phandle_args *dma_spec,
dma_chan           51 include/linux/of_dma.h extern struct dma_chan *of_dma_xlate_by_chan_id(struct of_phandle_args *dma_spec,
dma_chan           56 include/linux/of_dma.h 		struct dma_chan *(*of_dma_xlate)
dma_chan           77 include/linux/of_dma.h static inline struct dma_chan *of_dma_request_slave_channel(struct device_node *np,
dma_chan           83 include/linux/of_dma.h static inline struct dma_chan *of_dma_simple_xlate(struct of_phandle_args *dma_spec,
dma_chan           14 include/linux/platform_data/crypto-ux500.h 	bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
dma_chan           64 include/linux/platform_data/dma-coh901318.h bool coh901318_filter_id(struct dma_chan *chan, void *chan_id);
dma_chan           66 include/linux/platform_data/dma-coh901318.h static inline bool coh901318_filter_id(struct dma_chan *chan, void *chan_id)
dma_chan           71 include/linux/platform_data/dma-ep93xx.h static inline bool ep93xx_dma_chan_is_m2p(struct dma_chan *chan)
dma_chan           85 include/linux/platform_data/dma-ep93xx.h ep93xx_dma_chan_direction(struct dma_chan *chan)
dma_chan           57 include/linux/platform_data/dma-imx.h static inline int imx_dma_is_ipu(struct dma_chan *chan)
dma_chan           62 include/linux/platform_data/dma-imx.h static inline int imx_dma_is_general_purpose(struct dma_chan *chan)
dma_chan           59 include/linux/platform_data/dma-iop32x.h 	struct dma_chan common;
dma_chan           22 include/linux/platform_data/dma-mcf-edma.h bool mcf_edma_filter_fn(struct dma_chan *chan, void *param);
dma_chan           47 include/linux/platform_data/dma-s3c24xx.h struct dma_chan;
dma_chan           48 include/linux/platform_data/dma-s3c24xx.h bool s3c24xx_dma_filter(struct dma_chan *chan, void *param);
dma_chan          164 include/linux/platform_data/dma-ste-dma40.h bool stedma40_filter(struct dma_chan *chan, void *data);
dma_chan          178 include/linux/platform_data/dma-ste-dma40.h dma_async_tx_descriptor *stedma40_slave_mem(struct dma_chan *chan,
dma_chan          193 include/linux/platform_data/dma-ste-dma40.h static inline bool stedma40_filter(struct dma_chan *chan, void *data)
dma_chan          199 include/linux/platform_data/dma-ste-dma40.h dma_async_tx_descriptor *stedma40_slave_mem(struct dma_chan *chan,
dma_chan           17 include/linux/platform_data/usb-musb-ux500.h 	bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
dma_chan          394 include/linux/rio_drv.h extern struct dma_chan *rio_request_dma(struct rio_dev *rdev);
dma_chan          395 include/linux/rio_drv.h extern struct dma_chan *rio_request_mport_dma(struct rio_mport *mport);
dma_chan          396 include/linux/rio_drv.h extern void rio_release_dma(struct dma_chan *dchan);
dma_chan          398 include/linux/rio_drv.h 		struct rio_dev *rdev, struct dma_chan *dchan,
dma_chan          402 include/linux/rio_drv.h 		struct dma_chan *dchan,	u16 destid,
dma_chan           61 include/linux/shdma-base.h 	struct dma_chan dma_chan;	/* DMA channel */
dma_chan          126 include/linux/shdma-base.h bool shdma_chan_filter(struct dma_chan *chan, void *arg);
dma_chan          128 include/linux/shdma-base.h static inline bool shdma_chan_filter(struct dma_chan *chan, void *arg)
dma_chan            5 include/linux/sirfsoc_dma.h bool sirfsoc_dma_filter_id(struct dma_chan *chan, void *chan_id);
dma_chan          127 include/linux/spi/mxs-spi.h 	struct dma_chan			*dmach;
dma_chan           13 include/linux/spi/pxa2xx_spi.h struct dma_chan;
dma_chan           23 include/linux/spi/pxa2xx_spi.h 	bool (*dma_filter)(struct dma_chan *chan, void *param);
dma_chan           17 include/linux/spi/spi.h struct dma_chan;
dma_chan          599 include/linux/spi/spi.h 	struct dma_chan		*dma_tx;
dma_chan          600 include/linux/spi/spi.h 	struct dma_chan		*dma_rx;
dma_chan           43 include/sound/designware_i2s.h 	bool (*filter)(struct dma_chan *chan, void *slave);
dma_chan           52 include/sound/designware_i2s.h 	bool (*filter)(struct dma_chan *chan, void *slave);
dma_chan           35 include/sound/dmaengine_pcm.h 	struct dma_chan *chan);
dma_chan           42 include/sound/dmaengine_pcm.h struct dma_chan *snd_dmaengine_pcm_request_channel(dma_filter_fn filter_fn,
dma_chan           44 include/sound/dmaengine_pcm.h struct dma_chan *snd_dmaengine_pcm_get_chan(struct snd_pcm_substream *substream);
dma_chan          130 include/sound/dmaengine_pcm.h 	struct dma_chan *(*compat_request_channel)(
dma_chan           12 include/sound/spear_spdif.h 	bool (*filter)(struct dma_chan *chan, void *slave);
dma_chan           11 include/trace/events/tegra_apb_dma.h 	TP_PROTO(struct dma_chan *dc, dma_cookie_t cookie, struct dma_tx_state *state),
dma_chan           28 include/trace/events/tegra_apb_dma.h 	TP_PROTO(struct dma_chan *dc, int count, void *ptr),
dma_chan           45 include/trace/events/tegra_apb_dma.h 	TP_PROTO(struct dma_chan *dc, int irq),
dma_chan           60 kernel/dma.c   static struct dma_chan dma_chan_busy[MAX_DMA_CHANNELS] = {
dma_chan           35 sound/arm/pxa2xx-pcm-lib.c 	struct dma_chan *chan = snd_dmaengine_pcm_get_chan(substream);
dma_chan           23 sound/core/pcm_dmaengine.c 	struct dma_chan *dma_chan;
dma_chan           35 sound/core/pcm_dmaengine.c struct dma_chan *snd_dmaengine_pcm_get_chan(struct snd_pcm_substream *substream)
dma_chan           39 sound/core/pcm_dmaengine.c 	return prtd->dma_chan;
dma_chan          146 sound/core/pcm_dmaengine.c 	struct dma_chan *chan = prtd->dma_chan;
dma_chan          193 sound/core/pcm_dmaengine.c 		dma_async_issue_pending(prtd->dma_chan);
dma_chan          197 sound/core/pcm_dmaengine.c 		dmaengine_resume(prtd->dma_chan);
dma_chan          201 sound/core/pcm_dmaengine.c 			dmaengine_pause(prtd->dma_chan);
dma_chan          203 sound/core/pcm_dmaengine.c 			dmaengine_terminate_async(prtd->dma_chan);
dma_chan          206 sound/core/pcm_dmaengine.c 		dmaengine_pause(prtd->dma_chan);
dma_chan          209 sound/core/pcm_dmaengine.c 		dmaengine_terminate_async(prtd->dma_chan);
dma_chan          248 sound/core/pcm_dmaengine.c 	status = dmaengine_tx_status(prtd->dma_chan, prtd->cookie, &state);
dma_chan          268 sound/core/pcm_dmaengine.c struct dma_chan *snd_dmaengine_pcm_request_channel(dma_filter_fn filter_fn,
dma_chan          293 sound/core/pcm_dmaengine.c 	struct dma_chan *chan)
dma_chan          310 sound/core/pcm_dmaengine.c 	prtd->dma_chan = chan;
dma_chan          347 sound/core/pcm_dmaengine.c 	dmaengine_synchronize(prtd->dma_chan);
dma_chan          364 sound/core/pcm_dmaengine.c 	dmaengine_synchronize(prtd->dma_chan);
dma_chan          365 sound/core/pcm_dmaengine.c 	dma_release_channel(prtd->dma_chan);
dma_chan         2042 sound/pci/hda/patch_ca0132.c static int dspio_alloc_dma_chan(struct hda_codec *codec, unsigned int *dma_chan)
dma_chan         2045 sound/pci/hda/patch_ca0132.c 	unsigned int size = sizeof(dma_chan);
dma_chan         2050 sound/pci/hda/patch_ca0132.c 			dma_chan, &size);
dma_chan         2057 sound/pci/hda/patch_ca0132.c 	if ((*dma_chan + 1) == 0) {
dma_chan         2062 sound/pci/hda/patch_ca0132.c 	codec_dbg(codec, "dspio_alloc_dma_chan: chan=%d\n", *dma_chan);
dma_chan         2071 sound/pci/hda/patch_ca0132.c static int dspio_free_dma_chan(struct hda_codec *codec, unsigned int dma_chan)
dma_chan         2077 sound/pci/hda/patch_ca0132.c 	codec_dbg(codec, "dspio_free_dma_chan: chan=%d\n", dma_chan);
dma_chan         2080 sound/pci/hda/patch_ca0132.c 			MASTERCONTROL_ALLOC_DMA_CHAN, SCP_SET, &dma_chan,
dma_chan         2081 sound/pci/hda/patch_ca0132.c 			sizeof(dma_chan), NULL, &dummy);
dma_chan         2174 sound/pci/hda/patch_ca0132.c static bool dsp_is_dma_active(struct hda_codec *codec, unsigned int dma_chan)
dma_chan         2181 sound/pci/hda/patch_ca0132.c 			(DSPDMAC_CHNLSTART_EN_LOBIT + dma_chan))) != 0);
dma_chan         2186 sound/pci/hda/patch_ca0132.c 				unsigned int dma_chan,
dma_chan         2198 sound/pci/hda/patch_ca0132.c 	if (dma_chan >= DSPDMAC_DMA_CFG_CHANNEL_COUNT) {
dma_chan         2203 sound/pci/hda/patch_ca0132.c 	if (dsp_is_dma_active(codec, dma_chan)) {
dma_chan         2232 sound/pci/hda/patch_ca0132.c 		chnl_prop &= ~(1 << (DSPDMAC_CHNLPROP_MSPCE_LOBIT + dma_chan));
dma_chan         2234 sound/pci/hda/patch_ca0132.c 		chnl_prop |=  (1 << (DSPDMAC_CHNLPROP_MSPCE_LOBIT + dma_chan));
dma_chan         2236 sound/pci/hda/patch_ca0132.c 	chnl_prop &= ~(1 << (DSPDMAC_CHNLPROP_DCON_LOBIT + dma_chan));
dma_chan         2256 sound/pci/hda/patch_ca0132.c 	active &= (~(1 << (DSPDMAC_ACTIVE_AAR_LOBIT + dma_chan))) &
dma_chan         2267 sound/pci/hda/patch_ca0132.c 	status = chipio_write(codec, DSPDMAC_AUDCHSEL_INST_OFFSET(dma_chan),
dma_chan         2275 sound/pci/hda/patch_ca0132.c 	status = chipio_write(codec, DSPDMAC_IRQCNT_INST_OFFSET(dma_chan),
dma_chan         2286 sound/pci/hda/patch_ca0132.c 		   chip_addx, dsp_addx, dma_chan,
dma_chan         2300 sound/pci/hda/patch_ca0132.c 			unsigned int dma_chan)
dma_chan         2342 sound/pci/hda/patch_ca0132.c 	status = chipio_write(codec, DSPDMAC_DMACFG_INST_OFFSET(dma_chan),
dma_chan         2353 sound/pci/hda/patch_ca0132.c 	status = chipio_write(codec, DSPDMAC_DSPADROFS_INST_OFFSET(dma_chan),
dma_chan         2368 sound/pci/hda/patch_ca0132.c 				DSPDMAC_XFRCNT_INST_OFFSET(dma_chan), xfr_cnt);
dma_chan         2389 sound/pci/hda/patch_ca0132.c 			 unsigned int dma_chan, bool ovly)
dma_chan         2411 sound/pci/hda/patch_ca0132.c 			reg | (1 << (dma_chan + DSPDMAC_CHNLSTART_EN_LOBIT)));
dma_chan         2425 sound/pci/hda/patch_ca0132.c 			unsigned int dma_chan, bool ovly)
dma_chan         2446 sound/pci/hda/patch_ca0132.c 			reg | (1 << (dma_chan + DSPDMAC_CHNLSTART_DIS_LOBIT)));
dma_chan         2788 sound/pci/hda/patch_ca0132.c 			unsigned int dma_chan,
dma_chan         2897 sound/pci/hda/patch_ca0132.c 			status = dsp_dma_stop(codec, dma_chan, ovly);
dma_chan         2901 sound/pci/hda/patch_ca0132.c 						dma_chan, port_map_mask, ovly);
dma_chan         2908 sound/pci/hda/patch_ca0132.c 						run_size_words, dma_chan);
dma_chan         2911 sound/pci/hda/patch_ca0132.c 		status = dsp_dma_start(codec, dma_chan, ovly);
dma_chan         2914 sound/pci/hda/patch_ca0132.c 		if (!dsp_is_dma_active(codec, dma_chan)) {
dma_chan         2939 sound/pci/hda/patch_ca0132.c 			dma_active = dsp_is_dma_active(codec, dma_chan);
dma_chan         2993 sound/pci/hda/patch_ca0132.c 	unsigned int dma_chan;
dma_chan         3015 sound/pci/hda/patch_ca0132.c 	dma_chan = ovly ? INVALID_DMA_CHANNEL : 0;
dma_chan         3034 sound/pci/hda/patch_ca0132.c 		status = dspio_alloc_dma_chan(codec, &dma_chan);
dma_chan         3037 sound/pci/hda/patch_ca0132.c 			dma_chan = INVALID_DMA_CHANNEL;
dma_chan         3065 sound/pci/hda/patch_ca0132.c 					dma_engine, dma_chan,
dma_chan         3087 sound/pci/hda/patch_ca0132.c 	if (ovly && (dma_chan != INVALID_DMA_CHANNEL))
dma_chan         3088 sound/pci/hda/patch_ca0132.c 		dspio_free_dma_chan(codec, dma_chan);
dma_chan           38 sound/soc/cirrus/ep93xx-pcm.c static bool ep93xx_pcm_dma_filter(struct dma_chan *chan, void *filter_param)
dma_chan          468 sound/soc/fsl/fsl_asrc.c struct dma_chan *fsl_asrc_get_dma_channel(struct fsl_asrc_pair *pair, bool dir)
dma_chan          413 sound/soc/fsl/fsl_asrc.h 	struct dma_chan *dma_chan[2];
dma_chan          464 sound/soc/fsl/fsl_asrc.h struct dma_chan *fsl_asrc_get_dma_channel(struct fsl_asrc_pair *pair, bool dir);
dma_chan           34 sound/soc/fsl/fsl_asrc_dma.c static bool filter(struct dma_chan *chan, void *param)
dma_chan           73 sound/soc/fsl/fsl_asrc_dma.c 			pair->dma_chan[!dir], runtime->dma_addr,
dma_chan           89 sound/soc/fsl/fsl_asrc_dma.c 			pair->dma_chan[dir], 0xffff, 64, 64, DMA_DEV_TO_DEV, 0);
dma_chan          113 sound/soc/fsl/fsl_asrc_dma.c 		dma_async_issue_pending(pair->dma_chan[IN]);
dma_chan          114 sound/soc/fsl/fsl_asrc_dma.c 		dma_async_issue_pending(pair->dma_chan[OUT]);
dma_chan          119 sound/soc/fsl/fsl_asrc_dma.c 		dmaengine_terminate_all(pair->dma_chan[OUT]);
dma_chan          120 sound/soc/fsl/fsl_asrc_dma.c 		dmaengine_terminate_all(pair->dma_chan[IN]);
dma_chan          147 sound/soc/fsl/fsl_asrc_dma.c 	struct dma_chan *tmp_chan;
dma_chan          178 sound/soc/fsl/fsl_asrc_dma.c 	pair->dma_chan[!dir] = fsl_asrc_get_dma_channel(pair, !dir);
dma_chan          179 sound/soc/fsl/fsl_asrc_dma.c 	if (!pair->dma_chan[!dir]) {
dma_chan          191 sound/soc/fsl/fsl_asrc_dma.c 	ret = dmaengine_slave_config(pair->dma_chan[!dir], &config_fe);
dma_chan          216 sound/soc/fsl/fsl_asrc_dma.c 	pair->dma_chan[dir] = dma_request_channel(mask, filter, &pair->dma_data);
dma_chan          217 sound/soc/fsl/fsl_asrc_dma.c 	if (!pair->dma_chan[dir]) {
dma_chan          241 sound/soc/fsl/fsl_asrc_dma.c 	ret = dmaengine_slave_config(pair->dma_chan[dir], &config_be);
dma_chan          259 sound/soc/fsl/fsl_asrc_dma.c 	if (pair->dma_chan[IN])
dma_chan          260 sound/soc/fsl/fsl_asrc_dma.c 		dma_release_channel(pair->dma_chan[IN]);
dma_chan          262 sound/soc/fsl/fsl_asrc_dma.c 	if (pair->dma_chan[OUT])
dma_chan          263 sound/soc/fsl/fsl_asrc_dma.c 		dma_release_channel(pair->dma_chan[OUT]);
dma_chan          265 sound/soc/fsl/fsl_asrc_dma.c 	pair->dma_chan[IN] = NULL;
dma_chan          266 sound/soc/fsl/fsl_asrc_dma.c 	pair->dma_chan[OUT] = NULL;
dma_chan           22 sound/soc/fsl/imx-pcm-dma.c static bool filter(struct dma_chan *chan, void *param)
dma_chan           41 sound/soc/intel/common/sst-firmware.c 	struct dma_chan *ch;
dma_chan          210 sound/soc/intel/common/sst-firmware.c static bool dma_chan_filter(struct dma_chan *chan, void *param)
dma_chan           61 sound/soc/pxa/mmp-pcm.c 	struct dma_chan *chan = snd_dmaengine_pcm_get_chan(substream);
dma_chan           80 sound/soc/pxa/mmp-pcm.c static bool filter(struct dma_chan *chan, void *param)
dma_chan          230 sound/soc/sh/fsi.c 	struct dma_chan		*chan;
dma_chan          133 sound/soc/sh/rcar/core.c struct dma_chan *rsnd_mod_dma_req(struct rsnd_dai_stream *io,
dma_chan           24 sound/soc/sh/rcar/dma.c 	struct dma_chan		*chan;
dma_chan           82 sound/soc/sh/rcar/dma.c static struct dma_chan *rsnd_dmaen_request_channel(struct rsnd_dai_stream *io,
dma_chan          213 sound/soc/sh/rcar/dma.c struct dma_chan *rsnd_dma_request_channel(struct device_node *of_node,
dma_chan          216 sound/soc/sh/rcar/dma.c 	struct dma_chan *chan = NULL;
dma_chan          238 sound/soc/sh/rcar/dma.c 	struct dma_chan *chan;
dma_chan          279 sound/soc/sh/rcar/dvc.c static struct dma_chan *rsnd_dvc_dma_req(struct rsnd_dai_stream *io,
dma_chan          263 sound/soc/sh/rcar/rsnd.h struct dma_chan *rsnd_dma_request_channel(struct device_node *of_node,
dma_chan          288 sound/soc/sh/rcar/rsnd.h 	struct dma_chan* (*dma_req)(struct rsnd_dai_stream *io,
dma_chan          424 sound/soc/sh/rcar/rsnd.h struct dma_chan *rsnd_mod_dma_req(struct rsnd_dai_stream *io,
dma_chan           69 sound/soc/sh/rcar/src.c static struct dma_chan *rsnd_src_dma_req(struct rsnd_dai_stream *io,
dma_chan          984 sound/soc/sh/rcar/ssi.c static struct dma_chan *rsnd_ssi_dma_req(struct rsnd_dai_stream *io,
dma_chan          292 sound/soc/sh/rcar/ssiu.c static struct dma_chan *rsnd_ssiu_dma_req(struct rsnd_dai_stream *io,
dma_chan          109 sound/soc/sh/siu.h 	struct dma_chan			*chan;		/* DMA channel */
dma_chan          317 sound/soc/sh/siu_pcm.c static bool filter(struct dma_chan *chan, void *slave)
dma_chan           25 sound/soc/soc-generic-dmaengine-pcm.c 	struct dma_chan *chan[SNDRV_PCM_STREAM_LAST + 1];
dma_chan           85 sound/soc/soc-generic-dmaengine-pcm.c 	struct dma_chan *chan = snd_dmaengine_pcm_get_chan(substream);
dma_chan          119 sound/soc/soc-generic-dmaengine-pcm.c 	struct dma_chan *chan = pcm->chan[substream->stream];
dma_chan          208 sound/soc/soc-generic-dmaengine-pcm.c 	struct dma_chan *chan = pcm->chan[substream->stream];
dma_chan          218 sound/soc/soc-generic-dmaengine-pcm.c static struct dma_chan *dmaengine_pcm_compat_request_channel(
dma_chan          243 sound/soc/soc-generic-dmaengine-pcm.c 	struct dma_chan *chan)
dma_chan          413 sound/soc/soc-generic-dmaengine-pcm.c 	struct dma_chan *chan;
dma_chan           42 sound/soc/spear/spear_pcm.c 			bool (*filter)(struct dma_chan *chan, void *slave))
dma_chan           11 sound/soc/spear/spear_pcm.h 			bool (*filter)(struct dma_chan *chan, void *slave));
dma_chan          199 sound/soc/sprd/sprd-mcdt.c 					 enum sprd_mcdt_dma_chan dma_chan)
dma_chan          201 sound/soc/sprd/sprd-mcdt.c 	switch (dma_chan) {
dma_chan          235 sound/soc/sprd/sprd-mcdt.c 					 enum sprd_mcdt_dma_chan dma_chan)
dma_chan          237 sound/soc/sprd/sprd-mcdt.c 	switch (dma_chan) {
dma_chan          296 sound/soc/sprd/sprd-mcdt.c 					 enum sprd_mcdt_dma_chan dma_chan)
dma_chan          298 sound/soc/sprd/sprd-mcdt.c 	u32 reg, shift = sprd_mcdt_dma_ack_shift(channel), ack = dma_chan;
dma_chan          318 sound/soc/sprd/sprd-mcdt.c 					 enum sprd_mcdt_dma_chan dma_chan)
dma_chan          320 sound/soc/sprd/sprd-mcdt.c 	u32 reg, shift = sprd_mcdt_dma_ack_shift(channel), ack = dma_chan;
dma_chan          774 sound/soc/sprd/sprd-mcdt.c 			      enum sprd_mcdt_dma_chan dma_chan,
dma_chan          784 sound/soc/sprd/sprd-mcdt.c 	    dma_chan > SPRD_MCDT_DMA_CH4) {
dma_chan          796 sound/soc/sprd/sprd-mcdt.c 		sprd_mcdt_adc_dma_chn_select(mcdt, chan->id, dma_chan);
dma_chan          797 sound/soc/sprd/sprd-mcdt.c 		sprd_mcdt_adc_dma_ack_select(mcdt, chan->id, dma_chan);
dma_chan          805 sound/soc/sprd/sprd-mcdt.c 		sprd_mcdt_dac_dma_chn_select(mcdt, chan->id, dma_chan);
dma_chan          806 sound/soc/sprd/sprd-mcdt.c 		sprd_mcdt_dac_dma_ack_select(mcdt, chan->id, dma_chan);
dma_chan           44 sound/soc/sprd/sprd-mcdt.h 	enum sprd_mcdt_dma_chan dma_chan;
dma_chan           63 sound/soc/sprd/sprd-mcdt.h 			      enum sprd_mcdt_dma_chan dma_chan, u32 water_mark);
dma_chan           97 sound/soc/sprd/sprd-mcdt.h 			      enum sprd_mcdt_dma_chan dma_chan, u32 water_mark)
dma_chan           43 sound/soc/sprd/sprd-pcm-compress.c 	struct dma_chan *chan;
dma_chan           21 sound/soc/sprd/sprd-pcm-dma.c 	struct dma_chan *chan;
dma_chan          240 sound/soc/sprd/sprd-pcm-dma.c 		struct dma_chan *chan = data->chan;
dma_chan          238 sound/soc/stm/stm32_spdifrx.c 	struct dma_chan *ctrl_chan;
dma_chan         1862 sound/soc/ti/davinci-mcasp.c 	struct dma_chan *chan;
dma_chan          123 sound/soc/txx9/txx9aclc.c 	struct dma_chan *chan = dmadata->dma_chan;
dma_chan          150 sound/soc/txx9/txx9aclc.c 	struct dma_chan *chan = dmadata->dma_chan;
dma_chan          267 sound/soc/txx9/txx9aclc.c 	struct dma_chan *chan = dmadata->dma_chan;
dma_chan          320 sound/soc/txx9/txx9aclc.c 		if (dev->dmadata[i].dma_chan)
dma_chan          321 sound/soc/txx9/txx9aclc.c 			dma_release_channel(dev->dmadata[i].dma_chan);
dma_chan          322 sound/soc/txx9/txx9aclc.c 		dev->dmadata[i].dma_chan = NULL;
dma_chan          327 sound/soc/txx9/txx9aclc.c static bool filter(struct dma_chan *chan, void *param)
dma_chan          364 sound/soc/txx9/txx9aclc.c 	dmadata->dma_chan = dma_request_channel(mask, filter, dmadata);
dma_chan          365 sound/soc/txx9/txx9aclc.c 	if (!dmadata->dma_chan) {
dma_chan          397 sound/soc/txx9/txx9aclc.c 		struct dma_chan *chan = dmadata->dma_chan;
dma_chan          404 sound/soc/txx9/txx9aclc.c 		dev->dmadata[i].dma_chan = NULL;
dma_chan           45 sound/soc/txx9/txx9aclc.h 	struct dma_chan *dma_chan;
dma_chan           46 sound/soc/ux500/ux500_pcm.c static struct dma_chan *ux500_pcm_request_chan(struct snd_soc_pcm_runtime *rtd,