Lines Matching refs:nent
254 int nent; member
803 for (i = 0; i < priv->nent; i++, sg++) { in pch_dma_tx_complete()
809 dma_unmap_sg(port->dev, sg, priv->nent, DMA_TO_DEVICE); in pch_dma_tx_complete()
811 priv->nent = 0; in pch_dma_tx_complete()
952 int nent; in dma_handle_tx() local
1031 nent = dma_map_sg(port->dev, sg, num, DMA_TO_DEVICE); in dma_handle_tx()
1032 if (!nent) { in dma_handle_tx()
1036 priv->nent = nent; in dma_handle_tx()
1038 for (i = 0; i < nent; i++, sg++) { in dma_handle_tx()
1043 if (i == (nent - 1)) in dma_handle_tx()
1050 priv->sg_tx_p, nent, DMA_MEM_TO_DEV, in dma_handle_tx()
1057 dma_sync_sg_for_device(port->dev, priv->sg_tx_p, nent, DMA_TO_DEVICE); in dma_handle_tx()