Home
last modified time | relevance | path

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

/arch/powerpc/include/asm/
Dcputime.h75 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 …]
Dvdso_datapage.h67 __u64 tb_ticks_per_sec; /* Timebase tics / sec 0x38 */ member
100 __u64 tb_ticks_per_sec; /* Timebase tics / sec 0x38 */ member
Dtime.h25 extern unsigned long tb_ticks_per_sec;
/arch/powerpc/kernel/
Dtime.c127 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()
Dasm-offsets.c340 DEFINE(CFG_TB_TICKS_PER_SEC, offsetof(struct vdso_data, tb_ticks_per_sec)); in main()
/arch/powerpc/xmon/
Dnonstdio.c32 timeout *= tb_ticks_per_sec? tb_ticks_per_sec: 25000000; in xmon_expect()
/arch/powerpc/kvm/
Dbook3s_hv.c537 / tb_ticks_per_sec; in kvmppc_set_timer()