Searched refs:rtcdev (Results 1 – 4 of 4) sorted by relevance
66 struct rtc_device *rtcdev; in au1xtoy_rtc_probe() local98 rtcdev = devm_rtc_allocate_device(&pdev->dev); in au1xtoy_rtc_probe()99 if (IS_ERR(rtcdev)) in au1xtoy_rtc_probe()100 return PTR_ERR(rtcdev); in au1xtoy_rtc_probe()102 rtcdev->ops = &au1xtoy_rtc_ops; in au1xtoy_rtc_probe()103 rtcdev->range_max = U32_MAX; in au1xtoy_rtc_probe()105 platform_set_drvdata(pdev, rtcdev); in au1xtoy_rtc_probe()107 return rtc_register_device(rtcdev); in au1xtoy_rtc_probe()
145 struct rtc_device *rtcdev; in ls1x_rtc_probe() local170 rtcdev = devm_rtc_allocate_device(&pdev->dev); in ls1x_rtc_probe()171 if (IS_ERR(rtcdev)) in ls1x_rtc_probe()172 return PTR_ERR(rtcdev); in ls1x_rtc_probe()174 platform_set_drvdata(pdev, rtcdev); in ls1x_rtc_probe()175 rtcdev->ops = &ls1x_rtc_ops; in ls1x_rtc_probe()176 rtcdev->range_min = RTC_TIMESTAMP_BEGIN_1900; in ls1x_rtc_probe()177 rtcdev->range_max = RTC_TIMESTAMP_END_2099; in ls1x_rtc_probe()179 return rtc_register_device(rtcdev); in ls1x_rtc_probe()
70 struct rtc_device *rtcdev; member287 rtc_update_irq(rtc->rtcdev, 1, rtc->events); in at91_rtc_flush_events()406 rtc->rtcdev = devm_rtc_allocate_device(&pdev->dev); in at91_rtc_probe()407 if (IS_ERR(rtc->rtcdev)) { in at91_rtc_probe()408 ret = PTR_ERR(rtc->rtcdev); in at91_rtc_probe()412 rtc->rtcdev->ops = &at91_rtc_ops; in at91_rtc_probe()413 rtc->rtcdev->range_max = U32_MAX; in at91_rtc_probe()418 dev_name(&rtc->rtcdev->dev), rtc); in at91_rtc_probe()432 dev_name(&rtc->rtcdev->dev)); in at91_rtc_probe()434 return rtc_register_device(rtc->rtcdev); in at91_rtc_probe()
46 struct rtc_device *rtcdev; member208 data->rtcdev = devm_rtc_device_register(&pdev->dev, "rtc", in rtd119x_rtc_probe()210 if (IS_ERR(data->rtcdev)) { in rtd119x_rtc_probe()214 return PTR_ERR(data->rtcdev); in rtd119x_rtc_probe()