/linux-4.4.14/drivers/mmc/host/ |
D | tmio_mmc_dma.c | 28 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 …]
|
D | sh_mmcif.c | 259 struct dma_chan *chan_tx; member 335 chan = host->chan_tx; in sh_mmcif_start_dma_rx() 337 host->chan_tx = NULL; in sh_mmcif_start_dma_rx() 354 struct dma_chan *chan = host->chan_tx; in sh_mmcif_start_dma_tx() 381 host->chan_tx = NULL; in sh_mmcif_start_dma_tx() 442 host->chan_tx = sh_mmcif_request_dma_pdata(host, in sh_mmcif_request_dma() 447 host->chan_tx = dma_request_slave_channel(dev, "tx"); in sh_mmcif_request_dma() 450 dev_dbg(dev, "%s: got channel TX %p RX %p\n", __func__, host->chan_tx, in sh_mmcif_request_dma() 453 if (!host->chan_tx || !host->chan_rx || in sh_mmcif_request_dma() 454 sh_mmcif_dma_slave_config(host, host->chan_tx, DMA_MEM_TO_DEV) || in sh_mmcif_request_dma() [all …]
|
D | usdhi6rol0.c | 199 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 …]
|
D | tmio_mmc.h | 76 struct dma_chan *chan_tx; member 151 host->chan_tx = NULL; in tmio_mmc_request_dma()
|
D | tmio_mmc_pio.c | 428 if ((host->chan_tx || host->chan_rx) && !host->force_pio) { in tmio_mmc_pio_irq() 529 if (host->chan_tx && (data->flags & MMC_DATA_WRITE) && !host->force_pio) { in tmio_mmc_data_irq() 612 if (host->force_pio || !host->chan_tx) in tmio_mmc_cmd_irq() 1165 if (!_host->chan_tx) in tmio_mmc_host_probe()
|
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-at91.c | 118 struct dma_chan *chan_tx; member 221 dmaengine_terminate_all(dma->chan_tx); in at91_twi_dma_cleanup() 275 struct dma_chan *chan_tx = dma->chan_tx; in at91_twi_write_data_dma() local 327 txdesc = dmaengine_prep_slave_sg(chan_tx, dma->sg, sg_len, in at91_twi_write_data_dma() 340 dma_async_issue_pending(chan_tx); in at91_twi_write_data_dma() 929 dma->chan_tx = dma_request_slave_channel_reason(dev->dev, "tx"); in at91_twi_configure_dma() 930 if (IS_ERR(dma->chan_tx)) { in at91_twi_configure_dma() 931 ret = PTR_ERR(dma->chan_tx); in at91_twi_configure_dma() 932 dma->chan_tx = NULL; in at91_twi_configure_dma() 944 if (dmaengine_slave_config(dma->chan_tx, &slave_config)) { in at91_twi_configure_dma() [all …]
|
D | i2c-imx.c | 190 struct dma_chan *chan_tx; member 302 dma->chan_tx = dma_request_slave_channel(dev, "tx"); in i2c_imx_dma_request() 303 if (!dma->chan_tx) { in i2c_imx_dma_request() 313 ret = dmaengine_slave_config(dma->chan_tx, &dma_sconfig); in i2c_imx_dma_request() 339 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in i2c_imx_dma_request() 346 dma_release_channel(dma->chan_tx); in i2c_imx_dma_request() 410 dma_release_channel(dma->chan_tx); in i2c_imx_dma_free() 411 dma->chan_tx = NULL; in i2c_imx_dma_free() 617 dma->chan_using = dma->chan_tx; in i2c_imx_dma_write()
|
/linux-4.4.14/drivers/spi/ |
D | spi-atmel.c | 269 struct dma_chan *chan_tx; member 494 if (dmaengine_slave_config(as->dma.chan_tx, slave_config)) { in atmel_spi_dma_slave_config() 528 as->dma.chan_tx = dma_request_slave_channel_reason(dev, "tx"); in atmel_spi_configure_dma() 529 if (IS_ERR(as->dma.chan_tx)) { in atmel_spi_configure_dma() 530 err = PTR_ERR(as->dma.chan_tx); in atmel_spi_configure_dma() 560 dma_chan_name(as->dma.chan_tx), in atmel_spi_configure_dma() 566 if (!IS_ERR(as->dma.chan_tx)) in atmel_spi_configure_dma() 567 dma_release_channel(as->dma.chan_tx); in atmel_spi_configure_dma() 575 if (as->dma.chan_tx) in atmel_spi_stop_dma() 576 dmaengine_terminate_all(as->dma.chan_tx); in atmel_spi_stop_dma() [all …]
|
D | spi-topcliff-pch.c | 119 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.4.14/drivers/tty/serial/ |
D | sh-sci.c | 102 struct dma_chan *chan_tx; member 501 if (s->chan_tx) in sci_start_tx() 509 if (s->chan_tx && !uart_circ_empty(&s->port.state->xmit) && in sci_start_tx() 516 if (!s->chan_tx || port->type == PORT_SCIFA || port->type == PORT_SCIFB) { in sci_start_tx() 1151 struct dma_chan *chan = s->chan_tx; in sci_tx_dma_release() 1156 s->chan_tx = NULL; in sci_tx_dma_release() 1211 struct dma_chan *chan = s->chan_tx; in work_fn_tx() 1392 s->chan_tx = chan; in sci_request_dma() 1401 s->chan_tx = NULL; in sci_request_dma() 1454 if (s->chan_tx) in sci_free_dma() [all …]
|
D | pch_uart.c | 250 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()
|
D | atmel_serial.c | 141 struct dma_chan *chan_tx; member 772 struct dma_chan *chan = atmel_port->chan_tx; in atmel_complete_tx_dma() 807 struct dma_chan *chan = atmel_port->chan_tx; in atmel_release_tx_dma() 817 atmel_port->chan_tx = NULL; in atmel_release_tx_dma() 828 struct dma_chan *chan = atmel_port->chan_tx; in atmel_tx_dma() 924 atmel_port->chan_tx = dma_request_slave_channel(port->dev, "tx"); in atmel_prepare_tx_dma() 925 if (atmel_port->chan_tx == NULL) in atmel_prepare_tx_dma() 928 dma_chan_name(atmel_port->chan_tx)); in atmel_prepare_tx_dma() 962 ret = dmaengine_slave_config(atmel_port->chan_tx, in atmel_prepare_tx_dma() 974 if (atmel_port->chan_tx) in atmel_prepare_tx_dma()
|