Lines Matching refs:nent
231 int nent;
743 for (i = 0; i < priv->nent; i++, sg++)
749 priv->nent = 0;
855 int nent;
931 nent = dma_map_sg(port->dev, sg, num, DMA_TO_DEVICE);
932 if (!nent) {
937 priv->nent = nent;
939 for (i = 0; i < nent; i++, sg++) {
944 if (i == (nent - 1))
951 priv->sg_tx_p, nent, DMA_MEM_TO_DEV,
958 dma_sync_sg_for_device(port->dev, priv->sg_tx_p, nent, DMA_TO_DEVICE);