Searched refs:firm_event (Results 1 - 21 of 21) sorted by relevance

/netbsd-current/sys/dev/sun/
H A Devent_var.h60 struct firm_event *ev_q;/* circular buffer (queue) of events */
87 extern int (*ev_out32_hook)(struct firm_event *, int, struct uio *);
H A Devent.c62 int (*ev_out32_hook)(struct firm_event *, int, struct uio *);
65 * Initialize a firm_event queue.
72 ev->ev_q = malloc((u_long)EV_QSIZE * sizeof(struct firm_event),
78 * Tear down a firm_event queue.
100 if (uio->uio_resid < sizeof(struct firm_event))
109 error = tsleep((void *)ev, PEVENT | PCATCH, "firm_event", 0);
124 n = howmany(uio->uio_resid, sizeof(struct firm_event));
131 cnt * sizeof(struct firm_event), uio);
147 cnt * sizeof(struct firm_event), uio);
194 kn->kn_data *= sizeof(struct firm_event);
[all...]
H A Dvuid_event.h58 typedef struct firm_event { struct
H A Dms.c234 struct firm_event *fe;
H A Dkbd.c785 struct firm_event *fe;
/netbsd-current/sys/arch/x68k/dev/
H A Devent_var.h59 struct firm_event *ev_q;/* circular buffer (queue) of events */
H A Devent.c65 * Initialize a firm_event queue.
72 ev->ev_q = kmem_zalloc((size_t)EV_QSIZE * sizeof(struct firm_event),
80 * Tear down a firm_event queue.
88 kmem_free(ev->ev_q, (size_t)EV_QSIZE * sizeof(struct firm_event));
103 if (uio->uio_resid < sizeof(struct firm_event))
128 n = howmany(uio->uio_resid, sizeof(struct firm_event));
132 cnt * sizeof(struct firm_event), uio);
145 cnt * sizeof(struct firm_event), uio);
212 kn->kn_data *= sizeof(struct firm_event);
H A Dkbd.c338 struct firm_event *fe;
H A Dms.c367 struct firm_event *fe;
/netbsd-current/sys/arch/atari/dev/
H A Dmsvar.h49 struct firm_event ms_bq[2]; /* Button queue */
H A Devent.c64 #define EV_Q_ALLOCSIZE (EV_QSIZE * sizeof(struct firm_event))
67 * Initialize a firm_event queue.
79 * Tear down a firm_event queue.
101 if (uio->uio_resid < sizeof(struct firm_event))
110 error = tsleep((void *)ev, PEVENT | PCATCH, "firm_event", 0);
125 n = howmany(uio->uio_resid, sizeof(struct firm_event));
129 cnt * sizeof(struct firm_event), uio);
142 cnt * sizeof(struct firm_event), uio);
188 kn->kn_data *= sizeof(struct firm_event);
H A Devent_var.h61 struct firm_event *ev_q;/* circular buffer (queue) of events */
H A Dms.c137 struct firm_event *fe, *fe2;
H A Dkbd.c119 * as described by the firm_event structure.
486 struct firm_event *fe;
/netbsd-current/sys/arch/amiga/dev/
H A Devent.c65 * Initialize a firm_event queue.
72 ev->ev_q = malloc((u_long)EV_QSIZE * sizeof(struct firm_event),
78 * Tear down a firm_event queue.
100 if (uio->uio_resid < sizeof(struct firm_event))
109 error = tsleep((void *)ev, PEVENT | PCATCH, "firm_event", 0);
124 n = howmany(uio->uio_resid, sizeof(struct firm_event));
128 cnt * sizeof(struct firm_event), uio);
141 cnt * sizeof(struct firm_event), uio);
188 kn->kn_data *= sizeof(struct firm_event);
H A Devent_var.h61 struct firm_event *ev_q;/* circular buffer (queue) of events */
H A Dms.c263 struct firm_event *fe;
H A Dkbd.c86 * as described by the firm_event structure.
684 struct firm_event *fe;
/netbsd-current/sys/arch/sparc64/sparc64/
H A Dsunos32_machdep.c94 static int ev_out32(struct firm_event *, int, struct uio *);
382 ev_out32(struct firm_event *e, int n, struct uio *uio)
H A Dnetbsd32_machdep.c93 static int ev_out32(struct firm_event *, int, struct uio *);
585 ev_out32(struct firm_event *e, int n, struct uio *uio)
/netbsd-current/sys/arch/sparc/dev/
H A Dms_pckbport.c197 struct firm_event *fe;

Completed in 283 milliseconds