Home
last modified time | relevance | path

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

/linux/drivers/rtc/
H A Drtc-loongson.c78 u32 fix_year; /* RTC alarm year compensation value */ member
191 priv->fix_year = tm->tm_year / 64 * 64; in loongson_rtc_read_time()
242 alrm->time.tm_year = FIELD_GET(TOY_MATCH_YEAR, alarm_data) + priv->fix_year; in loongson_rtc_read_alarm()
274 | FIELD_PREP(TOY_MATCH_YEAR, alrm->time.tm_year - priv->fix_year); in loongson_rtc_set_alarm()