Lines Matching defs:cookie
503 dma_cookie_t cookie;
507 cookie = dma_cookie_assign(tx);
510 chan->index, tx->cookie, desc);
518 return cookie;
951 desc->async_tx.cookie = -EBUSY;
1316 dma_cookie_t cookie)
1332 * If the cookie corresponds to a descriptor that has been completed
1337 status = dma_cookie_status(&chan->chan, cookie, NULL);
1342 * If the cookie doesn't correspond to the currently running transfer
1348 * the argument cookie matches the done list's cookie, we can assume
1351 if (cookie != desc->async_tx.cookie) {
1353 if (cookie == desc->async_tx.cookie)
1357 if (cookie == desc->async_tx.cookie)
1361 if (cookie == desc->async_tx.cookie)
1366 * No descriptor found for the cookie, there's thus no residue.
1368 * cookie value.
1370 WARN(1, "No descriptor for cookie!");
1423 dma_cookie_t cookie,
1432 status = dma_cookie_status(chan, cookie, txstate);
1437 residue = rcar_dmac_chan_get_residue(rchan, cookie);
1441 /* if there's no residue, the cookie is complete */