• Home
  • Raw
  • Download

Lines Matching refs:first

448 	struct mmp_pdma_desc_sw *first = NULL, *prev = NULL, *new;  in mmp_pdma_prep_memcpy()  local
482 if (!first) in mmp_pdma_prep_memcpy()
483 first = new; in mmp_pdma_prep_memcpy()
503 list_add_tail(&new->node, &first->tx_list); in mmp_pdma_prep_memcpy()
506 first->async_tx.flags = flags; /* client is in control of this ack */ in mmp_pdma_prep_memcpy()
507 first->async_tx.cookie = -EBUSY; in mmp_pdma_prep_memcpy()
515 return &first->async_tx; in mmp_pdma_prep_memcpy()
518 if (first) in mmp_pdma_prep_memcpy()
519 mmp_pdma_free_desc_list(chan, &first->tx_list); in mmp_pdma_prep_memcpy()
529 struct mmp_pdma_desc_sw *first = NULL, *prev = NULL, *new = NULL; in mmp_pdma_prep_slave_sg() local
565 if (!first) in mmp_pdma_prep_slave_sg()
566 first = new; in mmp_pdma_prep_slave_sg()
575 list_add_tail(&new->node, &first->tx_list); in mmp_pdma_prep_slave_sg()
583 first->async_tx.cookie = -EBUSY; in mmp_pdma_prep_slave_sg()
584 first->async_tx.flags = flags; in mmp_pdma_prep_slave_sg()
593 return &first->async_tx; in mmp_pdma_prep_slave_sg()
596 if (first) in mmp_pdma_prep_slave_sg()
597 mmp_pdma_free_desc_list(chan, &first->tx_list); in mmp_pdma_prep_slave_sg()
608 struct mmp_pdma_desc_sw *first = NULL, *prev = NULL, *new; in mmp_pdma_prep_dma_cyclic() local
652 if (!first) in mmp_pdma_prep_dma_cyclic()
653 first = new; in mmp_pdma_prep_dma_cyclic()
669 list_add_tail(&new->node, &first->tx_list); in mmp_pdma_prep_dma_cyclic()
672 first->async_tx.flags = flags; /* client is in control of this ack */ in mmp_pdma_prep_dma_cyclic()
673 first->async_tx.cookie = -EBUSY; in mmp_pdma_prep_dma_cyclic()
676 new->desc.ddadr = first->async_tx.phys; in mmp_pdma_prep_dma_cyclic()
677 chan->cyclic_first = first; in mmp_pdma_prep_dma_cyclic()
679 return &first->async_tx; in mmp_pdma_prep_dma_cyclic()
682 if (first) in mmp_pdma_prep_dma_cyclic()
683 mmp_pdma_free_desc_list(chan, &first->tx_list); in mmp_pdma_prep_dma_cyclic()