Lines Matching defs:tx
23 * @tx: descriptor needing cookie
28 static inline dma_cookie_t dma_cookie_assign(struct dma_async_tx_descriptor *tx)
30 struct dma_chan *chan = tx->chan;
36 tx->cookie = chan->cookie = cookie;
43 * @tx: descriptor to complete
51 static inline void dma_cookie_complete(struct dma_async_tx_descriptor *tx)
53 BUG_ON(tx->cookie < DMA_MIN_COOKIE);
54 tx->chan->completed_cookie = tx->cookie;
55 tx->cookie = 0;