Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/usb/cdns3/
Dcdns3-plat.c111 cdns->wakeup_irq = platform_get_irq_byname_optional(pdev, "wakeup"); in cdns3_plat_probe()
112 if (cdns->wakeup_irq == -EPROBE_DEFER) in cdns3_plat_probe()
113 return cdns->wakeup_irq; in cdns3_plat_probe()
115 if (cdns->wakeup_irq < 0) { in cdns3_plat_probe()
117 cdns->wakeup_irq = 0x0; in cdns3_plat_probe()
265 enable_irq(cdns->wakeup_irq); in cdns3_controller_resume()
295 if (device_may_wakeup(dev) && cdns->wakeup_irq) in cdns3_plat_suspend()
296 enable_irq_wake(cdns->wakeup_irq); in cdns3_plat_suspend()
Dcore.h103 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.6.21/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.6.21/drivers/base/power/
Dwakeup.c32 static unsigned int wakeup_irq[2] __read_mostly; variable
916 if (irq_number && wakeup_irq[0] == irq_number) in pm_wakeup_clear()
917 wakeup_irq[0] = wakeup_irq[1]; in pm_wakeup_clear()
919 wakeup_irq[0] = 0; in pm_wakeup_clear()
921 wakeup_irq[1] = 0; in pm_wakeup_clear()
935 if (wakeup_irq[0] == 0) in pm_system_irq_wakeup()
936 wakeup_irq[0] = irq_number; in pm_system_irq_wakeup()
937 else if (wakeup_irq[1] == 0) in pm_system_irq_wakeup()
938 wakeup_irq[1] = irq_number; in pm_system_irq_wakeup()
952 return wakeup_irq[0]; in pm_wakeup_irq()
/linux-6.6.21/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.6.21/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.6.21/drivers/tty/serial/
Dqcom_geni_serial.c134 int wakeup_irq; member
1651 port->wakeup_irq = platform_get_irq_optional(pdev, 1); in qcom_geni_serial_probe()
1685 if (port->wakeup_irq > 0) { in qcom_geni_serial_probe()
1688 port->wakeup_irq); in qcom_geni_serial_probe()
/linux-6.6.21/arch/ia64/kernel/
Dmca.c825 ia64_mca_wakeup_int_handler(int wakeup_irq, void *arg) in ia64_mca_wakeup_int_handler() argument