/linux-4.4.14/drivers/crypto/qce/ |
H A D | dma.c | 23 dma->txchan = dma_request_slave_channel_reason(dev, "tx"); qce_dma_request() 24 if (IS_ERR(dma->txchan)) qce_dma_request() 25 return PTR_ERR(dma->txchan); qce_dma_request() 46 dma_release_channel(dma->txchan); qce_dma_request() 52 dma_release_channel(dma->txchan); qce_dma_release() 109 struct dma_chan *txchan = dma->txchan; qce_dma_prep_sgs() local 118 return qce_dma_prep_sg(txchan, tx_sg, tx_nents, flags, DMA_DEV_TO_MEM, qce_dma_prep_sgs() 125 dma_async_issue_pending(dma->txchan); qce_dma_issue_pending() 133 return ret ?: dmaengine_terminate_all(dma->txchan); qce_dma_terminate_all()
|
H A D | dma.h | 39 struct dma_chan *txchan; member in struct:qce_dma_data
|
/linux-4.4.14/drivers/tty/serial/8250/ |
H A D | 8250_dma.c | 26 dma_sync_single_for_cpu(dma->txchan->device->dev, dma->tx_addr, __dma_tx_complete() 81 desc = dmaengine_prep_slave_single(dma->txchan, serial8250_tx_dma() 96 dma_sync_single_for_device(dma->txchan->device->dev, dma->tx_addr, serial8250_tx_dma() 99 dma_async_issue_pending(dma->txchan); serial8250_tx_dma() 184 dma->txchan = dma_request_slave_channel_compat(mask, serial8250_request_dma() 187 if (!dma->txchan) { serial8250_request_dma() 192 dmaengine_slave_config(dma->txchan, &dma->txconf); serial8250_request_dma() 204 dma->tx_addr = dma_map_single(dma->txchan->device->dev, serial8250_request_dma() 208 if (dma_mapping_error(dma->txchan->device->dev, dma->tx_addr)) { serial8250_request_dma() 219 dma_release_channel(dma->txchan); serial8250_request_dma() 240 dmaengine_terminate_all(dma->txchan); serial8250_release_dma() 241 dma_unmap_single(dma->txchan->device->dev, dma->tx_addr, serial8250_release_dma() 243 dma_release_channel(dma->txchan); serial8250_release_dma() 244 dma->txchan = NULL; serial8250_release_dma()
|
H A D | 8250.h | 32 struct dma_chan *txchan; member in struct:uart_8250_dma
|
H A D | 8250_omap.c | 864 dma_sync_single_for_cpu(dma->txchan->device->dev, dma->tx_addr, omap_8250_dma_tx_complete() 963 desc = dmaengine_prep_slave_single(dma->txchan, omap_8250_tx_dma() 979 dma_sync_single_for_device(dma->txchan->device->dev, dma->tx_addr, omap_8250_tx_dma() 982 dma_async_issue_pending(dma->txchan); omap_8250_tx_dma()
|
/linux-4.4.14/drivers/spi/ |
H A D | spi-dw-mid.c | 73 dws->txchan = dma_request_channel(mask, mid_spi_dma_chan_filter, tx); mid_spi_dma_init() 74 if (!dws->txchan) mid_spi_dma_init() 76 dws->master->dma_tx = dws->txchan; mid_spi_dma_init() 92 dmaengine_terminate_all(dws->txchan); mid_spi_dma_exit() 93 dma_release_channel(dws->txchan); mid_spi_dma_exit() 165 dmaengine_slave_config(dws->txchan, &txconf); dw_spi_dma_prepare_tx() 167 txdesc = dmaengine_prep_slave_sg(dws->txchan, dw_spi_dma_prepare_tx() 268 dma_async_issue_pending(dws->txchan); mid_spi_dma_transfer() 277 dmaengine_terminate_all(dws->txchan); mid_spi_dma_stop()
|
H A D | spi-dw.h | 129 struct dma_chan *txchan; member in struct:dw_spi
|
H A D | spi-pl022.c | 949 struct dma_chan *txchan = pl022->dma_tx_channel; configure_dma() local 954 if (!rxchan || !txchan) configure_dma() 1045 dmaengine_slave_config(txchan, &tx_conf); configure_dma() 1071 tx_sglen = dma_map_sg(txchan->device->dev, pl022->sgt_tx.sgl, configure_dma() 1085 txdesc = dmaengine_prep_slave_sg(txchan, configure_dma() 1101 dma_async_issue_pending(txchan); configure_dma() 1107 dmaengine_terminate_all(txchan); configure_dma() 1110 dma_unmap_sg(txchan->device->dev, pl022->sgt_tx.sgl, configure_dma() 1215 struct dma_chan *txchan = pl022->dma_tx_channel; terminate_dma() local 1218 dmaengine_terminate_all(txchan); terminate_dma()
|
H A D | spi-atmel.c | 734 struct dma_chan *txchan = as->dma.chan_tx; atmel_spi_next_xfer_dma_submit() local 744 if (!rxchan || !txchan) atmel_spi_next_xfer_dma_submit() 787 txdesc = dmaengine_prep_slave_sg(txchan, &as->dma.sgtx, 1, atmel_spi_next_xfer_dma_submit() 813 txchan->device->device_issue_pending(txchan); atmel_spi_next_xfer_dma_submit()
|
/linux-4.4.14/drivers/net/wan/ |
H A D | cosa.c | 158 int txchan, txsize, rxsize; member in struct:cosa_data 1699 cosa->txchan++; tx_interrupt() 1701 if (cosa->txchan >= cosa->nchannels) tx_interrupt() 1702 cosa->txchan = 0; tx_interrupt() 1703 if (!(cosa->txbitmap & (1<<cosa->txchan))) tx_interrupt() 1705 if (~status & (1 << (cosa->txchan+DRIVER_TXMAP_SHIFT))) tx_interrupt() 1713 cosa->name, cosa->txchan); tx_interrupt() 1719 cosa->txsize = cosa->chan[cosa->txchan].txsize; tx_interrupt() 1720 if (cosa_dma_able(cosa->chan+cosa->txchan, tx_interrupt() 1721 cosa->chan[cosa->txchan].txbuf, cosa->txsize)) { tx_interrupt() 1722 cosa->txbuf = cosa->chan[cosa->txchan].txbuf; tx_interrupt() 1724 memcpy(cosa->bouncebuf, cosa->chan[cosa->txchan].txbuf, tx_interrupt() 1733 cosa_putdata8(cosa, ((cosa->txchan << 5) & 0xe0)| tx_interrupt() 1737 debug_data_out(cosa, ((cosa->txchan << 5) & 0xe0)| tx_interrupt() 1757 cosa_putdata16(cosa, ((cosa->txchan<<13) & 0xe000) tx_interrupt() 1761 debug_data_out(cosa, ((cosa->txchan<<13) & 0xe000) tx_interrupt() 1910 struct channel_data *chan = cosa->chan+cosa->txchan; eot_interrupt()
|
/linux-4.4.14/drivers/net/ethernet/ti/ |
H A D | davinci_emac.c | 334 struct cpdma_chan *txchan; member in struct:emac_priv 1097 ret_code = cpdma_chan_submit(priv->txchan, skb, skb->data, skb->len, emac_dev_xmit() 1108 if (unlikely(!cpdma_check_free_tx_desc(priv->txchan))) emac_dev_xmit() 1141 cpdma_chan_stop(priv->txchan); emac_dev_tx_timeout() 1142 cpdma_chan_start(priv->txchan); emac_dev_tx_timeout() 1385 num_tx_pkts = cpdma_chan_process(priv->txchan, emac_poll() 2013 priv->txchan = cpdma_chan_create(priv->dma, tx_chan_num(EMAC_DEF_TX_CH), davinci_emac_probe() 2017 if (WARN_ON(!priv->txchan || !priv->rxchan)) { davinci_emac_probe() 2076 if (priv->txchan) davinci_emac_probe() 2077 cpdma_chan_destroy(priv->txchan); davinci_emac_probe() 2100 if (priv->txchan) davinci_emac_remove() 2101 cpdma_chan_destroy(priv->txchan); davinci_emac_remove()
|