Home
last modified time | relevance | path

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

/linux-3.4.99/arch/ia64/kernel/ !
Dtime.c264 struct pal_freq_ratio itc_ratio, proc_ratio; in ia64_init_itm() local
277 status = ia64_pal_freq_ratios(&proc_ratio, NULL, &itc_ratio); in ia64_init_itm()
287 itc_ratio.num = 3; in ia64_init_itm()
288 itc_ratio.den = 1; in ia64_init_itm()
298 if (!itc_ratio.den) in ia64_init_itm()
299 itc_ratio.den = 1; /* avoid division by zero */ in ia64_init_itm()
301 itc_freq = (platform_base_freq*itc_ratio.num)/itc_ratio.den; in ia64_init_itm()
307 itc_ratio.num, itc_ratio.den, itc_freq / 1000000, (itc_freq / 1000) % 1000); in ia64_init_itm()
310 itc_drift = platform_base_drift*itc_ratio.num/itc_ratio.den; in ia64_init_itm()
/linux-3.4.99/arch/ia64/include/asm/ !
Dpal.h151 } itc_ratio, proc_ratio; typedef
1092 struct pal_freq_ratio *itc_ratio) in ia64_pal_freq_ratios() argument
1100 if (itc_ratio) in ia64_pal_freq_ratios()
1101 *(u64 *)itc_ratio = iprv.v2; in ia64_pal_freq_ratios()