Lines Matching refs:last
76 dreq->chain.last = NULL; in mv_cesa_dma_cleanup()
99 if (engine->chain.first == NULL && engine->chain.last == NULL) { in mv_cesa_tdma_chain()
101 engine->chain.last = dreq->chain.last; in mv_cesa_tdma_chain()
103 struct mv_cesa_tdma_desc *last; in mv_cesa_tdma_chain() local
105 last = engine->chain.last; in mv_cesa_tdma_chain()
106 last->next = dreq->chain.first; in mv_cesa_tdma_chain()
107 engine->chain.last = dreq->chain.last; in mv_cesa_tdma_chain()
115 if (!(last->flags & CESA_TDMA_BREAK_CHAIN) && in mv_cesa_tdma_chain()
117 last->next_dma = cpu_to_le32(dreq->chain.first->cur_dma); in mv_cesa_tdma_chain()
157 engine->chain.last = NULL; in mv_cesa_tdma_process()
203 if (chain->last) { in mv_cesa_dma_add_desc()
204 chain->last->next_dma = cpu_to_le32(dma_handle); in mv_cesa_dma_add_desc()
205 chain->last->next = new_tdma; in mv_cesa_dma_add_desc()
210 chain->last = new_tdma; in mv_cesa_dma_add_desc()
271 tdma = chain->last; in mv_cesa_dma_add_op()