Lines Matching refs:async_tx
152 struct dma_async_tx_descriptor async_tx; member
637 running = chan->running ? chan->running->async_tx.cookie : -EINVAL; in nbpf_tx_status()
648 if (desc->async_tx.cookie == cookie) { in nbpf_tx_status()
655 if (desc->async_tx.cookie == cookie) { in nbpf_tx_status()
675 struct nbpf_desc *desc = container_of(tx, struct nbpf_desc, async_tx); in nbpf_tx_submit()
723 dma_async_tx_descriptor_init(&desc->async_tx, dchan); in nbpf_desc_page_alloc()
724 desc->async_tx.tx_submit = nbpf_tx_submit; in nbpf_desc_page_alloc()
765 if (async_tx_test_ack(&desc->async_tx) && desc->user_wait) { in nbpf_scan_acked()
858 __func__, desc, desc->async_tx.cookie); in nbpf_chan_idle()
956 desc->async_tx.flags = flags; in nbpf_prep_sg()
957 desc->async_tx.cookie = -EBUSY; in nbpf_prep_sg()
986 return &desc->async_tx; in nbpf_prep_sg()
1132 } else if (async_tx_test_ack(&desc->async_tx)) { in nbpf_chan_tasklet()
1154 dma_cookie_complete(&desc->async_tx); in nbpf_chan_tasklet()
1160 if (async_tx_test_ack(&desc->async_tx)) { in nbpf_chan_tasklet()
1168 dmaengine_desc_get_callback(&desc->async_tx, &cb); in nbpf_chan_tasklet()