Home
last modified time | relevance | path

Searched refs:wake_irq (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.10/drivers/base/power/
Dwakeirq.c22 struct wake_irq *wirq) in dev_pm_attach_wake_irq()
55 struct wake_irq *wirq; in dev_pm_set_wake_irq()
89 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_clear_wake_irq()
129 struct wake_irq *wirq = _wirq; in handle_threaded_wake_irq()
167 struct wake_irq *wirq; in dev_pm_set_dedicated_wake_irq()
232 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_enable_wake_irq()
249 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_disable_wake_irq()
273 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_enable_wake_irq_check()
300 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_disable_wake_irq_check()
316 void dev_pm_arm_wake_irq(struct wake_irq *wirq) in dev_pm_arm_wake_irq()
[all …]
Dpower.h31 struct wake_irq { struct
38 extern void dev_pm_arm_wake_irq(struct wake_irq *wirq); argument
39 extern void dev_pm_disarm_wake_irq(struct wake_irq *wirq);
46 extern void device_wakeup_attach_irq(struct device *dev, struct wake_irq *wakeirq);
54 struct wake_irq *wakeirq) {} in device_wakeup_attach_irq()
Dwakeup.c371 struct wake_irq *wakeirq) in device_wakeup_attach_irq()
/Linux-v5.10/drivers/phy/broadcom/
Dphy-brcm-usb.c70 int wake_irq; member
404 priv->wake_irq = platform_get_irq_byname(pdev, "wake"); in brcm_usb_phy_dvr_init()
405 if (priv->wake_irq < 0) in brcm_usb_phy_dvr_init()
406 priv->wake_irq = platform_get_irq_byname(pdev, "wakeup"); in brcm_usb_phy_dvr_init()
407 if (priv->wake_irq >= 0) { in brcm_usb_phy_dvr_init()
408 err = devm_request_irq(dev, priv->wake_irq, in brcm_usb_phy_dvr_init()
558 if (priv->wake_irq >= 0) in brcm_usb_phy_suspend()
559 enable_irq_wake(priv->wake_irq); in brcm_usb_phy_suspend()
577 if (priv->wake_irq >= 0) in brcm_usb_phy_resume()
578 disable_irq_wake(priv->wake_irq); in brcm_usb_phy_resume()
/Linux-v5.10/drivers/acpi/
Dwakeup.c111 int acpi_register_wakeup_handler(int wake_irq, bool (*wakeup)(void *context), in acpi_register_wakeup_handler() argument
120 if (!acpi_sci_irq_valid() || wake_irq != acpi_sci_irq) in acpi_register_wakeup_handler()
/Linux-v5.10/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c80 int *wake_irq; member
652 if (!pc->wake_irq) in bcm2835_gpio_irq_set_wake()
665 ret = enable_irq_wake(pc->wake_irq[irqgroup]); in bcm2835_gpio_irq_set_wake()
667 ret = disable_irq_wake(pc->wake_irq[irqgroup]); in bcm2835_gpio_irq_set_wake()
1258 pc->wake_irq = devm_kcalloc(dev, BCM2835_NUM_IRQS, in bcm2835_pinctrl_probe()
1259 sizeof(*pc->wake_irq), in bcm2835_pinctrl_probe()
1261 if (!pc->wake_irq) in bcm2835_pinctrl_probe()
1281 pc->wake_irq[i] = irq_of_parse_and_map(np, i + in bcm2835_pinctrl_probe()
1292 err = devm_request_irq(dev, pc->wake_irq[i], in bcm2835_pinctrl_probe()
1297 pc->wake_irq[i]); in bcm2835_pinctrl_probe()
/Linux-v5.10/include/linux/
Dpm_wakeup.h18 struct wake_irq;
48 struct wake_irq *wakeirq;
Dpm.h533 struct wake_irq;
596 struct wake_irq *wakeirq;
Dacpi.h512 int wake_irq, bool (*wakeup)(void *context), void *context);
/Linux-v5.10/drivers/hsi/controllers/
Domap_ssi.h91 int wake_irq; member
Domap_ssi_core.c289 disable_irq(omap_port->wake_irq); in ssi_clk_event()
315 enable_irq(omap_port->wake_irq); in ssi_clk_event()
Domap_ssi_port.c57 if (omap_port->wake_irq > 0) in ssi_port_regs_show()
1059 omap_port->wake_irq = -1; in ssi_wake_irq()
1064 omap_port->wake_irq = cawake_irq; in ssi_wake_irq()
/Linux-v5.10/drivers/bluetooth/
Dhci_nokia.c133 int wake_irq; member
711 btdev->wake_irq = gpiod_to_irq(btdev->wakeup_host); in nokia_bluetooth_serdev_probe()
713 err = devm_request_threaded_irq(dev, btdev->wake_irq, NULL, in nokia_bluetooth_serdev_probe()
/Linux-v5.10/drivers/mmc/host/
Domap_hsmmc.c193 int wake_irq; member
1587 if (!host->dev->of_node || !host->wake_irq) in omap_hsmmc_configure_wake_irq()
1590 ret = dev_pm_set_dedicated_wake_irq(host->dev, host->wake_irq); in omap_hsmmc_configure_wake_irq()
1624 host->wake_irq = 0; in omap_hsmmc_configure_wake_irq()
1870 host->wake_irq = irq_of_parse_and_map(pdev->dev.of_node, 1); in omap_hsmmc_probe()