Home
last modified time | relevance | path

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

/xen/xen/arch/x86/hvm/
A Drtc.c127 int period_code, period, delta; in rtc_timer_update() local
134 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