Searched refs:period_code (Results 1 – 1 of 1) sorted by relevance
127 int period_code, period, delta; in rtc_timer_update() local134 period_code = s->hw.cmos_data[RTC_REG_A] & RTC_RATE_SELECT; in rtc_timer_update()138 if ( (period_code != 0) && (period_code <= 2) ) in rtc_timer_update()139 period_code += 7; in rtc_timer_update()143 if ( period_code != 0 ) in rtc_timer_update()145 period = 1 << (period_code - 1); /* period in 32 Khz cycles */ in rtc_timer_update()
Completed in 4 milliseconds