Lines Matching refs:residue
37 * Returns the residue (remaining bytes) left in the DMA transfer.
42 unsigned int residue;
46 residue = get_dma_residue(dma_chan);
49 return residue;
58 * Returns the residue (remaining bytes) left in the DMA transfer.
65 unsigned int residue;
68 residue = comedi_isadma_disable(dma_chan);
69 while (residue % size) {
70 /* residue is a partial sample, enable DMA to allow more data */
79 if (new_residue == residue) {
84 residue = new_residue;
88 return residue;