Lines Matching refs:tx
265 static dma_cookie_t ioat_tx_submit_unlock(struct dma_async_tx_descriptor *tx) in ioat_tx_submit_unlock() argument
268 struct dma_chan *c = tx->chan; in ioat_tx_submit_unlock()
272 cookie = dma_cookie_assign(tx); in ioat_tx_submit_unlock()
647 struct dma_async_tx_descriptor *tx; in __cleanup() local
658 tx = &desc->txd; in __cleanup()
659 if (tx->cookie) { in __cleanup()
660 dma_cookie_complete(tx); in __cleanup()
661 dma_descriptor_unmap(tx); in __cleanup()
662 if (tx->callback) { in __cleanup()
663 tx->callback(tx->callback_param); in __cleanup()
664 tx->callback = NULL; in __cleanup()
668 if (tx->phys == phys_complete) in __cleanup()
748 struct dma_async_tx_descriptor *tx; in ioat_eh() local
795 tx = &desc->txd; in ioat_eh()
796 if (tx->cookie) { in ioat_eh()
797 dma_cookie_complete(tx); in ioat_eh()
798 dma_descriptor_unmap(tx); in ioat_eh()
799 if (tx->callback) { in ioat_eh()
800 tx->callback(tx->callback_param); in ioat_eh()
801 tx->callback = NULL; in ioat_eh()