rtcdev             70 drivers/rtc/rtc-at91sam9.c 	struct rtc_device	*rtcdev;
rtcdev            287 drivers/rtc/rtc-at91sam9.c 	rtc_update_irq(rtc->rtcdev, 1, rtc->events);
rtcdev            408 drivers/rtc/rtc-at91sam9.c 	rtc->rtcdev = devm_rtc_allocate_device(&pdev->dev);
rtcdev            409 drivers/rtc/rtc-at91sam9.c 	if (IS_ERR(rtc->rtcdev)) {
rtcdev            410 drivers/rtc/rtc-at91sam9.c 		ret = PTR_ERR(rtc->rtcdev);
rtcdev            414 drivers/rtc/rtc-at91sam9.c 	rtc->rtcdev->ops = &at91_rtc_ops;
rtcdev            415 drivers/rtc/rtc-at91sam9.c 	rtc->rtcdev->range_max = U32_MAX;
rtcdev            420 drivers/rtc/rtc-at91sam9.c 			       dev_name(&rtc->rtcdev->dev), rtc);
rtcdev            434 drivers/rtc/rtc-at91sam9.c 			 dev_name(&rtc->rtcdev->dev));
rtcdev            436 drivers/rtc/rtc-at91sam9.c 	return rtc_register_device(rtc->rtcdev);
rtcdev             66 drivers/rtc/rtc-au1xxx.c 	struct rtc_device *rtcdev;
rtcdev            102 drivers/rtc/rtc-au1xxx.c 	rtcdev = devm_rtc_device_register(&pdev->dev, "rtc-au1xxx",
rtcdev            104 drivers/rtc/rtc-au1xxx.c 	if (IS_ERR(rtcdev)) {
rtcdev            105 drivers/rtc/rtc-au1xxx.c 		ret = PTR_ERR(rtcdev);
rtcdev            109 drivers/rtc/rtc-au1xxx.c 	platform_set_drvdata(pdev, rtcdev);
rtcdev            145 drivers/rtc/rtc-ls1x.c 	struct rtc_device *rtcdev;
rtcdev            170 drivers/rtc/rtc-ls1x.c 	rtcdev = devm_rtc_allocate_device(&pdev->dev);
rtcdev            171 drivers/rtc/rtc-ls1x.c 	if (IS_ERR(rtcdev))
rtcdev            172 drivers/rtc/rtc-ls1x.c 		return PTR_ERR(rtcdev);
rtcdev            174 drivers/rtc/rtc-ls1x.c 	platform_set_drvdata(pdev, rtcdev);
rtcdev            175 drivers/rtc/rtc-ls1x.c 	rtcdev->ops = &ls1x_rtc_ops;
rtcdev            176 drivers/rtc/rtc-ls1x.c 	rtcdev->range_min = RTC_TIMESTAMP_BEGIN_1900;
rtcdev            177 drivers/rtc/rtc-ls1x.c 	rtcdev->range_max = RTC_TIMESTAMP_END_2099;
rtcdev            179 drivers/rtc/rtc-ls1x.c 	return rtc_register_device(rtcdev);
rtcdev             46 drivers/rtc/rtc-rtd119x.c 	struct rtc_device *rtcdev;
rtcdev            210 drivers/rtc/rtc-rtd119x.c 	data->rtcdev = devm_rtc_device_register(&pdev->dev, "rtc",
rtcdev            212 drivers/rtc/rtc-rtd119x.c 	if (IS_ERR(data->rtcdev)) {
rtcdev            216 drivers/rtc/rtc-rtd119x.c 		return PTR_ERR(data->rtcdev);
rtcdev             62 kernel/time/alarmtimer.c static struct rtc_device	*rtcdev;
rtcdev             78 kernel/time/alarmtimer.c 	ret = rtcdev;
rtcdev             94 kernel/time/alarmtimer.c 	if (rtcdev)
rtcdev            107 kernel/time/alarmtimer.c 	if (__ws && !IS_ERR(pdev) && !rtcdev) {
rtcdev            113 kernel/time/alarmtimer.c 		rtcdev = rtc;