Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/cdns3/
H A 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()
H A Dcore.h104 int wakeup_irq; member
H A Dcore.c456 if (cdns->wakeup_irq) { in cdns_init()
457 ret = devm_request_irq(cdns->dev, cdns->wakeup_irq, in cdns_init()
/openbmc/linux/drivers/rtc/
H A 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()
/openbmc/linux/drivers/base/power/
H A 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()
/openbmc/linux/drivers/usb/mtu3/
H A 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()
H A Dmtu3.h250 int wakeup_irq; member
/openbmc/linux/drivers/usb/host/
H A 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()
/openbmc/linux/drivers/tty/serial/
H A Dqcom_geni_serial.c134 int wakeup_irq; member
1686 port->wakeup_irq = platform_get_irq_optional(pdev, 1); in qcom_geni_serial_probe()
1720 if (port->wakeup_irq > 0) { in qcom_geni_serial_probe()
1723 port->wakeup_irq); in qcom_geni_serial_probe()
/openbmc/u-boot/arch/arm/dts/
H A Dfsl-imx8mq.dtsi335 fsl,wakeup_irq = <2>;
H A Dimx6ull.dtsi575 fsl,wakeup_irq = <0>;
884 fsl,wakeup_irq = <0>;
/openbmc/linux/arch/ia64/kernel/
H A Dmca.c825 ia64_mca_wakeup_int_handler(int wakeup_irq, void *arg) in ia64_mca_wakeup_int_handler() argument