Lines Matching refs:new

327  * pausing the channel, after which a new assertion of DREQ# resumes channel
549 struct fsl_desc_sw *new;
556 new = fsl_dma_alloc_descriptor(chan);
557 if (!new) {
562 new->async_tx.cookie = -EBUSY;
563 new->async_tx.flags = flags;
566 list_add_tail(&new->node, &new->tx_list);
568 /* Set End-of-link to the last link descriptor of new list */
569 set_ld_eol(chan, new);
571 return &new->async_tx;
580 struct fsl_desc_sw *first = NULL, *prev = NULL, *new;
594 new = fsl_dma_alloc_descriptor(chan);
595 if (!new) {
602 set_desc_cnt(chan, &new->hw, copy);
603 set_desc_src(chan, &new->hw, dma_src);
604 set_desc_dst(chan, &new->hw, dma_dst);
607 first = new;
609 set_desc_next(chan, &prev->hw, new->async_tx.phys);
611 new->async_tx.cookie = 0;
612 async_tx_ack(&new->async_tx);
614 prev = new;
620 list_add_tail(&new->node, &first->tx_list);
623 new->async_tx.flags = flags; /* client is in control of this ack */
624 new->async_tx.cookie = -EBUSY;
626 /* Set End-of-link to the last link descriptor of new list */
627 set_ld_eol(chan, new);
644 struct fsl_desc_sw *first = NULL, *prev = NULL, *new = NULL;
679 new = fsl_dma_alloc_descriptor(chan);
680 if (!new) {
685 set_desc_cnt(chan, &new->hw, len);
686 set_desc_src(chan, &new->hw, src);
687 set_desc_dst(chan, &new->hw, dst);
690 first = new;
692 set_desc_next(chan, &prev->hw, new->async_tx.phys);
694 new->async_tx.cookie = 0;
695 async_tx_ack(&new->async_tx);
696 prev = new;
699 list_add_tail(&new->node, &first->tx_list);
739 new->async_tx.flags = flags; /* client is in control of this ack */
740 new->async_tx.cookie = -EBUSY;
742 /* Set End-of-link to the last link descriptor of new list */
743 set_ld_eol(chan, new);
1056 * transaction. It will start a new transaction if there is