• Home
  • Raw
  • Download

Lines Matching refs:async_tx

84 	struct dma_async_tx_descriptor async_tx;  member
132 container_of(tx, struct mmp_pdma_desc_sw, async_tx)
333 set_desc(chan->phy, desc->async_tx.phys); in start_pending_queue()
351 cookie = dma_cookie_assign(&child->async_tx); in mmp_pdma_tx_submit()
375 dma_async_tx_descriptor_init(&desc->async_tx, &chan->chan); in mmp_pdma_alloc_descriptor()
377 desc->async_tx.tx_submit = mmp_pdma_tx_submit; in mmp_pdma_alloc_descriptor()
378 desc->async_tx.phys = pdesc; in mmp_pdma_alloc_descriptor()
421 dma_pool_free(chan->desc_pool, desc, desc->async_tx.phys); in mmp_pdma_free_desc_list()
486 prev->desc.ddadr = new->async_tx.phys; in mmp_pdma_prep_memcpy()
488 new->async_tx.cookie = 0; in mmp_pdma_prep_memcpy()
489 async_tx_ack(&new->async_tx); in mmp_pdma_prep_memcpy()
507 first->async_tx.flags = flags; /* client is in control of this ack */ in mmp_pdma_prep_memcpy()
508 first->async_tx.cookie = -EBUSY; in mmp_pdma_prep_memcpy()
516 return &first->async_tx; in mmp_pdma_prep_memcpy()
571 prev->desc.ddadr = new->async_tx.phys; in mmp_pdma_prep_slave_sg()
573 new->async_tx.cookie = 0; in mmp_pdma_prep_slave_sg()
574 async_tx_ack(&new->async_tx); in mmp_pdma_prep_slave_sg()
586 first->async_tx.cookie = -EBUSY; in mmp_pdma_prep_slave_sg()
587 first->async_tx.flags = flags; in mmp_pdma_prep_slave_sg()
596 return &first->async_tx; in mmp_pdma_prep_slave_sg()
659 prev->desc.ddadr = new->async_tx.phys; in mmp_pdma_prep_dma_cyclic()
661 new->async_tx.cookie = 0; in mmp_pdma_prep_dma_cyclic()
662 async_tx_ack(&new->async_tx); in mmp_pdma_prep_dma_cyclic()
676 first->async_tx.flags = flags; /* client is in control of this ack */ in mmp_pdma_prep_dma_cyclic()
677 first->async_tx.cookie = -EBUSY; in mmp_pdma_prep_dma_cyclic()
680 new->desc.ddadr = first->async_tx.phys; in mmp_pdma_prep_dma_cyclic()
683 return &first->async_tx; in mmp_pdma_prep_dma_cyclic()
824 if (sw->async_tx.cookie == cookie) { in mmp_pdma_residue()
880 dmaengine_desc_get_callback(&desc->async_tx, &cb); in dma_do_tasklet()
904 dma_cookie_t cookie = desc->async_tx.cookie; in dma_do_tasklet()
905 dma_cookie_complete(&desc->async_tx); in dma_do_tasklet()
923 struct dma_async_tx_descriptor *txd = &desc->async_tx; in dma_do_tasklet()