event             134 bsp/drv/dev/base/pm.c 	int policy, state, event;
event             149 bsp/drv/dev/base/pm.c 		event = sc->lastevt;
event             151 bsp/drv/dev/base/pm.c 		if (copyout(&event, arg, sizeof(int)))
event             153 bsp/drv/dev/base/pm.c 		DPRINTF(("pm: query event=%d\n", event));
event             425 bsp/drv/dev/base/pm.c pm_notify(int event)
event             430 bsp/drv/dev/base/pm.c 	if (event == PME_USER_ACTIVITY) {
event             443 bsp/drv/dev/base/pm.c 	DPRINTF(("pm: notify %d\n", event));
event             449 bsp/drv/dev/base/pm.c 		switch (event) {
event             458 bsp/drv/dev/base/pm.c 			sc->lastevt = event;
event             459 bsp/drv/dev/base/pm.c 			DPRINTF(("pm: post %d\n", event));
event             472 bsp/drv/dev/base/pm.c 		switch (event) {
event              62 bsp/drv/include/ddi.h 	struct event iocomp;	/* I/O completion event */
event              69 bsp/drv/include/dki.h struct event {
event              74 bsp/drv/include/dki.h #define event_init(event, evt_name) \
event              75 bsp/drv/include/dki.h     do { list_init(&(event)->sleepq); (event)->name = evt_name; } while (0)
event             140 bsp/drv/include/dki.h int	 sched_tsleep(struct event *, u_long);
event             141 bsp/drv/include/dki.h void	 sched_wakeup(struct event *);
event             143 bsp/drv/include/dki.h #define	 sched_sleep(event)  sched_tsleep((event), 0)
event              38 bsp/drv/include/pm.h void	pm_notify(int event);
event              63 bsp/drv/include/tty.h 	struct event	t_input;	/* event for input data ready */
event              64 bsp/drv/include/tty.h 	struct event	t_output;	/* event for output completion */
event              39 sys/include/event.h struct event {
event              45 sys/include/event.h #define event_init(event, evt_name) \
event              46 sys/include/event.h     do { queue_init(&(event)->sleepq); (event)->name = evt_name; } while (0)
event              48 sys/include/event.h #define event_waiting(event)   (!queue_empty(&(event)->sleepq))
event              48 sys/include/irq.h 	struct event	istevt;		/* event for ist */
event              67 sys/include/sched.h int	 sched_tsleep(struct event *, u_long);
event              68 sys/include/sched.h void	 sched_wakeup(struct event *);
event              69 sys/include/sched.h thread_t sched_wakeone(struct event *);
event              42 sys/include/sync.h 	struct event	event;		/* event */
event              50 sys/include/sync.h 	struct event	event;		/* event */
event              60 sys/include/sync.h 	struct event	event;		/* event */
event              59 sys/include/thread.h 	struct event	*slpevt;	/* event we are waiting on */
event              49 sys/include/timer.h 	struct event	event;		/* event for this timer */
event              71 sys/ipc/msg.c  static struct event ipc_event;		/* event for IPC operation */
event              82 sys/kern/exception.c static struct event	exception_event;
event              95 sys/kern/sched.c static struct event	dpc_event;	/* event for DPC */
event             268 sys/kern/sched.c sched_tsleep(struct event *evt, u_long msec)
event             307 sys/kern/sched.c sched_wakeup(struct event *evt)
event             335 sys/kern/sched.c sched_wakeone(struct event *evt)
event              47 sys/kern/timer.c static struct event	timer_event;	/* event to wakeup a timer thread */
event              48 sys/kern/timer.c static struct event	delay_event;	/* event for the thread delay */
event             280 sys/kern/timer.c 			event_init(&tmr->event, "periodic");
event             319 sys/kern/timer.c 		rc = sched_sleep(&tmr->event);
event             418 sys/kern/timer.c 			sched_wakeup(&tmr->event);
event              63 sys/sync/cond.c 	event_init(&c->event, "condvar");
event             102 sys/sync/cond.c 	if (event_waiting(&c->event)) {
event             165 sys/sync/cond.c 	rc = sched_sleep(&c->event);
event             191 sys/sync/cond.c 	sched_wakeone(&c->event);
event             209 sys/sync/cond.c 	sched_wakeup(&c->event);
event             105 sys/sync/mutex.c 	event_init(&m->event, "mutex");
event             152 sys/sync/mutex.c 	if (m->holder || event_waiting(&m->event)) {
event             222 sys/sync/mutex.c 			rc = sched_sleep(&m->event);
event             295 sys/sync/mutex.c 		m->holder = sched_wakeone(&m->event);
event             338 sys/sync/mutex.c 		holder = sched_wakeone(&m->event);
event              88 sys/sync/sem.c 		if (event_waiting(&s->event)) {
event             107 sys/sync/sem.c 		event_init(&s->event, "semaphore");
event             136 sys/sync/sem.c 	if (event_waiting(&s->event) || s->value == 0) {
event             175 sys/sync/sem.c 		rc = sched_tsleep(&s->event, timeout);
event             244 sys/sync/sem.c 		sched_wakeone(&s->event);
event             219 usr/server/pow/pow.c 	int sig, event, state;
event             234 usr/server/pow/pow.c 			device_ioctl(pmdev, PMIOC_QUERY_EVENT, &event);
event             235 usr/server/pow/pow.c 			DPRINTF(("power_thread: event=%d\n", event));
event             241 usr/server/pow/pow.c 			switch (event) {