Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/base/power/
A Dwakeirq.c52 struct wake_irq *wirq; in dev_pm_set_wake_irq()
86 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_clear_wake_irq()
126 struct wake_irq *wirq = _wirq; in handle_threaded_wake_irq()
147 struct wake_irq *wirq; in __dev_pm_set_dedicated_wake_irq()
261 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_enable_wake_irq()
278 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_disable_wake_irq()
302 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_enable_wake_irq_check()
331 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_disable_wake_irq_check()
355 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_enable_wake_irq_complete()
372 void dev_pm_arm_wake_irq(struct wake_irq *wirq) in dev_pm_arm_wake_irq()
[all …]
A Dpower.h33 struct wake_irq { struct
40 extern void dev_pm_arm_wake_irq(struct wake_irq *wirq); argument
41 extern void dev_pm_disarm_wake_irq(struct wake_irq *wirq);
49 extern void device_wakeup_attach_irq(struct device *dev, struct wake_irq *wakeirq);
57 struct wake_irq *wakeirq) {} in device_wakeup_attach_irq()
A Dwakeup.c372 struct wake_irq *wakeirq) in device_wakeup_attach_irq()
/linux-6.3-rc2/drivers/phy/broadcom/
A Dphy-brcm-usb.c72 int wake_irq; member
449 priv->wake_irq = platform_get_irq_byname_optional(pdev, "wake"); in brcm_usb_phy_dvr_init()
450 if (priv->wake_irq < 0) in brcm_usb_phy_dvr_init()
451 priv->wake_irq = platform_get_irq_byname_optional(pdev, "wakeup"); in brcm_usb_phy_dvr_init()
452 if (priv->wake_irq >= 0) { in brcm_usb_phy_dvr_init()
453 err = devm_request_irq(dev, priv->wake_irq, in brcm_usb_phy_dvr_init()
612 if (priv->wake_irq >= 0) in brcm_usb_phy_suspend()
613 enable_irq_wake(priv->wake_irq); in brcm_usb_phy_suspend()
634 if (priv->wake_irq >= 0) in brcm_usb_phy_resume()
635 disable_irq_wake(priv->wake_irq); in brcm_usb_phy_resume()
/linux-6.3-rc2/drivers/rtc/
A Drtc-brcmstb-waketimer.c30 unsigned int wake_irq; member
141 ret = enable_irq_wake(timer->wake_irq); in brcmstb_waketmr_prepare_suspend()
150 disable_irq_wake(timer->wake_irq); in brcmstb_waketmr_prepare_suspend()
285 timer->wake_irq = (unsigned int)ret; in brcmstb_waketmr_probe()
300 ret = devm_request_irq(dev, timer->wake_irq, brcmstb_waketmr_irq, 0, in brcmstb_waketmr_probe()
365 ret = disable_irq_wake(timer->wake_irq); in brcmstb_waketmr_resume()
/linux-6.3-rc2/drivers/acpi/
A 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-6.3-rc2/drivers/pinctrl/bcm/
A Dpinctrl-bcm2835.c81 int *wake_irq; member
678 if (!pc->wake_irq) in bcm2835_gpio_irq_set_wake()
691 ret = enable_irq_wake(pc->wake_irq[irqgroup]); in bcm2835_gpio_irq_set_wake()
693 ret = disable_irq_wake(pc->wake_irq[irqgroup]); in bcm2835_gpio_irq_set_wake()
1296 pc->wake_irq = devm_kcalloc(dev, BCM2835_NUM_IRQS, in bcm2835_pinctrl_probe()
1297 sizeof(*pc->wake_irq), in bcm2835_pinctrl_probe()
1299 if (!pc->wake_irq) { in bcm2835_pinctrl_probe()
1325 pc->wake_irq[i] = irq_of_parse_and_map(np, i + in bcm2835_pinctrl_probe()
1338 err = devm_request_irq(dev, pc->wake_irq[i], in bcm2835_pinctrl_probe()
1343 pc->wake_irq[i]); in bcm2835_pinctrl_probe()
/linux-6.3-rc2/drivers/soundwire/
A Dqcom.c161 int wake_irq; member
544 if (swrm->wake_irq > 0) { in qcom_swrm_wake_irq_handler()
545 if (!irqd_irq_disabled(irq_get_irq_data(swrm->wake_irq))) in qcom_swrm_wake_irq_handler()
546 disable_irq_nosync(swrm->wake_irq); in qcom_swrm_wake_irq_handler()
1408 ctrl->wake_irq = of_irq_get(dev->of_node, 1);
1409 if (ctrl->wake_irq > 0) {
1504 if (ctrl->wake_irq > 0) {
1506 disable_irq_nosync(ctrl->wake_irq);
1584 if (ctrl->wake_irq > 0) {
1585 if (irqd_irq_disabled(irq_get_irq_data(ctrl->wake_irq)))
[all …]
/linux-6.3-rc2/include/linux/
A Dpm_wakeup.h18 struct wake_irq;
48 struct wake_irq *wakeirq;
A Dpm.h605 struct wake_irq;
670 struct wake_irq *wakeirq;
A Dacpi.h543 int wake_irq, bool (*wakeup)(void *context), void *context);
1058 static inline int acpi_register_wakeup_handler(int wake_irq, in acpi_register_wakeup_handler() argument
/linux-6.3-rc2/drivers/hsi/controllers/
A Domap_ssi.h91 int wake_irq; member
A 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()
A 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-6.3-rc2/drivers/net/wireless/ath/ath11k/
A Dahb.c710 u32 wake_irq; in ath11k_ahb_hif_suspend() local
717 wake_irq = ab->irq_num[ATH11K_PCI_IRQ_CE0_OFFSET + ATH11K_PCI_CE_WAKE_IRQ]; in ath11k_ahb_hif_suspend()
719 ret = enable_irq_wake(wake_irq); in ath11k_ahb_hif_suspend()
745 u32 wake_irq; in ath11k_ahb_hif_resume() local
752 wake_irq = ab->irq_num[ATH11K_PCI_IRQ_CE0_OFFSET + ATH11K_PCI_CE_WAKE_IRQ]; in ath11k_ahb_hif_resume()
754 ret = disable_irq_wake(wake_irq); in ath11k_ahb_hif_resume()
/linux-6.3-rc2/drivers/bluetooth/
A 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-6.3-rc2/drivers/mmc/host/
A Domap_hsmmc.c193 int wake_irq; member
1547 if (!host->dev->of_node || !host->wake_irq) in omap_hsmmc_configure_wake_irq()
1550 ret = dev_pm_set_dedicated_wake_irq(host->dev, host->wake_irq); in omap_hsmmc_configure_wake_irq()
1584 host->wake_irq = 0; in omap_hsmmc_configure_wake_irq()
1829 host->wake_irq = irq_of_parse_and_map(pdev->dev.of_node, 1); in omap_hsmmc_probe()
/linux-6.3-rc2/drivers/net/ethernet/freescale/
A Dfec.h626 int wake_irq; member
A Dfec_main.c4144 fep->wake_irq = fep->irq[2]; in fec_enet_get_wakeup_irq()
4146 fep->wake_irq = fep->irq[0]; in fec_enet_get_wakeup_irq()
4513 if (fep->wake_irq > 0) { in fec_suspend()
4514 disable_irq(fep->wake_irq); in fec_suspend()
4515 enable_irq_wake(fep->wake_irq); in fec_suspend()
4570 if (fep->wake_irq) { in fec_resume()
4571 disable_irq_wake(fep->wake_irq); in fec_resume()
4572 enable_irq(fep->wake_irq); in fec_resume()

Completed in 59 milliseconds