Searched refs:irq_alarm (Results 1 – 10 of 10) sorted by relevance
/drivers/rtc/ |
D | rtc-sa1100.c | 257 int irq_1hz, irq_alarm; in sa1100_rtc_probe() local 261 irq_alarm = platform_get_irq_byname(pdev, "rtc alarm"); in sa1100_rtc_probe() 262 if (irq_1hz < 0 || irq_alarm < 0) in sa1100_rtc_probe() 269 info->irq_alarm = irq_alarm; in sa1100_rtc_probe() 277 ret = devm_request_irq(&pdev->dev, irq_alarm, sa1100_rtc_interrupt, 0, in sa1100_rtc_probe() 280 dev_err(&pdev->dev, "IRQ %d already in use.\n", irq_alarm); in sa1100_rtc_probe() 327 enable_irq_wake(info->irq_alarm); in sa1100_rtc_suspend() 335 disable_irq_wake(info->irq_alarm); in sa1100_rtc_resume()
|
D | rtc-vt8500.c | 74 int irq_alarm; member 214 vt8500_rtc->irq_alarm = platform_get_irq(pdev, 0); in vt8500_rtc_probe() 215 if (vt8500_rtc->irq_alarm < 0) in vt8500_rtc_probe() 216 return vt8500_rtc->irq_alarm; in vt8500_rtc_probe() 236 ret = devm_request_irq(&pdev->dev, vt8500_rtc->irq_alarm, in vt8500_rtc_probe() 240 vt8500_rtc->irq_alarm, ret); in vt8500_rtc_probe()
|
D | rtc-pxa.c | 180 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() 389 enable_irq_wake(pxa_rtc->sa1100_rtc.irq_alarm); in pxa_rtc_suspend() 398 disable_irq_wake(pxa_rtc->sa1100_rtc.irq_alarm); in pxa_rtc_resume()
|
D | rtc-asm9260.c | 249 int irq_alarm, ret; in asm9260_rtc_probe() local 259 irq_alarm = platform_get_irq(pdev, 0); in asm9260_rtc_probe() 260 if (irq_alarm < 0) in asm9260_rtc_probe() 261 return irq_alarm; in asm9260_rtc_probe() 294 ret = devm_request_threaded_irq(dev, irq_alarm, NULL, in asm9260_rtc_probe() 299 irq_alarm, ret); in asm9260_rtc_probe()
|
D | rtc-s3c.c | 44 int irq_alarm; member 470 info->irq_alarm = platform_get_irq(pdev, 0); in s3c_rtc_probe() 471 if (info->irq_alarm < 0) in s3c_rtc_probe() 472 return info->irq_alarm; in s3c_rtc_probe() 475 info->irq_tick, info->irq_alarm); in s3c_rtc_probe() 545 ret = devm_request_irq(&pdev->dev, info->irq_alarm, s3c_rtc_alarmirq, in s3c_rtc_probe() 548 dev_err(&pdev->dev, "IRQ%d error %d\n", info->irq_alarm, ret); in s3c_rtc_probe() 599 if (enable_irq_wake(info->irq_alarm) == 0) in s3c_rtc_suspend() 621 disable_irq_wake(info->irq_alarm); in s3c_rtc_resume()
|
D | rtc-stmp3xxx.c | 60 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()
|
D | rtc-stm32.c | 129 int irq_alarm; member 777 rtc->irq_alarm = platform_get_irq(pdev, 0); in stm32_rtc_probe() 778 if (rtc->irq_alarm <= 0) { in stm32_rtc_probe() 779 ret = rtc->irq_alarm; in stm32_rtc_probe() 810 ret = devm_request_threaded_irq(&pdev->dev, rtc->irq_alarm, NULL, in stm32_rtc_probe() 815 rtc->irq_alarm); in stm32_rtc_probe() 885 return enable_irq_wake(rtc->irq_alarm); in stm32_rtc_suspend() 906 return disable_irq_wake(rtc->irq_alarm); in stm32_rtc_resume()
|
D | rtc-omap.c | 145 int irq_alarm; member 754 rtc->irq_alarm = platform_get_irq(pdev, 1); in omap_rtc_probe() 755 if (rtc->irq_alarm <= 0) in omap_rtc_probe() 875 if (rtc->irq_timer != rtc->irq_alarm) { in omap_rtc_probe() 876 ret = devm_request_irq(&pdev->dev, rtc->irq_alarm, rtc_irq, 0, in omap_rtc_probe() 970 enable_irq_wake(rtc->irq_alarm); in omap_rtc_suspend() 986 disable_irq_wake(rtc->irq_alarm); in omap_rtc_resume()
|
D | rtc-da9063.c | 380 int irq_alarm; in da9063_rtc_probe() local 485 irq_alarm = platform_get_irq_byname(pdev, "ALARM"); in da9063_rtc_probe() 486 ret = devm_request_threaded_irq(&pdev->dev, irq_alarm, NULL, in da9063_rtc_probe() 492 irq_alarm, ret); in da9063_rtc_probe()
|
D | rtc-sa1100.h | 17 int irq_alarm; member
|