Home
last modified time | relevance | path

Searched refs:rtcdev (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/drivers/rtc/
Drtc-au1xxx.c67 struct rtc_device *rtcdev; in au1xtoy_rtc_probe() local
104 rtcdev = rtc_device_register("rtc-au1xxx", &pdev->dev, in au1xtoy_rtc_probe()
106 if (IS_ERR(rtcdev)) { in au1xtoy_rtc_probe()
107 ret = PTR_ERR(rtcdev); in au1xtoy_rtc_probe()
111 platform_set_drvdata(pdev, rtcdev); in au1xtoy_rtc_probe()
121 struct rtc_device *rtcdev = platform_get_drvdata(pdev); in au1xtoy_rtc_remove() local
123 rtc_device_unregister(rtcdev); in au1xtoy_rtc_remove()
Drtc-ls1x.c148 struct rtc_device *rtcdev; in ls1x_rtc_probe() local
175 rtcdev = rtc_device_register("ls1x-rtc", &pdev->dev, in ls1x_rtc_probe()
177 if (IS_ERR(rtcdev)) { in ls1x_rtc_probe()
178 ret = PTR_ERR(rtcdev); in ls1x_rtc_probe()
182 platform_set_drvdata(pdev, rtcdev); in ls1x_rtc_probe()
190 struct rtc_device *rtcdev = platform_get_drvdata(pdev); in ls1x_rtc_remove() local
192 rtc_device_unregister(rtcdev); in ls1x_rtc_remove()
Drtc-at91sam9.c58 struct rtc_device *rtcdev; member
271 rtc_update_irq(rtc->rtcdev, 1, events); in at91_rtc_interrupt()
340 rtc->rtcdev = rtc_device_register(pdev->name, &pdev->dev, in at91_rtc_probe()
342 if (IS_ERR(rtc->rtcdev)) { in at91_rtc_probe()
343 ret = PTR_ERR(rtc->rtcdev); in at91_rtc_probe()
350 dev_name(&rtc->rtcdev->dev), rtc); in at91_rtc_probe()
353 rtc_device_unregister(rtc->rtcdev); in at91_rtc_probe()
365 dev_name(&rtc->rtcdev->dev)); in at91_rtc_probe()
391 rtc_device_unregister(rtc->rtcdev); in at91_rtc_remove()
Drtc-nuc900.c50 struct rtc_device *rtcdev; member
81 rtc_update_irq(rtc->rtcdev, 1, events); in nuc900_rtc_interrupt()
259 nuc900_rtc->rtcdev = rtc_device_register(pdev->name, &pdev->dev, in nuc900_rtc_probe()
261 if (IS_ERR(nuc900_rtc->rtcdev)) { in nuc900_rtc_probe()
263 err = PTR_ERR(nuc900_rtc->rtcdev); in nuc900_rtc_probe()
280 fail4: rtc_device_unregister(nuc900_rtc->rtcdev); in nuc900_rtc_probe()
293 rtc_device_unregister(nuc900_rtc->rtcdev); in nuc900_rtc_remove()
/linux-3.4.99/kernel/time/
Dalarmtimer.c52 static struct rtc_device *rtcdev; variable
68 ret = rtcdev; in alarmtimer_get_rtcdev()
81 if (rtcdev) in alarmtimer_rtc_add_device()
90 if (!rtcdev) { in alarmtimer_rtc_add_device()
91 rtcdev = rtc; in alarmtimer_rtc_add_device()
122 #define rtcdev (NULL) macro
550 if (!rtcdev) in alarm_timer_del()
572 if (!rtcdev) in alarm_timer_set()
/linux-3.4.99/Documentation/
Drtc.txt256 fprintf(stderr, "usage: rtctest [rtcdev]\n");