Home
last modified time | relevance | path

Searched refs:data_year (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/drivers/rtc/
Drtc-sunxi.c139 const struct sunxi_rtc_data_year *data_year; member
201 chip->data_year->mask); in sunxi_rtc_getalarm()
209 alrm_tm->tm_year += SUNXI_YEAR_OFF(chip->data_year); in sunxi_rtc_getalarm()
239 chip->data_year->mask); in sunxi_rtc_gettime()
247 rtc_tm->tm_year += SUNXI_YEAR_OFF(chip->data_year); in sunxi_rtc_gettime()
340 if (year < chip->data_year->min || year > chip->data_year->max) { in sunxi_rtc_settime()
342 chip->data_year->min, chip->data_year->max); in sunxi_rtc_settime()
346 rtc_tm->tm_year -= SUNXI_YEAR_OFF(chip->data_year); in sunxi_rtc_settime()
352 chip->data_year->mask); in sunxi_rtc_settime()
355 date |= SUNXI_LEAP_SET_VALUE(1, chip->data_year->leap_shift); in sunxi_rtc_settime()
[all …]