Lines Matching defs:cookie

53 	struct iop_adma_chan *iop_chan, dma_cookie_t cookie)
57 BUG_ON(tx->cookie < 0);
58 if (tx->cookie > 0) {
59 cookie = tx->cookie;
60 tx->cookie = 0;
75 return cookie;
107 dma_cookie_t cookie = 0;
120 iter->async_tx.cookie, iter->idx, busy,
192 cookie = iop_adma_run_tx_complete_actions(
193 grp_iter, iop_chan, cookie);
216 if (iter->xor_check_result && iter->async_tx.cookie)
220 cookie = iop_adma_run_tx_complete_actions(
221 iter, iop_chan, cookie);
227 if (cookie > 0) {
228 iop_chan->common.completed_cookie = cookie;
229 pr_debug("\tcompleted cookie %d\n", cookie);
320 iter->async_tx.cookie = 0;
333 alloc_tail->async_tx.cookie = -EBUSY;
368 dma_cookie_t cookie;
375 cookie = dma_cookie_assign(tx);
399 dev_dbg(iop_chan->device->common.dev, "%s cookie: %d slot: %d\n",
400 __func__, sw_desc->async_tx.cookie, sw_desc->idx);
402 return cookie;
749 * @cookie: ADMA transaction identifier
753 dma_cookie_t cookie,
759 ret = dma_cookie_status(chan, cookie, txstate);
765 return dma_cookie_status(chan, cookie, txstate);
837 dma_cookie_t cookie;
874 cookie = iop_adma_tx_submit(tx);
878 if (iop_adma_status(dma_chan, cookie, NULL) !=
916 dma_cookie_t cookie;
974 cookie = iop_adma_tx_submit(tx);
978 if (iop_adma_status(dma_chan, cookie, NULL) !=
1021 cookie = iop_adma_tx_submit(tx);
1025 if (iop_adma_status(dma_chan, cookie, NULL) != DMA_COMPLETE) {
1050 cookie = iop_adma_tx_submit(tx);
1054 if (iop_adma_status(dma_chan, cookie, NULL) != DMA_COMPLETE) {
1094 dma_cookie_t cookie;
1145 cookie = iop_adma_tx_submit(tx);
1149 if (iop_adma_status(dma_chan, cookie, NULL) !=
1182 cookie = iop_adma_tx_submit(tx);
1186 if (iop_adma_status(dma_chan, cookie, NULL) !=
1214 cookie = iop_adma_tx_submit(tx);
1218 if (iop_adma_status(dma_chan, cookie, NULL) !=
1438 dma_cookie_t cookie;
1456 cookie = dma_cookie_assign(&sw_desc->async_tx);
1458 /* initialize the completed cookie to be less than
1459 * the most recently used cookie
1461 iop_chan->common.completed_cookie = cookie - 1;
1491 dma_cookie_t cookie;
1509 cookie = dma_cookie_assign(&sw_desc->async_tx);
1511 /* initialize the completed cookie to be less than
1512 * the most recently used cookie
1514 iop_chan->common.completed_cookie = cookie - 1;