Lines Matching defs:residue
628 * atc_get_llis_residue - Get residue for a hardware linked list transfer
630 * Calculate the residue by removing the length of the Linked List Item (LLI)
636 * source for the LLI. So we can compute a more accurate residue by also
652 * residue would break the USART driver design.
665 * @desc: pointer to the descriptor for which the residue is calculated.
666 * @residue: residue to be set to dma_tx_state.
670 struct at_desc *desc, u32 *residue)
708 *residue = atc_calc_bytes_left(len, ctrla);
723 *residue = atc_calc_bytes_left(len, ctrla);
729 * atc_get_residue - get the number of bytes residue for a cookie.
730 * The residue is passed by address and updated on success.
733 * @residue: residue to be updated.
737 u32 *residue)
755 return atc_get_llis_residue(atchan, desc, residue);
760 *residue = atc_calc_bytes_left(len, ctrla);
1671 u32 residue;
1680 ret = atc_get_residue(chan, cookie, &residue);
1687 dma_set_residue(txstate, residue);
1690 dev_vdbg(chan2dev(chan), "tx_status %d: cookie = %d residue = %u\n",
1691 dma_status, cookie, residue);