Searched refs:TX_DESC_COUNT (Results 1 - 3 of 3) sorted by relevance

/netbsd-current/sys/dev/ic/
H A Ddwc_eqos.c89 #define TX_DESC_COUNT EQOS_DMA_DESC_COUNT macro
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,
[all...]
H A Dbcmgenet.c78 #define TX_DESC_COUNT 256 /* GENET_DMA_DESC_COUNT */ macro
83 #define TX_SKIP(n, o) (((n) + (o)) % TX_DESC_COUNT)
214 if (sc->sc_tx.queued >= TX_DESC_COUNT - 1)
233 nospace = sc->sc_tx.queued >= TX_DESC_COUNT - nsegs;
496 __SHIFTIN(TX_DESC_COUNT, GENET_TX_DMA_RING_BUF_SIZE_DESC_COUNT) |
501 TX_DESC_COUNT * GENET_DMA_DESC_SIZE / 4 - 1);
777 i = sc->sc_tx.cidx % TX_DESC_COUNT;
817 index = sc->sc_tx.pidx % TX_DESC_COUNT;
979 for (i = 0; i < TX_DESC_COUNT; i++) {
/netbsd-current/sys/arch/arm/sunxi/
H A Dsunxi_emac.c78 #define TX_DESC_COUNT 1024 macro
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 79 milliseconds