/Linux-v6.6/drivers/mmc/host/ |
D | renesas_sdhi_sys_dmac.c | 100 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_sys_dmac_enable_dma() 111 if (host->chan_rx) in renesas_sdhi_sys_dmac_abort_dma() 112 dmaengine_terminate_sync(host->chan_rx); in renesas_sdhi_sys_dmac_abort_dma() 137 dma_unmap_sg(host->chan_rx->device->dev, in renesas_sdhi_sys_dmac_dma_callback() 160 struct dma_chan *chan = host->chan_rx; in renesas_sdhi_sys_dmac_start_dma_rx() 214 host->chan_rx = NULL; in renesas_sdhi_sys_dmac_start_dma_rx() 293 chan = host->chan_rx; in renesas_sdhi_sys_dmac_start_dma_tx() 295 host->chan_rx = NULL; in renesas_sdhi_sys_dmac_start_dma_tx() 307 if (host->chan_rx) in renesas_sdhi_sys_dmac_start_dma() 324 chan = host->chan_rx; in renesas_sdhi_sys_dmac_issue_tasklet_fn() [all …]
|
D | sh_mmcif.c | 245 struct dma_chan *chan_rx; member 291 struct dma_chan *chan = host->chan_rx; in sh_mmcif_start_dma_rx() 318 host->chan_rx = NULL; in sh_mmcif_start_dma_rx() 372 chan = host->chan_rx; in sh_mmcif_start_dma_tx() 374 host->chan_rx = NULL; in sh_mmcif_start_dma_tx() 434 host->chan_rx = sh_mmcif_request_dma_pdata(host, in sh_mmcif_request_dma() 440 host->chan_rx = dma_request_chan(dev, "rx"); in sh_mmcif_request_dma() 441 if (IS_ERR(host->chan_rx)) in sh_mmcif_request_dma() 442 host->chan_rx = NULL; in sh_mmcif_request_dma() 445 host->chan_rx); in sh_mmcif_request_dma() [all …]
|
D | usdhi6rol0.c | 198 struct dma_chan *chan_rx; member 525 if (host->chan_rx) { in usdhi6_dma_release() 526 struct dma_chan *chan = host->chan_rx; in usdhi6_dma_release() 527 host->chan_rx = NULL; in usdhi6_dma_release() 543 dma_unmap_sg(host->chan_rx->device->dev, data->sg, in usdhi6_dma_stop_unmap() 617 if (!host->chan_rx || !host->chan_tx) in usdhi6_dma_start() 621 return usdhi6_dma_setup(host, host->chan_rx, DMA_DEV_TO_MEM); in usdhi6_dma_start() 634 dmaengine_terminate_sync(host->chan_rx); in usdhi6_dma_kill() 668 dma_async_issue_pending(host->chan_rx); in usdhi6_dma_kick() 698 host->chan_rx = dma_request_chan(mmc_dev(host->mmc), "rx"); in usdhi6_dma_request() [all …]
|
D | uniphier-sd.c | 199 host->chan_rx = chan; in uniphier_sd_external_dma_request() 262 if ((data->flags & MMC_DATA_READ) && !host->chan_rx) in uniphier_sd_internal_dma_start() 316 host->chan_rx = (void *)0xdeadbeaf; in uniphier_sd_internal_dma_request() 326 host->chan_rx = NULL; in uniphier_sd_internal_dma_release()
|
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()
|
D | tmio_mmc.h | 157 struct dma_chan *chan_rx; member
|
D | tmio_mmc_core.c | 79 host->chan_rx = NULL; in tmio_mmc_request_dma()
|
/Linux-v6.6/drivers/i2c/busses/ |
D | i2c-stm32.c | 47 dma->chan_rx = dma_request_chan(dev, "rx"); in stm32_i2c_dma_request() 48 if (IS_ERR(dma->chan_rx)) { in stm32_i2c_dma_request() 49 ret = PTR_ERR(dma->chan_rx); in stm32_i2c_dma_request() 62 ret = dmaengine_slave_config(dma->chan_rx, &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() 76 dma_release_channel(dma->chan_rx); in stm32_i2c_dma_request() 93 dma_release_channel(dma->chan_rx); in stm32_i2c_dma_free() 94 dma->chan_rx = NULL; in stm32_i2c_dma_free() 109 dma->chan_using = dma->chan_rx; in stm32_i2c_prep_dma_xfer()
|
D | i2c-at91-master.c | 140 dmaengine_terminate_sync(dma->chan_rx); in at91_twi_dma_cleanup() 337 struct dma_chan *chan_rx = dma->chan_rx; in at91_twi_read_data_dma() local 369 rxdesc = dmaengine_prep_slave_sg(chan_rx, dma->sg, 1, DMA_DEV_TO_MEM, in at91_twi_read_data_dma() 381 dma_async_issue_pending(dma->chan_rx); in at91_twi_read_data_dma() 787 dma->chan_rx = dma_request_chan(dev->dev, "rx"); in at91_twi_configure_dma() 788 if (IS_ERR(dma->chan_rx)) { in at91_twi_configure_dma() 789 ret = PTR_ERR(dma->chan_rx); in at91_twi_configure_dma() 790 dma->chan_rx = NULL; in at91_twi_configure_dma() 802 if (dmaengine_slave_config(dma->chan_rx, &slave_config)) { in at91_twi_configure_dma() 814 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in at91_twi_configure_dma() [all …]
|
D | i2c-imx.c | 191 struct dma_chan *chan_rx; member 380 dma->chan_rx = dma_request_chan(dev, "rx"); in i2c_imx_dma_request() 381 if (IS_ERR(dma->chan_rx)) { in i2c_imx_dma_request() 382 ret = PTR_ERR(dma->chan_rx); in i2c_imx_dma_request() 393 ret = dmaengine_slave_config(dma->chan_rx, &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() 407 dma_release_channel(dma->chan_rx); in i2c_imx_dma_request() 477 dma_release_channel(dma->chan_rx); in i2c_imx_dma_free() 478 dma->chan_rx = NULL; in i2c_imx_dma_free() 1019 dma->chan_using = dma->chan_rx; in i2c_imx_dma_read()
|
D | i2c-stm32.h | 38 struct dma_chan *chan_rx; member
|
D | i2c-at91.h | 128 struct dma_chan *chan_rx; member
|
/Linux-v6.6/drivers/net/ethernet/ |
D | lantiq_xrx200.c | 82 struct xrx200_chan chan_rx; member 155 napi_enable(&priv->chan_rx.napi); in xrx200_open() 156 ltq_dma_open(&priv->chan_rx.dma); in xrx200_open() 164 xrx200_flush_dma(&priv->chan_rx); in xrx200_open() 165 ltq_dma_enable_irq(&priv->chan_rx.dma); in xrx200_open() 178 napi_disable(&priv->chan_rx.napi); in xrx200_close() 179 ltq_dma_close(&priv->chan_rx.dma); in xrx200_close() 415 struct xrx200_chan *ch_rx = &priv->chan_rx; in xrx200_change_mtu() 486 struct xrx200_chan *ch_rx = &priv->chan_rx; in xrx200_dma_init() 507 "xrx200_net_rx", &priv->chan_rx); in xrx200_dma_init() [all …]
|
/Linux-v6.6/drivers/spi/ |
D | spi-fsl-dspi.c | 204 struct dma_chan *chan_rx; member 409 dma->rx_desc = dmaengine_prep_slave_single(dma->chan_rx, in dspi_next_xfer_dma_submit() 430 dma_async_issue_pending(dma->chan_rx); in dspi_next_xfer_dma_submit() 443 dmaengine_terminate_all(dma->chan_rx); in dspi_next_xfer_dma_submit() 452 dmaengine_terminate_all(dma->chan_rx); in dspi_next_xfer_dma_submit() 504 dma->chan_rx = dma_request_chan(dev, "rx"); in dspi_request_dma() 505 if (IS_ERR(dma->chan_rx)) { in dspi_request_dma() 506 return dev_err_probe(dev, PTR_ERR(dma->chan_rx), in dspi_request_dma() 525 dma->rx_dma_buf = dma_alloc_coherent(dma->chan_rx->device->dev, in dspi_request_dma() 542 ret = dmaengine_slave_config(dma->chan_rx, &cfg); in dspi_request_dma() [all …]
|
D | spi-topcliff-pch.c | 112 struct dma_chan *chan_rx; member 869 dma->chan_rx = chan; in pch_spi_request_dma() 887 if (dma->chan_rx) { in pch_spi_release_dma() 888 dma_release_channel(dma->chan_rx); in pch_spi_release_dma() 889 dma->chan_rx = NULL; in pch_spi_release_dma() 1015 desc_rx = dmaengine_prep_slave_sg(dma->chan_rx, sg, in pch_spi_handle_dma()
|
/Linux-v6.6/include/linux/soc/ti/ |
D | ti-msgmgr.h | 29 struct mbox_chan *chan_rx; member
|
/Linux-v6.6/drivers/tty/serial/ |
D | pch_uart.c | 229 struct dma_chan *chan_rx; member 644 if (priv->chan_rx) { in pch_free_dma() 645 dma_release_channel(priv->chan_rx); in pch_free_dma() 646 priv->chan_rx = NULL; in pch_free_dma() 721 priv->chan_rx = chan; in pch_request_dma() 804 desc = dmaengine_prep_slave_sg(priv->chan_rx, in dma_handle_rx() 815 dma_async_issue_pending(priv->chan_rx); in dma_handle_rx() 1432 if (priv->chan_rx) in pch_uart_verify_port()
|
D | atmel_serial.c | 130 struct dma_chan *chan_rx; member 1087 struct dma_chan *chan = atmel_port->chan_rx; in atmel_release_rx_dma() 1097 atmel_port->chan_rx = NULL; in atmel_release_rx_dma() 1106 struct dma_chan *chan = atmel_port->chan_rx; in atmel_rx_from_dma() 1198 atmel_port->chan_rx = dma_request_slave_channel(mfd_dev, "rx"); in atmel_prepare_rx_dma() 1199 if (atmel_port->chan_rx == NULL) in atmel_prepare_rx_dma() 1202 dma_chan_name(atmel_port->chan_rx)); in atmel_prepare_rx_dma() 1234 ret = dmaengine_slave_config(atmel_port->chan_rx, in atmel_prepare_rx_dma() 1244 desc = dmaengine_prep_dma_cyclic(atmel_port->chan_rx, in atmel_prepare_rx_dma() 1264 dma_async_issue_pending(atmel_port->chan_rx); in atmel_prepare_rx_dma() [all …]
|
D | sh-sci.c | 135 struct dma_chan *chan_rx; member 1266 s->chan_rx = NULL; in sci_dma_rx_chan_invalidate() 1314 struct dma_chan *chan = s->chan_rx; in sci_dma_rx_complete() 1334 desc = dmaengine_prep_slave_sg(s->chan_rx, &s->sg_rx[active], 1, in sci_dma_rx_complete() 1381 struct dma_chan *chan = s->chan_rx; in sci_dma_rx_submit() 1490 struct dma_chan *chan = s->chan_rx; in sci_dma_rx_timer_fn() 1508 status = dmaengine_tx_status(s->chan_rx, s->active_rx, &state); in sci_dma_rx_timer_fn() 1526 status = dmaengine_tx_status(s->chan_rx, s->active_rx, &state); in sci_dma_rx_timer_fn() 1534 dmaengine_terminate_async(s->chan_rx); in sci_dma_rx_timer_fn() 1666 s->chan_rx_saved = s->chan_rx = chan; in sci_request_dma() [all …]
|
/Linux-v6.6/drivers/firmware/ |
D | ti_sci.c | 112 struct mbox_chan *chan_rx; member 352 xfer->tx_message.chan_rx = info->chan_rx; in ti_sci_get_one_xfer() 3403 info->chan_rx = mbox_request_channel_byname(cl, "rx"); in ti_sci_probe() 3404 if (IS_ERR(info->chan_rx)) { in ti_sci_probe() 3405 ret = PTR_ERR(info->chan_rx); in ti_sci_probe() 3446 if (!IS_ERR(info->chan_rx)) in ti_sci_probe() 3447 mbox_free_channel(info->chan_rx); in ti_sci_probe() 3477 mbox_free_channel(info->chan_rx); in ti_sci_remove()
|
/Linux-v6.6/drivers/mailbox/ |
D | ti-msgmgr.c | 449 if (ti_msgmgr_chan_has_polled_queue_rx(message->chan_rx)) in ti_msgmgr_send_data() 450 ret = ti_msgmgr_queue_rx_poll_timeout(message->chan_rx, in ti_msgmgr_send_data()
|