Lines Matching defs:cookie
1464 dma_cookie_t cookie)
1466 BUG_ON(desc->async_tx.cookie < 0);
1467 if (desc->async_tx.cookie > 0) {
1468 cookie = desc->async_tx.cookie;
1469 desc->async_tx.cookie = 0;
1481 return cookie;
1536 dma_cookie_t cookie = 0;
1559 iter->async_tx.cookie, iter->idx, busy, iter->phys,
1613 cookie = ppc440spe_adma_run_tx_complete_actions(
1614 grp_iter, chan, cookie);
1621 if (cookie > 0)
1622 chan->common.completed_cookie = cookie;
1642 cookie = ppc440spe_adma_run_tx_complete_actions(iter, chan,
1643 cookie);
1651 if (cookie > 0) {
1652 chan->common.completed_cookie = cookie;
1653 pr_debug("\tcompleted cookie %d\n", cookie);
1732 iter->async_tx.cookie = 0;
1747 alloc_tail->async_tx.cookie = -EBUSY;
1902 dma_cookie_t cookie;
1911 cookie = dma_cookie_assign(tx);
1934 "ppc440spe adma%d: %s cookie: %d slot: %d tx %p\n",
1936 sw_desc->async_tx.cookie, sw_desc->idx, sw_desc);
1938 return cookie;
3570 * @cookie: ADMA transaction identifier
3574 dma_cookie_t cookie, struct dma_tx_state *txstate)
3580 ret = dma_cookie_status(chan, cookie, txstate);
3586 return dma_cookie_status(chan, cookie, txstate);
3656 dma_cookie_t cookie;
3671 cookie = dma_cookie_assign(&sw_desc->async_tx);
3673 /* initialize the completed cookie to be less than
3674 * the most recently used cookie
3676 chan->common.completed_cookie = cookie - 1;