Home
last modified time | relevance | path

Searched refs:TX_QLEN (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/sys/arch/arm/ep93xx/
H A Depe.c163 CTRLPAGE_DMASYNC(TX_QLEN * 2 * sizeof(uint32_t), in epe_gctx()
164 TX_QLEN * sizeof(uint32_t), BUS_DMASYNC_PREREAD); in epe_gctx()
180 tbi = (tbi + 1) % TX_QLEN; in epe_gctx()
185 if (sc->TXStsQ_cur >= sc->TXStsQ + TX_QLEN) { in epe_gctx()
210 CTRLPAGE_DMASYNC(TX_QLEN * 3 * sizeof(uint32_t), in epe_intr()
256 CTRLPAGE_DMASYNC(TX_QLEN * 3 * sizeof(uint32_t), in epe_intr()
335 sc->TXDQ_avail = TX_QLEN - 1; in epe_init()
336 sc->TXStsQ = &sc->TXDQ[TX_QLEN * 2]; in epe_init()
338 sc->RXDQ = &sc->TXStsQ[TX_QLEN]; in epe_init()
348 EPE_WRITE(TXDQBLen, TX_QLEN * 2 * sizeof(uint32_t)); in epe_init()
[all …]
H A Depevar.h32 #define TX_QLEN 16 macro
61 struct epe_qmeta txq[TX_QLEN];
/netbsd-src/sys/arch/arm/at91/
H A Dat91emacvar.h39 #define TX_QLEN 2 /* I'm very sorry but that's where we can get */ macro
64 struct emac_qmeta txq[TX_QLEN];
H A Dat91emac.c192 int i = sc->txqi % TX_QLEN; in emac_gctx()
200 sc->txqi = (i + 1) % TX_QLEN; in emac_gctx()
441 for (i = 0; i < TX_QLEN; i++) { in emac_init()
628 bi = (sc->txqi + sc->txqc) % TX_QLEN; in emac_ifstart()
673 if (sc->txqc > TX_QLEN) { in emac_ifstart()
674 panic("%s: txqc %i > %i", __FUNCTION__, sc->txqc, TX_QLEN); in emac_ifstart()
/netbsd-src/sys/dev/cadence/
H A Dif_cemac.c225 int bi = sc->txqi % TX_QLEN;
239 sc->txqi = (bi + 1) % TX_QLEN; in cemac_gctx()
529 sc->tbqlen = roundup(ETH_DSC_SIZE * (TX_QLEN + 1) * 2, PAGE_SIZE); in cemac_init()
564 for (i = 0; i < TX_QLEN; i++) { in cemac_init()
567 (i == (TX_QLEN - 1) ? ETH_TDSC_I_WRAP : 0); in cemac_init()
601 for (i = 0; i < TX_QLEN; i++) { in cemac_init()
897 bi = (sc->txqi + sc->txqc) % TX_QLEN; in cemac_ifinit()
943 if (sc->txqc > TX_QLEN) in cemac_ifstop()
944 panic("%s: txqc %i > %i", __FUNCTION__, sc->txqc, TX_QLEN); in cemac_ifstop()
955 (bi == (TX_QLEN in cemac_ifstop()
97 #define TX_QLEN global() macro
[all...]