Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/char/
Dmmtimer.c472 static int sgi_clock_period; variable
479 static int sgi_clock_period; variable
485 nsec = rtc_time() * sgi_clock_period in sgi_clock_get()
498 nsec = rtc_time() * sgi_clock_period; in sgi_clock_set()
671 cur_setting->it_interval = ns_to_timespec(timr->it.mmtimer.incr * sgi_clock_period); in sgi_timer_get()
672 cur_setting->it_value = ns_to_timespec((timr->it.mmtimer.expires - rtc_time()) * sgi_clock_period); in sgi_timer_get()
719 when = (when + sgi_clock_period - 1) / sgi_clock_period + rtc_time(); in sgi_timer_set()
720 period = (period + sgi_clock_period - 1) / sgi_clock_period; in sgi_timer_set()
771 tp->tv_nsec = sgi_clock_period; in sgi_clock_getres()
842 sgi_clock_period = NSEC_PER_SEC / sn_rtc_cycles_per_second; in mmtimer_init()