Lines Matching refs:rtc_dev
67 struct rtc_device *rtc_dev;
363 rtc_update_irq(rtc->rtc_dev, 1, RTC_IRQF | RTC_AF);
468 rtc->rtc_dev = devm_rtc_allocate_device(&pdev->dev);
469 if (IS_ERR(rtc->rtc_dev))
470 return PTR_ERR(rtc->rtc_dev);
472 rtc->rtc_dev->ops = &da9063_rtc_ops;
473 rtc->rtc_dev->range_min = RTC_TIMESTAMP_BEGIN_2000;
474 rtc->rtc_dev->range_max = RTC_TIMESTAMP_END_2063;
480 set_bit(RTC_FEATURE_ALARM_RES_MINUTE, rtc->rtc_dev->features);
485 clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc->rtc_dev->features);
508 return devm_rtc_register_device(rtc->rtc_dev);