Lines Matching refs:cookie

232 				dma_cookie_t cookie)  in mv_desc_run_tx_complete_actions()  argument
234 BUG_ON(desc->async_tx.cookie < 0); in mv_desc_run_tx_complete_actions()
236 if (desc->async_tx.cookie > 0) { in mv_desc_run_tx_complete_actions()
237 cookie = desc->async_tx.cookie; in mv_desc_run_tx_complete_actions()
252 return cookie; in mv_desc_run_tx_complete_actions()
293 dma_cookie_t cookie = 0; in mv_chan_slot_cleanup() local
313 cookie = mv_desc_run_tx_complete_actions(iter, mv_chan, in mv_chan_slot_cleanup()
314 cookie); in mv_chan_slot_cleanup()
362 if (cookie > 0) in mv_chan_slot_cleanup()
363 mv_chan->dmachan.completed_cookie = cookie; in mv_chan_slot_cleanup()
393 iter->async_tx.cookie = -EBUSY; in mv_chan_alloc_slot()
414 dma_cookie_t cookie; in mv_xor_tx_submit() local
422 cookie = dma_cookie_assign(tx); in mv_xor_tx_submit()
457 return cookie; in mv_xor_tx_submit()
613 dma_cookie_t cookie, in mv_xor_status() argument
619 ret = dma_cookie_status(chan, cookie, txstate); in mv_xor_status()
627 return dma_cookie_status(chan, cookie, txstate); in mv_xor_status()
705 dma_cookie_t cookie; in mv_chan_memcpy_self_test() local
768 cookie = mv_xor_tx_submit(tx); in mv_chan_memcpy_self_test()
769 if (dma_submit_error(cookie)) { in mv_chan_memcpy_self_test()
780 if (mv_xor_status(dma_chan, cookie, NULL) != in mv_chan_memcpy_self_test()
818 dma_cookie_t cookie; in mv_chan_xor_self_test() local
901 cookie = mv_xor_tx_submit(tx); in mv_chan_xor_self_test()
902 if (dma_submit_error(cookie)) { in mv_chan_xor_self_test()
913 if (mv_xor_status(dma_chan, cookie, NULL) != in mv_chan_xor_self_test()