Home
last modified time | relevance | path

Searched refs:sc_txpending (Results 1 – 7 of 7) sorted by relevance

/openbsd/sys/dev/pci/
H A Dif_stge.c468 opending = sc->sc_txpending; in stge_start()
488 if (sc->sc_txpending == (STGE_NTXDESC - 1)) { in stge_start()
593 sc->sc_txpending++; in stge_start()
605 if (sc->sc_txpending == (STGE_NTXDESC - 1)) { in stge_start()
610 if (sc->sc_txpending != opending) { in stge_start()
637 if (sc->sc_txpending != 0) { in stge_watchdog()
806 for (i = sc->sc_txdirty; sc->sc_txpending != 0; in stge_txintr()
807 i = STGE_NEXTTX(i), sc->sc_txpending--) { in stge_txintr()
831 if (sc->sc_txpending == 0) in stge_txintr()
1109 sc->sc_txpending = 0; in stge_init()
H A Dif_vic.c241 #define VIC_TXURN_WARN(_sc) ((_sc)->sc_txpending >= ((_sc)->sc_ntxbuf - 5))
242 #define VIC_TXURN(_sc) ((_sc)->sc_txpending >= (_sc)->sc_ntxbuf)
297 volatile u_int sc_txpending; member
889 while (sc->sc_txpending > 0) { in vic_tx_proc()
915 sc->sc_txpending--; in vic_tx_proc()
1105 sc->sc_txpending++; in vic_start()
1153 if (sc->sc_txpending && sc->sc_txtimeout > 0) { in vic_watchdog()
1288 while (sc->sc_txpending > 0) { in vic_stop()
H A Dif_stgereg.h555 int sc_txpending; /* number of Tx requests pending */ member
/openbsd/sys/dev/ic/
H A Dsmc83c170.c342 opending = sc->sc_txpending; in epic_start()
350 while (sc->sc_txpending < EPIC_NTXDESC) { in epic_start()
456 sc->sc_txpending++; in epic_start()
468 if (sc->sc_txpending == EPIC_NTXDESC) { in epic_start()
473 if (sc->sc_txpending != opending) { in epic_start()
732 for (i = sc->sc_txdirty; sc->sc_txpending != 0; in epic_intr()
733 i = EPIC_NEXTTX(i), sc->sc_txpending--) { in epic_intr()
772 if (sc->sc_txpending == 0) in epic_intr()
782 if (sc->sc_txpending) in epic_intr()
964 sc->sc_txpending = 0; in epic_init()
H A Daic6915.c347 opending = sc->sc_txpending; in sf_start()
361 while (sc->sc_txpending < (SF_NTXDESC - 1)) { in sf_start()
448 sc->sc_txpending++; in sf_start()
461 if (sc->sc_txpending == (SF_NTXDESC - 1)) { in sf_start()
466 if (sc->sc_txpending != opending) { in sf_start()
687 sc->sc_txpending--; in sf_txintr()
691 KASSERT(sc->sc_txpending >= 0); in sf_txintr()
694 if (sc->sc_txpending == 0) in sf_txintr()
1174 sc->sc_txpending = 0; in sf_stop()
H A Dsmc83c170var.h127 int sc_txpending; /* number of TX requests pending */ member
H A Daic6915.h790 int sc_txpending; /* number of Tx requests pending */ member