Searched refs:tb_ticks_per_sec (Results 1 – 7 of 7) sorted by relevance
/arch/powerpc/include/asm/ |
D | cputime.h | 75 ct *= tb_ticks_per_sec; in jiffies_to_cputime() 79 ct += (cputime_t) sec * tb_ticks_per_sec; in jiffies_to_cputime() 97 ct *= tb_ticks_per_sec; in jiffies64_to_cputime64() 101 ct += (u64) sec * tb_ticks_per_sec; in jiffies64_to_cputime64() 129 ct *= tb_ticks_per_sec; in usecs_to_cputime() 133 ct += (cputime_t) sec * tb_ticks_per_sec; in usecs_to_cputime() 151 return (__force cputime_t)((u64) sec * tb_ticks_per_sec); in secs_to_cputime() 162 frac = do_div(x, tb_ticks_per_sec); in cputime_to_timespec() 165 do_div(x, tb_ticks_per_sec); in cputime_to_timespec() 173 ct = (u64) p->tv_nsec * tb_ticks_per_sec; in timespec_to_cputime() [all …]
|
D | vdso_datapage.h | 67 __u64 tb_ticks_per_sec; /* Timebase tics / sec 0x38 */ member 100 __u64 tb_ticks_per_sec; /* Timebase tics / sec 0x38 */ member
|
D | time.h | 25 extern unsigned long tb_ticks_per_sec;
|
/arch/powerpc/kernel/ |
D | time.c | 127 unsigned long tb_ticks_per_sec; variable 128 EXPORT_SYMBOL(tb_ticks_per_sec); /* for cputime_t conversions */ 170 div128_by_32(HZ, 0, tb_ticks_per_sec, &res); in calc_cputime_factors() 172 div128_by_32(1000000, 0, tb_ticks_per_sec, &res); in calc_cputime_factors() 174 div128_by_32(1, 0, tb_ticks_per_sec, &res); in calc_cputime_factors() 176 div128_by_32(USER_HZ, 0, tb_ticks_per_sec, &res); in calc_cputime_factors() 765 if (clocksource_register_hz(clock, tb_ticks_per_sec)) { in clocksource_init() 849 tb_ticks_per_sec = ppc_tb_freq; in time_init() 864 div128_by_32(1000000000, 0, tb_ticks_per_sec, &res); in time_init() 882 vdso_data->tb_ticks_per_sec = tb_ticks_per_sec; in time_init()
|
D | asm-offsets.c | 340 DEFINE(CFG_TB_TICKS_PER_SEC, offsetof(struct vdso_data, tb_ticks_per_sec)); in main()
|
/arch/powerpc/xmon/ |
D | nonstdio.c | 32 timeout *= tb_ticks_per_sec? tb_ticks_per_sec: 25000000; in xmon_expect()
|
/arch/powerpc/kvm/ |
D | book3s_hv.c | 537 / tb_ticks_per_sec; in kvmppc_set_timer()
|