| /drivers/mmc/host/ |
| A D | renesas_sdhi_sys_dmac.c | 114 if (host->chan_tx) in renesas_sdhi_sys_dmac_abort_dma() 218 chan = host->chan_tx; in renesas_sdhi_sys_dmac_start_dma_rx() 220 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_start_dma_rx() 291 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_start_dma_tx() 311 if (host->chan_tx) in renesas_sdhi_sys_dmac_start_dma() 327 chan = host->chan_tx; in renesas_sdhi_sys_dmac_issue_work_fn() 365 host->chan_tx); in renesas_sdhi_sys_dmac_request_dma() 367 if (!host->chan_tx) in renesas_sdhi_sys_dmac_request_dma() 420 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_request_dma() 425 if (host->chan_tx) { in renesas_sdhi_sys_dmac_release_dma() [all …]
|
| A D | sh_mmcif.c | 244 struct dma_chan *chan_tx; member 320 chan = host->chan_tx; in sh_mmcif_start_dma_rx() 322 host->chan_tx = NULL; in sh_mmcif_start_dma_rx() 366 host->chan_tx = NULL; in sh_mmcif_start_dma_tx() 436 if (IS_ERR(host->chan_tx)) in sh_mmcif_request_dma() 437 host->chan_tx = NULL; in sh_mmcif_request_dma() 454 if (host->chan_tx) in sh_mmcif_request_dma() 455 dma_release_channel(host->chan_tx); in sh_mmcif_request_dma() 465 if (host->chan_tx) { in sh_mmcif_release_dma() 467 host->chan_tx = NULL; in sh_mmcif_release_dma() [all …]
|
| A D | usdhi6rol0.c | 199 struct dma_chan *chan_tx; member 520 if (host->chan_tx) { in usdhi6_dma_release() 521 struct dma_chan *chan = host->chan_tx; in usdhi6_dma_release() 522 host->chan_tx = NULL; in usdhi6_dma_release() 617 if (!host->chan_rx || !host->chan_tx) in usdhi6_dma_start() 670 dma_async_issue_pending(host->chan_tx); in usdhi6_dma_kick() 683 host->chan_tx); in usdhi6_dma_request() 685 if (IS_ERR(host->chan_tx)) { in usdhi6_dma_request() 686 host->chan_tx = NULL; in usdhi6_dma_request() 721 dma_release_channel(host->chan_tx); in usdhi6_dma_request() [all …]
|
| A D | renesas_sdhi_internal_dmac.c | 304 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_internal_dmac_enable_dma() 549 host->chan_rx = host->chan_tx = (void *)0xdeadbeaf; in renesas_sdhi_internal_dmac_request_dma() 565 host->chan_rx = host->chan_tx = NULL; in renesas_sdhi_internal_dmac_release_dma()
|
| A D | uniphier-sd.c | 200 host->chan_tx = chan; in uniphier_sd_external_dma_request() 318 host->chan_tx = (void *)0xdeadbeaf; in uniphier_sd_internal_dma_request() 327 host->chan_tx = NULL; in uniphier_sd_internal_dma_release()
|
| A D | tmio_mmc.h | 161 struct dma_chan *chan_tx; member
|
| A D | tmio_mmc_core.c | 79 host->chan_tx = NULL; in tmio_mmc_request_dma()
|
| /drivers/i2c/busses/ |
| A D | i2c-stm32.c | 26 dma->chan_tx = dma_request_chan(dev, "tx"); in stm32_i2c_dma_request() 27 if (IS_ERR(dma->chan_tx)) { in stm32_i2c_dma_request() 28 ret = PTR_ERR(dma->chan_tx); in stm32_i2c_dma_request() 40 ret = dmaengine_slave_config(dma->chan_tx, &dma_sconfig); in stm32_i2c_dma_request() 71 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in stm32_i2c_dma_request() 78 dma_release_channel(dma->chan_tx); in stm32_i2c_dma_request() 90 dma_release_channel(dma->chan_tx); in stm32_i2c_dma_free() 91 dma->chan_tx = NULL; in stm32_i2c_dma_free() 112 dma->chan_using = dma->chan_tx; in stm32_i2c_prep_dma_xfer()
|
| A D | i2c-at91-master.c | 143 dmaengine_terminate_sync(dma->chan_tx); in at91_twi_dma_cleanup() 199 struct dma_chan *chan_tx = dma->chan_tx; in at91_twi_write_data_dma() local 251 txdesc = dmaengine_prep_slave_sg(chan_tx, dma->sg, sg_len, in at91_twi_write_data_dma() 264 dma_async_issue_pending(chan_tx); in at91_twi_write_data_dma() 780 dma->chan_tx = dma_request_chan(dev->dev, "tx"); in at91_twi_configure_dma() 781 if (IS_ERR(dma->chan_tx)) { in at91_twi_configure_dma() 782 ret = PTR_ERR(dma->chan_tx); in at91_twi_configure_dma() 783 dma->chan_tx = NULL; in at91_twi_configure_dma() 795 if (dmaengine_slave_config(dma->chan_tx, &slave_config)) { in at91_twi_configure_dma() 823 if (dma->chan_tx) in at91_twi_configure_dma() [all …]
|
| A D | i2c-imx-lpi2c.c | 165 struct dma_chan *chan_tx; member 691 ? dma->chan_rx : dma->chan_tx; in lpi2c_dma_unmap() 701 dmaengine_terminate_sync(dma->chan_tx); in lpi2c_cleanup_rx_cmd_dma() 711 dmaengine_terminate_sync(dma->chan_tx); in lpi2c_cleanup_dma() 727 struct dma_chan *txchan = dma->chan_tx; in lpi2c_dma_rx_cmd_submit() 780 chan = dma->chan_tx; in lpi2c_dma_submit() 1306 if (dma->chan_tx) in dma_exit() 1307 dma_release_channel(dma->chan_tx); in dma_exit() 1326 if (IS_ERR(dma->chan_tx)) { in lpi2c_dma_init() 1327 ret = PTR_ERR(dma->chan_tx); in lpi2c_dma_init() [all …]
|
| A D | i2c-imx.c | 217 struct dma_chan *chan_tx; member 412 dma->chan_tx = dma_request_chan(dev, "tx"); in i2c_imx_dma_request() 413 if (IS_ERR(dma->chan_tx)) { in i2c_imx_dma_request() 414 ret = PTR_ERR(dma->chan_tx); in i2c_imx_dma_request() 425 ret = dmaengine_slave_config(dma->chan_tx, &dma_sconfig); in i2c_imx_dma_request() 453 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in i2c_imx_dma_request() 460 dma_release_channel(dma->chan_tx); in i2c_imx_dma_request() 527 dma_release_channel(dma->chan_tx); in i2c_imx_dma_free() 528 dma->chan_tx = NULL; in i2c_imx_dma_free() 1164 dma->chan_using = dma->chan_tx; in i2c_imx_dma_write()
|
| A D | i2c-stm32.h | 37 struct dma_chan *chan_tx; member
|
| A D | i2c-at91.h | 129 struct dma_chan *chan_tx; member
|
| /drivers/net/ethernet/ |
| A D | lantiq_xrx200.c | 81 struct xrx200_chan chan_tx; member 151 napi_enable(&priv->chan_tx.napi); in xrx200_open() 152 ltq_dma_open(&priv->chan_tx.dma); in xrx200_open() 153 ltq_dma_enable_irq(&priv->chan_tx.dma); in xrx200_open() 181 napi_disable(&priv->chan_tx.napi); in xrx200_close() 182 ltq_dma_close(&priv->chan_tx.dma); in xrx200_close() 361 struct xrx200_chan *ch = &priv->chan_tx; in xrx200_start_xmit() 520 "xrx200_net_tx", &priv->chan_tx); in xrx200_dma_init() 548 ltq_dma_free(&priv->chan_tx.dma); in xrx200_hw_cleanup() 589 if (priv->chan_tx.dma.irq < 0) in xrx200_probe() [all …]
|
| /drivers/spi/ |
| A D | spi-fsl-dspi.c | 324 struct dma_chan *chan_tx; member 564 dma_async_issue_pending(dma->chan_tx); in dspi_next_xfer_dma_submit() 575 dmaengine_terminate_all(dma->chan_tx); in dspi_next_xfer_dma_submit() 584 dmaengine_terminate_all(dma->chan_tx); in dspi_next_xfer_dma_submit() 641 dma->chan_tx = dma_request_chan(dev, "tx"); in dspi_request_dma() 642 if (IS_ERR(dma->chan_tx)) { in dspi_request_dma() 695 dma_free_coherent(dma->chan_tx->device->dev, in dspi_request_dma() 698 dma_release_channel(dma->chan_tx); in dspi_request_dma() 716 if (dma->chan_tx) { in dspi_release_dma() 719 dma_release_channel(dma->chan_tx); in dspi_release_dma() [all …]
|
| A D | spi-topcliff-pch.c | 111 struct dma_chan *chan_tx; member 853 dma->chan_tx = chan; in pch_spi_request_dma() 865 dma_release_channel(dma->chan_tx); in pch_spi_request_dma() 866 dma->chan_tx = NULL; in pch_spi_request_dma() 883 if (dma->chan_tx) { in pch_spi_release_dma() 884 dma_release_channel(dma->chan_tx); in pch_spi_release_dma() 885 dma->chan_tx = NULL; in pch_spi_release_dma() 1077 desc_tx = dmaengine_prep_slave_sg(dma->chan_tx, in pch_spi_handle_dma()
|
| /drivers/tty/serial/ |
| A D | pch_uart.c | 228 struct dma_chan *chan_tx; member 635 if (priv->chan_tx) { in pch_free_dma() 636 dma_release_channel(priv->chan_tx); in pch_free_dma() 637 priv->chan_tx = NULL; in pch_free_dma() 695 priv->chan_tx = chan; in pch_request_dma() 707 dma_release_channel(priv->chan_tx); in pch_request_dma() 708 priv->chan_tx = NULL; in pch_request_dma() 949 desc = dmaengine_prep_slave_sg(priv->chan_tx, in dma_handle_tx() 964 dma_async_issue_pending(priv->chan_tx); in dma_handle_tx()
|
| A D | sh-sci.c | 590 if (s->chan_tx) in sci_start_tx() 642 if (s->chan_tx && in sci_stop_tx() 644 dmaengine_terminate_async(s->chan_tx); in sci_stop_tx() 1401 s->chan_tx_saved = s->chan_tx = NULL; in sci_dma_tx_release() 1456 struct dma_chan *chan = s->chan_tx; in sci_dma_tx_work_fn() 1510 s->chan_tx = NULL; in sci_dma_tx_work_fn() 1659 s->chan_tx_saved = s->chan_tx = chan; in sci_request_dma() 1722 if (s->chan_tx) { in sci_flush_buffer() 1733 if (!s->chan_tx) in sci_dma_check_tx_occurred() 1896 if (!s->chan_tx) in sci_er_interrupt() [all …]
|
| A D | atmel_serial.c | 131 struct dma_chan *chan_tx; member 863 struct dma_chan *chan = atmel_port->chan_tx; in atmel_complete_tx_dma() 904 struct dma_chan *chan = atmel_port->chan_tx; in atmel_release_tx_dma() 914 atmel_port->chan_tx = NULL; in atmel_release_tx_dma() 925 struct dma_chan *chan = atmel_port->chan_tx; in atmel_tx_dma() 1027 atmel_port->chan_tx = NULL; in atmel_prepare_tx_dma() 1030 atmel_port->chan_tx = chan; in atmel_prepare_tx_dma() 1032 dma_chan_name(atmel_port->chan_tx)); in atmel_prepare_tx_dma() 1058 ret = dmaengine_slave_config(atmel_port->chan_tx, in atmel_prepare_tx_dma() 1070 if (atmel_port->chan_tx) in atmel_prepare_tx_dma()
|
| A D | sh-sci-common.h | 123 struct dma_chan *chan_tx; member
|
| A D | rsci.c | 212 if (sp->chan_tx) in rsci_start_tx()
|
| /drivers/firmware/ |
| A D | ti_sci.c | 117 struct mbox_chan *chan_tx; member 406 ret = mbox_send_message(info->chan_tx, &xfer->tx_message); in ti_sci_do_xfer() 438 mbox_client_txdone(info->chan_tx, ret); in ti_sci_do_xfer() 3867 info->chan_tx = mbox_request_channel_byname(cl, "tx"); in ti_sci_probe() 3868 if (IS_ERR(info->chan_tx)) { in ti_sci_probe() 3869 ret = PTR_ERR(info->chan_tx); in ti_sci_probe() 3904 if (!IS_ERR(info->chan_tx)) in ti_sci_probe() 3905 mbox_free_channel(info->chan_tx); in ti_sci_probe()
|