Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/rtc/
A Drtc-sa1100.c246 int irq_1hz, irq_alarm; in sa1100_rtc_probe() local
250 irq_alarm = platform_get_irq_byname(pdev, "rtc alarm"); in sa1100_rtc_probe()
251 if (irq_1hz < 0 || irq_alarm < 0) in sa1100_rtc_probe()
258 info->irq_alarm = irq_alarm; in sa1100_rtc_probe()
270 ret = devm_request_irq(&pdev->dev, irq_alarm, sa1100_rtc_interrupt, 0, in sa1100_rtc_probe()
273 dev_err(&pdev->dev, "IRQ %d already in use.\n", irq_alarm); in sa1100_rtc_probe()
319 enable_irq_wake(info->irq_alarm); in sa1100_rtc_suspend()
327 disable_irq_wake(info->irq_alarm); in sa1100_rtc_resume()
A Drtc-vt8500.c74 int irq_alarm; member
207 vt8500_rtc->irq_alarm = platform_get_irq(pdev, 0); in vt8500_rtc_probe()
208 if (vt8500_rtc->irq_alarm < 0) in vt8500_rtc_probe()
209 return vt8500_rtc->irq_alarm; in vt8500_rtc_probe()
227 ret = devm_request_irq(&pdev->dev, vt8500_rtc->irq_alarm, in vt8500_rtc_probe()
231 vt8500_rtc->irq_alarm, ret); in vt8500_rtc_probe()
A Drtc-pxa.c178 ret = request_irq(pxa_rtc->sa1100_rtc.irq_alarm, pxa_rtc_irq, 0, in pxa_rtc_open()
182 pxa_rtc->sa1100_rtc.irq_alarm, ret); in pxa_rtc_open()
203 free_irq(pxa_rtc->sa1100_rtc.irq_alarm, dev); in pxa_rtc_release()
327 sa1100_rtc->irq_alarm = platform_get_irq(pdev, 1); in pxa_rtc_probe()
328 if (sa1100_rtc->irq_alarm < 0) in pxa_rtc_probe()
391 enable_irq_wake(pxa_rtc->sa1100_rtc.irq_alarm); in pxa_rtc_suspend()
400 disable_irq_wake(pxa_rtc->sa1100_rtc.irq_alarm); in pxa_rtc_resume()
A Drtc-s3c.c44 int irq_alarm; member
420 info->irq_alarm = platform_get_irq(pdev, 0); in s3c_rtc_probe()
421 if (info->irq_alarm < 0) in s3c_rtc_probe()
422 return info->irq_alarm; in s3c_rtc_probe()
424 dev_dbg(&pdev->dev, "s3c2410_rtc: alarm irq %d\n", info->irq_alarm); in s3c_rtc_probe()
478 ret = devm_request_irq(&pdev->dev, info->irq_alarm, s3c_rtc_alarmirq, in s3c_rtc_probe()
481 dev_err(&pdev->dev, "IRQ%d error %d\n", info->irq_alarm, ret); in s3c_rtc_probe()
516 if (enable_irq_wake(info->irq_alarm) == 0) in s3c_rtc_suspend()
535 disable_irq_wake(info->irq_alarm); in s3c_rtc_resume()
A Drtc-asm9260.c248 int irq_alarm, ret; in asm9260_rtc_probe() local
258 irq_alarm = platform_get_irq(pdev, 0); in asm9260_rtc_probe()
259 if (irq_alarm < 0) in asm9260_rtc_probe()
260 return irq_alarm; in asm9260_rtc_probe()
295 ret = devm_request_threaded_irq(dev, irq_alarm, NULL, in asm9260_rtc_probe()
300 irq_alarm, ret); in asm9260_rtc_probe()
A Drtc-da9063.c380 int irq_alarm; in da9063_rtc_probe() local
487 irq_alarm = platform_get_irq_byname(pdev, "ALARM"); in da9063_rtc_probe()
488 if (irq_alarm < 0) in da9063_rtc_probe()
489 return irq_alarm; in da9063_rtc_probe()
491 ret = devm_request_threaded_irq(&pdev->dev, irq_alarm, NULL, in da9063_rtc_probe()
497 irq_alarm, ret); in da9063_rtc_probe()
A Drtc-stmp3xxx.c60 int irq_alarm; member
273 rtc_data->irq_alarm = platform_get_irq(pdev, 0); in stmp3xxx_rtc_probe()
360 err = devm_request_irq(&pdev->dev, rtc_data->irq_alarm, in stmp3xxx_rtc_probe()
364 rtc_data->irq_alarm); in stmp3xxx_rtc_probe()
A Drtc-stm32.c129 int irq_alarm; member
775 rtc->irq_alarm = platform_get_irq(pdev, 0); in stm32_rtc_probe()
776 if (rtc->irq_alarm <= 0) { in stm32_rtc_probe()
777 ret = rtc->irq_alarm; in stm32_rtc_probe()
808 ret = devm_request_threaded_irq(&pdev->dev, rtc->irq_alarm, NULL, in stm32_rtc_probe()
813 rtc->irq_alarm); in stm32_rtc_probe()
885 return enable_irq_wake(rtc->irq_alarm); in stm32_rtc_suspend()
909 return disable_irq_wake(rtc->irq_alarm); in stm32_rtc_resume()
A Drtc-sa1100.h17 int irq_alarm; member
A Drtc-omap.c144 int irq_alarm; member
752 rtc->irq_alarm = platform_get_irq(pdev, 1); in omap_rtc_probe()
753 if (rtc->irq_alarm <= 0) in omap_rtc_probe()
871 if (rtc->irq_timer != rtc->irq_alarm) { in omap_rtc_probe()
872 ret = devm_request_irq(&pdev->dev, rtc->irq_alarm, rtc_irq, 0, in omap_rtc_probe()
961 enable_irq_wake(rtc->irq_alarm); in omap_rtc_suspend()
977 disable_irq_wake(rtc->irq_alarm); in omap_rtc_resume()

Completed in 25 milliseconds