Lines Matching refs:async_tx
154 struct dma_async_tx_descriptor async_tx; member
633 running = chan->running ? chan->running->async_tx.cookie : -EINVAL; in nbpf_tx_status()
644 if (desc->async_tx.cookie == cookie) { in nbpf_tx_status()
651 if (desc->async_tx.cookie == cookie) { in nbpf_tx_status()
671 struct nbpf_desc *desc = container_of(tx, struct nbpf_desc, async_tx); in nbpf_tx_submit()
719 dma_async_tx_descriptor_init(&desc->async_tx, dchan); in nbpf_desc_page_alloc()
720 desc->async_tx.tx_submit = nbpf_tx_submit; in nbpf_desc_page_alloc()
761 if (async_tx_test_ack(&desc->async_tx) && desc->user_wait) { in nbpf_scan_acked()
854 __func__, desc, desc->async_tx.cookie); in nbpf_chan_idle()
952 desc->async_tx.flags = flags; in nbpf_prep_sg()
953 desc->async_tx.cookie = -EBUSY; in nbpf_prep_sg()
982 return &desc->async_tx; in nbpf_prep_sg()
1128 } else if (async_tx_test_ack(&desc->async_tx)) { in nbpf_chan_tasklet()
1150 dma_cookie_complete(&desc->async_tx); in nbpf_chan_tasklet()
1156 if (async_tx_test_ack(&desc->async_tx)) { in nbpf_chan_tasklet()
1164 dmaengine_desc_get_callback(&desc->async_tx, &cb); in nbpf_chan_tasklet()