/linux-6.12.1/drivers/mmc/host/ |
D | renesas_sdhi_sys_dmac.c | 101 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_sys_dmac_enable_dma() 112 if (host->chan_rx) in renesas_sdhi_sys_dmac_abort_dma() 113 dmaengine_terminate_sync(host->chan_rx); in renesas_sdhi_sys_dmac_abort_dma() 138 dma_unmap_sg(host->chan_rx->device->dev, in renesas_sdhi_sys_dmac_dma_callback() 161 struct dma_chan *chan = host->chan_rx; in renesas_sdhi_sys_dmac_start_dma_rx() 215 host->chan_rx = NULL; in renesas_sdhi_sys_dmac_start_dma_rx() 294 chan = host->chan_rx; in renesas_sdhi_sys_dmac_start_dma_tx() 296 host->chan_rx = NULL; in renesas_sdhi_sys_dmac_start_dma_tx() 308 if (host->chan_rx) in renesas_sdhi_sys_dmac_start_dma() 325 chan = host->chan_rx; in renesas_sdhi_sys_dmac_issue_work_fn() [all …]
|
D | sh_mmcif.c | 243 struct dma_chan *chan_rx; member 289 struct dma_chan *chan = host->chan_rx; in sh_mmcif_start_dma_rx() 316 host->chan_rx = NULL; in sh_mmcif_start_dma_rx() 370 chan = host->chan_rx; in sh_mmcif_start_dma_tx() 372 host->chan_rx = NULL; in sh_mmcif_start_dma_tx() 432 host->chan_rx = sh_mmcif_request_dma_pdata(host, in sh_mmcif_request_dma() 438 host->chan_rx = dma_request_chan(dev, "rx"); in sh_mmcif_request_dma() 439 if (IS_ERR(host->chan_rx)) in sh_mmcif_request_dma() 440 host->chan_rx = NULL; in sh_mmcif_request_dma() 443 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 | 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()
|
D | tmio_mmc.h | 155 struct dma_chan *chan_rx; member
|
D | tmio_mmc_core.c | 80 host->chan_rx = NULL; in tmio_mmc_request_dma()
|
/linux-6.12.1/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() 786 dma->chan_rx = dma_request_chan(dev->dev, "rx"); in at91_twi_configure_dma() 787 if (IS_ERR(dma->chan_rx)) { in at91_twi_configure_dma() 788 ret = PTR_ERR(dma->chan_rx); in at91_twi_configure_dma() 789 dma->chan_rx = NULL; in at91_twi_configure_dma() 801 if (dmaengine_slave_config(dma->chan_rx, &slave_config)) { in at91_twi_configure_dma() 813 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 376 dma->chan_rx = dma_request_chan(dev, "rx"); in i2c_imx_dma_request() 377 if (IS_ERR(dma->chan_rx)) { in i2c_imx_dma_request() 378 ret = PTR_ERR(dma->chan_rx); in i2c_imx_dma_request() 389 ret = dmaengine_slave_config(dma->chan_rx, &dma_sconfig); in i2c_imx_dma_request() 398 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in i2c_imx_dma_request() 403 dma_release_channel(dma->chan_rx); in i2c_imx_dma_request() 473 dma_release_channel(dma->chan_rx); in i2c_imx_dma_free() 474 dma->chan_rx = NULL; in i2c_imx_dma_free() 1020 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-6.12.1/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-6.12.1/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), "rx dma channel not available\n"); in dspi_request_dma() 522 dma->rx_dma_buf = dma_alloc_coherent(dma->chan_rx->device->dev, in dspi_request_dma() 539 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-6.12.1/include/linux/soc/ti/ |
D | ti-msgmgr.h | 29 struct mbox_chan *chan_rx; member
|
/linux-6.12.1/drivers/tty/serial/ |
D | pch_uart.c | 229 struct dma_chan *chan_rx; member 639 if (priv->chan_rx) { in pch_free_dma() 640 dma_release_channel(priv->chan_rx); in pch_free_dma() 641 priv->chan_rx = NULL; in pch_free_dma() 716 priv->chan_rx = chan; in pch_request_dma() 792 desc = dmaengine_prep_slave_sg(priv->chan_rx, in dma_handle_rx() 803 dma_async_issue_pending(priv->chan_rx); in dma_handle_rx() 1416 if (priv->chan_rx) in pch_uart_verify_port()
|
D | atmel_serial.c | 132 struct dma_chan *chan_rx; member 1086 struct dma_chan *chan = atmel_port->chan_rx; in atmel_release_rx_dma() 1096 atmel_port->chan_rx = NULL; in atmel_release_rx_dma() 1105 struct dma_chan *chan = atmel_port->chan_rx; in atmel_rx_from_dma() 1196 atmel_port->chan_rx = NULL; in atmel_prepare_rx_dma() 1199 atmel_port->chan_rx = chan; in atmel_prepare_rx_dma() 1201 dma_chan_name(atmel_port->chan_rx)); in atmel_prepare_rx_dma() 1225 ret = dmaengine_slave_config(atmel_port->chan_rx, in atmel_prepare_rx_dma() 1235 desc = dmaengine_prep_dma_cyclic(atmel_port->chan_rx, in atmel_prepare_rx_dma() 1255 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 1296 s->chan_rx = NULL; in sci_dma_rx_chan_invalidate() 1349 struct dma_chan *chan = s->chan_rx; in sci_dma_rx_complete() 1369 desc = dmaengine_prep_slave_sg(s->chan_rx, &s->sg_rx[active], 1, in sci_dma_rx_complete() 1417 struct dma_chan *chan = s->chan_rx; in sci_dma_rx_submit() 1525 struct dma_chan *chan = s->chan_rx; in sci_dma_rx_timer_fn() 1543 status = dmaengine_tx_status(s->chan_rx, s->active_rx, &state); in sci_dma_rx_timer_fn() 1561 status = dmaengine_tx_status(s->chan_rx, s->active_rx, &state); in sci_dma_rx_timer_fn() 1569 dmaengine_terminate_async(s->chan_rx); in sci_dma_rx_timer_fn() 1701 s->chan_rx_saved = s->chan_rx = chan; in sci_request_dma() [all …]
|
/linux-6.12.1/drivers/firmware/ |
D | ti_sci.c | 113 struct mbox_chan *chan_rx; member 339 xfer->tx_message.chan_rx = info->chan_rx; in ti_sci_get_one_xfer() 3376 info->chan_rx = mbox_request_channel_byname(cl, "rx"); in ti_sci_probe() 3377 if (IS_ERR(info->chan_rx)) { in ti_sci_probe() 3378 ret = PTR_ERR(info->chan_rx); in ti_sci_probe() 3414 if (!IS_ERR(info->chan_rx)) in ti_sci_probe() 3415 mbox_free_channel(info->chan_rx); in ti_sci_probe()
|
/linux-6.12.1/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()
|