Searched refs:txchan (Results 1 – 5 of 5) sorted by relevance
/linux-3.4.99/drivers/spi/ |
D | spi-dw-mid.c | 72 dws->txchan = dma_request_channel(mask, mid_spi_dma_chan_filter, dws); in mid_spi_dma_init() 73 if (!dws->txchan) in mid_spi_dma_init() 78 dws->txchan->private = txs; in mid_spi_dma_init() 92 dma_release_channel(dws->txchan); in mid_spi_dma_exit() 113 struct dma_chan *txchan, *rxchan; in mid_spi_dma_transfer() local 131 txchan = dws->txchan; in mid_spi_dma_transfer() 142 txchan->device->device_control(txchan, DMA_SLAVE_CONFIG, in mid_spi_dma_transfer() 149 txdesc = dmaengine_prep_slave_sg(txchan, in mid_spi_dma_transfer()
|
D | spi-pl022.c | 899 struct dma_chan *txchan = pl022->dma_tx_channel; in configure_dma() local 904 if (!rxchan || !txchan) in configure_dma() 995 dmaengine_slave_config(txchan, &tx_conf); in configure_dma() 1021 tx_sglen = dma_map_sg(txchan->device->dev, pl022->sgt_tx.sgl, in configure_dma() 1035 txdesc = dmaengine_prep_slave_sg(txchan, in configure_dma() 1051 dma_async_issue_pending(txchan); in configure_dma() 1057 dmaengine_terminate_all(txchan); in configure_dma() 1060 dma_unmap_sg(txchan->device->dev, pl022->sgt_tx.sgl, in configure_dma() 1126 struct dma_chan *txchan = pl022->dma_tx_channel; in terminate_dma() local 1129 dmaengine_terminate_all(txchan); in terminate_dma()
|
D | spi-dw.h | 144 struct dma_chan *txchan; member
|
/linux-3.4.99/drivers/net/wan/ |
D | cosa.c | 158 int txchan, txsize, rxsize; member 1696 cosa->txchan++; in tx_interrupt() 1698 if (cosa->txchan >= cosa->nchannels) in tx_interrupt() 1699 cosa->txchan = 0; in tx_interrupt() 1700 if (!(cosa->txbitmap & (1<<cosa->txchan))) in tx_interrupt() 1702 if (~status & (1 << (cosa->txchan+DRIVER_TXMAP_SHIFT))) in tx_interrupt() 1710 cosa->name, cosa->txchan); in tx_interrupt() 1716 cosa->txsize = cosa->chan[cosa->txchan].txsize; in tx_interrupt() 1717 if (cosa_dma_able(cosa->chan+cosa->txchan, in tx_interrupt() 1718 cosa->chan[cosa->txchan].txbuf, cosa->txsize)) { in tx_interrupt() [all …]
|
/linux-3.4.99/drivers/net/ethernet/ti/ |
D | davinci_emac.c | 325 struct cpdma_chan *txchan; member 1092 ret_code = cpdma_chan_submit(priv->txchan, skb, skb->data, skb->len, in emac_dev_xmit() 1133 cpdma_chan_stop(priv->txchan); in emac_dev_tx_timeout() 1134 cpdma_chan_start(priv->txchan); in emac_dev_tx_timeout() 1378 num_tx_pkts = cpdma_chan_process(priv->txchan, in emac_poll() 1881 priv->txchan = cpdma_chan_create(priv->dma, tx_chan_num(EMAC_DEF_TX_CH), in davinci_emac_probe() 1885 if (WARN_ON(!priv->txchan || !priv->rxchan)) { in davinci_emac_probe() 1932 if (priv->txchan) in davinci_emac_probe() 1933 cpdma_chan_destroy(priv->txchan); in davinci_emac_probe() 1967 if (priv->txchan) in davinci_emac_remove() [all …]
|