Lines Matching full:interrupt

29  * Sun DDI interrupt support definitions
43 * Interrupt related definitions.
48 * the the caller requested interrupt number to be added does not
51 #define DDI_INTR_NOTFOUND 1 /* interrupt not found error */
54 * For use by driver interrupt service routines to return to the
55 * system whether an interrupt was for the driver or not.
60 /* Hardware interrupt types */
65 /* Hardware interrupt priority must be a number within these min/max values */
73 /* Used in calls to allocate soft interrupt priority. */
77 * Interrupt flags specify certain capabilities for a given
78 * interrupt (by type and inum).
91 * Macro to be used while passing interrupt priority
97 * Typedef for interrupt handles
109 * Typedef for driver's interrupt handler
118 * DDI interrupt function prototypes.
120 * New DDI interrupt interfaces.
126 * Return, as a bit mask, the hardware interrupt types supported by
137 * given interrupt type.
146 * given interrupt type.
151 * Interrupt resource allocate/free functions
158 * Interrupt get/set capacity functions
164 * Interrupt priority management functions
171 * Interrupt add/duplicate/remove functions
181 * Interrupt enable/disable/block_enable/block_disable functions
189 * Interrupt set/clr mask functions
195 * Interrupt get pending function
200 * Interrupt resource management function
205 * Soft interrupt functions
215 * Old DDI interrupt interfaces.
217 * The following DDI interrupt interfaces are obsolete.
218 * Use the above new DDI interrupt interfaces instead.
222 * Return non-zero if the specified interrupt exists and the handler
224 * interrupt level is not blocked by the scheduler. I.e., it cannot
235 * If the device has h/w interrupt(s), report
242 * ddi_add_intr: Add an interrupt to the system.
244 * The interrupt number "inumber" determines which interrupt will
245 * be added. The interrupt number is associated with interrupt
247 * information for non-self identifying devices. If only one interrupt
248 * is associated with the device then the interrupt number should be 0.
252 * possible later removal of the interrupt from the system.
255 * device interrupt value (see <sys/dditypes.h> in the form of the
261 * The interrupt handler "int_handler" is the address of the routine
262 * to be called upon receipt of an appropriate interrupt. The
263 * interrupt handler should return DDI_INTR_CLAIMED if the
264 * interrupt was claimed, else DDI_INTR_UNCLAIMED. The argument
266 * upon receipt of an appropriate interrupt.
269 * If the interrupt information cannot be found it will
288 * ddi_remove_intr: Remove interrupt set up by ddi_add_intr.
299 #define DDI_SOFTINT_FIXED 0 /* Fixed priority soft interrupt */
300 #define DDI_SOFTINT_LOW 8 /* Low priority soft interrupt */
301 #define DDI_SOFTINT_MED 128 /* Medium priority soft interrupt */
302 #define DDI_SOFTINT_HIGH 256 /* High priority soft interrupt */
309 * ddi_add_softintr: Add a "soft" interrupt to the system.
314 * a soft interrupt or, later, remove it.