Home
last modified time | relevance | path

Searched refs:wirq (Results 1 – 2 of 2) sorted by relevance

/drivers/base/power/
Dwakeirq.c33 struct wake_irq *wirq) in dev_pm_attach_wake_irq() argument
38 if (!dev || !wirq) in dev_pm_attach_wake_irq()
48 err = device_wakeup_attach_irq(dev, wirq); in dev_pm_attach_wake_irq()
50 dev->power.wakeirq = wirq; in dev_pm_attach_wake_irq()
68 struct wake_irq *wirq; in dev_pm_set_wake_irq() local
74 wirq = kzalloc(sizeof(*wirq), GFP_KERNEL); in dev_pm_set_wake_irq()
75 if (!wirq) in dev_pm_set_wake_irq()
78 wirq->dev = dev; in dev_pm_set_wake_irq()
79 wirq->irq = irq; in dev_pm_set_wake_irq()
81 err = dev_pm_attach_wake_irq(dev, irq, wirq); in dev_pm_set_wake_irq()
[all …]
Dpower.h35 extern void dev_pm_arm_wake_irq(struct wake_irq *wirq);
36 extern void dev_pm_disarm_wake_irq(struct wake_irq *wirq);
107 static inline void dev_pm_arm_wake_irq(struct wake_irq *wirq) in dev_pm_arm_wake_irq() argument
111 static inline void dev_pm_disarm_wake_irq(struct wake_irq *wirq) in dev_pm_disarm_wake_irq() argument