Lines Matching +full:event +full:- +full:name
21 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
33 .Sh NAME
48 .Fa "const char *name"
58 .Fa "struct intr_event **event"
78 The interrupt event API provides methods to manage the registration and
81 Each interrupt event in the system corresponds to a single hardware or software
83 Each interrupt event maintains a list of interrupt handlers, sorted by
84 priority, which will be invoked when handling the event.
85 An interrupt event will typically, but not always, have an associated
88 Finally, each event contains optional callback functions which will be
104 Each interrupt handler also consists of a name,
126 Thus, threaded handler functions may obtain non-sleepable locks, as described
140 function creates a new interrupt event.
142 .Fa event
145 pointer that will reference the newly created event upon success.
170 argument is the unique interrupt vector number corresponding to the event.
194 argument list that is used to build the base name of the new interrupt thread.
195 The full name of an interrupt thread is formed by concatenating the base
196 name of the interrupt thread with the names of all of its interrupt handlers.
200 function destroys a previously created interrupt event by releasing its
204 An interrupt event can only be destroyed if it has no handlers remaining.
208 function adds a new handler to an existing interrupt event specified by
211 .Fa name
212 argument specifies a name for this handler.
219 event's interrupt thread.
233 for this event, as well as the scheduling priority of the backing kernel
250 event
264 function removes an interrupt handler from the interrupt event specified by
329 Typically this callback masks level-triggered interrupts in an interrupt
330 controller while leaving edge-triggered interrupts alone.
335 Typically this callback unmasks level-triggered interrupts in an interrupt
345 functions return zero on success and non-zero on failure.
357 .Bd -literal -offset indent
359 swi_add(struct intr_event **eventp, const char *name, driver_intr_t handler,
371 if (!(ie->ie_flags & IE_SOFT))
382 error = intr_event_add_handler(ie, name, NULL, handler, arg,
392 .Bl -tag -width Er
397 .Fa name
420 .Bl -tag -width Er
432 .Bl -tag -width Er
439 The interrupt event pointed to by
448 .Bl -tag -width Er
465 .Bl -tag -width Er