Searched refs:period_code (Results 1 – 1 of 1) sorted by relevance
137 int period_code, period; in rtc_timer_update() local141 period_code = s->cmos_data[RTC_REG_A] & 0x0f; in rtc_timer_update()154 if (period_code != 0 in rtc_timer_update()157 if (period_code <= 2) in rtc_timer_update()158 period_code += 7; in rtc_timer_update()160 period = 1 << (period_code - 1); in rtc_timer_update()