This source file includes following definitions.
- dev_pm_set_wake_irq
- dev_pm_set_dedicated_wake_irq
- dev_pm_clear_wake_irq
- dev_pm_enable_wake_irq
- dev_pm_disable_wake_irq
1
2
3
4
5
6
7
8
9
10
11
12
13
14 #ifndef _LINUX_PM_WAKEIRQ_H
15 #define _LINUX_PM_WAKEIRQ_H
16
17 #ifdef CONFIG_PM
18
19 extern int dev_pm_set_wake_irq(struct device *dev, int irq);
20 extern int dev_pm_set_dedicated_wake_irq(struct device *dev,
21 int irq);
22 extern void dev_pm_clear_wake_irq(struct device *dev);
23 extern void dev_pm_enable_wake_irq(struct device *dev);
24 extern void dev_pm_disable_wake_irq(struct device *dev);
25
26 #else
27
28 static inline int dev_pm_set_wake_irq(struct device *dev, int irq)
29 {
30 return 0;
31 }
32
33 static inline int dev_pm_set_dedicated_wake_irq(struct device *dev, int irq)
34 {
35 return 0;
36 }
37
38 static inline void dev_pm_clear_wake_irq(struct device *dev)
39 {
40 }
41
42 static inline void dev_pm_enable_wake_irq(struct device *dev)
43 {
44 }
45
46 static inline void dev_pm_disable_wake_irq(struct device *dev)
47 {
48 }
49
50 #endif
51 #endif