Searched refs:wakeup_irq (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/drivers/usb/cdns3/ |
A D | cdns3-plat.c | 110 cdns->wakeup_irq = platform_get_irq_byname_optional(pdev, "wakeup"); in cdns3_plat_probe() 111 if (cdns->wakeup_irq == -EPROBE_DEFER) in cdns3_plat_probe() 112 return cdns->wakeup_irq; in cdns3_plat_probe() 114 if (cdns->wakeup_irq < 0) { in cdns3_plat_probe() 116 cdns->wakeup_irq = 0x0; in cdns3_plat_probe() 264 enable_irq(cdns->wakeup_irq); in cdns3_controller_resume() 294 if (device_may_wakeup(dev) && cdns->wakeup_irq) in cdns3_plat_suspend() 295 enable_irq_wake(cdns->wakeup_irq); in cdns3_plat_suspend()
|
A D | core.h | 103 int wakeup_irq; member
|
A D | core.c | 456 if (cdns->wakeup_irq) { in cdns_init() 457 ret = devm_request_irq(cdns->dev, cdns->wakeup_irq, in cdns_init()
|
/linux-6.3-rc2/drivers/rtc/ |
A D | rtc-mpfs.c | 220 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.3-rc2/drivers/base/power/ |
A D | wakeup.c | 37 static unsigned int wakeup_irq[2] __read_mostly; variable 921 if (irq_number && wakeup_irq[0] == irq_number) in pm_wakeup_clear() 922 wakeup_irq[0] = wakeup_irq[1]; in pm_wakeup_clear() 924 wakeup_irq[0] = 0; in pm_wakeup_clear() 926 wakeup_irq[1] = 0; in pm_wakeup_clear() 940 if (wakeup_irq[0] == 0) in pm_system_irq_wakeup() 941 wakeup_irq[0] = irq_number; in pm_system_irq_wakeup() 942 else if (wakeup_irq[1] == 0) in pm_system_irq_wakeup() 943 wakeup_irq[1] = irq_number; in pm_system_irq_wakeup() 957 return wakeup_irq[0]; in pm_wakeup_irq()
|
/linux-6.3-rc2/drivers/usb/mtu3/ |
A D | mtu3_plat.c | 264 ssusb->wakeup_irq = platform_get_irq_byname_optional(pdev, "wakeup"); in get_ssusb_rscs() 265 if (ssusb->wakeup_irq == -EPROBE_DEFER) in get_ssusb_rscs() 266 return ssusb->wakeup_irq; in get_ssusb_rscs() 365 if (ssusb->wakeup_irq > 0) { in mtu3_probe() 366 ret = dev_pm_set_dedicated_wake_irq_reverse(dev, ssusb->wakeup_irq); in mtu3_probe() 368 dev_err(dev, "failed to set wakeup irq %d\n", ssusb->wakeup_irq); in mtu3_probe() 371 dev_info(dev, "wakeup irq %d\n", ssusb->wakeup_irq); in mtu3_probe()
|
A D | mtu3.h | 249 int wakeup_irq; member
|
/linux-6.3-rc2/drivers/usb/host/ |
A D | xhci-mtk.c | 491 int wakeup_irq; in xhci_mtk_probe() local 523 wakeup_irq = platform_get_irq_byname_optional(pdev, "wakeup"); in xhci_mtk_probe() 524 if (wakeup_irq == -EPROBE_DEFER) in xhci_mtk_probe() 525 return wakeup_irq; in xhci_mtk_probe() 631 if (wakeup_irq > 0) { in xhci_mtk_probe() 632 ret = dev_pm_set_dedicated_wake_irq_reverse(dev, wakeup_irq); in xhci_mtk_probe() 634 dev_err(dev, "set wakeup irq %d failed\n", wakeup_irq); in xhci_mtk_probe() 637 dev_info(dev, "wakeup irq %d\n", wakeup_irq); in xhci_mtk_probe()
|
/linux-6.3-rc2/drivers/tty/serial/ |
A D | qcom_geni_serial.c | 134 int wakeup_irq; member 1643 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.3-rc2/arch/ia64/kernel/ |
A D | mca.c | 825 ia64_mca_wakeup_int_handler(int wakeup_irq, void *arg) in ia64_mca_wakeup_int_handler() argument
|
Completed in 26 milliseconds