/drivers/mmc/host/ |
D | tmio_mmc_dma.c | 27 if (!host->chan_tx || !host->chan_rx) in tmio_mmc_enable_dma() 40 if (host->chan_tx) in tmio_mmc_abort_dma() 41 dmaengine_terminate_all(host->chan_tx); in tmio_mmc_abort_dma() 106 chan = host->chan_tx; in tmio_mmc_start_dma_rx() 108 host->chan_tx = NULL; in tmio_mmc_start_dma_rx() 120 struct dma_chan *chan = host->chan_tx; in tmio_mmc_start_dma_tx() 177 host->chan_tx = NULL; in tmio_mmc_start_dma_tx() 197 if (host->chan_tx) in tmio_mmc_start_dma() 213 chan = host->chan_tx; in tmio_mmc_issue_tasklet_fn() 238 dma_unmap_sg(host->chan_tx->device->dev, in tmio_mmc_tasklet_fn() [all …]
|
D | sh_mmcif.c | 258 struct dma_chan *chan_tx; member 334 chan = host->chan_tx; in sh_mmcif_start_dma_rx() 336 host->chan_tx = NULL; in sh_mmcif_start_dma_rx() 353 struct dma_chan *chan = host->chan_tx; in sh_mmcif_start_dma_tx() 380 host->chan_tx = NULL; in sh_mmcif_start_dma_tx() 441 host->chan_tx = sh_mmcif_request_dma_pdata(host, in sh_mmcif_request_dma() 446 host->chan_tx = dma_request_slave_channel(dev, "tx"); in sh_mmcif_request_dma() 449 dev_dbg(dev, "%s: got channel TX %p RX %p\n", __func__, host->chan_tx, in sh_mmcif_request_dma() 452 if (!host->chan_tx || !host->chan_rx || in sh_mmcif_request_dma() 453 sh_mmcif_dma_slave_config(host, host->chan_tx, DMA_MEM_TO_DEV) || in sh_mmcif_request_dma() [all …]
|
D | usdhi6rol0.c | 200 struct dma_chan *chan_tx; member 522 if (host->chan_tx) { in usdhi6_dma_release() 523 struct dma_chan *chan = host->chan_tx; in usdhi6_dma_release() 524 host->chan_tx = NULL; in usdhi6_dma_release() 548 dma_unmap_sg(host->chan_tx->device->dev, data->sg, in usdhi6_dma_stop_unmap() 619 if (!host->chan_rx || !host->chan_tx) in usdhi6_dma_start() 625 return usdhi6_dma_setup(host, host->chan_tx, DMA_MEM_TO_DEV); in usdhi6_dma_start() 638 dmaengine_terminate_all(host->chan_tx); in usdhi6_dma_kill() 672 dma_async_issue_pending(host->chan_tx); in usdhi6_dma_kick() 683 host->chan_tx = dma_request_slave_channel(mmc_dev(host->mmc), "tx"); in usdhi6_dma_request() [all …]
|
D | tmio_mmc.h | 136 struct dma_chan *chan_tx; member 213 host->chan_tx = NULL; in tmio_mmc_request_dma()
|
D | tmio_mmc_pio.c | 433 if ((host->chan_tx || host->chan_rx) && !host->force_pio) { in tmio_mmc_pio_irq() 534 if (host->chan_tx && (data->flags & MMC_DATA_WRITE) && !host->force_pio) { in tmio_mmc_data_irq() 617 if (host->force_pio || !host->chan_tx) in tmio_mmc_cmd_irq() 1129 if (!_host->chan_tx) in tmio_mmc_host_probe()
|
/drivers/i2c/busses/ |
D | i2c-at91.c | 122 struct dma_chan *chan_tx; member 252 dmaengine_terminate_all(dma->chan_tx); in at91_twi_dma_cleanup() 306 struct dma_chan *chan_tx = dma->chan_tx; in at91_twi_write_data_dma() local 358 txdesc = dmaengine_prep_slave_sg(chan_tx, dma->sg, sg_len, in at91_twi_write_data_dma() 371 dma_async_issue_pending(chan_tx); in at91_twi_write_data_dma() 980 dma->chan_tx = dma_request_slave_channel_reason(dev->dev, "tx"); in at91_twi_configure_dma() 981 if (IS_ERR(dma->chan_tx)) { in at91_twi_configure_dma() 982 ret = PTR_ERR(dma->chan_tx); in at91_twi_configure_dma() 983 dma->chan_tx = NULL; in at91_twi_configure_dma() 995 if (dmaengine_slave_config(dma->chan_tx, &slave_config)) { in at91_twi_configure_dma() [all …]
|
D | i2c-imx.c | 184 struct dma_chan *chan_tx; member 296 dma->chan_tx = dma_request_slave_channel(dev, "tx"); in i2c_imx_dma_request() 297 if (!dma->chan_tx) { in i2c_imx_dma_request() 307 ret = dmaengine_slave_config(dma->chan_tx, &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() 340 dma_release_channel(dma->chan_tx); in i2c_imx_dma_request() 405 dma_release_channel(dma->chan_tx); in i2c_imx_dma_free() 406 dma->chan_tx = NULL; in i2c_imx_dma_free() 605 dma->chan_using = dma->chan_tx; in i2c_imx_dma_write()
|
/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 885 dma->chan_tx = chan; in pch_spi_request_dma() 897 dma_release_channel(dma->chan_tx); in pch_spi_request_dma() 898 dma->chan_tx = NULL; in pch_spi_request_dma() 910 if (dma->chan_tx) { in pch_spi_release_dma() 911 dma_release_channel(dma->chan_tx); in pch_spi_release_dma() 912 dma->chan_tx = NULL; in pch_spi_release_dma() 1097 desc_tx = dmaengine_prep_slave_sg(dma->chan_tx, in pch_spi_handle_dma()
|
/drivers/tty/serial/ |
D | pch_uart.c | 251 struct dma_chan *chan_tx; member 698 if (priv->chan_tx) { in pch_free_dma() 699 dma_release_channel(priv->chan_tx); in pch_free_dma() 700 priv->chan_tx = NULL; in pch_free_dma() 757 priv->chan_tx = chan; in pch_request_dma() 769 dma_release_channel(priv->chan_tx); in pch_request_dma() 770 priv->chan_tx = NULL; in pch_request_dma() 1049 desc = dmaengine_prep_slave_sg(priv->chan_tx, in dma_handle_tx() 1064 dma_async_issue_pending(priv->chan_tx); in dma_handle_tx()
|
D | sh-sci.c | 128 struct dma_chan *chan_tx; member 580 if (s->chan_tx) in sci_start_tx() 588 if (s->chan_tx && !uart_circ_empty(&s->port.state->xmit) && in sci_start_tx() 595 if (!s->chan_tx || port->type == PORT_SCIFA || port->type == PORT_SCIFB) { in sci_start_tx() 1240 struct dma_chan *chan = s->chan_tx; in sci_tx_dma_release() 1245 s->chan_tx = NULL; in sci_tx_dma_release() 1300 struct dma_chan *chan = s->chan_tx; in work_fn_tx() 1481 s->chan_tx = chan; in sci_request_dma() 1490 s->chan_tx = NULL; in sci_request_dma() 1543 if (s->chan_tx) in sci_free_dma() [all …]
|
D | atmel_serial.c | 146 struct dma_chan *chan_tx; member 784 struct dma_chan *chan = atmel_port->chan_tx; in atmel_complete_tx_dma() 824 struct dma_chan *chan = atmel_port->chan_tx; in atmel_release_tx_dma() 834 atmel_port->chan_tx = NULL; in atmel_release_tx_dma() 845 struct dma_chan *chan = atmel_port->chan_tx; in atmel_tx_dma() 935 atmel_port->chan_tx = dma_request_slave_channel(port->dev, "tx"); in atmel_prepare_tx_dma() 936 if (atmel_port->chan_tx == NULL) in atmel_prepare_tx_dma() 939 dma_chan_name(atmel_port->chan_tx)); in atmel_prepare_tx_dma() 973 ret = dmaengine_slave_config(atmel_port->chan_tx, in atmel_prepare_tx_dma() 985 if (atmel_port->chan_tx) in atmel_prepare_tx_dma()
|