/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A 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...] |
H A 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_chan(dev, "tx"); in sh_mmcif_request_dma() 436 if (IS_ERR(host->chan_tx)) in sh_mmcif_request_dma() 437 host->chan_tx = NULL; in sh_mmcif_request_dma() 442 dev_dbg(dev, "%s: got channel TX %p RX %p\n", __func__, host->chan_tx, in sh_mmcif_request_dma() [all...] |
H 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() 546 dma_unmap_sg(host->chan_tx->device->dev, data->sg, in usdhi6_dma_stop_unmap() 617 if (!host->chan_rx || !host->chan_tx) in usdhi6_dma_start() 623 return usdhi6_dma_setup(host, host->chan_tx, DMA_MEM_TO_DEV); in usdhi6_dma_start() 636 dmaengine_terminate_all(host->chan_tx); in usdhi6_dma_kill() 670 dma_async_issue_pending(host->chan_tx); in usdhi6_dma_kick() 681 host->chan_tx in usdhi6_dma_request() [all...] |
H A D | renesas_sdhi_internal_dmac.c | 141 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_internal_dmac_enable_dma() 290 host->chan_rx = host->chan_tx = (void *)0xdeadbeaf; in renesas_sdhi_internal_dmac_request_dma() 304 host->chan_rx = host->chan_tx = NULL; in renesas_sdhi_internal_dmac_release_dma()
|
H A D | uniphier-sd.c | 191 host->chan_tx = chan; in uniphier_sd_external_dma_request() 310 host->chan_tx = (void *)0xdeadbeaf; in uniphier_sd_internal_dma_request() 320 host->chan_tx = NULL; in uniphier_sd_internal_dma_release()
|
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | renesas_sdhi_sys_dmac.c | 100 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_sys_dmac_enable_dma() 113 if (host->chan_tx) in renesas_sdhi_sys_dmac_abort_dma() 114 dmaengine_terminate_sync(host->chan_tx); in renesas_sdhi_sys_dmac_abort_dma() 141 dma_unmap_sg(host->chan_tx->device->dev, in renesas_sdhi_sys_dmac_dma_callback() 217 chan = host->chan_tx; in renesas_sdhi_sys_dmac_start_dma_rx() 219 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_start_dma_rx() 232 struct dma_chan *chan = host->chan_tx; in renesas_sdhi_sys_dmac_start_dma_tx() 290 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_start_dma_tx() 310 if (host->chan_tx) in renesas_sdhi_sys_dmac_start_dma() 326 chan = host->chan_tx; in renesas_sdhi_sys_dmac_issue_tasklet_fn() [all...] |
H A D | sh_mmcif.c | 246 struct dma_chan *chan_tx; member 322 chan = host->chan_tx; in sh_mmcif_start_dma_rx() 324 host->chan_tx = NULL; in sh_mmcif_start_dma_rx() 341 struct dma_chan *chan = host->chan_tx; in sh_mmcif_start_dma_tx() 368 host->chan_tx = NULL; in sh_mmcif_start_dma_tx() 432 host->chan_tx = sh_mmcif_request_dma_pdata(host, in sh_mmcif_request_dma() 437 host->chan_tx = dma_request_chan(dev, "tx"); in sh_mmcif_request_dma() 438 if (IS_ERR(host->chan_tx)) in sh_mmcif_request_dma() 439 host->chan_tx = NULL; in sh_mmcif_request_dma() 444 dev_dbg(dev, "%s: got channel TX %p RX %p\n", __func__, host->chan_tx, in sh_mmcif_request_dma() [all...] |
H 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() 546 dma_unmap_sg(host->chan_tx->device->dev, data->sg, in usdhi6_dma_stop_unmap() 617 if (!host->chan_rx || !host->chan_tx) in usdhi6_dma_start() 623 return usdhi6_dma_setup(host, host->chan_tx, DMA_MEM_TO_DEV); in usdhi6_dma_start() 636 dmaengine_terminate_sync(host->chan_tx); in usdhi6_dma_kill() 670 dma_async_issue_pending(host->chan_tx); in usdhi6_dma_kick() 681 host->chan_tx in usdhi6_dma_request() [all...] |
H A D | renesas_sdhi_internal_dmac.c | 301 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_internal_dmac_enable_dma() 544 host->chan_rx = host->chan_tx = (void *)0xdeadbeaf; in renesas_sdhi_internal_dmac_request_dma() 562 host->chan_rx = host->chan_tx = NULL; in renesas_sdhi_internal_dmac_release_dma()
|
H 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()
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H 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() 113 dma->chan_using = dma->chan_tx; in stm32_i2c_prep_dma_xfer()
|
H A D | i2c-at91-master.c | 144 dmaengine_terminate_all(dma->chan_tx); in at91_twi_dma_cleanup() 200 struct dma_chan *chan_tx = dma->chan_tx; in at91_twi_write_data_dma() local 252 txdesc = dmaengine_prep_slave_sg(chan_tx, dma->sg, sg_len, in at91_twi_write_data_dma() 265 dma_async_issue_pending(chan_tx); in at91_twi_write_data_dma() 782 dma->chan_tx = dma_request_chan(dev->dev, "tx"); in at91_twi_configure_dma() 783 if (IS_ERR(dma->chan_tx)) { in at91_twi_configure_dma() 784 ret = PTR_ERR(dma->chan_tx); in at91_twi_configure_dma() 785 dma->chan_tx = NULL; in at91_twi_configure_dma() 797 if (dmaengine_slave_config(dma->chan_tx, in at91_twi_configure_dma() [all...] |
H A D | i2c-imx.c | 174 struct dma_chan *chan_tx; member 293 dma->chan_tx = dma_request_chan(dev, "tx"); in i2c_imx_dma_request() 294 if (IS_ERR(dma->chan_tx)) { in i2c_imx_dma_request() 295 ret = PTR_ERR(dma->chan_tx); in i2c_imx_dma_request() 306 ret = dmaengine_slave_config(dma->chan_tx, &dma_sconfig); in i2c_imx_dma_request() 334 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in i2c_imx_dma_request() 341 dma_release_channel(dma->chan_tx); in i2c_imx_dma_request() 406 dma_release_channel(dma->chan_tx); in i2c_imx_dma_free() 407 dma->chan_tx = NULL; in i2c_imx_dma_free() 668 dma->chan_using = dma->chan_tx; in i2c_imx_dma_write() [all...] |
H A D | i2c-stm32.h | 27 * @chan_tx: dma channel for TX transfer 37 struct dma_chan *chan_tx; member
|
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H 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() 113 dma->chan_using = dma->chan_tx; in stm32_i2c_prep_dma_xfer()
|
H A D | i2c-at91-master.c | 142 dmaengine_terminate_sync(dma->chan_tx); in at91_twi_dma_cleanup() 198 struct dma_chan *chan_tx = dma->chan_tx; in at91_twi_write_data_dma() local 250 txdesc = dmaengine_prep_slave_sg(chan_tx, dma->sg, sg_len, in at91_twi_write_data_dma() 263 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, in at91_twi_configure_dma() [all...] |
H A D | i2c-stm32.h | 27 * @chan_tx: dma channel for TX transfer 37 struct dma_chan *chan_tx; member
|
H A D | i2c-imx.c | 190 struct dma_chan *chan_tx; member 361 dma->chan_tx = dma_request_chan(dev, "tx"); in i2c_imx_dma_request() 362 if (IS_ERR(dma->chan_tx)) { in i2c_imx_dma_request() 363 ret = PTR_ERR(dma->chan_tx); in i2c_imx_dma_request() 374 ret = dmaengine_slave_config(dma->chan_tx, &dma_sconfig); in i2c_imx_dma_request() 402 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in i2c_imx_dma_request() 409 dma_release_channel(dma->chan_tx); in i2c_imx_dma_request() 474 dma_release_channel(dma->chan_tx); in i2c_imx_dma_free() 475 dma->chan_tx = NULL; in i2c_imx_dma_free() 961 dma->chan_using = dma->chan_tx; in i2c_imx_dma_write() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/ |
H A 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() 293 struct xrx200_chan *ch = &priv->chan_tx; in xrx200_start_xmit() 368 struct xrx200_chan *ch_tx = &priv->chan_tx; in xrx200_dma_init() 400 "xrx200_net_tx", &priv->chan_tx); in xrx200_dma_init() 428 ltq_dma_free(&priv->chan_tx in xrx200_hw_cleanup() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/ |
H 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() 487 struct xrx200_chan *ch_tx = &priv->chan_tx; in xrx200_dma_init() 520 "xrx200_net_tx", &priv->chan_tx); in xrx200_dma_init() 548 ltq_dma_free(&priv->chan_tx in xrx200_hw_cleanup() [all...] |
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-fsl-dspi.c | 197 struct dma_chan *chan_tx; member 390 dma->tx_desc = dmaengine_prep_slave_single(dma->chan_tx, in dspi_next_xfer_dma_submit() 430 dma_async_issue_pending(dma->chan_tx); in dspi_next_xfer_dma_submit() 441 dmaengine_terminate_all(dma->chan_tx); in dspi_next_xfer_dma_submit() 450 dmaengine_terminate_all(dma->chan_tx); in dspi_next_xfer_dma_submit() 510 dma->chan_tx = dma_request_chan(dev, "tx"); in dspi_request_dma() 511 if (IS_ERR(dma->chan_tx)) { in dspi_request_dma() 513 ret = PTR_ERR(dma->chan_tx); in dspi_request_dma() 517 dma->tx_dma_buf = dma_alloc_coherent(dma->chan_tx->device->dev, in dspi_request_dma() 550 ret = dmaengine_slave_config(dma->chan_tx, in dspi_request_dma() [all...] |
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-fsl-dspi.c | 198 struct dma_chan *chan_tx; member 391 dma->tx_desc = dmaengine_prep_slave_single(dma->chan_tx, in dspi_next_xfer_dma_submit() 431 dma_async_issue_pending(dma->chan_tx); in dspi_next_xfer_dma_submit() 442 dmaengine_terminate_all(dma->chan_tx); in dspi_next_xfer_dma_submit() 451 dmaengine_terminate_all(dma->chan_tx); in dspi_next_xfer_dma_submit() 510 dma->chan_tx = dma_request_chan(dev, "tx"); in dspi_request_dma() 511 if (IS_ERR(dma->chan_tx)) { in dspi_request_dma() 512 ret = PTR_ERR(dma->chan_tx); in dspi_request_dma() 517 dma->tx_dma_buf = dma_alloc_coherent(dma->chan_tx->device->dev, in dspi_request_dma() 550 ret = dmaengine_slave_config(dma->chan_tx, in dspi_request_dma() [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | pch_uart.c | 229 struct dma_chan *chan_tx; member 657 if (priv->chan_tx) { in pch_free_dma() 658 dma_release_channel(priv->chan_tx); in pch_free_dma() 659 priv->chan_tx = NULL; in pch_free_dma() 717 priv->chan_tx = chan; in pch_request_dma() 729 dma_release_channel(priv->chan_tx); in pch_request_dma() 730 priv->chan_tx = NULL; in pch_request_dma() 1013 desc = dmaengine_prep_slave_sg(priv->chan_tx, in dma_handle_tx() 1028 dma_async_issue_pending(priv->chan_tx); in dma_handle_tx()
|
H A D | sh-sci.c | 134 struct dma_chan *chan_tx; member 579 if (s->chan_tx) in sci_start_tx() 587 if (s->chan_tx && !uart_circ_empty(&s->port.state->xmit) && in sci_start_tx() 594 if (!s->chan_tx || port->type == PORT_SCIFA || port->type == PORT_SCIFB) { in sci_start_tx() 616 if (to_sci_port(port)->chan_tx && in sci_stop_tx() 618 dmaengine_terminate_async(to_sci_port(port)->chan_tx); in sci_stop_tx() 1352 s->chan_tx_saved = s->chan_tx = NULL; in sci_dma_tx_release() 1407 struct dma_chan *chan = s->chan_tx; in sci_dma_tx_work_fn() 1464 s->chan_tx = NULL; in sci_dma_tx_work_fn() 1615 s->chan_tx_saved = s->chan_tx in sci_request_dma() [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | pch_uart.c | 228 struct dma_chan *chan_tx; member 640 if (priv->chan_tx) { in pch_free_dma() 641 dma_release_channel(priv->chan_tx); in pch_free_dma() 642 priv->chan_tx = NULL; in pch_free_dma() 700 priv->chan_tx = chan; in pch_request_dma() 712 dma_release_channel(priv->chan_tx); in pch_request_dma() 713 priv->chan_tx = NULL; in pch_request_dma() 962 desc = dmaengine_prep_slave_sg(priv->chan_tx, in dma_handle_tx() 977 dma_async_issue_pending(priv->chan_tx); in dma_handle_tx()
|