Lines Matching refs:txb_count
430 if_statadd(ifp, if_oerrors, sc->txb_sched + sc->txb_count);
468 sc->txb_count = 0;
621 sc->sc_ec.ec_if.if_timer = 1 + sc->txb_count;
624 sc->txb_sched = sc->txb_count;
625 sc->txb_count = 0;
654 if ((sc->txb_count == 0) != (sc->txb_free == sc->txb_size)) {
656 * Txb_count and txb_free co-works to manage the
657 * transmission buffer. Txb_count keeps track of the
660 * txb_count is zero if and only if txb_free is same
664 device_xname(sc->sc_dev), sc->txb_count, sc->txb_free);
668 * We now know txb_count and txb_free contradicts. We
674 * If txb_count is incorrect, leaving it as is will cause
676 * avoid it. Hence, we reset the txb_count here. If
677 * txb_free was incorrect, resetting txb_count just lose
680 sc->txb_count = 0;
689 if ((sc->txb_count > 0) && (sc->txb_sched == 0)) {
691 device_xname(sc->sc_dev), sc->txb_count);
720 * test on txb_count against QUEUEING_MAX.
734 if (sc->txb_count > 0) {
924 if (sc->txb_count > 0)
1130 sc->txb_count == 0 && sc->txb_sched == 0) {
1426 sc->txb_count++;
1669 if (sc->txb_sched == 0 && sc->txb_count == 0 &&