Home
last modified time | relevance | path

Searched refs:chan_tx (Results 1 – 19 of 19) sorted by relevance

/linux-6.3-rc2/drivers/mmc/host/
A Drenesas_sdhi_sys_dmac.c112 if (host->chan_tx) in renesas_sdhi_sys_dmac_abort_dma()
216 chan = host->chan_tx; in renesas_sdhi_sys_dmac_start_dma_rx()
218 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_start_dma_rx()
289 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_start_dma_tx()
309 if (host->chan_tx) in renesas_sdhi_sys_dmac_start_dma()
325 chan = host->chan_tx; in renesas_sdhi_sys_dmac_issue_tasklet_fn()
363 host->chan_tx); in renesas_sdhi_sys_dmac_request_dma()
365 if (!host->chan_tx) in renesas_sdhi_sys_dmac_request_dma()
419 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_request_dma()
424 if (host->chan_tx) { in renesas_sdhi_sys_dmac_release_dma()
[all …]
A Dsh_mmcif.c247 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()
369 host->chan_tx = NULL; in sh_mmcif_start_dma_tx()
439 if (IS_ERR(host->chan_tx)) in sh_mmcif_request_dma()
440 host->chan_tx = NULL; in sh_mmcif_request_dma()
456 if (host->chan_tx) in sh_mmcif_request_dma()
457 dma_release_channel(host->chan_tx); in sh_mmcif_request_dma()
467 if (host->chan_tx) { in sh_mmcif_release_dma()
469 host->chan_tx = NULL; in sh_mmcif_release_dma()
[all …]
A Dusdhi6rol0.c199 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 Drenesas_sdhi_internal_dmac.c302 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_internal_dmac_enable_dma()
545 host->chan_rx = host->chan_tx = (void *)0xdeadbeaf; in renesas_sdhi_internal_dmac_request_dma()
563 host->chan_rx = host->chan_tx = NULL; in renesas_sdhi_internal_dmac_release_dma()
A Duniphier-sd.c201 host->chan_tx = chan; in uniphier_sd_external_dma_request()
319 host->chan_tx = (void *)0xdeadbeaf; in uniphier_sd_internal_dma_request()
328 host->chan_tx = NULL; in uniphier_sd_internal_dma_release()
A Dtmio_mmc.h158 struct dma_chan *chan_tx; member
A Dtmio_mmc_core.c78 host->chan_tx = NULL; in tmio_mmc_request_dma()
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-stm32.c26 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()
A Di2c-at91-master.c143 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()
781 dma->chan_tx = dma_request_chan(dev->dev, "tx"); in at91_twi_configure_dma()
782 if (IS_ERR(dma->chan_tx)) { in at91_twi_configure_dma()
783 ret = PTR_ERR(dma->chan_tx); in at91_twi_configure_dma()
784 dma->chan_tx = NULL; in at91_twi_configure_dma()
796 if (dmaengine_slave_config(dma->chan_tx, &slave_config)) { in at91_twi_configure_dma()
824 if (dma->chan_tx) in at91_twi_configure_dma()
[all …]
A Di2c-imx.c191 struct dma_chan *chan_tx; member
362 dma->chan_tx = dma_request_chan(dev, "tx"); in i2c_imx_dma_request()
363 if (IS_ERR(dma->chan_tx)) { in i2c_imx_dma_request()
364 ret = PTR_ERR(dma->chan_tx); in i2c_imx_dma_request()
375 ret = dmaengine_slave_config(dma->chan_tx, &dma_sconfig); in i2c_imx_dma_request()
403 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in i2c_imx_dma_request()
410 dma_release_channel(dma->chan_tx); in i2c_imx_dma_request()
475 dma_release_channel(dma->chan_tx); in i2c_imx_dma_free()
476 dma->chan_tx = NULL; in i2c_imx_dma_free()
957 dma->chan_using = dma->chan_tx; in i2c_imx_dma_write()
A Di2c-stm32.h37 struct dma_chan *chan_tx; member
A Di2c-at91.h129 struct dma_chan *chan_tx; member
/linux-6.3-rc2/drivers/net/ethernet/
A Dlantiq_xrx200.c81 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 …]
/linux-6.3-rc2/drivers/spi/
A Dspi-fsl-dspi.c197 struct dma_chan *chan_tx; member
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()
567 dma_free_coherent(dma->chan_tx->device->dev, in dspi_request_dma()
570 dma_release_channel(dma->chan_tx); in dspi_request_dma()
588 if (dma->chan_tx) { in dspi_release_dma()
[all …]
A Dspi-topcliff-pch.c111 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()
/linux-6.3-rc2/drivers/tty/serial/
A Dpch_uart.c228 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()
A Dsh-sci.c134 struct dma_chan *chan_tx; member
580 if (s->chan_tx) in sci_start_tx()
617 if (to_sci_port(port)->chan_tx && in sci_stop_tx()
1335 s->chan_tx_saved = s->chan_tx = NULL; in sci_dma_tx_release()
1390 struct dma_chan *chan = s->chan_tx; in sci_dma_tx_work_fn()
1445 s->chan_tx = NULL; in sci_dma_tx_work_fn()
1596 s->chan_tx_saved = s->chan_tx = chan; in sci_request_dma()
1659 if (s->chan_tx) { in sci_flush_buffer()
1660 dmaengine_terminate_async(s->chan_tx); in sci_flush_buffer()
1788 if (!s->chan_tx) in sci_er_interrupt()
[all …]
A Datmel_serial.c130 struct dma_chan *chan_tx; member
862 struct dma_chan *chan = atmel_port->chan_tx; in atmel_complete_tx_dma()
903 struct dma_chan *chan = atmel_port->chan_tx; in atmel_release_tx_dma()
913 atmel_port->chan_tx = NULL; in atmel_release_tx_dma()
924 struct dma_chan *chan = atmel_port->chan_tx; in atmel_tx_dma()
1022 atmel_port->chan_tx = dma_request_slave_channel(mfd_dev, "tx"); in atmel_prepare_tx_dma()
1023 if (atmel_port->chan_tx == NULL) in atmel_prepare_tx_dma()
1026 dma_chan_name(atmel_port->chan_tx)); in atmel_prepare_tx_dma()
1060 ret = dmaengine_slave_config(atmel_port->chan_tx, in atmel_prepare_tx_dma()
1072 if (atmel_port->chan_tx) in atmel_prepare_tx_dma()
/linux-6.3-rc2/drivers/firmware/
A Dti_sci.c112 struct mbox_chan *chan_tx; member
415 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()
3439 info->chan_tx = mbox_request_channel_byname(cl, "tx"); in ti_sci_probe()
3440 if (IS_ERR(info->chan_tx)) { in ti_sci_probe()
3441 ret = PTR_ERR(info->chan_tx); in ti_sci_probe()
3474 if (!IS_ERR(info->chan_tx)) in ti_sci_probe()
3475 mbox_free_channel(info->chan_tx); in ti_sci_probe()
3506 mbox_free_channel(info->chan_tx); in ti_sci_remove()

Completed in 87 milliseconds