Home
last modified time | relevance | path

Searched refs:chan_rx (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/drivers/mmc/host/
Drenesas_sdhi_sys_dmac.c99 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_sys_dmac_enable_dma()
110 if (host->chan_rx) in renesas_sdhi_sys_dmac_abort_dma()
111 dmaengine_terminate_sync(host->chan_rx); in renesas_sdhi_sys_dmac_abort_dma()
136 dma_unmap_sg(host->chan_rx->device->dev, in renesas_sdhi_sys_dmac_dma_callback()
159 struct dma_chan *chan = host->chan_rx; in renesas_sdhi_sys_dmac_start_dma_rx()
213 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 …]
Dsh_mmcif.c246 struct dma_chan *chan_rx; member
292 struct dma_chan *chan = host->chan_rx; in sh_mmcif_start_dma_rx()
319 host->chan_rx = NULL; in sh_mmcif_start_dma_rx()
373 chan = host->chan_rx; in sh_mmcif_start_dma_tx()
375 host->chan_rx = NULL; in sh_mmcif_start_dma_tx()
435 host->chan_rx = sh_mmcif_request_dma_pdata(host, in sh_mmcif_request_dma()
441 host->chan_rx = dma_request_chan(dev, "rx"); in sh_mmcif_request_dma()
442 if (IS_ERR(host->chan_rx)) in sh_mmcif_request_dma()
443 host->chan_rx = NULL; in sh_mmcif_request_dma()
446 host->chan_rx); in sh_mmcif_request_dma()
[all …]
Dusdhi6rol0.c198 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 …]
Duniphier-sd.c190 host->chan_rx = chan; in uniphier_sd_external_dma_request()
253 if ((data->flags & MMC_DATA_READ) && !host->chan_rx) in uniphier_sd_internal_dma_start()
307 host->chan_rx = (void *)0xdeadbeaf; in uniphier_sd_internal_dma_request()
317 host->chan_rx = NULL; in uniphier_sd_internal_dma_release()
Drenesas_sdhi_internal_dmac.c296 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_internal_dmac_enable_dma()
513 host->chan_rx = host->chan_tx = (void *)0xdeadbeaf; in renesas_sdhi_internal_dmac_request_dma()
531 host->chan_rx = host->chan_tx = NULL; in renesas_sdhi_internal_dmac_release_dma()
Dtmio_mmc.h156 struct dma_chan *chan_rx; member
Dtmio_mmc_core.c79 host->chan_rx = NULL; in tmio_mmc_request_dma()
/linux-6.1.9/drivers/i2c/busses/
Di2c-stm32.c47 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()
Di2c-at91-master.c141 dmaengine_terminate_sync(dma->chan_rx); in at91_twi_dma_cleanup()
338 struct dma_chan *chan_rx = dma->chan_rx; in at91_twi_read_data_dma() local
370 rxdesc = dmaengine_prep_slave_sg(chan_rx, dma->sg, 1, DMA_DEV_TO_MEM, in at91_twi_read_data_dma()
382 dma_async_issue_pending(dma->chan_rx); in at91_twi_read_data_dma()
788 dma->chan_rx = dma_request_chan(dev->dev, "rx"); in at91_twi_configure_dma()
789 if (IS_ERR(dma->chan_rx)) { in at91_twi_configure_dma()
790 ret = PTR_ERR(dma->chan_rx); in at91_twi_configure_dma()
791 dma->chan_rx = NULL; in at91_twi_configure_dma()
803 if (dmaengine_slave_config(dma->chan_rx, &slave_config)) { in at91_twi_configure_dma()
815 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in at91_twi_configure_dma()
[all …]
Di2c-imx.c192 struct dma_chan *chan_rx; member
381 dma->chan_rx = dma_request_chan(dev, "rx"); in i2c_imx_dma_request()
382 if (IS_ERR(dma->chan_rx)) { in i2c_imx_dma_request()
383 ret = PTR_ERR(dma->chan_rx); in i2c_imx_dma_request()
394 ret = dmaengine_slave_config(dma->chan_rx, &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()
408 dma_release_channel(dma->chan_rx); in i2c_imx_dma_request()
478 dma_release_channel(dma->chan_rx); in i2c_imx_dma_free()
479 dma->chan_rx = NULL; in i2c_imx_dma_free()
1020 dma->chan_using = dma->chan_rx; in i2c_imx_dma_read()
Di2c-stm32.h38 struct dma_chan *chan_rx; member
Di2c-at91.h128 struct dma_chan *chan_rx; member
/linux-6.1.9/drivers/net/ethernet/
Dlantiq_xrx200.c82 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.1.9/drivers/spi/
Dspi-fsl-dspi.c203 struct dma_chan *chan_rx; member
408 dma->rx_desc = dmaengine_prep_slave_single(dma->chan_rx, in dspi_next_xfer_dma_submit()
429 dma_async_issue_pending(dma->chan_rx); in dspi_next_xfer_dma_submit()
442 dmaengine_terminate_all(dma->chan_rx); in dspi_next_xfer_dma_submit()
451 dmaengine_terminate_all(dma->chan_rx); in dspi_next_xfer_dma_submit()
503 dma->chan_rx = dma_request_chan(dev, "rx"); in dspi_request_dma()
504 if (IS_ERR(dma->chan_rx)) { in dspi_request_dma()
506 ret = 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 …]
Dspi-topcliff-pch.c112 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.1.9/include/linux/soc/ti/
Dti-msgmgr.h29 struct mbox_chan *chan_rx; member
/linux-6.1.9/drivers/tty/serial/
Dpch_uart.c229 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()
807 desc = dmaengine_prep_slave_sg(priv->chan_rx, in dma_handle_rx()
818 dma_async_issue_pending(priv->chan_rx); in dma_handle_rx()
1436 if (priv->chan_rx) in pch_uart_verify_port()
Datmel_serial.c131 struct dma_chan *chan_rx; member
1100 struct dma_chan *chan = atmel_port->chan_rx; in atmel_release_rx_dma()
1110 atmel_port->chan_rx = NULL; in atmel_release_rx_dma()
1119 struct dma_chan *chan = atmel_port->chan_rx; in atmel_rx_from_dma()
1211 atmel_port->chan_rx = dma_request_slave_channel(mfd_dev, "rx"); in atmel_prepare_rx_dma()
1212 if (atmel_port->chan_rx == NULL) in atmel_prepare_rx_dma()
1215 dma_chan_name(atmel_port->chan_rx)); in atmel_prepare_rx_dma()
1247 ret = dmaengine_slave_config(atmel_port->chan_rx, in atmel_prepare_rx_dma()
1257 desc = dmaengine_prep_dma_cyclic(atmel_port->chan_rx, in atmel_prepare_rx_dma()
1277 dma_async_issue_pending(atmel_port->chan_rx); in atmel_prepare_rx_dma()
[all …]
Dsh-sci.c135 struct dma_chan *chan_rx; member
1237 s->chan_rx = NULL; in sci_dma_rx_chan_invalidate()
1281 struct dma_chan *chan = s->chan_rx; in sci_dma_rx_complete()
1301 desc = dmaengine_prep_slave_sg(s->chan_rx, &s->sg_rx[active], 1, in sci_dma_rx_complete()
1348 struct dma_chan *chan = s->chan_rx; in sci_dma_rx_submit()
1457 struct dma_chan *chan = s->chan_rx; in sci_dma_rx_timer_fn()
1475 status = dmaengine_tx_status(s->chan_rx, s->active_rx, &state); in sci_dma_rx_timer_fn()
1493 status = dmaengine_tx_status(s->chan_rx, s->active_rx, &state); in sci_dma_rx_timer_fn()
1501 dmaengine_terminate_async(s->chan_rx); in sci_dma_rx_timer_fn()
1635 s->chan_rx_saved = s->chan_rx = chan; in sci_request_dma()
[all …]
/linux-6.1.9/drivers/firmware/
Dti_sci.c113 struct mbox_chan *chan_rx; member
354 xfer->tx_message.chan_rx = info->chan_rx; in ti_sci_get_one_xfer()
3436 info->chan_rx = mbox_request_channel_byname(cl, "rx"); in ti_sci_probe()
3437 if (IS_ERR(info->chan_rx)) { in ti_sci_probe()
3438 ret = PTR_ERR(info->chan_rx); in ti_sci_probe()
3479 if (!IS_ERR(info->chan_rx)) in ti_sci_probe()
3480 mbox_free_channel(info->chan_rx); in ti_sci_probe()
3510 mbox_free_channel(info->chan_rx); in ti_sci_remove()
/linux-6.1.9/drivers/mailbox/
Dti-msgmgr.c443 if (ti_msgmgr_chan_has_polled_queue_rx(message->chan_rx)) in ti_msgmgr_send_data()
444 ret = ti_msgmgr_queue_rx_poll_timeout(message->chan_rx, in ti_msgmgr_send_data()