Lines Matching defs:residue
1322 unsigned int residue = 0;
1333 * there is no residue. The same check has already been performed by the
1343 * then the descriptor hasn't been processed yet, and the residue is
1349 * the residue is zero.
1366 * No descriptor found for the cookie, there's thus no residue.
1390 WARN_ONCE(i >= 3, "residue might be not continuous!");
1413 residue += chunk->size;
1416 /* Add the residue for the current chunk. */
1417 residue += tcrb << desc->xfer_shift;
1419 return residue;
1429 unsigned int residue;
1437 residue = rcar_dmac_chan_get_residue(rchan, cookie);
1441 /* if there's no residue, the cookie is complete */
1442 if (!residue && !cyclic)
1445 dma_set_residue(txstate, residue);