Home
last modified time | relevance | path

Searched refs:txchan (Results 1 – 15 of 15) sorted by relevance

/drivers/tty/serial/8250/
A D8250_dma.c99 dmaengine_pause(dma->txchan); in serial8250_tx_dma()
101 dmaengine_resume(dma->txchan); in serial8250_tx_dma()
142 dma_async_issue_pending(dma->txchan); in serial8250_tx_dma()
165 dmaengine_terminate_async(dma->txchan); in serial8250_tx_dma_flush()
253 if (!dma->txchan) { in serial8250_request_dma()
259 ret = dma_get_slave_caps(dma->txchan, &caps); in serial8250_request_dma()
267 dmaengine_slave_config(dma->txchan, &dma->txconf); in serial8250_request_dma()
296 dma_release_channel(dma->txchan); in serial8250_request_dma()
318 dmaengine_terminate_sync(dma->txchan); in serial8250_release_dma()
321 dma_release_channel(dma->txchan); in serial8250_release_dma()
[all …]
A D8250_omap.c1115 dma_sync_single_for_cpu(dma->txchan->device->dev, dma->tx_addr, in omap_8250_dma_tx_complete()
1219 desc = dmaengine_prep_slave_sg(dma->txchan, &sg, 1, DMA_MEM_TO_DEV, in omap_8250_tx_dma()
1234 dma_sync_single_for_device(dma->txchan->device->dev, dma->tx_addr, in omap_8250_tx_dma()
1237 dma_async_issue_pending(dma->txchan); in omap_8250_tx_dma()
A D8250.h33 struct dma_chan *txchan; member
A D8250_mtk.c181 if (dmaengine_slave_config(dma->txchan, &dma->txconf) != 0) in mtk8250_dma_enable()
/drivers/crypto/qce/
A Ddma.c16 dma_release_channel(dma->txchan); in qce_dma_release()
25 dma->txchan = dma_request_chan(dev, "tx"); in devm_qce_dma_request()
26 if (IS_ERR(dma->txchan)) in devm_qce_dma_request()
27 return PTR_ERR(dma->txchan); in devm_qce_dma_request()
49 dma_release_channel(dma->txchan); in devm_qce_dma_request()
108 struct dma_chan *txchan = dma->txchan; in qce_dma_prep_sgs() local
117 return qce_dma_prep_sg(txchan, tx_sg, tx_nents, flags, DMA_DEV_TO_MEM, in qce_dma_prep_sgs()
124 dma_async_issue_pending(dma->txchan); in qce_dma_issue_pending()
132 return ret ?: dmaengine_terminate_all(dma->txchan); in qce_dma_terminate_all()
A Ddma.h31 struct dma_chan *txchan; member
/drivers/spi/
A Dspi-dw-dma.c139 if (!dws->txchan) in dw_spi_dma_init_mfld()
143 dws->host->dma_tx = dws->txchan; in dw_spi_dma_init_mfld()
158 dma_release_channel(dws->txchan); in dw_spi_dma_init_mfld()
159 dws->txchan = NULL; in dw_spi_dma_init_mfld()
180 if (IS_ERR(dws->txchan)) { in dw_spi_dma_init_generic()
181 ret = PTR_ERR(dws->txchan); in dw_spi_dma_init_generic()
182 dws->txchan = NULL; in dw_spi_dma_init_generic()
187 dws->host->dma_tx = dws->txchan; in dw_spi_dma_init_generic()
200 dma_release_channel(dws->txchan); in dw_spi_dma_init_generic()
201 dws->txchan = NULL; in dw_spi_dma_init_generic()
[all …]
A Dspi-pl022.c814 struct dma_chan *txchan = pl022->dma_tx_channel; in configure_dma() local
819 if (!rxchan || !txchan) in configure_dma()
910 dmaengine_slave_config(txchan, &tx_conf); in configure_dma()
936 tx_sglen = dma_map_sg(txchan->device->dev, pl022->sgt_tx.sgl, in configure_dma()
950 txdesc = dmaengine_prep_slave_sg(txchan, in configure_dma()
966 dma_async_issue_pending(txchan); in configure_dma()
972 dmaengine_terminate_all(txchan); in configure_dma()
975 dma_unmap_sg(txchan->device->dev, pl022->sgt_tx.sgl, in configure_dma()
1083 struct dma_chan *txchan = pl022->dma_tx_channel; in terminate_dma() local
1086 dmaengine_terminate_all(txchan); in terminate_dma()
A Dspi-at91-usart.c206 struct dma_chan *txchan = ctlr->dma_tx; in at91_usart_spi_dma_transfer() local
223 txdesc = dmaengine_prep_slave_sg(txchan, in at91_usart_spi_dma_transfer()
244 txchan->device->device_issue_pending(txchan); in at91_usart_spi_dma_transfer()
A Dspi-atmel.c774 struct dma_chan *txchan = host->dma_tx; in atmel_spi_next_xfer_dma_submit() local
782 if (!rxchan || !txchan) in atmel_spi_next_xfer_dma_submit()
814 txdesc = dmaengine_prep_slave_single(txchan, in atmel_spi_next_xfer_dma_submit()
820 txdesc = dmaengine_prep_slave_sg(txchan, in atmel_spi_next_xfer_dma_submit()
850 txchan->device->device_issue_pending(txchan); in atmel_spi_next_xfer_dma_submit()
A Dspi-dw.h188 struct dma_chan *txchan; member
/drivers/net/ethernet/ti/
A Ddavinci_emac.c317 struct cpdma_chan *txchan; member
983 if (unlikely(!cpdma_check_free_tx_desc(priv->txchan))) in emac_dev_xmit()
1015 cpdma_chan_stop(priv->txchan); in emac_dev_tx_timeout()
1016 cpdma_chan_start(priv->txchan); in emac_dev_tx_timeout()
1259 cpdma_chan_process(priv->txchan, EMAC_DEF_TX_MAX_SERVICE); in emac_poll()
1910 priv->txchan = cpdma_chan_create(priv->dma, EMAC_DEF_TX_CH, in davinci_emac_probe()
1912 if (IS_ERR(priv->txchan)) { in davinci_emac_probe()
1914 rc = PTR_ERR(priv->txchan); in davinci_emac_probe()
1982 cpdma_chan_destroy(priv->txchan); in davinci_emac_probe()
2009 if (priv->txchan) in davinci_emac_remove()
[all …]
/drivers/i2c/busses/
A Di2c-imx-lpi2c.c727 struct dma_chan *txchan = dma->chan_tx; in lpi2c_dma_rx_cmd_submit() local
730 dma->dma_tx_addr = dma_map_single(txchan->device->dev, in lpi2c_dma_rx_cmd_submit()
733 if (dma_mapping_error(txchan->device->dev, dma->dma_tx_addr)) { in lpi2c_dma_rx_cmd_submit()
738 rx_cmd_desc = dmaengine_prep_slave_single(txchan, dma->dma_tx_addr, in lpi2c_dma_rx_cmd_submit()
752 dma_async_issue_pending(txchan); in lpi2c_dma_rx_cmd_submit()
757 dma_unmap_single(txchan->device->dev, dma->dma_tx_addr, in lpi2c_dma_rx_cmd_submit()
762 dma_unmap_single(txchan->device->dev, dma->dma_tx_addr, in lpi2c_dma_rx_cmd_submit()
/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_ptp.c186 c.u.init.txchan = pi->tx_chan; in cxgb4_ptp_redirect_rx_packet()
A Dt4fw_api.h3364 __u8 txchan; member

Completed in 80 milliseconds