/src/sys/arch/x68k/dev/ |
kbd.c | 72 struct evvar sc_events; /* event queue state */ member in struct:kbd_softc 151 sc->sc_events.ev_io = 0; 200 if (k->sc_events.ev_io) 202 k->sc_events.ev_io = l->l_proc; 203 ev_init(&k->sc_events, device_xname(k->sc_dev), &k->sc_lock); 215 ev_fini(&k->sc_events); 216 k->sc_events.ev_io = NULL; 227 return ev_read(&k->sc_events, uio, flags); 284 k->sc_events.ev_async = *(int *)data != 0; 288 if (-*(int *)data != k->sc_events.ev_io->p_pgi [all...] |
/src/sys/arch/atari/dev/ |
kbd.c | 85 struct evvar sc_events; /* event queue state */ member in struct:kbd_softc 306 sc->sc_events.ev_io = 0; 316 if (sc->sc_events.ev_io) 319 sc->sc_events.ev_io = l->l_proc; 320 ev_init(&sc->sc_events); 331 ev_fini(&sc->sc_events); 332 sc->sc_events.ev_io = NULL; 341 return ev_read(&sc->sc_events, uio, flags); 379 sc->sc_events.ev_async = *(int *)data != 0; 383 if (-*(int *)data != sc->sc_events.ev_io->p_pgid & [all...] |
/src/sys/dev/cardbus/ |
cardslotvar.h | 67 SIMPLEQ_HEAD(, cardslot_event) sc_events;
|
cardslot.c | 130 SIMPLEQ_INIT(&sc->sc_events); 207 if (!SIMPLEQ_EMPTY(&sc->sc_events)) 288 SIMPLEQ_INSERT_TAIL(&sc->sc_events, ce, ce_q); 317 if ((ce = SIMPLEQ_FIRST(&sc->sc_events)) == NULL) { 327 SIMPLEQ_REMOVE_HEAD(&sc->sc_events, ce_q); 334 if ((ce1 = SIMPLEQ_FIRST(&sc->sc_events)) == NULL) { 344 SIMPLEQ_REMOVE_HEAD(&sc->sc_events, 347 SIMPLEQ_REMOVE_HEAD(&sc->sc_events,
|
/src/sys/arch/sparc/dev/ |
ts102.c | 146 uint32_t sc_events; /* sockets with pending events */ member in struct:tslot_softc 353 sc->sc_events = 0; 762 if ((socket = ffs(sc->sc_events)) == 0) { 764 tsleep(&sc->sc_events, PWAIT, "tslot_event", hz * 30); 768 sc->sc_events &= ~(1 << socket); 868 sc->sc_events |= (1 << slot); 870 wakeup(&sc->sc_events); 915 if (sc->sc_events & (1 << td->td_slot)) 917 TSPRINTF("ev: %d\n", sc->sc_events);
|
tctrl.c | 175 uint32_t sc_events; member in struct:tctrl_softc 333 sc->sc_events = 0; 1460 tsleep(&sc->sc_events, PWAIT, "probe_disk", hz); 1477 tsleep(&sc->sc_events, PWAIT, "tctrl_event", ticks);
|
/src/sys/dev/scsipi/ |
ch.c | 67 u_int sc_events; /* event bitmask */ member in struct:ch_softc 327 sc->sc_events = 0; 346 error = uiomove(&sc->sc_events, CHANGER_EVENT_SIZE, uio); 348 sc->sc_events = 0; 463 if (sc->sc_events == 0) 484 if (sc->sc_events == 0) 577 sc->sc_events |= event;
|
/src/sys/dev/hyperv/ |
vmbusvar.h | 200 void *sc_events; member in struct:vmbus_softc
|
vmbus.c | 363 sc->sc_events = hyperv_dma_alloc(sc->sc_dmat, &sc->sc_events_dma, 365 if (sc->sc_events == NULL) 367 sc->sc_wevents = (u_long *)sc->sc_events; 368 sc->sc_revents = (u_long *)((uint8_t *)sc->sc_events + (PAGE_SIZE / 2)); 387 if (sc->sc_events != NULL) { 388 sc->sc_events = sc->sc_wevents = sc->sc_revents = NULL;
|