Home | History | Annotate | Download | only in linux

Lines Matching refs:cookie

47  * typedef dma_cookie_t - an opaque DMA cookie
49 * if dma_cookie_t is >0 it's a DMA request cookie, <0 it's an error code
53 #define dma_submit_error(cookie) ((cookie) < 0 ? 1 : 0)
85 * @cookie: last cookie value returned to client
98 dma_cookie_t cookie;
199 dma_cookie_t cookie, dma_cookie_t *last,
301 * @cookie: transaction identifier to check status of
302 * @last: returns last completed cookie, can be NULL
303 * @used: returns last issued cookie, can be NULL
310 dma_cookie_t cookie, dma_cookie_t *last, dma_cookie_t *used)
312 return chan->device->device_memcpy_complete(chan, cookie, last, used);
316 * dma_async_is_complete - test a cookie against chan state
317 * @cookie: transaction identifier to test status of
319 * @last_used: last cookie value handed out
324 static inline enum dma_status dma_async_is_complete(dma_cookie_t cookie,
328 if ((cookie <= last_complete) || (cookie > last_used))
331 if ((cookie <= last_complete) && (cookie > last_used))