Searched refs:sc_state (Results 1 - 23 of 23) sorted by relevance

/freebsd-9.3-release/sys/pc98/cbus/
H A Dolpt.c145 short sc_state; member in struct:lpt_softc
387 if (sc->sc_state) {
388 lprintf(("lp: still open %x\n", sc->sc_state));
391 sc->sc_state |= INIT;
397 sc->sc_state = OPEN;
412 sc->sc_state = OPEN;
420 sc->sc_state |= TOUT;
436 if (sc->sc_state & OPEN) {
442 sc->sc_state &= ~TOUT;
444 if (sc->sc_state
[all...]
/freebsd-9.3-release/sys/dev/ppbus/
H A Dlpt.c111 short sc_state; member in struct:lpt_data
206 if (sc->sc_state & HAVEBUS)
211 sc->sc_state |= HAVEBUS;
223 if (sc->sc_state & HAVEBUS) {
226 sc->sc_state &= ~HAVEBUS;
455 if (sc->sc_state & OPEN) {
461 sc->sc_state &= ~TOUT;
463 if (sc->sc_state & EERROR)
464 sc->sc_state &= ~EERROR;
472 sc->sc_state
[all...]
/freebsd-9.3-release/sys/powerpc/powermac/
H A Dcudavar.h88 volatile int sc_state; member in struct:cuda_softc
H A Dcuda.c183 sc->sc_state = CUDA_NOTREADY;
210 sc->sc_state = CUDA_IDLE; /* used by all types of hardware */
362 if (sc->sc_state == CUDA_NOTREADY)
423 if (sc->sc_state == CUDA_IDLE && !cuda_intr_state(sc)) {
424 sc->sc_state = CUDA_OUT;
503 if (sc->sc_state == CUDA_IDLE && !cuda_intr_state(sc) &&
536 switch (sc->sc_state) {
551 sc->sc_state = CUDA_OUT;
565 sc->sc_state = CUDA_IN;
609 sc->sc_state
[all...]
/freebsd-9.3-release/sys/kern/
H A Dsubr_log.c88 int sc_state; /* see above for possibilities */ member in struct:logsoftc
137 logsoftc.sc_state = 0;
248 if ((logsoftc.sc_state & LOG_ASYNC) && logsoftc.sc_sigio != NULL)
272 logsoftc.sc_state |= LOG_ASYNC;
274 logsoftc.sc_state &= ~LOG_ASYNC;
/freebsd-9.3-release/sys/dev/esp/
H A Dncr53c9x.c380 sc->sc_state = 0;
568 sc->sc_state = NCR_CLEANING;
629 NCR_MISC(("[NCR_INIT(%d) %d] ", doreset, sc->sc_state));
631 if (sc->sc_state == 0) {
658 if (sc->sc_state == 0) {
684 sc->sc_state = NCR_SBR;
689 sc->sc_state = NCR_IDLE;
820 sc->sc_state = NCR_SELECTING;
1127 if (sc->sc_state == NCR_IDLE)
1257 if (sc->sc_state !
[all...]
H A Dncr53c9xvar.h344 uint8_t sc_state; /* State applicable to the adapter */ member in struct:ncr53c9x_softc
384 /* values for sc_state */
/freebsd-9.3-release/sys/dev/uart/
H A Duart_kbd_sun.c85 int sc_state; member in struct:sunkbd_softc
626 &sc->sc_state, &sc->sc_accents);
675 sc->sc_state &= ~LOCK_MASK;
676 sc->sc_state |= KBD_LED_VAL(kbd);
721 *(int *)data = sc->sc_state & LOCK_MASK;
734 sc->sc_state &= ~LOCK_MASK;
735 sc->sc_state |= *(int *)data;
771 sc->sc_state &= LOCK_MASK; /* Preserve locking key state. */
/freebsd-9.3-release/sys/dev/adb/
H A Dadb_kbd.c74 int sc_state; member in struct:adb_kbd_softc
300 sc->sc_state = 0;
724 sc->sc_state &= ~LOCK_MASK;
725 sc->sc_state |= KBD_LED_VAL(kbd);
749 sc->sc_state &= ~LOCK_MASK;
750 sc->sc_state |= *(int *)data;
775 *(int *)data = sc->sc_state & LOCK_MASK;
/freebsd-9.3-release/sys/geom/raid3/
H A Dg_raid3.c718 sc->sc_state == G_RAID3_DEVICE_STATE_COMPLETE) {
1177 sc->sc_state == G_RAID3_DEVICE_STATE_COMPLETE) {
1353 sc->sc_state == G_RAID3_DEVICE_STATE_COMPLETE) {
1445 KASSERT(sc != NULL && (sc->sc_state == G_RAID3_DEVICE_STATE_DEGRADED ||
1446 sc->sc_state == G_RAID3_DEVICE_STATE_COMPLETE),
1801 sc->sc_state == G_RAID3_DEVICE_STATE_COMPLETE) {
1810 sc->sc_state == G_RAID3_DEVICE_STATE_COMPLETE) {
2202 KASSERT(sc->sc_state == G_RAID3_DEVICE_STATE_DEGRADED,
2204 sc->sc_state));
2206 sc->sc_name, sc->sc_state));
[all...]
H A Dg_raid3.h197 u_int sc_state; /* Device state. */ member in struct:g_raid3_softc
/freebsd-9.3-release/sys/dev/iir/
H A Diir.c192 gdt->sc_state = GDT_POLLING;
522 gdt->sc_state = GDT_NORMAL;
556 gdt->sc_state |= GDT_POLL_WAIT;
566 gdt->sc_state &= ~GDT_POLL_WAIT;
674 if (gdt->sc_state & GDT_SHUTDOWN)
697 if (!(gdt->sc_state & GDT_POLLING)) {
779 if ((gdt->sc_state & GDT_POLLING) || !next_cmd)
787 if ((gdt->sc_state & GDT_POLLING) && gdt->sc_cmd_cnt > 0) {
901 if ((gdt->sc_state & GDT_SHUTDOWN) && opcode == GDT_WRITE)
1442 gdt->sc_state
[all...]
H A Diir.h605 int sc_state; member in struct:gdt_softc
/freebsd-9.3-release/sys/netinet/
H A Dip_carp.c113 enum { INIT = 0, BACKUP, MASTER } sc_state; member in struct:carp_softc
798 switch (sc->sc_state) {
903 sc->sc_state == MASTER)
1170 (type == CARP_COUNT_MASTER && vh->sc_state == MASTER)) {
1227 if (vh->sc_state ==
1250 vh->sc_state == MASTER) {
1279 vh->sc_state == MASTER) {
1351 vh->sc_state == MASTER &&
1377 switch (sc->sc_state) {
1425 switch (sc->sc_state) {
[all...]
/freebsd-9.3-release/sys/dev/usb/input/
H A Datp.c670 u_int sc_state; member in struct:atp_softc
957 if (sc->sc_state & ATP_ENABLED)
965 sc->sc_state |= ATP_ENABLED;
974 sc->sc_state &= ~(ATP_ENABLED | ATP_VALID);
1002 ((sc->sc_state & ATP_VALID) == 0)) {
1008 sc->sc_state |= ATP_VALID;
1699 sc->sc_state &= ~ATP_DOUBLE_TAP_DRAG;
1796 sc->sc_state &= ~ATP_DOUBLE_TAP_DRAG;
1975 sc->sc_state |= ATP_ZOMBIES_EXIST;
1985 sc->sc_state
[all...]
H A Dukbd.c198 int sc_state; /* shift/lock key state */ member in struct:ukbd_softc
1220 * FIXME: set the initial value for lock keys in "sc_state"
1258 ukbd_ioctl(kbd, KDSETLED, (caddr_t)&sc->sc_state);
1718 &sc->sc_state, &sc->sc_accents);
1776 sc->sc_state &= ~LOCK_MASK;
1777 sc->sc_state |= KBD_LED_VAL(kbd);
1804 /* NOTE: lock key state in "sc_state" won't be changed */
1824 *(int *)arg = sc->sc_state & LOCK_MASK;
1837 sc->sc_state &= ~LOCK_MASK;
1838 sc->sc_state |
[all...]
H A Dwsp.c385 u_int sc_state; member in struct:wsp_softc
510 sc->sc_state |= WSP_ENABLED;
519 sc->sc_state &= ~WSP_ENABLED;
648 if (sc->sc_state & WSP_ENABLED)
1089 if (sc->sc_state & WSP_ENABLED)
/freebsd-9.3-release/sys/dev/usb/wlan/
H A Dif_urtwvar.h111 enum ieee80211_state sc_state; member in struct:urtw_softc
H A Dif_upgtvar.h437 enum ieee80211_state sc_state; member in struct:upgt_softc
H A Dif_upgt.c585 if (sc->sc_state != IEEE80211_S_RUN) {
1073 sc->sc_state = nstate;
1083 (void)upgt_set_macfilter(sc, sc->sc_state);
1095 upgt_set_macfilter(sc, sc->sc_state);
H A Dif_urtw.c1873 sc->sc_state = nstate;
2012 if (sc->sc_state == IEEE80211_S_RUN) {
4399 if (sc->sc_state == IEEE80211_S_ASSOC &&
/freebsd-9.3-release/sys/geom/mirror/
H A Dg_mirror.c1080 KASSERT(sc != NULL && sc->sc_state == G_MIRROR_DEVICE_STATE_RUNNING,
1918 KASSERT(sc->sc_state == G_MIRROR_DEVICE_STATE_RUNNING,
1920 sc->sc_state));
2191 switch (sc->sc_state) {
2365 sc->sc_name, g_mirror_device_state2str(sc->sc_state),
2367 sc->sc_state = state;
2414 sc->sc_name, g_mirror_device_state2str(sc->sc_state)));
2471 if (sc->sc_state == G_MIRROR_DEVICE_STATE_STARTING)
2473 KASSERT(sc->sc_state == G_MIRROR_DEVICE_STATE_RUNNING,
2475 g_mirror_device_state2str(sc->sc_state),
[all...]
H A Dg_mirror.h173 u_int sc_state; /* Device state. */ member in struct:g_mirror_softc

Completed in 285 milliseconds