Lines Matching refs:async_tx
76 container_of(tx, struct shdma_desc, async_tx); in shdma_tx_submit()
95 chunk->async_tx.cookie > 0 || in shdma_tx_submit()
96 chunk->async_tx.cookie == -EBUSY || in shdma_tx_submit()
101 chunk->async_tx.callback = callback; in shdma_tx_submit()
102 chunk->async_tx.callback_param = tx->callback_param; in shdma_tx_submit()
105 chunk->async_tx.callback = NULL; in shdma_tx_submit()
111 tx->cookie, &chunk->async_tx, schan->id); in shdma_tx_submit()
240 dma_async_tx_descriptor_init(&desc->async_tx, in shdma_alloc_chan_resources()
242 desc->async_tx.tx_submit = shdma_tx_submit; in shdma_alloc_chan_resources()
339 struct dma_async_tx_descriptor *tx = &desc->async_tx; in __ld_cleanup()
391 async_tx_ack(&desc->async_tx); in __ld_cleanup()
400 async_tx_test_ack(&desc->async_tx)) || all) { in __ld_cleanup()
527 new->async_tx.cookie = -EBUSY; in shdma_add_desc()
531 new->async_tx.cookie = -EINVAL; in shdma_add_desc()
536 copy_size, *len, src, dst, &new->async_tx, in shdma_add_desc()
537 new->async_tx.cookie); in shdma_add_desc()
540 new->async_tx.flags = flags; in shdma_add_desc()
623 new->async_tx.cookie = -ENOSPC; in shdma_prep_sg()
630 return &first->async_tx; in shdma_prep_sg()
887 struct dma_async_tx_descriptor *tx = &sdesc->async_tx; in shdma_reset()
932 sdesc->async_tx.cookie, &sdesc->async_tx); in chan_irqt()