Searched refs:wake_irq (Results 1 – 14 of 14) sorted by relevance
/Linux-v5.10/drivers/base/power/ |
D | wakeirq.c | 22 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 …]
|
D | power.h | 31 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()
|
D | wakeup.c | 371 struct wake_irq *wakeirq) in device_wakeup_attach_irq()
|
/Linux-v5.10/drivers/phy/broadcom/ |
D | phy-brcm-usb.c | 70 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/ |
D | wakeup.c | 111 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/ |
D | pinctrl-bcm2835.c | 80 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/ |
D | pm_wakeup.h | 18 struct wake_irq; 48 struct wake_irq *wakeirq;
|
D | pm.h | 533 struct wake_irq; 596 struct wake_irq *wakeirq;
|
D | acpi.h | 512 int wake_irq, bool (*wakeup)(void *context), void *context);
|
/Linux-v5.10/drivers/hsi/controllers/ |
D | omap_ssi.h | 91 int wake_irq; member
|
D | omap_ssi_core.c | 289 disable_irq(omap_port->wake_irq); in ssi_clk_event() 315 enable_irq(omap_port->wake_irq); in ssi_clk_event()
|
D | omap_ssi_port.c | 57 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/ |
D | hci_nokia.c | 133 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/ |
D | omap_hsmmc.c | 193 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()
|