Lines Matching refs:TX_DESC_COUNT
89 #define TX_DESC_COUNT EQOS_DMA_DESC_COUNT
90 #define TX_DESC_SIZE (TX_DESC_COUNT * DESC_ALIGN)
96 #define TX_SKIP(n, o) (((n) + (o)) % TX_DESC_COUNT)
316 if (sc->sc_tx.queued >= TX_DESC_COUNT - 1)
335 nospace = sc->sc_tx.queued >= TX_DESC_COUNT - nsegs;
584 WR4(sc, GMAC_DMA_CHAN0_TX_RING_LEN, TX_DESC_COUNT - 1);
586 sc->sc_tx.desc_ring_paddr, TX_DESC_COUNT);
959 KASSERT(sc->sc_tx.queued <= TX_DESC_COUNT);
961 i, i + 1, TX_DESC_COUNT,
981 i, i + 1, TX_DESC_COUNT,
1023 if (sc->sc_tx.queued >= TX_DESC_COUNT - TX_MAX_SEGS) {
1057 start, sc->sc_tx.cur, TX_DESC_COUNT,
1378 sc->sc_tx.queued = TX_DESC_COUNT;
1379 for (i = 0; i < TX_DESC_COUNT; i++) {