Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/rtc/
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()
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()
Drtc-pxa.c180 ret = request_irq(pxa_rtc->sa1100_rtc.irq_alarm, pxa_rtc_irq, 0, in pxa_rtc_open()
184 pxa_rtc->sa1100_rtc.irq_alarm, ret); in pxa_rtc_open()
205 free_irq(pxa_rtc->sa1100_rtc.irq_alarm, dev); in pxa_rtc_release()
329 sa1100_rtc->irq_alarm = platform_get_irq(pdev, 1); in pxa_rtc_probe()
330 if (sa1100_rtc->irq_alarm < 0) in pxa_rtc_probe()
393 enable_irq_wake(pxa_rtc->sa1100_rtc.irq_alarm); in pxa_rtc_suspend()
402 disable_irq_wake(pxa_rtc->sa1100_rtc.irq_alarm); in pxa_rtc_resume()
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()
Drtc-da9063.c380 int irq_alarm; in da9063_rtc_probe() local
485 irq_alarm = platform_get_irq_byname(pdev, "ALARM"); in da9063_rtc_probe()
486 if (irq_alarm < 0) in da9063_rtc_probe()
487 return irq_alarm; in da9063_rtc_probe()
489 ret = devm_request_threaded_irq(&pdev->dev, irq_alarm, NULL, in da9063_rtc_probe()
495 irq_alarm, ret); in da9063_rtc_probe()
Drtc-stmp3xxx.c60 int irq_alarm; member
271 rtc_data->irq_alarm = platform_get_irq(pdev, 0); in stmp3xxx_rtc_probe()
358 err = devm_request_irq(&pdev->dev, rtc_data->irq_alarm, in stmp3xxx_rtc_probe()
362 rtc_data->irq_alarm); in stmp3xxx_rtc_probe()
Drtc-s3c.c44 int irq_alarm; member
469 info->irq_alarm = platform_get_irq(pdev, 0); in s3c_rtc_probe()
470 if (info->irq_alarm < 0) in s3c_rtc_probe()
471 return info->irq_alarm; in s3c_rtc_probe()
474 info->irq_tick, info->irq_alarm); in s3c_rtc_probe()
538 ret = devm_request_irq(&pdev->dev, info->irq_alarm, s3c_rtc_alarmirq, in s3c_rtc_probe()
541 dev_err(&pdev->dev, "IRQ%d error %d\n", info->irq_alarm, ret); in s3c_rtc_probe()
592 if (enable_irq_wake(info->irq_alarm) == 0) in s3c_rtc_suspend()
614 disable_irq_wake(info->irq_alarm); in s3c_rtc_resume()
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()
Drtc-sa1100.h17 int irq_alarm; member
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()
872 if (rtc->irq_timer != rtc->irq_alarm) { in omap_rtc_probe()
873 ret = devm_request_irq(&pdev->dev, rtc->irq_alarm, rtc_irq, 0, in omap_rtc_probe()
967 enable_irq_wake(rtc->irq_alarm); in omap_rtc_suspend()
983 disable_irq_wake(rtc->irq_alarm); in omap_rtc_resume()