Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H 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()
317 enable_irq_wake(info->irq_alarm); in sa1100_rtc_suspend()
325 disable_irq_wake(info->irq_alarm); in sa1100_rtc_resume()
H 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()
H A Drtc-pxa.c177 ret = request_irq(pxa_rtc->sa1100_rtc.irq_alarm, pxa_rtc_irq, 0, in pxa_rtc_open()
181 pxa_rtc->sa1100_rtc.irq_alarm, ret); in pxa_rtc_open()
202 free_irq(pxa_rtc->sa1100_rtc.irq_alarm, dev); in pxa_rtc_release()
326 sa1100_rtc->irq_alarm = platform_get_irq(pdev, 1); in pxa_rtc_probe()
327 if (sa1100_rtc->irq_alarm < 0) in pxa_rtc_probe()
390 enable_irq_wake(pxa_rtc->sa1100_rtc.irq_alarm); in pxa_rtc_suspend()
399 disable_irq_wake(pxa_rtc->sa1100_rtc.irq_alarm); in pxa_rtc_resume()
H A Drtc-s3c.c43 int irq_alarm; member
417 info->irq_alarm = platform_get_irq(pdev, 0); in s3c_rtc_probe()
418 if (info->irq_alarm < 0) in s3c_rtc_probe()
419 return info->irq_alarm; in s3c_rtc_probe()
421 dev_dbg(&pdev->dev, "s3c2410_rtc: alarm irq %d\n", info->irq_alarm); in s3c_rtc_probe()
475 ret = devm_request_irq(&pdev->dev, info->irq_alarm, s3c_rtc_alarmirq, in s3c_rtc_probe()
478 dev_err(&pdev->dev, "IRQ%d error %d\n", info->irq_alarm, ret); in s3c_rtc_probe()
513 if (enable_irq_wake(info->irq_alarm) == 0) in s3c_rtc_suspend()
532 disable_irq_wake(info->irq_alarm); in s3c_rtc_resume()
H A Drtc-da9063.c381 int irq_alarm; in da9063_rtc_probe() local
488 irq_alarm = platform_get_irq_byname(pdev, "ALARM"); in da9063_rtc_probe()
489 if (irq_alarm < 0) in da9063_rtc_probe()
490 return irq_alarm; in da9063_rtc_probe()
492 ret = devm_request_threaded_irq(&pdev->dev, irq_alarm, NULL, in da9063_rtc_probe()
498 irq_alarm, ret); in da9063_rtc_probe()
500 ret = dev_pm_set_wake_irq(&pdev->dev, irq_alarm); in da9063_rtc_probe()
504 irq_alarm, ret); in da9063_rtc_probe()
H 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()
H A Drtc-stmp3xxx.c59 int irq_alarm; member
270 rtc_data->irq_alarm = platform_get_irq(pdev, 0); in stmp3xxx_rtc_probe()
357 err = devm_request_irq(&pdev->dev, rtc_data->irq_alarm, in stmp3xxx_rtc_probe()
361 rtc_data->irq_alarm); in stmp3xxx_rtc_probe()
H A Drtc-omap.c145 int irq_alarm; member
753 rtc->irq_alarm = platform_get_irq(pdev, 1); in omap_rtc_probe()
754 if (rtc->irq_alarm < 0) in omap_rtc_probe()
755 return rtc->irq_alarm; 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()
960 enable_irq_wake(rtc->irq_alarm); in omap_rtc_suspend()
976 disable_irq_wake(rtc->irq_alarm); in omap_rtc_resume()
H A Drtc-sa1100.h17 int irq_alarm; member
H A Drtc-stm32.c134 int irq_alarm; member
802 rtc->irq_alarm = platform_get_irq(pdev, 0); in stm32_rtc_probe()
803 if (rtc->irq_alarm <= 0) { in stm32_rtc_probe()
804 ret = rtc->irq_alarm; in stm32_rtc_probe()
812 ret = dev_pm_set_wake_irq(&pdev->dev, rtc->irq_alarm); in stm32_rtc_probe()
828 ret = devm_request_threaded_irq(&pdev->dev, rtc->irq_alarm, NULL, in stm32_rtc_probe()
833 rtc->irq_alarm); in stm32_rtc_probe()