Searched refs:TX_NEXT (Results 1 – 4 of 4) sorted by relevance
86 #define TX_NEXT(n) (((n) + 1) & (TX_DESC_COUNT - 1)) macro684 cur = TX_NEXT(cur); in awg_encap()829 htole32(sc->tx.desc_ring_paddr + DESC_OFF(TX_NEXT(i))); in awg_setup_dma()1068 for (i = sc->tx.next; sc->tx.queued > 0; i = TX_NEXT(i)) { in awg_stop()1075 for (; sc->tx.queued > 0; i = TX_NEXT(i)) { in awg_stop()1292 for (i = sc->tx.next; sc->tx.queued > 0; i = TX_NEXT(i)) { in awg_txeof()
55 #define TX_NEXT 0x0c macro
91 #define TX_NEXT(n, count) (((n) + 1) & ((count) - 1)) macro1189 cur = TX_NEXT(cur, q->nentries); in gen_encap()1190 index = TX_NEXT(index, q->nentries); in gen_encap()1469 i = TX_NEXT(i, q->nentries), total--) { in gen_txintr()
83 #define TX_NEXT(n) (((n) + 1 ) % TX_DESC_COUNT) macro311 sc->tx.head = TX_NEXT(sc->tx.head); in eqos_setup_txbuf()766 sc->tx.tail = TX_NEXT(sc->tx.tail); in eqos_txintr()