Lines Matching refs:tx
226 static dma_cookie_t ioat1_tx_submit(struct dma_async_tx_descriptor *tx) in ioat1_tx_submit() argument
228 struct dma_chan *c = tx->chan; in ioat1_tx_submit()
230 struct ioat_desc_sw *desc = tx_to_ioat_desc(tx); in ioat1_tx_submit()
238 cookie = dma_cookie_assign(tx); in ioat1_tx_submit()
606 struct dma_async_tx_descriptor *tx; in __cleanup() local
615 tx = &desc->txd; in __cleanup()
622 if (tx->cookie) { in __cleanup()
623 dma_cookie_complete(tx); in __cleanup()
624 dma_descriptor_unmap(tx); in __cleanup()
626 if (tx->callback) { in __cleanup()
627 tx->callback(tx->callback_param); in __cleanup()
628 tx->callback = NULL; in __cleanup()
632 if (tx->phys != phys_complete) { in __cleanup()
637 if (async_tx_test_ack(tx)) in __cleanup()
823 struct dma_async_tx_descriptor *tx; in ioat_dma_self_test() local
864 tx = device->common.device_prep_dma_memcpy(dma_chan, dma_dest, dma_src, in ioat_dma_self_test()
866 if (!tx) { in ioat_dma_self_test()
872 async_tx_ack(tx); in ioat_dma_self_test()
874 tx->callback = ioat_dma_test_callback; in ioat_dma_self_test()
875 tx->callback_param = &cmp; in ioat_dma_self_test()
876 cookie = tx->tx_submit(tx); in ioat_dma_self_test()