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