Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Drtas-rtc.c22 max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT; in rtas_get_boot_time()
54 max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT; in rtas_get_rtc_time()
91 max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT; in rtas_set_rtc_time()
Dsysfs.c98 cycle = div_u64(ns + 500, 1000) * tb_ticks_per_usec; in get_idle_ticks_bit()
100 cycle = div_u64(ns * tb_ticks_per_usec, 1000); in get_idle_ticks_bit()
177 if (tb_ticks_per_usec > 1000) { in show_pw20_wait_time()
178 time = div_u64(tb_cycle, tb_ticks_per_usec / 1000); in show_pw20_wait_time()
182 time = div_u64_rem(tb_cycle, tb_ticks_per_usec, in show_pw20_wait_time()
184 time = time * 1000 + rem_us * 1000 / tb_ticks_per_usec; in show_pw20_wait_time()
299 if (tb_ticks_per_usec > 1000) { in show_altivec_idle_wait_time()
300 time = div_u64(tb_cycle, tb_ticks_per_usec / 1000); in show_altivec_idle_wait_time()
304 time = div_u64_rem(tb_cycle, tb_ticks_per_usec, in show_altivec_idle_wait_time()
306 time = time * 1000 + rem_us * 1000 / tb_ticks_per_usec; in show_altivec_idle_wait_time()
Dtime.c127 unsigned long tb_ticks_per_usec = 100; /* sane default */ variable
128 EXPORT_SYMBOL(tb_ticks_per_usec);
410 __delay(tb_ticks_per_usec * usecs); in udelay()
902 tb_ticks_per_usec = ppc_tb_freq / 1000000; in time_init()
/arch/powerpc/kvm/
Dtiming.c152 do_div(min, tb_ticks_per_usec); in kvmppc_exit_timing_show()
154 do_div(max, tb_ticks_per_usec); in kvmppc_exit_timing_show()
156 do_div(sum, tb_ticks_per_usec); in kvmppc_exit_timing_show()
158 do_div(sum_quad, tb_ticks_per_usec); in kvmppc_exit_timing_show()
/arch/powerpc/include/asm/
Ddelay.h59 unsigned long __loops = tb_ticks_per_usec * timeout; \
Dtime.h24 extern unsigned long tb_ticks_per_usec;
/arch/sparc/kernel/
Dtime_64.c784 static unsigned long tb_ticks_per_usec __read_mostly;
799 __delay(tb_ticks_per_usec * usecs); in udelay()
812 tb_ticks_per_usec = freq / USEC_PER_SEC; in time_init()
/arch/powerpc/platforms/52xx/
Dlite5200_sleep.S89 lis r3, tb_ticks_per_usec@h
90 lwz r11, tb_ticks_per_usec@l(r3)
/arch/powerpc/platforms/powernv/
Dpci.c802 now = mftb() / tb_ticks_per_usec; in pnv_pci_probe_mode()
803 target = (be64_to_cpup(tstamp) / tb_ticks_per_usec) in pnv_pci_probe_mode()
/arch/powerpc/platforms/pseries/
Dlparcfg.c402 cmo_fault_time / tb_ticks_per_usec); in pseries_cmo_data()