Home
last modified time | relevance | path

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

/drivers/base/power/
Dwakeirq.c19 static int dev_pm_attach_wake_irq(struct device *dev, struct wake_irq *wirq) in dev_pm_attach_wake_irq() argument
23 if (!dev || !wirq) in dev_pm_attach_wake_irq()
33 dev->power.wakeirq = wirq; in dev_pm_attach_wake_irq()
34 device_wakeup_attach_irq(dev, wirq); in dev_pm_attach_wake_irq()
52 struct wake_irq *wirq; in dev_pm_set_wake_irq() local
58 wirq = kzalloc(sizeof(*wirq), GFP_KERNEL); in dev_pm_set_wake_irq()
59 if (!wirq) in dev_pm_set_wake_irq()
62 wirq->dev = dev; in dev_pm_set_wake_irq()
63 wirq->irq = irq; in dev_pm_set_wake_irq()
65 err = dev_pm_attach_wake_irq(dev, wirq); in dev_pm_set_wake_irq()
[all …]
Dpower.h41 extern void dev_pm_arm_wake_irq(struct wake_irq *wirq);
42 extern void dev_pm_disarm_wake_irq(struct wake_irq *wirq);