Lines Matching refs:last
76 dreq->chain.last = NULL;
99 if (engine->chain.first == NULL && engine->chain.last == NULL) {
101 engine->chain.last = dreq->chain.last;
103 struct mv_cesa_tdma_desc *last;
105 last = engine->chain.last;
106 last->next = dreq->chain.first;
107 engine->chain.last = dreq->chain.last;
111 * the last element of the current chain, or if the request
115 if (!(last->flags & CESA_TDMA_BREAK_CHAIN) &&
117 last->next_dma = cpu_to_le32(dreq->chain.first->cur_dma);
155 /* If this is the last request, clear the chain */
157 engine->chain.last = NULL;
179 * Save the last request in error to engine->req, so that the core
203 if (chain->last) {
204 chain->last->next_dma = cpu_to_le32(dma_handle);
205 chain->last->next = new_tdma;
210 chain->last = new_tdma;
271 tdma = chain->last;