Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mmc/host/
Drenesas_sdhi_sys_dmac.c97 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_sys_dmac_enable_dma()
108 if (host->chan_rx) in renesas_sdhi_sys_dmac_abort_dma()
109 dmaengine_terminate_all(host->chan_rx); in renesas_sdhi_sys_dmac_abort_dma()
134 dma_unmap_sg(host->chan_rx->device->dev, in renesas_sdhi_sys_dmac_dma_callback()
157 struct dma_chan *chan = host->chan_rx; in renesas_sdhi_sys_dmac_start_dma_rx()
211 host->chan_rx = NULL; in renesas_sdhi_sys_dmac_start_dma_rx()
291 chan = host->chan_rx; in renesas_sdhi_sys_dmac_start_dma_tx()
293 host->chan_rx = NULL; in renesas_sdhi_sys_dmac_start_dma_tx()
305 if (host->chan_rx) in renesas_sdhi_sys_dmac_start_dma()
322 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()
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 …]
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_all(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 …]
Drenesas_sdhi_internal_dmac.c141 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()
Duniphier-sd.c190 host->chan_rx = chan; in uniphier_sd_external_dma_request()
254 if ((data->flags & MMC_DATA_READ) && !host->chan_rx) in uniphier_sd_internal_dma_start()
308 host->chan_rx = (void *)0xdeadbeaf; in uniphier_sd_internal_dma_request()
319 host->chan_rx = NULL; in uniphier_sd_internal_dma_release()
Dtmio_mmc.h149 struct dma_chan *chan_rx; member
Dtmio_mmc_core.c79 host->chan_rx = NULL; in tmio_mmc_request_dma()
/kernel/linux/linux-5.10/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.c142 dmaengine_terminate_all(dma->chan_rx); in at91_twi_dma_cleanup()
339 struct dma_chan *chan_rx = dma->chan_rx; in at91_twi_read_data_dma() local
371 rxdesc = dmaengine_prep_slave_sg(chan_rx, dma->sg, 1, DMA_DEV_TO_MEM, in at91_twi_read_data_dma()
383 dma_async_issue_pending(dma->chan_rx); in at91_twi_read_data_dma()
789 dma->chan_rx = dma_request_chan(dev->dev, "rx"); in at91_twi_configure_dma()
790 if (IS_ERR(dma->chan_rx)) { in at91_twi_configure_dma()
791 ret = PTR_ERR(dma->chan_rx); in at91_twi_configure_dma()
792 dma->chan_rx = NULL; in at91_twi_configure_dma()
804 if (dmaengine_slave_config(dma->chan_rx, &slave_config)) { in at91_twi_configure_dma()
816 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in at91_twi_configure_dma()
[all …]
Di2c-imx.c175 struct dma_chan *chan_rx; member
312 dma->chan_rx = dma_request_chan(dev, "rx"); in i2c_imx_dma_request()
313 if (IS_ERR(dma->chan_rx)) { in i2c_imx_dma_request()
314 ret = PTR_ERR(dma->chan_rx); in i2c_imx_dma_request()
325 ret = dmaengine_slave_config(dma->chan_rx, &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()
339 dma_release_channel(dma->chan_rx); in i2c_imx_dma_request()
409 dma_release_channel(dma->chan_rx); in i2c_imx_dma_free()
410 dma->chan_rx = NULL; in i2c_imx_dma_free()
731 dma->chan_using = dma->chan_rx; in i2c_imx_dma_read()
Di2c-stm32.h38 struct dma_chan *chan_rx; member
Di2c-at91.h130 struct dma_chan *chan_rx; member
/kernel/linux/linux-5.10/drivers/net/ethernet/
Dlantiq_xrx200.c69 struct xrx200_chan chan_rx; member
123 napi_enable(&priv->chan_rx.napi); in xrx200_open()
124 ltq_dma_open(&priv->chan_rx.dma); in xrx200_open()
132 xrx200_flush_dma(&priv->chan_rx); in xrx200_open()
133 ltq_dma_enable_irq(&priv->chan_rx.dma); in xrx200_open()
146 napi_disable(&priv->chan_rx.napi); in xrx200_close()
147 ltq_dma_close(&priv->chan_rx.dma); in xrx200_close()
367 struct xrx200_chan *ch_rx = &priv->chan_rx; in xrx200_dma_init()
387 "xrx200_net_rx", &priv->chan_rx); in xrx200_dma_init()
415 if (priv->chan_rx.skb[i]) in xrx200_dma_init()
[all …]
/kernel/linux/linux-5.10/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.c111 struct dma_chan *chan_rx; member
899 dma->chan_rx = chan; in pch_spi_request_dma()
911 if (dma->chan_rx) { in pch_spi_release_dma()
912 dma_release_channel(dma->chan_rx); in pch_spi_release_dma()
913 dma->chan_rx = NULL; in pch_spi_release_dma()
1037 desc_rx = dmaengine_prep_slave_sg(dma->chan_rx, sg, in pch_spi_handle_dma()
/kernel/linux/linux-5.10/drivers/tty/serial/
Datmel_serial.c128 struct dma_chan *chan_rx; member
1093 struct dma_chan *chan = atmel_port->chan_rx; in atmel_release_rx_dma()
1103 atmel_port->chan_rx = NULL; in atmel_release_rx_dma()
1112 struct dma_chan *chan = atmel_port->chan_rx; in atmel_rx_from_dma()
1210 atmel_port->chan_rx = dma_request_slave_channel(mfd_dev, "rx"); in atmel_prepare_rx_dma()
1211 if (atmel_port->chan_rx == NULL) in atmel_prepare_rx_dma()
1214 dma_chan_name(atmel_port->chan_rx)); in atmel_prepare_rx_dma()
1246 ret = dmaengine_slave_config(atmel_port->chan_rx, in atmel_prepare_rx_dma()
1256 desc = dmaengine_prep_dma_cyclic(atmel_port->chan_rx, in atmel_prepare_rx_dma()
1276 dma_async_issue_pending(atmel_port->chan_rx); in atmel_prepare_rx_dma()
[all …]
Dsh-sci.c134 struct dma_chan *chan_rx; member
1250 s->chan_rx = NULL; in sci_dma_rx_chan_invalidate()
1294 struct dma_chan *chan = s->chan_rx; in sci_dma_rx_complete()
1314 desc = dmaengine_prep_slave_sg(s->chan_rx, &s->sg_rx[active], 1, in sci_dma_rx_complete()
1361 struct dma_chan *chan = s->chan_rx; in sci_dma_rx_submit()
1472 struct dma_chan *chan = s->chan_rx; in sci_dma_rx_timer_fn()
1490 status = dmaengine_tx_status(s->chan_rx, s->active_rx, &state); in sci_dma_rx_timer_fn()
1508 status = dmaengine_tx_status(s->chan_rx, s->active_rx, &state); in sci_dma_rx_timer_fn()
1516 dmaengine_terminate_async(s->chan_rx); in sci_dma_rx_timer_fn()
1650 s->chan_rx_saved = s->chan_rx = chan; in sci_request_dma()
[all …]
Dpch_uart.c230 struct dma_chan *chan_rx; member
661 if (priv->chan_rx) { in pch_free_dma()
662 dma_release_channel(priv->chan_rx); in pch_free_dma()
663 priv->chan_rx = NULL; in pch_free_dma()
738 priv->chan_rx = chan; in pch_request_dma()
849 desc = dmaengine_prep_slave_sg(priv->chan_rx, in dma_handle_rx()
860 dma_async_issue_pending(priv->chan_rx); in dma_handle_rx()
1482 if (priv->chan_rx) in pch_uart_verify_port()
/kernel/linux/linux-5.10/drivers/firmware/
Dti_sci.c111 struct mbox_chan *chan_rx; member
3464 info->chan_rx = mbox_request_channel_byname(cl, "rx"); in ti_sci_probe()
3465 if (IS_ERR(info->chan_rx)) { in ti_sci_probe()
3466 ret = PTR_ERR(info->chan_rx); in ti_sci_probe()
3507 if (!IS_ERR(info->chan_rx)) in ti_sci_probe()
3508 mbox_free_channel(info->chan_rx); in ti_sci_probe()
3538 mbox_free_channel(info->chan_rx); in ti_sci_remove()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0022_linux_drivers_i2c.patch2035 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx));
2041 dma_release_channel(dma->chan_rx);