Home
last modified time | relevance | path

Searched refs:chan_tx (Results 1 – 14 of 14) sorted by relevance

/drivers/mmc/host/
Drenesas_sdhi_sys_dmac.c118 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_sys_dmac_enable_dma()
131 if (host->chan_tx) in renesas_sdhi_sys_dmac_abort_dma()
132 dmaengine_terminate_all(host->chan_tx); in renesas_sdhi_sys_dmac_abort_dma()
156 dma_unmap_sg(host->chan_tx->device->dev, in renesas_sdhi_sys_dmac_dma_callback()
234 chan = host->chan_tx; in renesas_sdhi_sys_dmac_start_dma_rx()
236 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_start_dma_rx()
248 struct dma_chan *chan = host->chan_tx; in renesas_sdhi_sys_dmac_start_dma_tx()
310 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_start_dma_tx()
330 if (host->chan_tx) in renesas_sdhi_sys_dmac_start_dma()
346 chan = host->chan_tx; in renesas_sdhi_sys_dmac_issue_tasklet_fn()
[all …]
Dsh_mmcif.c258 struct dma_chan *chan_tx; member
334 chan = host->chan_tx; in sh_mmcif_start_dma_rx()
336 host->chan_tx = NULL; in sh_mmcif_start_dma_rx()
353 struct dma_chan *chan = host->chan_tx; in sh_mmcif_start_dma_tx()
380 host->chan_tx = NULL; in sh_mmcif_start_dma_tx()
441 host->chan_tx = sh_mmcif_request_dma_pdata(host, in sh_mmcif_request_dma()
446 host->chan_tx = dma_request_slave_channel(dev, "tx"); in sh_mmcif_request_dma()
449 dev_dbg(dev, "%s: got channel TX %p RX %p\n", __func__, host->chan_tx, in sh_mmcif_request_dma()
452 if (!host->chan_tx || !host->chan_rx || in sh_mmcif_request_dma()
453 sh_mmcif_dma_slave_config(host, host->chan_tx, DMA_MEM_TO_DEV) || in sh_mmcif_request_dma()
[all …]
Drenesas_sdhi_internal_dmac.c105 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_internal_dmac_enable_dma()
223 host->chan_rx = host->chan_tx = (void *)0xdeadbeaf; in renesas_sdhi_internal_dmac_request_dma()
237 host->chan_rx = host->chan_tx = NULL; in renesas_sdhi_internal_dmac_release_dma()
Dusdhi6rol0.c200 struct dma_chan *chan_tx; member
522 if (host->chan_tx) { in usdhi6_dma_release()
523 struct dma_chan *chan = host->chan_tx; in usdhi6_dma_release()
524 host->chan_tx = NULL; in usdhi6_dma_release()
548 dma_unmap_sg(host->chan_tx->device->dev, data->sg, in usdhi6_dma_stop_unmap()
619 if (!host->chan_rx || !host->chan_tx) in usdhi6_dma_start()
625 return usdhi6_dma_setup(host, host->chan_tx, DMA_MEM_TO_DEV); in usdhi6_dma_start()
638 dmaengine_terminate_all(host->chan_tx); in usdhi6_dma_kill()
672 dma_async_issue_pending(host->chan_tx); in usdhi6_dma_kick()
683 host->chan_tx = dma_request_slave_channel(mmc_dev(host->mmc), "tx"); in usdhi6_dma_request()
[all …]
Dtmio_mmc_core.c75 host->chan_tx = NULL; in tmio_mmc_request_dma()
441 if ((host->chan_tx || host->chan_rx) && !host->force_pio) { in tmio_mmc_pio_irq()
550 if (host->chan_tx && (data->flags & MMC_DATA_WRITE) && !host->force_pio) { in tmio_mmc_data_irq()
632 if (host->force_pio || !host->chan_tx) in tmio_mmc_cmd_irq()
1289 if (!_host->chan_tx) in tmio_mmc_host_probe()
Dtmio_mmc.h156 struct dma_chan *chan_tx; member
/drivers/i2c/busses/
Di2c-at91.c122 struct dma_chan *chan_tx; member
252 dmaengine_terminate_all(dma->chan_tx); in at91_twi_dma_cleanup()
306 struct dma_chan *chan_tx = dma->chan_tx; in at91_twi_write_data_dma() local
358 txdesc = dmaengine_prep_slave_sg(chan_tx, dma->sg, sg_len, in at91_twi_write_data_dma()
371 dma_async_issue_pending(chan_tx); in at91_twi_write_data_dma()
980 dma->chan_tx = dma_request_slave_channel_reason(dev->dev, "tx"); in at91_twi_configure_dma()
981 if (IS_ERR(dma->chan_tx)) { in at91_twi_configure_dma()
982 ret = PTR_ERR(dma->chan_tx); in at91_twi_configure_dma()
983 dma->chan_tx = NULL; in at91_twi_configure_dma()
995 if (dmaengine_slave_config(dma->chan_tx, &slave_config)) { in at91_twi_configure_dma()
[all …]
Di2c-imx.c184 struct dma_chan *chan_tx; member
296 dma->chan_tx = dma_request_slave_channel(dev, "tx"); in i2c_imx_dma_request()
297 if (!dma->chan_tx) { in i2c_imx_dma_request()
307 ret = dmaengine_slave_config(dma->chan_tx, &dma_sconfig); in i2c_imx_dma_request()
333 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in i2c_imx_dma_request()
340 dma_release_channel(dma->chan_tx); in i2c_imx_dma_request()
406 dma_release_channel(dma->chan_tx); in i2c_imx_dma_free()
407 dma->chan_tx = NULL; in i2c_imx_dma_free()
606 dma->chan_using = dma->chan_tx; in i2c_imx_dma_write()
/drivers/spi/
Dspi-fsl-dspi.c159 struct dma_chan *chan_tx; member
257 dma->tx_desc = dmaengine_prep_slave_single(dma->chan_tx, in dspi_next_xfer_dma_submit()
297 dma_async_issue_pending(dma->chan_tx); in dspi_next_xfer_dma_submit()
303 dmaengine_terminate_all(dma->chan_tx); in dspi_next_xfer_dma_submit()
312 dmaengine_terminate_all(dma->chan_tx); in dspi_next_xfer_dma_submit()
373 dma->chan_tx = dma_request_slave_channel(dev, "tx"); in dspi_request_dma()
374 if (!dma->chan_tx) { in dspi_request_dma()
410 ret = dmaengine_slave_config(dma->chan_tx, &cfg); in dspi_request_dma()
430 dma_release_channel(dma->chan_tx); in dspi_request_dma()
446 if (dma->chan_tx) { in dspi_release_dma()
[all …]
Dspi-topcliff-pch.c119 struct dma_chan *chan_tx; member
885 dma->chan_tx = chan; in pch_spi_request_dma()
897 dma_release_channel(dma->chan_tx); in pch_spi_request_dma()
898 dma->chan_tx = NULL; in pch_spi_request_dma()
910 if (dma->chan_tx) { in pch_spi_release_dma()
911 dma_release_channel(dma->chan_tx); in pch_spi_release_dma()
912 dma->chan_tx = NULL; in pch_spi_release_dma()
1102 desc_tx = dmaengine_prep_slave_sg(dma->chan_tx, in pch_spi_handle_dma()
/drivers/firmware/
Dti_sci.c117 struct mbox_chan *chan_tx; member
433 ret = mbox_send_message(info->chan_tx, &xfer->tx_message); in ti_sci_do_xfer()
452 mbox_client_txdone(info->chan_tx, ret); in ti_sci_do_xfer()
1905 info->chan_tx = mbox_request_channel_byname(cl, "tx"); in ti_sci_probe()
1906 if (IS_ERR(info->chan_tx)) { in ti_sci_probe()
1907 ret = PTR_ERR(info->chan_tx); in ti_sci_probe()
1940 if (!IS_ERR(info->chan_tx)) in ti_sci_probe()
1941 mbox_free_channel(info->chan_tx); in ti_sci_probe()
1972 mbox_free_channel(info->chan_tx); in ti_sci_remove()
/drivers/tty/serial/
Dsh-sci.c135 struct dma_chan *chan_tx; member
549 if (s->chan_tx) in sci_start_tx()
557 if (s->chan_tx && !uart_circ_empty(&s->port.state->xmit) && in sci_start_tx()
564 if (!s->chan_tx || port->type == PORT_SCIFA || port->type == PORT_SCIFB) { in sci_start_tx()
1261 struct dma_chan *chan = s->chan_tx; in sci_tx_dma_release()
1266 s->chan_tx = NULL; in sci_tx_dma_release()
1318 struct dma_chan *chan = s->chan_tx; in work_fn_tx()
1512 s->chan_tx = chan; in sci_request_dma()
1521 s->chan_tx = NULL; in sci_request_dma()
1574 if (s->chan_tx) in sci_free_dma()
[all …]
Dpch_uart.c246 struct dma_chan *chan_tx; member
694 if (priv->chan_tx) { in pch_free_dma()
695 dma_release_channel(priv->chan_tx); in pch_free_dma()
696 priv->chan_tx = NULL; in pch_free_dma()
753 priv->chan_tx = chan; in pch_request_dma()
765 dma_release_channel(priv->chan_tx); in pch_request_dma()
766 priv->chan_tx = NULL; in pch_request_dma()
1046 desc = dmaengine_prep_slave_sg(priv->chan_tx, in dma_handle_tx()
1061 dma_async_issue_pending(priv->chan_tx); in dma_handle_tx()
Datmel_serial.c147 struct dma_chan *chan_tx; member
789 struct dma_chan *chan = atmel_port->chan_tx; in atmel_complete_tx_dma()
833 struct dma_chan *chan = atmel_port->chan_tx; in atmel_release_tx_dma()
843 atmel_port->chan_tx = NULL; in atmel_release_tx_dma()
854 struct dma_chan *chan = atmel_port->chan_tx; in atmel_tx_dma()
944 atmel_port->chan_tx = dma_request_slave_channel(port->dev, "tx"); in atmel_prepare_tx_dma()
945 if (atmel_port->chan_tx == NULL) in atmel_prepare_tx_dma()
948 dma_chan_name(atmel_port->chan_tx)); in atmel_prepare_tx_dma()
982 ret = dmaengine_slave_config(atmel_port->chan_tx, in atmel_prepare_tx_dma()
994 if (atmel_port->chan_tx) in atmel_prepare_tx_dma()