Lines Matching defs:active
143 * @active: flattened chain of descriptors currently being processed
153 * will have slightly different scheme here: @active points to a head of
157 * descriptor in the chain. When a descriptor is moved to the @active queue,
178 struct list_head active;
193 * @hw_submit: pushes active descriptor(s) to the hardware
230 * ep93xx_dma_set_active - set new active descriptor chain
232 * @desc: head of the new active descriptor chain
234 * Sets @desc to be the head of the new active descriptor chain. This is the
235 * chain which is processed next. The active list must be empty before calling
243 BUG_ON(!list_empty(&edmac->active));
245 list_add_tail(&desc->node, &edmac->active);
247 /* Flatten the @desc->tx_list chain into @edmac->active list */
261 list_move_tail(&d->node, &edmac->active);
269 return list_first_entry_or_null(&edmac->active,
274 * ep93xx_dma_advance_active - advances to the next active descriptor
277 * Function advances active descriptor to the next in the @edmac->active and
289 list_rotate_left(&edmac->active);
732 if (!list_empty(&edmac->active) || list_empty(&edmac->queue)) {
758 * If dma_terminate_all() was called before we get to run, the active
768 list_splice_init(&edmac->active, &list);
797 "got interrupt while active list is empty\n");
848 if (list_empty(&edmac->active)) {
958 BUG_ON(!list_empty(&edmac->active));
1217 list_splice_init(&edmac->active, &list);
1353 INIT_LIST_HEAD(&edmac->active);