Home
last modified time | relevance | path

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

/linux-6.12.1/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()
52 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()
253 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_enable_wake_irq_check()
284 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_disable_wake_irq_check()
310 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_enable_wake_irq_complete()
329 void dev_pm_arm_wake_irq(struct wake_irq *wirq) in dev_pm_arm_wake_irq()
350 void dev_pm_disarm_wake_irq(struct wake_irq *wirq) in dev_pm_disarm_wake_irq()
Dpower.h34 struct wake_irq { struct
41 extern void dev_pm_arm_wake_irq(struct wake_irq *wirq); argument
42 extern void dev_pm_disarm_wake_irq(struct wake_irq *wirq);
50 extern void device_wakeup_attach_irq(struct device *dev, struct wake_irq *wakeirq);
58 struct wake_irq *wakeirq) {} in device_wakeup_attach_irq()
Dwakeup.c367 struct wake_irq *wakeirq) in device_wakeup_attach_irq()
/linux-6.12.1/drivers/phy/broadcom/
Dphy-brcm-usb.c71 int wake_irq; member
448 priv->wake_irq = platform_get_irq_byname_optional(pdev, "wake"); in brcm_usb_phy_dvr_init()
449 if (priv->wake_irq < 0) in brcm_usb_phy_dvr_init()
450 priv->wake_irq = platform_get_irq_byname_optional(pdev, "wakeup"); in brcm_usb_phy_dvr_init()
451 if (priv->wake_irq >= 0) { in brcm_usb_phy_dvr_init()
452 err = devm_request_irq(dev, priv->wake_irq, in brcm_usb_phy_dvr_init()
609 if (priv->wake_irq >= 0) in brcm_usb_phy_suspend()
610 enable_irq_wake(priv->wake_irq); in brcm_usb_phy_suspend()
631 if (priv->wake_irq >= 0) in brcm_usb_phy_resume()
632 disable_irq_wake(priv->wake_irq); in brcm_usb_phy_resume()
/linux-6.12.1/drivers/rtc/
Drtc-brcmstb-waketimer.c30 unsigned int wake_irq; member
154 ret = enable_irq_wake(timer->wake_irq); in brcmstb_waketmr_prepare_suspend()
163 disable_irq_wake(timer->wake_irq); in brcmstb_waketmr_prepare_suspend()
304 timer->wake_irq = (unsigned int)ret; in brcmstb_waketmr_probe()
319 ret = devm_request_irq(dev, timer->wake_irq, brcmstb_waketmr_irq, 0, in brcmstb_waketmr_probe()
393 ret = disable_irq_wake(timer->wake_irq); in brcmstb_waketmr_resume()
/linux-6.12.1/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-6.12.1/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c82 int *wake_irq; member
691 if (!pc->wake_irq) in bcm2835_gpio_irq_set_wake()
704 ret = enable_irq_wake(pc->wake_irq[irqgroup]); in bcm2835_gpio_irq_set_wake()
706 ret = disable_irq_wake(pc->wake_irq[irqgroup]); in bcm2835_gpio_irq_set_wake()
1373 pc->wake_irq = devm_kcalloc(dev, BCM2835_NUM_IRQS, in bcm2835_pinctrl_probe()
1374 sizeof(*pc->wake_irq), in bcm2835_pinctrl_probe()
1376 if (!pc->wake_irq) { in bcm2835_pinctrl_probe()
1402 pc->wake_irq[i] = irq_of_parse_and_map(np, i + in bcm2835_pinctrl_probe()
1415 err = devm_request_irq(dev, pc->wake_irq[i], in bcm2835_pinctrl_probe()
1420 pc->wake_irq[i]); in bcm2835_pinctrl_probe()
/linux-6.12.1/include/linux/
Dpm_wakeup.h18 struct wake_irq;
48 struct wake_irq *wakeirq;
Dpm.h629 struct wake_irq;
695 struct wake_irq *wakeirq;
Dacpi.h537 int wake_irq, bool (*wakeup)(void *context), void *context);
1061 static inline int acpi_register_wakeup_handler(int wake_irq, in acpi_register_wakeup_handler() argument
/linux-6.12.1/drivers/soundwire/
Dqcom.c195 int wake_irq; member
654 if (ctrl->wake_irq > 0) { in qcom_swrm_wake_irq_handler()
655 if (!irqd_irq_disabled(irq_get_irq_data(ctrl->wake_irq))) in qcom_swrm_wake_irq_handler()
656 disable_irq_nosync(ctrl->wake_irq); in qcom_swrm_wake_irq_handler()
1592 ctrl->wake_irq = of_irq_get(dev->of_node, 1);
1593 if (ctrl->wake_irq > 0) {
1594 ret = devm_request_threaded_irq(dev, ctrl->wake_irq, NULL,
1664 if (ctrl->wake_irq > 0) {
1665 if (!irqd_irq_disabled(irq_get_irq_data(ctrl->wake_irq)))
1666 disable_irq_nosync(ctrl->wake_irq);
[all …]
/linux-6.12.1/drivers/net/phy/
Dbroadcom.c39 int wake_irq; member
70 return phy_interrupt_is_valid(phydev) || priv->wake_irq >= 0; in bcm54xx_phy_can_wakeup()
556 ret = enable_irq_wake(priv->wake_irq); in bcm54xx_set_wakeup_irq()
558 ret = disable_irq_wake(priv->wake_irq); in bcm54xx_set_wakeup_irq()
1130 priv->wake_irq = -ENXIO; in bcm54xx_phy_probe()
1153 priv->wake_irq = gpiod_to_irq(wakeup_gpio); in bcm54xx_phy_probe()
1158 ret = devm_request_irq(&phydev->mdio.dev, priv->wake_irq, in bcm54xx_phy_probe()
/linux-6.12.1/drivers/hsi/controllers/
Domap_ssi.h91 int wake_irq; member
Domap_ssi_core.c282 disable_irq(omap_port->wake_irq); in ssi_clk_event()
308 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()
1053 omap_port->wake_irq = -1; in ssi_wake_irq()
1058 omap_port->wake_irq = cawake_irq; in ssi_wake_irq()
/linux-6.12.1/drivers/net/wireless/ath/ath11k/
Dahb.c690 u32 wake_irq; in ath11k_ahb_hif_suspend() local
697 wake_irq = ab->irq_num[ATH11K_PCI_IRQ_CE0_OFFSET + ATH11K_PCI_CE_WAKE_IRQ]; in ath11k_ahb_hif_suspend()
699 ret = enable_irq_wake(wake_irq); in ath11k_ahb_hif_suspend()
725 u32 wake_irq; in ath11k_ahb_hif_resume() local
732 wake_irq = ab->irq_num[ATH11K_PCI_IRQ_CE0_OFFSET + ATH11K_PCI_CE_WAKE_IRQ]; in ath11k_ahb_hif_resume()
734 ret = disable_irq_wake(wake_irq); in ath11k_ahb_hif_resume()
/linux-6.12.1/drivers/bluetooth/
Dhci_nokia.c128 int wake_irq; member
706 btdev->wake_irq = gpiod_to_irq(btdev->wakeup_host); in nokia_bluetooth_serdev_probe()
708 err = devm_request_threaded_irq(dev, btdev->wake_irq, NULL, in nokia_bluetooth_serdev_probe()
/linux-6.12.1/drivers/mmc/host/
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()
1828 host->wake_irq = irq_of_parse_and_map(pdev->dev.of_node, 1); in omap_hsmmc_probe()
/linux-6.12.1/drivers/net/ethernet/freescale/
Dfec.h643 int wake_irq; member
Dfec_main.c4263 fep->wake_irq = fep->irq[2]; in fec_enet_get_wakeup_irq()
4265 fep->wake_irq = fep->irq[0]; in fec_enet_get_wakeup_irq()
4637 if (fep->wake_irq > 0) { in fec_suspend()
4638 disable_irq(fep->wake_irq); in fec_suspend()
4639 enable_irq_wake(fep->wake_irq); in fec_suspend()
4694 if (fep->wake_irq) { in fec_resume()
4695 disable_irq_wake(fep->wake_irq); in fec_resume()
4696 enable_irq(fep->wake_irq); in fec_resume()
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dqcm2290.dtsi285 <24 79>, /* Soundwire wake_irq */
Dsm6375.dtsi324 qcom,mpm-pin-map = <5 296>, /* Soundwire wake_irq */