Home
last modified time | relevance | path

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

/netbsd/src/sys/dev/pci/
Dif_kse.c254 int sc_txsfree; /* number of free Tx jobs */ member
736 sc->sc_txsfree = KSE_TXQUEUELEN; in kse_init()
900 sc->sc_txfree, sc->sc_txsfree, sc->sc_txnext); in kse_watchdog()
939 if (sc->sc_txsfree < KSE_TXQUEUE_GC) { in kse_start()
941 if (sc->sc_txsfree == 0) in kse_start()
1036 sc->sc_txsfree--; in kse_start()
1044 if (sc->sc_txsfree == 0 || sc->sc_txfree == 0) { in kse_start()
1297 for (i = sc->sc_txsdirty; sc->sc_txsfree != KSE_TXQUEUELEN; in txreap()
1298 i = KSE_NEXTTXS(i), sc->sc_txsfree++) { in txreap()
1321 if (sc->sc_txsfree == KSE_TXQUEUELEN) in txreap()
Dif_dge.c310 int sc_txsfree; /* number of free Tx jobs */ member
1213 if (sc->sc_txsfree < DGE_TXQUEUE_GC) {
1215 if (sc->sc_txsfree == 0) {
1386 sc->sc_txsfree--;
1393 if (sc->sc_txsfree == 0 || sc->sc_txfree <= 2) {
1422 device_xname(sc->sc_dev), sc->sc_txfree, sc->sc_txsfree,
1598 for (i = sc->sc_txsdirty; sc->sc_txsfree != DGE_TXQUEUELEN;
1599 i = DGE_NEXTTXS(i), sc->sc_txsfree++) {
1639 if (sc->sc_txsfree == DGE_TXQUEUELEN)
1941 sc->sc_txsfree = DGE_TXQUEUELEN;
Dif_pcn.c300 int sc_txsfree; /* number of free Tx jobs */ member
935 while (sc->sc_txsfree != 0) { in pcn_start()
1113 sc->sc_txsfree--; in pcn_start()
1144 device_xname(sc->sc_dev), sc->sc_txfree, sc->sc_txsfree); in pcn_watchdog()
1310 for (i = sc->sc_txsdirty; sc->sc_txsfree != PCN_TXQUEUELEN; in pcn_txintr()
1311 i = PCN_NEXTTXS(i), sc->sc_txsfree++) { in pcn_txintr()
1391 if (sc->sc_txsfree == PCN_TXQUEUELEN) in pcn_txintr()
1629 sc->sc_txsfree = PCN_TXQUEUELEN; in pcn_init()
/netbsd/src/sys/arch/powerpc/ibm4xx/dev/
Dif_emac.c209 int sc_txsfree; /* number of free Tx jobs */ member
697 if (sc->sc_txsfree < EMAC_TXQUEUE_GC) { in emac_start()
699 if (sc->sc_txsfree == 0) { in emac_start()
824 sc->sc_txsfree--; in emac_start()
921 sc->sc_txsfree = EMAC_TXQUEUELEN; in emac_init()
1115 sc->sc_txfree, sc->sc_txsfree, sc->sc_txnext); in emac_watchdog()
1270 for (i = sc->sc_txsdirty; sc->sc_txsfree != EMAC_TXQUEUELEN; in emac_txreap()
1271 i = EMAC_NEXTTXS(i), sc->sc_txsfree++) { in emac_txreap()
1333 if (sc->sc_txsfree == EMAC_TXQUEUELEN) in emac_txreap()
/netbsd/src/sys/arch/evbppc/virtex/dev/
Dif_temac.c180 int sc_txsfree; member
609 sc->sc_txsfree = TEMAC_TXQLEN; in temac_init()
674 KASSERT(sc->sc_txsfree >= 0); in temac_start()
686 while (sc->sc_txsfree) { in temac_start()
757 sc->sc_txsfree--; in temac_start()
1013 while (sc->sc_txsfree != TEMAC_TXQLEN) { in temac_txreap()
1027 sc->sc_txsfree++; in temac_txreap()