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