/* ppc440spe_adma_free_slots - flags descriptor slots for reuse @slot: Slot to free Caller must hold &ppc440spe_chan->lock while calling this function  */
static void ppc440spe_adma_free_slots(struct ppc440spe_adma_desc_slot *slot, struct ppc440spe_adma_chan *chan)
/* ppc440spe_adma_free_slots - flags descriptor slots for reuse @slot: Slot to free Caller must hold &ppc440spe_chan->lock while calling this function  */
static void ppc440spe_adma_free_slots(struct ppc440spe_adma_desc_slot *slot, struct ppc440spe_adma_chan *chan)
{
	int stride = slot->slots_per_op;
	while (stride--) {
		slot->slots_per_op = 0;
		slot = list_entry(slot->slot_node.next,
				struct ppc440spe_adma_desc_slot,
				slot_node);
	}
}