Lines Matching defs:rtc
3 * rtc-ab-b5ze-s3 - Driver for Abracon AB-RTCMC-32.768Khz-B5ZE-S3
12 * This work is based on ISL12057 driver (drivers/rtc/rtc-isl12057.c).
17 #include <linux/rtc.h>
24 #define DRV_NAME "rtc-ab-b5ze-s3"
120 struct rtc_device *rtc;
375 * The alarm section does not store year/month. We use the ones in rtc
749 struct rtc_device *rtc = rtc_data->rtc;
778 rtc_update_irq(rtc, 1, RTC_IRQF | RTC_AF);
791 rtc_update_irq(rtc, 1, RTC_IRQF | RTC_AF);
855 data->rtc = devm_rtc_allocate_device(dev);
856 ret = PTR_ERR_OR_ZERO(data->rtc);
880 data->rtc->ops = &rtc_ops;
881 data->rtc->range_min = RTC_TIMESTAMP_BEGIN_2000;
882 data->rtc->range_max = RTC_TIMESTAMP_END_2099;
894 ret = devm_rtc_register_device(data->rtc);