Home
last modified time | relevance | path

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

/arch/powerpc/include/asm/
Dcputime.h84 ct *= tb_ticks_per_sec; in jiffies_to_cputime()
88 ct += (cputime_t) sec * tb_ticks_per_sec; in jiffies_to_cputime()
101 ct *= tb_ticks_per_sec; in jiffies64_to_cputime64()
105 ct += (cputime_t) sec * tb_ticks_per_sec; in jiffies64_to_cputime64()
133 ct *= tb_ticks_per_sec; in msecs_to_cputime()
137 ct += (cputime_t) sec * tb_ticks_per_sec; in msecs_to_cputime()
153 return (cputime_t) sec * tb_ticks_per_sec; in secs_to_cputime()
164 frac = do_div(x, tb_ticks_per_sec); in cputime_to_timespec()
167 do_div(x, tb_ticks_per_sec); in cputime_to_timespec()
175 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
99 __u64 tb_ticks_per_sec; /* Timebase tics / sec 0x38 */ member
Dtime.h30 extern unsigned long tb_ticks_per_sec;
/arch/powerpc/kernel/
Dtime.c147 unsigned long tb_ticks_per_sec; variable
148 EXPORT_SYMBOL(tb_ticks_per_sec); /* for cputime_t conversions */
198 div128_by_32(HZ, 0, tb_ticks_per_sec, &res); in calc_cputime_factors()
200 div128_by_32(1000, 0, tb_ticks_per_sec, &res); in calc_cputime_factors()
202 div128_by_32(1, 0, tb_ticks_per_sec, &res); in calc_cputime_factors()
204 div128_by_32(USER_HZ, 0, tb_ticks_per_sec, &res); in calc_cputime_factors()
495 tb_ticks_per_sec = new_tb_ticks_per_sec; in iSeries_tb_recal()
497 div128_by_32( XSEC_PER_SEC, 0, tb_ticks_per_sec, &divres ); in iSeries_tb_recal()
499 vdso_data->tb_ticks_per_sec = tb_ticks_per_sec; in iSeries_tb_recal()
819 clock->mult = clocksource_hz2mult(tb_ticks_per_sec, clock->shift); in clocksource_init()
[all …]
Dasm-offsets.c305 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()