| /Linux-v5.4/drivers/mmc/host/ |
| D | renesas_sdhi_sys_dmac.c | 97 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_sys_dmac_enable_dma() 110 if (host->chan_tx) in renesas_sdhi_sys_dmac_abort_dma() 111 dmaengine_terminate_all(host->chan_tx); in renesas_sdhi_sys_dmac_abort_dma() 138 dma_unmap_sg(host->chan_tx->device->dev, in renesas_sdhi_sys_dmac_dma_callback() 214 chan = host->chan_tx; in renesas_sdhi_sys_dmac_start_dma_rx() 216 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_start_dma_rx() 229 struct dma_chan *chan = host->chan_tx; in renesas_sdhi_sys_dmac_start_dma_tx() 288 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_start_dma_tx() 308 if (host->chan_tx) in renesas_sdhi_sys_dmac_start_dma() 324 chan = host->chan_tx; in renesas_sdhi_sys_dmac_issue_tasklet_fn() [all …]
|
| D | sh_mmcif.c | 247 struct dma_chan *chan_tx; member 323 chan = host->chan_tx; in sh_mmcif_start_dma_rx() 325 host->chan_tx = NULL; in sh_mmcif_start_dma_rx() 342 struct dma_chan *chan = host->chan_tx; in sh_mmcif_start_dma_tx() 369 host->chan_tx = NULL; in sh_mmcif_start_dma_tx() 430 host->chan_tx = sh_mmcif_request_dma_pdata(host, in sh_mmcif_request_dma() 435 host->chan_tx = dma_request_slave_channel(dev, "tx"); in sh_mmcif_request_dma() 438 dev_dbg(dev, "%s: got channel TX %p RX %p\n", __func__, host->chan_tx, in sh_mmcif_request_dma() 441 if (!host->chan_tx || !host->chan_rx || in sh_mmcif_request_dma() 442 sh_mmcif_dma_slave_config(host, host->chan_tx, DMA_MEM_TO_DEV) || in sh_mmcif_request_dma() [all …]
|
| D | renesas_sdhi_internal_dmac.c | 141 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_internal_dmac_enable_dma() 271 host->chan_rx = host->chan_tx = (void *)0xdeadbeaf; in renesas_sdhi_internal_dmac_request_dma() 285 host->chan_rx = host->chan_tx = NULL; in renesas_sdhi_internal_dmac_release_dma()
|
| D | usdhi6rol0.c | 197 struct dma_chan *chan_tx; member 519 if (host->chan_tx) { in usdhi6_dma_release() 520 struct dma_chan *chan = host->chan_tx; in usdhi6_dma_release() 521 host->chan_tx = NULL; in usdhi6_dma_release() 545 dma_unmap_sg(host->chan_tx->device->dev, data->sg, in usdhi6_dma_stop_unmap() 616 if (!host->chan_rx || !host->chan_tx) in usdhi6_dma_start() 622 return usdhi6_dma_setup(host, host->chan_tx, DMA_MEM_TO_DEV); in usdhi6_dma_start() 635 dmaengine_terminate_all(host->chan_tx); in usdhi6_dma_kill() 669 dma_async_issue_pending(host->chan_tx); in usdhi6_dma_kick() 680 host->chan_tx = dma_request_slave_channel(mmc_dev(host->mmc), "tx"); in usdhi6_dma_request() [all …]
|
| D | uniphier-sd.c | 192 host->chan_tx = chan; in uniphier_sd_external_dma_request() 311 host->chan_tx = (void *)0xdeadbeaf; in uniphier_sd_internal_dma_request() 321 host->chan_tx = NULL; in uniphier_sd_internal_dma_release()
|
| D | tmio_mmc.h | 147 struct dma_chan *chan_tx; member
|
| D | tmio_mmc_core.c | 72 host->chan_tx = NULL; in tmio_mmc_request_dma()
|
| /Linux-v5.4/drivers/i2c/busses/ |
| D | i2c-stm32.c | 26 dma->chan_tx = dma_request_slave_channel(dev, "tx"); in stm32_i2c_dma_request() 27 if (!dma->chan_tx) { in stm32_i2c_dma_request() 38 ret = dmaengine_slave_config(dma->chan_tx, &dma_sconfig); in stm32_i2c_dma_request() 66 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in stm32_i2c_dma_request() 73 dma_release_channel(dma->chan_tx); in stm32_i2c_dma_request() 86 dma_release_channel(dma->chan_tx); in stm32_i2c_dma_free() 87 dma->chan_tx = NULL; in stm32_i2c_dma_free() 109 dma->chan_using = dma->chan_tx; in stm32_i2c_prep_dma_xfer()
|
| D | i2c-at91-master.c | 104 dmaengine_terminate_all(dma->chan_tx); in at91_twi_dma_cleanup() 160 struct dma_chan *chan_tx = dma->chan_tx; in at91_twi_write_data_dma() local 212 txdesc = dmaengine_prep_slave_sg(chan_tx, dma->sg, sg_len, in at91_twi_write_data_dma() 225 dma_async_issue_pending(chan_tx); in at91_twi_write_data_dma() 723 dma->chan_tx = dma_request_slave_channel_reason(dev->dev, "tx"); in at91_twi_configure_dma() 724 if (IS_ERR(dma->chan_tx)) { in at91_twi_configure_dma() 725 ret = PTR_ERR(dma->chan_tx); in at91_twi_configure_dma() 726 dma->chan_tx = NULL; in at91_twi_configure_dma() 738 if (dmaengine_slave_config(dma->chan_tx, &slave_config)) { in at91_twi_configure_dma() 757 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in at91_twi_configure_dma() [all …]
|
| D | i2c-imx.c | 176 struct dma_chan *chan_tx; member 295 dma->chan_tx = dma_request_chan(dev, "tx"); in i2c_imx_dma_request() 296 if (IS_ERR(dma->chan_tx)) { in i2c_imx_dma_request() 297 ret = PTR_ERR(dma->chan_tx); in i2c_imx_dma_request() 308 ret = dmaengine_slave_config(dma->chan_tx, &dma_sconfig); in i2c_imx_dma_request() 336 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in i2c_imx_dma_request() 343 dma_release_channel(dma->chan_tx); in i2c_imx_dma_request() 408 dma_release_channel(dma->chan_tx); in i2c_imx_dma_free() 409 dma->chan_tx = NULL; in i2c_imx_dma_free() 620 dma->chan_using = dma->chan_tx; in i2c_imx_dma_write()
|
| D | i2c-stm32.h | 37 struct dma_chan *chan_tx; member
|
| D | i2c-at91.h | 116 struct dma_chan *chan_tx; member
|
| /Linux-v5.4/drivers/net/ethernet/ |
| D | lantiq_xrx200.c | 68 struct xrx200_chan chan_tx; member 119 napi_enable(&priv->chan_tx.napi); in xrx200_open() 120 ltq_dma_open(&priv->chan_tx.dma); in xrx200_open() 121 ltq_dma_enable_irq(&priv->chan_tx.dma); in xrx200_open() 149 napi_disable(&priv->chan_tx.napi); in xrx200_close() 150 ltq_dma_close(&priv->chan_tx.dma); in xrx200_close() 282 struct xrx200_chan *ch = &priv->chan_tx; in xrx200_start_xmit() 355 struct xrx200_chan *ch_tx = &priv->chan_tx; in xrx200_dma_init() 387 "xrx200_net_tx", &priv->chan_tx); in xrx200_dma_init() 415 ltq_dma_free(&priv->chan_tx.dma); in xrx200_hw_cleanup() [all …]
|
| /Linux-v5.4/drivers/spi/ |
| D | spi-fsl-dspi.c | 161 struct dma_chan *chan_tx; member 279 dma->tx_desc = dmaengine_prep_slave_single(dma->chan_tx, in dspi_next_xfer_dma_submit() 319 dma_async_issue_pending(dma->chan_tx); in dspi_next_xfer_dma_submit() 330 dmaengine_terminate_all(dma->chan_tx); in dspi_next_xfer_dma_submit() 339 dmaengine_terminate_all(dma->chan_tx); in dspi_next_xfer_dma_submit() 402 dma->chan_tx = dma_request_slave_channel(dev, "tx"); in dspi_request_dma() 403 if (!dma->chan_tx) { in dspi_request_dma() 439 ret = dmaengine_slave_config(dma->chan_tx, &cfg); in dspi_request_dma() 459 dma_release_channel(dma->chan_tx); in dspi_request_dma() 477 if (dma->chan_tx) { in dspi_release_dma() [all …]
|
| D | spi-topcliff-pch.c | 110 struct dma_chan *chan_tx; member 876 dma->chan_tx = chan; in pch_spi_request_dma() 888 dma_release_channel(dma->chan_tx); in pch_spi_request_dma() 889 dma->chan_tx = NULL; in pch_spi_request_dma() 901 if (dma->chan_tx) { in pch_spi_release_dma() 902 dma_release_channel(dma->chan_tx); in pch_spi_release_dma() 903 dma->chan_tx = NULL; in pch_spi_release_dma() 1093 desc_tx = dmaengine_prep_slave_sg(dma->chan_tx, in pch_spi_handle_dma()
|
| /Linux-v5.4/drivers/tty/serial/ |
| D | pch_uart.c | 232 struct dma_chan *chan_tx; member 679 if (priv->chan_tx) { in pch_free_dma() 680 dma_release_channel(priv->chan_tx); in pch_free_dma() 681 priv->chan_tx = NULL; in pch_free_dma() 738 priv->chan_tx = chan; in pch_request_dma() 750 dma_release_channel(priv->chan_tx); in pch_request_dma() 751 priv->chan_tx = NULL; in pch_request_dma() 1026 desc = dmaengine_prep_slave_sg(priv->chan_tx, in dma_handle_tx() 1041 dma_async_issue_pending(priv->chan_tx); in dma_handle_tx()
|
| D | atmel_serial.c | 134 struct dma_chan *chan_tx; member 865 struct dma_chan *chan = atmel_port->chan_tx; in atmel_complete_tx_dma() 909 struct dma_chan *chan = atmel_port->chan_tx; in atmel_release_tx_dma() 919 atmel_port->chan_tx = NULL; in atmel_release_tx_dma() 930 struct dma_chan *chan = atmel_port->chan_tx; in atmel_tx_dma() 1021 atmel_port->chan_tx = dma_request_slave_channel(mfd_dev, "tx"); in atmel_prepare_tx_dma() 1022 if (atmel_port->chan_tx == NULL) in atmel_prepare_tx_dma() 1025 dma_chan_name(atmel_port->chan_tx)); in atmel_prepare_tx_dma() 1059 ret = dmaengine_slave_config(atmel_port->chan_tx, in atmel_prepare_tx_dma() 1071 if (atmel_port->chan_tx) in atmel_prepare_tx_dma()
|
| D | sh-sci.c | 136 struct dma_chan *chan_tx; member 581 if (s->chan_tx) in sci_start_tx() 589 if (s->chan_tx && !uart_circ_empty(&s->port.state->xmit) && in sci_start_tx() 596 if (!s->chan_tx || port->type == PORT_SCIFA || port->type == PORT_SCIFB) { in sci_start_tx() 1339 s->chan_tx_saved = s->chan_tx = NULL; in sci_dma_tx_release() 1394 struct dma_chan *chan = s->chan_tx; in sci_dma_tx_work_fn() 1451 s->chan_tx = NULL; in sci_dma_tx_work_fn() 1602 s->chan_tx_saved = s->chan_tx = chan; in sci_request_dma() 1665 if (s->chan_tx) { in sci_flush_buffer() 1666 dmaengine_terminate_async(s->chan_tx); in sci_flush_buffer() [all …]
|
| /Linux-v5.4/drivers/firmware/ |
| D | ti_sci.c | 128 struct mbox_chan *chan_tx; member 428 ret = mbox_send_message(info->chan_tx, &xfer->tx_message); in ti_sci_do_xfer() 447 mbox_client_txdone(info->chan_tx, ret); in ti_sci_do_xfer() 3487 info->chan_tx = mbox_request_channel_byname(cl, "tx"); in ti_sci_probe() 3488 if (IS_ERR(info->chan_tx)) { in ti_sci_probe() 3489 ret = PTR_ERR(info->chan_tx); in ti_sci_probe() 3522 if (!IS_ERR(info->chan_tx)) in ti_sci_probe() 3523 mbox_free_channel(info->chan_tx); in ti_sci_probe() 3554 mbox_free_channel(info->chan_tx); in ti_sci_remove()
|