Lines Matching refs:async_tx
154 struct dma_async_tx_descriptor async_tx; member
606 running = chan->running ? chan->running->async_tx.cookie : -EINVAL; in nbpf_tx_status()
617 if (desc->async_tx.cookie == cookie) { in nbpf_tx_status()
624 if (desc->async_tx.cookie == cookie) { in nbpf_tx_status()
644 struct nbpf_desc *desc = container_of(tx, struct nbpf_desc, async_tx); in nbpf_tx_submit()
692 dma_async_tx_descriptor_init(&desc->async_tx, dchan); in nbpf_desc_page_alloc()
693 desc->async_tx.tx_submit = nbpf_tx_submit; in nbpf_desc_page_alloc()
734 if (async_tx_test_ack(&desc->async_tx) && desc->user_wait) { in nbpf_scan_acked()
827 __func__, desc, desc->async_tx.cookie); in nbpf_chan_idle()
925 desc->async_tx.flags = flags; in nbpf_prep_sg()
926 desc->async_tx.cookie = -EBUSY; in nbpf_prep_sg()
955 return &desc->async_tx; in nbpf_prep_sg()
1117 } else if (async_tx_test_ack(&desc->async_tx)) { in nbpf_chan_tasklet()
1139 dma_cookie_complete(&desc->async_tx); in nbpf_chan_tasklet()
1145 if (async_tx_test_ack(&desc->async_tx)) { in nbpf_chan_tasklet()
1153 callback = desc->async_tx.callback; in nbpf_chan_tasklet()
1154 param = desc->async_tx.callback_param; in nbpf_chan_tasklet()