Home
last modified time | relevance | path

Searched refs:wakeup_irq (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/usb/cdns3/
Dcdns3-plat.c115 cdns->wakeup_irq = platform_get_irq_byname_optional(pdev, "wakeup"); in cdns3_plat_probe()
116 if (cdns->wakeup_irq == -EPROBE_DEFER) in cdns3_plat_probe()
117 return cdns->wakeup_irq; in cdns3_plat_probe()
119 if (cdns->wakeup_irq < 0) { in cdns3_plat_probe()
121 cdns->wakeup_irq = 0x0; in cdns3_plat_probe()
271 enable_irq(cdns->wakeup_irq); in cdns3_controller_resume()
301 if (device_may_wakeup(dev) && cdns->wakeup_irq) in cdns3_plat_suspend()
302 enable_irq_wake(cdns->wakeup_irq); in cdns3_plat_suspend()
Dcore.h104 int wakeup_irq; member
Dcore.c456 if (cdns->wakeup_irq) { in cdns_init()
457 ret = devm_request_irq(cdns->dev, cdns->wakeup_irq, in cdns_init()
/linux-6.12.1/drivers/rtc/
Drtc-mpfs.c220 int wakeup_irq, ret; in mpfs_rtc_probe() local
247 wakeup_irq = platform_get_irq(pdev, 0); in mpfs_rtc_probe()
248 if (wakeup_irq <= 0) { in mpfs_rtc_probe()
250 return wakeup_irq; in mpfs_rtc_probe()
252 ret = devm_request_irq(&pdev->dev, wakeup_irq, mpfs_rtc_wakeup_irq_handler, 0, in mpfs_rtc_probe()
270 ret = dev_pm_set_wake_irq(&pdev->dev, wakeup_irq); in mpfs_rtc_probe()
/linux-6.12.1/drivers/base/power/
Dwakeup.c32 static unsigned int wakeup_irq[2] __read_mostly; variable
919 if (irq_number && wakeup_irq[0] == irq_number) in pm_wakeup_clear()
920 wakeup_irq[0] = wakeup_irq[1]; in pm_wakeup_clear()
922 wakeup_irq[0] = 0; in pm_wakeup_clear()
924 wakeup_irq[1] = 0; in pm_wakeup_clear()
938 if (wakeup_irq[0] == 0) in pm_system_irq_wakeup()
939 wakeup_irq[0] = irq_number; in pm_system_irq_wakeup()
940 else if (wakeup_irq[1] == 0) in pm_system_irq_wakeup()
941 wakeup_irq[1] = irq_number; in pm_system_irq_wakeup()
955 return wakeup_irq[0]; in pm_wakeup_irq()
/linux-6.12.1/drivers/usb/mtu3/
Dmtu3_plat.c266 ssusb->wakeup_irq = platform_get_irq_byname_optional(pdev, "wakeup"); in get_ssusb_rscs()
267 if (ssusb->wakeup_irq == -EPROBE_DEFER) in get_ssusb_rscs()
268 return ssusb->wakeup_irq; in get_ssusb_rscs()
367 if (ssusb->wakeup_irq > 0) { in mtu3_probe()
368 ret = dev_pm_set_dedicated_wake_irq_reverse(dev, ssusb->wakeup_irq); in mtu3_probe()
370 dev_err(dev, "failed to set wakeup irq %d\n", ssusb->wakeup_irq); in mtu3_probe()
373 dev_info(dev, "wakeup irq %d\n", ssusb->wakeup_irq); in mtu3_probe()
Dmtu3.h250 int wakeup_irq; member
/linux-6.12.1/drivers/usb/host/
Dxhci-mtk.c520 int wakeup_irq; in xhci_mtk_probe() local
552 wakeup_irq = platform_get_irq_byname_optional(pdev, "wakeup"); in xhci_mtk_probe()
553 if (wakeup_irq == -EPROBE_DEFER) in xhci_mtk_probe()
554 return wakeup_irq; in xhci_mtk_probe()
663 if (wakeup_irq > 0) { in xhci_mtk_probe()
664 ret = dev_pm_set_dedicated_wake_irq_reverse(dev, wakeup_irq); in xhci_mtk_probe()
666 dev_err(dev, "set wakeup irq %d failed\n", wakeup_irq); in xhci_mtk_probe()
669 dev_info(dev, "wakeup irq %d\n", wakeup_irq); in xhci_mtk_probe()
/linux-6.12.1/drivers/tty/serial/
Dqcom_geni_serial.c135 int wakeup_irq; member
1724 port->wakeup_irq = platform_get_irq_optional(pdev, 1); in qcom_geni_serial_probe()
1758 if (port->wakeup_irq > 0) { in qcom_geni_serial_probe()
1761 port->wakeup_irq); in qcom_geni_serial_probe()