HomeSort by: relevance | last modified time | path
    Searched defs:TX_DESC_COUNT (Results 1 - 3 of 3) sorted by relevancy

  /src/sys/dev/ic/
bcmgenet.c 70 #define TX_DESC_COUNT 256 /* GENET_DMA_DESC_COUNT */
75 #define TX_SKIP(n, o) (((n) + (o)) % TX_DESC_COUNT)
205 if (sc->sc_tx.queued >= TX_DESC_COUNT - 1)
224 nospace = sc->sc_tx.queued >= TX_DESC_COUNT - nsegs;
482 __SHIFTIN(TX_DESC_COUNT, GENET_TX_DMA_RING_BUF_SIZE_DESC_COUNT) |
487 TX_DESC_COUNT * GENET_DMA_DESC_SIZE / 4 - 1);
683 for (i=0; i<TX_DESC_COUNT; ++i)
800 i = sc->sc_tx.cidx % TX_DESC_COUNT;
829 index = sc->sc_tx.pidx % TX_DESC_COUNT;
836 if (sc->sc_tx.queued >= TX_DESC_COUNT - 1
    [all...]
dwc_eqos.c 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;
583 WR4(sc, GMAC_DMA_CHAN0_TX_RING_LEN, TX_DESC_COUNT - 1);
585 sc->sc_tx.desc_ring_paddr, TX_DESC_COUNT);
958 KASSERT(sc->sc_tx.queued <= TX_DESC_COUNT);
960 i, i + 1, TX_DESC_COUNT,
980 i, i + 1, TX_DESC_COUNT,
    [all...]
  /src/sys/arch/arm/sunxi/
sunxi_emac.c 78 #define TX_DESC_COUNT 1024
79 #define TX_DESC_SIZE (sizeof(struct sunxi_emac_desc) * TX_DESC_COUNT)
84 #define TX_NEXT(n) (((n) + 1) & (TX_DESC_COUNT - 1))
85 #define TX_SKIP(n, o) (((n) + (o)) & (TX_DESC_COUNT - 1))
155 struct sunxi_emac_bufmap buf_map[TX_DESC_COUNT];
454 if (sc->tx.queued >= TX_DESC_COUNT - TX_MAX_SEGS) {
483 start, sc->tx.cur, TX_DESC_COUNT,
862 KASSERT(sc->tx.queued > 0 && sc->tx.queued <= TX_DESC_COUNT);
864 i, i + 1, TX_DESC_COUNT,
882 i, i + 1, TX_DESC_COUNT,
    [all...]

Completed in 15 milliseconds