Home
last modified time | relevance | path

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

/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()
436 host->chan_rx = dma_request_slave_channel(dev, "rx"); in sh_mmcif_request_dma()
439 host->chan_rx); in sh_mmcif_request_dma()
441 if (!host->chan_tx || !host->chan_rx || in sh_mmcif_request_dma()
443 sh_mmcif_dma_slave_config(host, host->chan_rx, DMA_DEV_TO_MEM)) in sh_mmcif_request_dma()
[all …]
Dusdhi6rol0.c196 struct dma_chan *chan_rx; member
524 if (host->chan_rx) { in usdhi6_dma_release()
525 struct dma_chan *chan = host->chan_rx; in usdhi6_dma_release()
526 host->chan_rx = NULL; in usdhi6_dma_release()
542 dma_unmap_sg(host->chan_rx->device->dev, data->sg, in usdhi6_dma_stop_unmap()
616 if (!host->chan_rx || !host->chan_tx) in usdhi6_dma_start()
620 return usdhi6_dma_setup(host, host->chan_rx, DMA_DEV_TO_MEM); in usdhi6_dma_start()
633 dmaengine_terminate_all(host->chan_rx); in usdhi6_dma_kill()
667 dma_async_issue_pending(host->chan_rx); in usdhi6_dma_kick()
695 host->chan_rx = dma_request_slave_channel(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()
271 host->chan_rx = host->chan_tx = (void *)0xdeadbeaf; in renesas_sdhi_internal_dmac_request_dma()
285 host->chan_rx = host->chan_tx = NULL; in renesas_sdhi_internal_dmac_release_dma()
Duniphier-sd.c191 host->chan_rx = chan; in uniphier_sd_external_dma_request()
255 if ((data->flags & MMC_DATA_READ) && !host->chan_rx) in uniphier_sd_internal_dma_start()
309 host->chan_rx = (void *)0xdeadbeaf; in uniphier_sd_internal_dma_request()
320 host->chan_rx = NULL; in uniphier_sd_internal_dma_release()
Dtmio_mmc.h146 struct dma_chan *chan_rx; member
Dtmio_mmc_core.c73 host->chan_rx = NULL; in tmio_mmc_request_dma()
/drivers/i2c/busses/
Di2c-stm32.c45 dma->chan_rx = dma_request_chan(dev, "rx"); in stm32_i2c_dma_request()
46 if (IS_ERR(dma->chan_rx)) { in stm32_i2c_dma_request()
48 ret = PTR_ERR(dma->chan_rx); in stm32_i2c_dma_request()
57 ret = dmaengine_slave_config(dma->chan_rx, &dma_sconfig); in stm32_i2c_dma_request()
66 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in stm32_i2c_dma_request()
71 dma_release_channel(dma->chan_rx); in stm32_i2c_dma_request()
89 dma_release_channel(dma->chan_rx); in stm32_i2c_dma_free()
90 dma->chan_rx = NULL; in stm32_i2c_dma_free()
105 dma->chan_using = dma->chan_rx; in stm32_i2c_prep_dma_xfer()
Di2c-at91-master.c102 dmaengine_terminate_all(dma->chan_rx); in at91_twi_dma_cleanup()
299 struct dma_chan *chan_rx = dma->chan_rx; in at91_twi_read_data_dma() local
331 rxdesc = dmaengine_prep_slave_sg(chan_rx, dma->sg, 1, DMA_DEV_TO_MEM, in at91_twi_read_data_dma()
343 dma_async_issue_pending(dma->chan_rx); in at91_twi_read_data_dma()
730 dma->chan_rx = dma_request_slave_channel_reason(dev->dev, "rx"); in at91_twi_configure_dma()
731 if (IS_ERR(dma->chan_rx)) { in at91_twi_configure_dma()
732 ret = PTR_ERR(dma->chan_rx); in at91_twi_configure_dma()
733 dma->chan_rx = NULL; in at91_twi_configure_dma()
745 if (dmaengine_slave_config(dma->chan_rx, &slave_config)) { in at91_twi_configure_dma()
757 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in at91_twi_configure_dma()
[all …]
Di2c-imx.c177 struct dma_chan *chan_rx; member
314 dma->chan_rx = dma_request_chan(dev, "rx"); in i2c_imx_dma_request()
315 if (IS_ERR(dma->chan_rx)) { in i2c_imx_dma_request()
316 ret = PTR_ERR(dma->chan_rx); in i2c_imx_dma_request()
327 ret = dmaengine_slave_config(dma->chan_rx, &dma_sconfig); in i2c_imx_dma_request()
336 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in i2c_imx_dma_request()
341 dma_release_channel(dma->chan_rx); in i2c_imx_dma_request()
411 dma_release_channel(dma->chan_rx); in i2c_imx_dma_free()
412 dma->chan_rx = NULL; in i2c_imx_dma_free()
683 dma->chan_using = dma->chan_rx; in i2c_imx_dma_read()
Di2c-stm32.h38 struct dma_chan *chan_rx; member
Di2c-at91.h115 struct dma_chan *chan_rx; member
/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()
354 struct xrx200_chan *ch_rx = &priv->chan_rx; in xrx200_dma_init()
374 "xrx200_net_rx", &priv->chan_rx); in xrx200_dma_init()
402 if (priv->chan_rx.skb[i]) in xrx200_dma_init()
[all …]
/drivers/spi/
Dspi-fsl-dspi.c167 struct dma_chan *chan_rx; member
297 dma->rx_desc = dmaengine_prep_slave_single(dma->chan_rx, in dspi_next_xfer_dma_submit()
318 dma_async_issue_pending(dma->chan_rx); in dspi_next_xfer_dma_submit()
331 dmaengine_terminate_all(dma->chan_rx); in dspi_next_xfer_dma_submit()
340 dmaengine_terminate_all(dma->chan_rx); in dspi_next_xfer_dma_submit()
395 dma->chan_rx = dma_request_slave_channel(dev, "rx"); in dspi_request_dma()
396 if (!dma->chan_rx) { in dspi_request_dma()
431 ret = dmaengine_slave_config(dma->chan_rx, &cfg); in dspi_request_dma()
461 dma_release_channel(dma->chan_rx); in dspi_request_dma()
483 if (dma->chan_rx) { in dspi_release_dma()
[all …]
Dspi-topcliff-pch.c111 struct dma_chan *chan_rx; member
893 dma->chan_rx = chan; in pch_spi_request_dma()
905 if (dma->chan_rx) { in pch_spi_release_dma()
906 dma_release_channel(dma->chan_rx); in pch_spi_release_dma()
907 dma->chan_rx = NULL; in pch_spi_release_dma()
1031 desc_rx = dmaengine_prep_slave_sg(dma->chan_rx, sg, in pch_spi_handle_dma()
/drivers/tty/serial/
Dsh-sci.c137 struct dma_chan *chan_rx; member
1238 s->chan_rx = NULL; in sci_dma_rx_chan_invalidate()
1282 struct dma_chan *chan = s->chan_rx; in sci_dma_rx_complete()
1302 desc = dmaengine_prep_slave_sg(s->chan_rx, &s->sg_rx[active], 1, in sci_dma_rx_complete()
1349 struct dma_chan *chan = s->chan_rx; in sci_dma_rx_submit()
1460 struct dma_chan *chan = s->chan_rx; in sci_dma_rx_timer_fn()
1478 status = dmaengine_tx_status(s->chan_rx, s->active_rx, &state); in sci_dma_rx_timer_fn()
1496 status = dmaengine_tx_status(s->chan_rx, s->active_rx, &state); in sci_dma_rx_timer_fn()
1504 dmaengine_terminate_async(s->chan_rx); in sci_dma_rx_timer_fn()
1638 s->chan_rx_saved = s->chan_rx = chan; in sci_request_dma()
[all …]
Dpch_uart.c233 struct dma_chan *chan_rx; member
684 if (priv->chan_rx) { in pch_free_dma()
685 dma_release_channel(priv->chan_rx); in pch_free_dma()
686 priv->chan_rx = NULL; in pch_free_dma()
759 priv->chan_rx = chan; in pch_request_dma()
868 desc = dmaengine_prep_slave_sg(priv->chan_rx, in dma_handle_rx()
879 dma_async_issue_pending(priv->chan_rx); in dma_handle_rx()
1498 if (priv->chan_rx) in pch_uart_verify_port()
Datmel_serial.c135 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()
1204 atmel_port->chan_rx = dma_request_slave_channel(mfd_dev, "rx"); in atmel_prepare_rx_dma()
1205 if (atmel_port->chan_rx == NULL) in atmel_prepare_rx_dma()
1208 dma_chan_name(atmel_port->chan_rx)); in atmel_prepare_rx_dma()
1240 ret = dmaengine_slave_config(atmel_port->chan_rx, in atmel_prepare_rx_dma()
1250 desc = dmaengine_prep_dma_cyclic(atmel_port->chan_rx, in atmel_prepare_rx_dma()
1270 if (atmel_port->chan_rx) in atmel_prepare_rx_dma()
/drivers/firmware/
Dti_sci.c129 struct mbox_chan *chan_rx; member
3481 info->chan_rx = mbox_request_channel_byname(cl, "rx"); in ti_sci_probe()
3482 if (IS_ERR(info->chan_rx)) { in ti_sci_probe()
3483 ret = PTR_ERR(info->chan_rx); in ti_sci_probe()
3524 if (!IS_ERR(info->chan_rx)) in ti_sci_probe()
3525 mbox_free_channel(info->chan_rx); in ti_sci_probe()
3555 mbox_free_channel(info->chan_rx); in ti_sci_remove()