/freebsd-9.3-release/sys/pc98/cbus/ |
H A D | olpt.c | 145 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 D | lpt.c | 111 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 D | cudavar.h | 88 volatile int sc_state; member in struct:cuda_softc
|
H A D | cuda.c | 183 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 D | subr_log.c | 88 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 D | ncr53c9x.c | 380 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 D | ncr53c9xvar.h | 344 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 D | uart_kbd_sun.c | 85 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 D | adb_kbd.c | 74 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 D | g_raid3.c | 718 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 D | g_raid3.h | 197 u_int sc_state; /* Device state. */ member in struct:g_raid3_softc
|
/freebsd-9.3-release/sys/dev/iir/ |
H A D | iir.c | 192 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 D | iir.h | 605 int sc_state; member in struct:gdt_softc
|
/freebsd-9.3-release/sys/netinet/ |
H A D | ip_carp.c | 113 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 D | atp.c | 670 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 D | ukbd.c | 198 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 D | wsp.c | 385 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 D | if_urtwvar.h | 111 enum ieee80211_state sc_state; member in struct:urtw_softc
|
H A D | if_upgtvar.h | 437 enum ieee80211_state sc_state; member in struct:upgt_softc
|
H A D | if_upgt.c | 585 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 D | if_urtw.c | 1873 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 D | g_mirror.c | 1080 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 D | g_mirror.h | 173 u_int sc_state; /* Device state. */ member in struct:g_mirror_softc
|