Lines Matching refs:async_tx
73 container_of(tx, struct shdma_desc, async_tx); in shdma_tx_submit()
92 chunk->async_tx.cookie > 0 || in shdma_tx_submit()
93 chunk->async_tx.cookie == -EBUSY || in shdma_tx_submit()
98 chunk->async_tx.callback = callback; in shdma_tx_submit()
99 chunk->async_tx.callback_param = tx->callback_param; in shdma_tx_submit()
102 chunk->async_tx.callback = NULL; in shdma_tx_submit()
108 tx->cookie, &chunk->async_tx, schan->id); in shdma_tx_submit()
237 dma_async_tx_descriptor_init(&desc->async_tx, in shdma_alloc_chan_resources()
239 desc->async_tx.tx_submit = shdma_tx_submit; in shdma_alloc_chan_resources()
337 struct dma_async_tx_descriptor *tx = &desc->async_tx; in __ld_cleanup()
389 async_tx_ack(&desc->async_tx); in __ld_cleanup()
398 async_tx_test_ack(&desc->async_tx)) || all) { in __ld_cleanup()
524 new->async_tx.cookie = -EBUSY; in shdma_add_desc()
528 new->async_tx.cookie = -EINVAL; in shdma_add_desc()
533 copy_size, *len, src, dst, &new->async_tx, in shdma_add_desc()
534 new->async_tx.cookie); in shdma_add_desc()
537 new->async_tx.flags = flags; in shdma_add_desc()
620 new->async_tx.cookie = -ENOSPC; in shdma_prep_sg()
627 return &first->async_tx; in shdma_prep_sg()
876 struct dma_async_tx_descriptor *tx = &sdesc->async_tx; in shdma_reset()
921 sdesc->async_tx.cookie, &sdesc->async_tx); in chan_irqt()