Lines Matching refs:cookie
738 * atc_get_residue - get the number of bytes residue for a cookie.
741 * @cookie: transaction identifier to check status of
746 static int atc_get_residue(struct dma_chan *chan, dma_cookie_t cookie,
754 vd = vchan_find_desc(&atchan->vc, cookie);
757 else if (atchan->desc && atchan->desc->vd.tx.cookie == cookie)
794 dev_crit(chan2dev(&atchan->vc.chan), "cookie: %d\n",
795 desc->vd.tx.cookie);
1666 * @cookie: transaction identifier to check status of
1675 dma_cookie_t cookie,
1684 dma_status = dma_cookie_status(chan, cookie, txstate);
1690 ret = atc_get_residue(chan, cookie, &residue);
1700 dev_vdbg(chan2dev(chan), "tx_status %d: cookie = %d residue = %u\n",
1701 dma_status, cookie, residue);