Searched refs:sc_count (Results 1 - 5 of 5) sorted by relevance

/freebsd-11.0-release/sys/i386/isa/
H A Dspic.c114 int sc_count; member in struct:spic_softc
380 sc->sc_buf[sc->sc_count++] =
386 sc->sc_buf[sc->sc_count++] =
391 sc->sc_buf[sc->sc_count++] =
403 sc->sc_buf[sc->sc_count++] =
409 sc->sc_buf[sc->sc_count++] =
414 sc->sc_buf[sc->sc_count++] =
438 if (sc->sc_count) {
464 sc->sc_count=0;
500 while (!(sc->sc_count)) {
[all...]
/freebsd-11.0-release/sys/dev/etherswitch/
H A Detherswitch.c52 int sc_count; member in struct:etherswitch_softc
154 if (sc->sc_count > 0) {
159 sc->sc_count++;
171 if (sc->sc_count == 0) {
176 sc->sc_count--;
178 if (sc->sc_count < 0)
/freebsd-11.0-release/sys/dev/smbus/
H A Dsmb.c48 int sc_count; /* >0 if device opened */ member in struct:smb_softc
145 if (sc->sc_count != 0) {
150 sc->sc_count++;
162 KASSERT(sc->sc_count == 1, ("device not busy"));
163 sc->sc_count--;
/freebsd-11.0-release/sys/net/
H A Dif_lagg.h226 u_int sc_count; /* number of ports */ member in struct:lagg_softc
H A Dif_lagg.c736 if (sc->sc_count >= LAGG_MAX_PORTS)
831 sc->sc_count++;
915 sc->sc_count--;
1679 if (sc->sc_proto == LAGG_PROTO_NONE || sc->sc_count == 0) {
1865 (sc->sc_count > 1))
1911 p %= sc->sc_count;
2126 p %= sc->sc_count;

Completed in 106 milliseconds