Home
last modified time | relevance | path

Searched refs:chan_rx (Results 1 – 12 of 12) sorted by relevance

/drivers/mmc/host/
Dtmio_mmc_dma.c27 if (!host->chan_tx || !host->chan_rx) in tmio_mmc_enable_dma()
38 if (host->chan_rx) in tmio_mmc_abort_dma()
39 dmaengine_terminate_all(host->chan_rx); in tmio_mmc_abort_dma()
50 struct dma_chan *chan = host->chan_rx; in tmio_mmc_start_dma_rx()
103 host->chan_rx = NULL; in tmio_mmc_start_dma_rx()
180 chan = host->chan_rx; in tmio_mmc_start_dma_tx()
182 host->chan_rx = NULL; in tmio_mmc_start_dma_tx()
194 if (host->chan_rx) in tmio_mmc_start_dma()
211 chan = host->chan_rx; in tmio_mmc_issue_tasklet_fn()
234 dma_unmap_sg(host->chan_rx->device->dev, in tmio_mmc_tasklet_fn()
[all …]
Dsh_mmcif.c257 struct dma_chan *chan_rx; member
303 struct dma_chan *chan = host->chan_rx; in sh_mmcif_start_dma_rx()
330 host->chan_rx = NULL; in sh_mmcif_start_dma_rx()
384 chan = host->chan_rx; in sh_mmcif_start_dma_tx()
386 host->chan_rx = NULL; in sh_mmcif_start_dma_tx()
443 host->chan_rx = sh_mmcif_request_dma_pdata(host, in sh_mmcif_request_dma()
447 host->chan_rx = dma_request_slave_channel(dev, "rx"); in sh_mmcif_request_dma()
450 host->chan_rx); in sh_mmcif_request_dma()
452 if (!host->chan_tx || !host->chan_rx || in sh_mmcif_request_dma()
454 sh_mmcif_dma_slave_config(host, host->chan_rx, DMA_DEV_TO_MEM)) in sh_mmcif_request_dma()
[all …]
Dusdhi6rol0.c199 struct dma_chan *chan_rx; member
527 if (host->chan_rx) { in usdhi6_dma_release()
528 struct dma_chan *chan = host->chan_rx; in usdhi6_dma_release()
529 host->chan_rx = NULL; in usdhi6_dma_release()
545 dma_unmap_sg(host->chan_rx->device->dev, data->sg, in usdhi6_dma_stop_unmap()
619 if (!host->chan_rx || !host->chan_tx) in usdhi6_dma_start()
623 return usdhi6_dma_setup(host, host->chan_rx, DMA_DEV_TO_MEM); in usdhi6_dma_start()
636 dmaengine_terminate_all(host->chan_rx); in usdhi6_dma_kill()
670 dma_async_issue_pending(host->chan_rx); in usdhi6_dma_kick()
698 host->chan_rx = dma_request_slave_channel(mmc_dev(host->mmc), "rx"); in usdhi6_dma_request()
[all …]
Dtmio_mmc.h135 struct dma_chan *chan_rx; member
214 host->chan_rx = NULL; in tmio_mmc_request_dma()
Dtmio_mmc_pio.c433 if ((host->chan_tx || host->chan_rx) && !host->force_pio) { in tmio_mmc_pio_irq()
506 if (host->chan_rx && !host->force_pio) in tmio_mmc_do_data_irq()
558 } else if (host->chan_rx && (data->flags & MMC_DATA_READ) && !host->force_pio) { in tmio_mmc_data_irq()
612 if (host->force_pio || !host->chan_rx) in tmio_mmc_cmd_irq()
1127 if (!_host->chan_rx) in tmio_mmc_host_probe()
/drivers/i2c/busses/
Di2c-at91.c121 struct dma_chan *chan_rx; member
250 dmaengine_terminate_all(dma->chan_rx); in at91_twi_dma_cleanup()
445 struct dma_chan *chan_rx = dma->chan_rx; in at91_twi_read_data_dma() local
477 rxdesc = dmaengine_prep_slave_sg(chan_rx, dma->sg, 1, DMA_DEV_TO_MEM, in at91_twi_read_data_dma()
489 dma_async_issue_pending(dma->chan_rx); in at91_twi_read_data_dma()
987 dma->chan_rx = dma_request_slave_channel_reason(dev->dev, "rx"); in at91_twi_configure_dma()
988 if (IS_ERR(dma->chan_rx)) { in at91_twi_configure_dma()
989 ret = PTR_ERR(dma->chan_rx); in at91_twi_configure_dma()
990 dma->chan_rx = NULL; in at91_twi_configure_dma()
1002 if (dmaengine_slave_config(dma->chan_rx, &slave_config)) { in at91_twi_configure_dma()
[all …]
Di2c-imx.c185 struct dma_chan *chan_rx; member
313 dma->chan_rx = dma_request_slave_channel(dev, "rx"); in i2c_imx_dma_request()
314 if (!dma->chan_rx) { in i2c_imx_dma_request()
324 ret = dmaengine_slave_config(dma->chan_rx, &dma_sconfig); in i2c_imx_dma_request()
333 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in i2c_imx_dma_request()
338 dma_release_channel(dma->chan_rx); in i2c_imx_dma_request()
408 dma_release_channel(dma->chan_rx); in i2c_imx_dma_free()
409 dma->chan_rx = NULL; in i2c_imx_dma_free()
672 dma->chan_using = dma->chan_rx; in i2c_imx_dma_read()
/drivers/spi/
Dspi-atmel.c268 struct dma_chan *chan_rx; member
509 if (dmaengine_slave_config(as->dma.chan_rx, slave_config)) { in atmel_spi_dma_slave_config()
545 as->dma.chan_rx = dma_request_slave_channel(dev, "rx"); in atmel_spi_configure_dma()
547 if (!as->dma.chan_rx) { in atmel_spi_configure_dma()
561 dma_chan_name(as->dma.chan_rx)); in atmel_spi_configure_dma()
564 if (as->dma.chan_rx) in atmel_spi_configure_dma()
565 dma_release_channel(as->dma.chan_rx); in atmel_spi_configure_dma()
573 if (as->dma.chan_rx) in atmel_spi_stop_dma()
574 dmaengine_terminate_all(as->dma.chan_rx); in atmel_spi_stop_dma()
581 if (as->dma.chan_rx) in atmel_spi_release_dma()
[all …]
Dspi-topcliff-pch.c120 struct dma_chan *chan_rx; member
902 dma->chan_rx = chan; in pch_spi_request_dma()
914 if (dma->chan_rx) { in pch_spi_release_dma()
915 dma_release_channel(dma->chan_rx); in pch_spi_release_dma()
916 dma->chan_rx = NULL; in pch_spi_release_dma()
1038 desc_rx = dmaengine_prep_slave_sg(dma->chan_rx, sg, in pch_spi_handle_dma()
/drivers/tty/serial/
Dsh-sci.c129 struct dma_chan *chan_rx; member
1172 struct dma_chan *chan = s->chan_rx; in sci_rx_dma_release()
1177 s->chan_rx = NULL; in sci_rx_dma_release()
1191 struct dma_chan *chan = s->chan_rx; in sci_dma_rx_complete()
1211 desc = dmaengine_prep_slave_sg(s->chan_rx, &s->sg_rx[active], 1, in sci_dma_rx_complete()
1258 struct dma_chan *chan = s->chan_rx; in sci_submit_rx()
1353 struct dma_chan *chan = s->chan_rx; in rx_timer_fn()
1372 status = dmaengine_tx_status(s->chan_rx, s->active_rx, &state); in rx_timer_fn()
1390 status = dmaengine_tx_status(s->chan_rx, s->active_rx, &state); in rx_timer_fn()
1398 dmaengine_terminate_all(s->chan_rx); in rx_timer_fn()
[all …]
Dpch_uart.c252 struct dma_chan *chan_rx; member
702 if (priv->chan_rx) { in pch_free_dma()
703 dma_release_channel(priv->chan_rx); in pch_free_dma()
704 priv->chan_rx = NULL; in pch_free_dma()
777 priv->chan_rx = chan; in pch_request_dma()
886 desc = dmaengine_prep_slave_sg(priv->chan_rx, in dma_handle_rx()
897 dma_async_issue_pending(priv->chan_rx); in dma_handle_rx()
1518 if (priv->chan_rx) in pch_uart_verify_port()
Datmel_serial.c147 struct dma_chan *chan_rx; member
1001 struct dma_chan *chan = atmel_port->chan_rx; in atmel_release_rx_dma()
1011 atmel_port->chan_rx = NULL; in atmel_release_rx_dma()
1020 struct dma_chan *chan = atmel_port->chan_rx; in atmel_rx_from_dma()
1117 atmel_port->chan_rx = dma_request_slave_channel(port->dev, "rx"); in atmel_prepare_rx_dma()
1118 if (atmel_port->chan_rx == NULL) in atmel_prepare_rx_dma()
1121 dma_chan_name(atmel_port->chan_rx)); in atmel_prepare_rx_dma()
1153 ret = dmaengine_slave_config(atmel_port->chan_rx, in atmel_prepare_rx_dma()
1163 desc = dmaengine_prep_dma_cyclic(atmel_port->chan_rx, in atmel_prepare_rx_dma()
1179 if (atmel_port->chan_rx) in atmel_prepare_rx_dma()