Searched refs:tb_ticks_per_usec (Results 1 – 10 of 10) sorted by relevance
/arch/powerpc/kernel/ |
D | rtas-rtc.c | 22 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()
|
D | sysfs.c | 98 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()
|
D | time.c | 127 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/ |
D | timing.c | 152 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/ |
D | delay.h | 59 unsigned long __loops = tb_ticks_per_usec * timeout; \
|
D | time.h | 24 extern unsigned long tb_ticks_per_usec;
|
/arch/sparc/kernel/ |
D | time_64.c | 784 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/ |
D | lite5200_sleep.S | 89 lis r3, tb_ticks_per_usec@h 90 lwz r11, tb_ticks_per_usec@l(r3)
|
/arch/powerpc/platforms/powernv/ |
D | pci.c | 802 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/ |
D | lparcfg.c | 402 cmo_fault_time / tb_ticks_per_usec); in pseries_cmo_data()
|