Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mmc/host/
Drenesas_sdhi_sys_dmac.c135 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_sys_dmac_enable_dma()
148 if (host->chan_tx) in renesas_sdhi_sys_dmac_abort_dma()
149 dmaengine_terminate_all(host->chan_tx); in renesas_sdhi_sys_dmac_abort_dma()
176 dma_unmap_sg(host->chan_tx->device->dev, in renesas_sdhi_sys_dmac_dma_callback()
253 chan = host->chan_tx; in renesas_sdhi_sys_dmac_start_dma_rx()
255 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_start_dma_rx()
268 struct dma_chan *chan = host->chan_tx; in renesas_sdhi_sys_dmac_start_dma_tx()
328 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_start_dma_tx()
348 if (host->chan_tx) in renesas_sdhi_sys_dmac_start_dma()
364 chan = host->chan_tx; in renesas_sdhi_sys_dmac_issue_tasklet_fn()
[all …]
Dsh_mmcif.c250 struct dma_chan *chan_tx; member
326 chan = host->chan_tx; in sh_mmcif_start_dma_rx()
328 host->chan_tx = NULL; in sh_mmcif_start_dma_rx()
345 struct dma_chan *chan = host->chan_tx; in sh_mmcif_start_dma_tx()
372 host->chan_tx = NULL; in sh_mmcif_start_dma_tx()
433 host->chan_tx = sh_mmcif_request_dma_pdata(host, in sh_mmcif_request_dma()
438 host->chan_tx = dma_request_slave_channel(dev, "tx"); in sh_mmcif_request_dma()
441 dev_dbg(dev, "%s: got channel TX %p RX %p\n", __func__, host->chan_tx, in sh_mmcif_request_dma()
444 if (!host->chan_tx || !host->chan_rx || in sh_mmcif_request_dma()
445 sh_mmcif_dma_slave_config(host, host->chan_tx, DMA_MEM_TO_DEV) || in sh_mmcif_request_dma()
[all …]
Drenesas_sdhi_internal_dmac.c138 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_internal_dmac_enable_dma()
264 host->chan_rx = host->chan_tx = (void *)0xdeadbeaf; in renesas_sdhi_internal_dmac_request_dma()
278 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.c74 host->chan_tx = NULL; in tmio_mmc_request_dma()
449 if ((host->chan_tx || host->chan_rx) && !host->force_pio) { in tmio_mmc_pio_irq()
558 if (host->chan_tx && (data->flags & MMC_DATA_WRITE) && !host->force_pio) { in tmio_mmc_data_irq()
643 if (host->force_pio || !host->chan_tx) { in tmio_mmc_cmd_irq()
Dtmio_mmc.h151 struct dma_chan *chan_tx; member
/Linux-v4.19/drivers/i2c/busses/
Di2c-stm32.c27 dma->chan_tx = dma_request_slave_channel(dev, "tx"); in stm32_i2c_dma_request()
28 if (!dma->chan_tx) { in stm32_i2c_dma_request()
39 ret = dmaengine_slave_config(dma->chan_tx, &dma_sconfig); in stm32_i2c_dma_request()
67 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in stm32_i2c_dma_request()
74 dma_release_channel(dma->chan_tx); in stm32_i2c_dma_request()
87 dma_release_channel(dma->chan_tx); in stm32_i2c_dma_free()
88 dma->chan_tx = NULL; in stm32_i2c_dma_free()
110 dma->chan_using = dma->chan_tx; in stm32_i2c_prep_dma_xfer()
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()
988 dma->chan_tx = dma_request_slave_channel_reason(dev->dev, "tx"); in at91_twi_configure_dma()
989 if (IS_ERR(dma->chan_tx)) { in at91_twi_configure_dma()
990 ret = PTR_ERR(dma->chan_tx); in at91_twi_configure_dma()
991 dma->chan_tx = NULL; in at91_twi_configure_dma()
1003 if (dmaengine_slave_config(dma->chan_tx, &slave_config)) { in at91_twi_configure_dma()
[all …]
Di2c-imx.c175 struct dma_chan *chan_tx; member
288 dma->chan_tx = dma_request_slave_channel(dev, "tx"); in i2c_imx_dma_request()
289 if (!dma->chan_tx) { in i2c_imx_dma_request()
299 ret = dmaengine_slave_config(dma->chan_tx, &dma_sconfig); in i2c_imx_dma_request()
325 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in i2c_imx_dma_request()
332 dma_release_channel(dma->chan_tx); in i2c_imx_dma_request()
398 dma_release_channel(dma->chan_tx); in i2c_imx_dma_free()
399 dma->chan_tx = NULL; in i2c_imx_dma_free()
610 dma->chan_using = dma->chan_tx; in i2c_imx_dma_write()
Di2c-stm32.h37 struct dma_chan *chan_tx; member
/Linux-v4.19/drivers/spi/
Dspi-fsl-dspi.c175 struct dma_chan *chan_tx; member
290 dma->tx_desc = dmaengine_prep_slave_single(dma->chan_tx, in dspi_next_xfer_dma_submit()
330 dma_async_issue_pending(dma->chan_tx); in dspi_next_xfer_dma_submit()
336 dmaengine_terminate_all(dma->chan_tx); in dspi_next_xfer_dma_submit()
345 dmaengine_terminate_all(dma->chan_tx); in dspi_next_xfer_dma_submit()
408 dma->chan_tx = dma_request_slave_channel(dev, "tx"); in dspi_request_dma()
409 if (!dma->chan_tx) { in dspi_request_dma()
445 ret = dmaengine_slave_config(dma->chan_tx, &cfg); in dspi_request_dma()
465 dma_release_channel(dma->chan_tx); in dspi_request_dma()
481 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()
1096 desc_tx = dmaengine_prep_slave_sg(dma->chan_tx, in pch_spi_handle_dma()
/Linux-v4.19/drivers/firmware/
Dti_sci.c109 struct mbox_chan *chan_tx; member
425 ret = mbox_send_message(info->chan_tx, &xfer->tx_message); in ti_sci_do_xfer()
444 mbox_client_txdone(info->chan_tx, ret); in ti_sci_do_xfer()
1897 info->chan_tx = mbox_request_channel_byname(cl, "tx"); in ti_sci_probe()
1898 if (IS_ERR(info->chan_tx)) { in ti_sci_probe()
1899 ret = PTR_ERR(info->chan_tx); in ti_sci_probe()
1932 if (!IS_ERR(info->chan_tx)) in ti_sci_probe()
1933 mbox_free_channel(info->chan_tx); in ti_sci_probe()
1964 mbox_free_channel(info->chan_tx); in ti_sci_remove()
/Linux-v4.19/drivers/tty/serial/
Dpch_uart.c234 struct dma_chan *chan_tx; member
681 if (priv->chan_tx) { in pch_free_dma()
682 dma_release_channel(priv->chan_tx); in pch_free_dma()
683 priv->chan_tx = NULL; in pch_free_dma()
740 priv->chan_tx = chan; in pch_request_dma()
752 dma_release_channel(priv->chan_tx); in pch_request_dma()
753 priv->chan_tx = NULL; in pch_request_dma()
1031 desc = dmaengine_prep_slave_sg(priv->chan_tx, in dma_handle_tx()
1046 dma_async_issue_pending(priv->chan_tx); in dma_handle_tx()
Datmel_serial.c133 struct dma_chan *chan_tx; member
774 struct dma_chan *chan = atmel_port->chan_tx; in atmel_complete_tx_dma()
814 struct dma_chan *chan = atmel_port->chan_tx; in atmel_release_tx_dma()
824 atmel_port->chan_tx = NULL; in atmel_release_tx_dma()
835 struct dma_chan *chan = atmel_port->chan_tx; in atmel_tx_dma()
925 atmel_port->chan_tx = dma_request_slave_channel(port->dev, "tx"); in atmel_prepare_tx_dma()
926 if (atmel_port->chan_tx == NULL) in atmel_prepare_tx_dma()
929 dma_chan_name(atmel_port->chan_tx)); in atmel_prepare_tx_dma()
963 ret = dmaengine_slave_config(atmel_port->chan_tx, in atmel_prepare_tx_dma()
975 if (atmel_port->chan_tx) in atmel_prepare_tx_dma()
Dsh-sci.c136 struct dma_chan *chan_tx; member
581 if (s->chan_tx) in sci_start_tx()
589 if (s->chan_tx && !uart_circ_empty(&s->port.state->xmit) && in sci_start_tx()
596 if (!s->chan_tx || port->type == PORT_SCIFA || port->type == PORT_SCIFB) { in sci_start_tx()
1326 s->chan_tx_saved = s->chan_tx = NULL; in sci_tx_dma_release()
1381 struct dma_chan *chan = s->chan_tx; in work_fn_tx()
1430 s->chan_tx = NULL; in work_fn_tx()
1581 s->chan_tx_saved = s->chan_tx = chan; in sci_request_dma()
1758 if (!s->chan_tx) in sci_er_interrupt()
1782 !s->chan_tx) in sci_mpxed_interrupt()