Blame view
include/linux/irqreturn.h
396 Bytes
908dcecda
|
1 2 |
#ifndef _LINUX_IRQRETURN_H #define _LINUX_IRQRETURN_H |
bedd30d98
|
3 4 5 6 |
/** * enum irqreturn * @IRQ_NONE interrupt was not from this device * @IRQ_HANDLED interrupt was handled by this device |
3aa551c9b
|
7 |
* @IRQ_WAKE_THREAD handler requests to wake the handler thread |
908dcecda
|
8 |
*/ |
bedd30d98
|
9 10 11 |
enum irqreturn { IRQ_NONE, IRQ_HANDLED, |
3aa551c9b
|
12 |
IRQ_WAKE_THREAD, |
bedd30d98
|
13 |
}; |
908dcecda
|
14 |
|
bedd30d98
|
15 16 |
typedef enum irqreturn irqreturn_t; #define IRQ_RETVAL(x) ((x) != IRQ_NONE) |
908dcecda
|
17 18 |
#endif |