Lines Matching defs:residue
1295 unsigned int residue = 0;
1306 * there is no residue. The same check has already been performed by the
1316 * then the descriptor hasn't been processed yet, and the residue is
1322 * the residue is zero.
1339 * No descriptor found for the cookie, there's thus no residue.
1363 WARN_ONCE(i >= 3, "residue might be not continuous!");
1386 residue += chunk->size;
1389 /* Add the residue for the current chunk. */
1390 residue += tcrb << desc->xfer_shift;
1392 return residue;
1402 unsigned int residue;
1410 residue = rcar_dmac_chan_get_residue(rchan, cookie);
1414 /* if there's no residue, the cookie is complete */
1415 if (!residue && !cyclic)
1418 dma_set_residue(txstate, residue);