Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/base/power/
Dwakeirq.c22 struct wake_irq *wirq) in dev_pm_attach_wake_irq() argument
26 if (!dev || !wirq) in dev_pm_attach_wake_irq()
36 dev->power.wakeirq = wirq; in dev_pm_attach_wake_irq()
37 device_wakeup_attach_irq(dev, wirq); in dev_pm_attach_wake_irq()
55 struct wake_irq *wirq; in dev_pm_set_wake_irq() local
61 wirq = kzalloc(sizeof(*wirq), GFP_KERNEL); in dev_pm_set_wake_irq()
62 if (!wirq) in dev_pm_set_wake_irq()
65 wirq->dev = dev; in dev_pm_set_wake_irq()
66 wirq->irq = irq; in dev_pm_set_wake_irq()
68 err = dev_pm_attach_wake_irq(dev, irq, wirq); in dev_pm_set_wake_irq()
[all …]
Dpower.h38 extern void dev_pm_arm_wake_irq(struct wake_irq *wirq);
39 extern void dev_pm_disarm_wake_irq(struct wake_irq *wirq);