Lines Matching defs:cookie
1466 dma_cookie_t cookie)
1468 BUG_ON(desc->async_tx.cookie < 0);
1469 if (desc->async_tx.cookie > 0) {
1470 cookie = desc->async_tx.cookie;
1471 desc->async_tx.cookie = 0;
1483 return cookie;
1538 dma_cookie_t cookie = 0;
1561 iter->async_tx.cookie, iter->idx, busy, iter->phys,
1615 cookie = ppc440spe_adma_run_tx_complete_actions(
1616 grp_iter, chan, cookie);
1623 if (cookie > 0)
1624 chan->common.completed_cookie = cookie;
1644 cookie = ppc440spe_adma_run_tx_complete_actions(iter, chan,
1645 cookie);
1653 if (cookie > 0) {
1654 chan->common.completed_cookie = cookie;
1655 pr_debug("\tcompleted cookie %d\n", cookie);
1734 iter->async_tx.cookie = 0;
1749 alloc_tail->async_tx.cookie = -EBUSY;
1904 dma_cookie_t cookie;
1913 cookie = dma_cookie_assign(tx);
1936 "ppc440spe adma%d: %s cookie: %d slot: %d tx %p\n",
1938 sw_desc->async_tx.cookie, sw_desc->idx, sw_desc);
1940 return cookie;
3573 * @cookie: ADMA transaction identifier
3577 dma_cookie_t cookie, struct dma_tx_state *txstate)
3583 ret = dma_cookie_status(chan, cookie, txstate);
3589 return dma_cookie_status(chan, cookie, txstate);
3659 dma_cookie_t cookie;
3674 cookie = dma_cookie_assign(&sw_desc->async_tx);
3676 /* initialize the completed cookie to be less than
3677 * the most recently used cookie
3679 chan->common.completed_cookie = cookie - 1;