Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/mmc/host/
Dtmio_mmc_dma.c28 if (!host->chan_tx || !host->chan_rx) in tmio_mmc_enable_dma()
41 if (host->chan_tx) in tmio_mmc_abort_dma()
42 dmaengine_terminate_all(host->chan_tx); in tmio_mmc_abort_dma()
110 chan = host->chan_tx; in tmio_mmc_start_dma_rx()
112 host->chan_tx = NULL; in tmio_mmc_start_dma_rx()
127 struct dma_chan *chan = host->chan_tx; in tmio_mmc_start_dma_tx()
187 host->chan_tx = NULL; in tmio_mmc_start_dma_tx()
210 if (host->chan_tx) in tmio_mmc_start_dma()
226 chan = host->chan_tx; in tmio_mmc_issue_tasklet_fn()
251 dma_unmap_sg(host->chan_tx->device->dev, in tmio_mmc_tasklet_fn()
[all …]
Dsh_mmcif.c255 struct dma_chan *chan_tx; member
321 chan = host->chan_tx; in sh_mmcif_start_dma_rx()
323 host->chan_tx = NULL; in sh_mmcif_start_dma_rx()
340 struct dma_chan *chan = host->chan_tx; in sh_mmcif_start_dma_tx()
366 host->chan_tx = NULL; in sh_mmcif_start_dma_tx()
448 host->chan_tx = sh_mmcif_request_dma_one(host, pdata, DMA_MEM_TO_DEV); in sh_mmcif_request_dma()
449 if (!host->chan_tx) in sh_mmcif_request_dma()
454 dma_release_channel(host->chan_tx); in sh_mmcif_request_dma()
455 host->chan_tx = NULL; in sh_mmcif_request_dma()
463 if (host->chan_tx) { in sh_mmcif_release_dma()
[all …]
Dusdhi6rol0.c199 struct dma_chan *chan_tx; member
516 if (host->chan_tx) { in usdhi6_dma_release()
517 struct dma_chan *chan = host->chan_tx; in usdhi6_dma_release()
518 host->chan_tx = NULL; in usdhi6_dma_release()
542 dma_unmap_sg(host->chan_tx->device->dev, data->sg, in usdhi6_dma_stop_unmap()
613 if (!host->chan_rx || !host->chan_tx) in usdhi6_dma_start()
619 return usdhi6_dma_setup(host, host->chan_tx, DMA_MEM_TO_DEV); in usdhi6_dma_start()
632 dmaengine_terminate_all(host->chan_tx); in usdhi6_dma_kill()
666 dma_async_issue_pending(host->chan_tx); in usdhi6_dma_kick()
677 host->chan_tx = dma_request_slave_channel(mmc_dev(host->mmc), "tx"); in usdhi6_dma_request()
[all …]
Dtmio_mmc.h76 struct dma_chan *chan_tx; member
151 host->chan_tx = NULL; in tmio_mmc_request_dma()
Dtmio_mmc_pio.c426 if ((host->chan_tx || host->chan_rx) && !host->force_pio) { in tmio_mmc_pio_irq()
527 if (host->chan_tx && (data->flags & MMC_DATA_WRITE) && !host->force_pio) { in tmio_mmc_data_irq()
610 if (host->force_pio || !host->chan_tx) in tmio_mmc_cmd_irq()
1162 if (!_host->chan_tx) in tmio_mmc_host_probe()
/linux-4.1.27/drivers/i2c/busses/
Di2c-at91.c86 struct dma_chan *chan_tx; member
185 dmaengine_terminate_all(dma->chan_tx); in at91_twi_dma_cleanup()
236 struct dma_chan *chan_tx = dma->chan_tx; in at91_twi_write_data_dma() local
255 txdesc = dmaengine_prep_slave_sg(chan_tx, &dma->sg, 1, DMA_MEM_TO_DEV, in at91_twi_write_data_dma()
267 dma_async_issue_pending(chan_tx); in at91_twi_write_data_dma()
679 dma->chan_tx = dma_request_slave_channel_reason(dev->dev, "tx"); in at91_twi_configure_dma()
680 if (IS_ERR(dma->chan_tx)) { in at91_twi_configure_dma()
681 ret = PTR_ERR(dma->chan_tx); in at91_twi_configure_dma()
682 dma->chan_tx = NULL; in at91_twi_configure_dma()
694 if (dmaengine_slave_config(dma->chan_tx, &slave_config)) { in at91_twi_configure_dma()
[all …]
Di2c-imx.c188 struct dma_chan *chan_tx; member
295 dma->chan_tx = dma_request_slave_channel(dev, "tx"); in i2c_imx_dma_request()
296 if (!dma->chan_tx) { in i2c_imx_dma_request()
306 ret = dmaengine_slave_config(dma->chan_tx, &dma_sconfig); in i2c_imx_dma_request()
332 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in i2c_imx_dma_request()
339 dma_release_channel(dma->chan_tx); in i2c_imx_dma_request()
403 dma_release_channel(dma->chan_tx); in i2c_imx_dma_free()
404 dma->chan_tx = NULL; in i2c_imx_dma_free()
610 dma->chan_using = dma->chan_tx; in i2c_imx_dma_write()
/linux-4.1.27/drivers/spi/
Dspi-atmel.c205 struct dma_chan *chan_tx; member
410 if (dmaengine_slave_config(as->dma.chan_tx, slave_config)) { in atmel_spi_dma_slave_config()
436 as->dma.chan_tx = dma_request_slave_channel_reason(dev, "tx"); in atmel_spi_configure_dma()
437 if (IS_ERR(as->dma.chan_tx)) { in atmel_spi_configure_dma()
438 err = PTR_ERR(as->dma.chan_tx); in atmel_spi_configure_dma()
468 dma_chan_name(as->dma.chan_tx), in atmel_spi_configure_dma()
474 if (!IS_ERR(as->dma.chan_tx)) in atmel_spi_configure_dma()
475 dma_release_channel(as->dma.chan_tx); in atmel_spi_configure_dma()
483 if (as->dma.chan_tx) in atmel_spi_stop_dma()
484 dmaengine_terminate_all(as->dma.chan_tx); in atmel_spi_stop_dma()
[all …]
Dspi-topcliff-pch.c119 struct dma_chan *chan_tx; member
889 dma->chan_tx = chan; in pch_spi_request_dma()
901 dma_release_channel(dma->chan_tx); in pch_spi_request_dma()
902 dma->chan_tx = NULL; in pch_spi_request_dma()
914 if (dma->chan_tx) { in pch_spi_release_dma()
915 dma_release_channel(dma->chan_tx); in pch_spi_release_dma()
916 dma->chan_tx = NULL; in pch_spi_release_dma()
1101 desc_tx = dmaengine_prep_slave_sg(dma->chan_tx, in pch_spi_handle_dma()
/linux-4.1.27/drivers/tty/serial/
Dpch_uart.c250 struct dma_chan *chan_tx; member
696 if (priv->chan_tx) { in pch_free_dma()
697 dma_release_channel(priv->chan_tx); in pch_free_dma()
698 priv->chan_tx = NULL; in pch_free_dma()
755 priv->chan_tx = chan; in pch_request_dma()
767 dma_release_channel(priv->chan_tx); in pch_request_dma()
768 priv->chan_tx = NULL; in pch_request_dma()
1047 desc = dmaengine_prep_slave_sg(priv->chan_tx, in dma_handle_tx()
1062 dma_async_issue_pending(priv->chan_tx); in dma_handle_tx()
Dsh-sci.c101 struct dma_chan *chan_tx; member
1039 !s->chan_tx) in sci_mpxed_interrupt()
1364 struct dma_chan *chan = s->chan_tx; in sci_tx_dma_release()
1367 s->chan_tx = NULL; in sci_tx_dma_release()
1475 struct dma_chan *chan = s->chan_tx; in work_fn_tx()
1536 if (s->chan_tx) in sci_start_tx()
1544 if (s->chan_tx && !uart_circ_empty(&s->port.state->xmit) && in sci_start_tx()
1551 if (!s->chan_tx || port->type == PORT_SCIFA || port->type == PORT_SCIFB) { in sci_start_tx()
1681 s->chan_tx = chan; in sci_request_dma()
1750 if (s->chan_tx) in sci_free_dma()
Datmel_serial.c157 struct dma_chan *chan_tx; member
725 struct dma_chan *chan = atmel_port->chan_tx; in atmel_complete_tx_dma()
760 struct dma_chan *chan = atmel_port->chan_tx; in atmel_release_tx_dma()
770 atmel_port->chan_tx = NULL; in atmel_release_tx_dma()
781 struct dma_chan *chan = atmel_port->chan_tx; in atmel_tx_dma()
847 atmel_port->chan_tx = dma_request_slave_channel(port->dev, "tx"); in atmel_prepare_tx_dma()
848 if (atmel_port->chan_tx == NULL) in atmel_prepare_tx_dma()
851 dma_chan_name(atmel_port->chan_tx)); in atmel_prepare_tx_dma()
883 ret = dmaengine_slave_config(atmel_port->chan_tx, in atmel_prepare_tx_dma()
895 if (atmel_port->chan_tx) in atmel_prepare_tx_dma()