Lines Matching refs:rtc_dev
66 struct rtc_device *rtc_dev; member
362 rtc_update_irq(rtc->rtc_dev, 1, RTC_IRQF | RTC_AF); in da9063_alarm_event()
467 rtc->rtc_dev = devm_rtc_allocate_device(&pdev->dev); in da9063_rtc_probe()
468 if (IS_ERR(rtc->rtc_dev)) in da9063_rtc_probe()
469 return PTR_ERR(rtc->rtc_dev); in da9063_rtc_probe()
471 rtc->rtc_dev->ops = &da9063_rtc_ops; in da9063_rtc_probe()
472 rtc->rtc_dev->range_min = RTC_TIMESTAMP_BEGIN_2000; in da9063_rtc_probe()
473 rtc->rtc_dev->range_max = RTC_TIMESTAMP_END_2063; in da9063_rtc_probe()
479 set_bit(RTC_FEATURE_ALARM_RES_MINUTE, rtc->rtc_dev->features); in da9063_rtc_probe()
484 clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc->rtc_dev->features); in da9063_rtc_probe()
501 return devm_rtc_register_device(rtc->rtc_dev); in da9063_rtc_probe()