Home
last modified time | relevance | path

Searched refs:TX_NEXT (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/arm/allwinner/
H A Dif_awg.c86 #define TX_NEXT(n) (((n) + 1) & (TX_DESC_COUNT - 1)) macro
684 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()
/freebsd/sys/dev/sge/
H A Dif_sgereg.h55 #define TX_NEXT 0x0c macro
/freebsd/sys/arm64/broadcom/genet/
H A Dif_genet.c91 #define TX_NEXT(n, count) (((n) + 1) & ((count) - 1)) macro
1189 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()
/freebsd/sys/dev/eqos/
H A Dif_eqos.c83 #define TX_NEXT(n) (((n) + 1 ) % TX_DESC_COUNT) macro
311 sc->tx.head = TX_NEXT(sc->tx.head); in eqos_setup_txbuf()
766 sc->tx.tail = TX_NEXT(sc->tx.tail); in eqos_txintr()