Lines Matching defs:tail
172 * Reset our notion of head and tail.
533 u16 tail;
564 tail = ppd->sdma_descq_tail;
565 descqp = &ppd->sdma_descq[tail].qw[0];
569 /* increment the tail */
570 if (++tail == ppd->sdma_descq_cnt) {
571 tail = 0;
576 tx->txreq.start_idx = tail;
603 /* increment the tail */
604 if (++tail == ppd->sdma_descq_cnt) {
605 tail = 0;
631 if (!tail)
641 tx->txreq.next_descq_idx = tail;
642 ppd->dd->f_sdma_update_tail(ppd, tail);
649 if (!tail)
650 tail = ppd->sdma_descq_cnt - 1;
652 tail--;
653 if (tail == ppd->sdma_descq_tail)
655 unmap_desc(ppd, tail);