Searched refs:tb_ticks_per_usec (Results 1 – 15 of 15) sorted by relevance
/openbmc/linux/arch/powerpc/kernel/ |
H A 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()
|
H A D | sysfs.c | 247 cycle = div_u64(ns + 500, 1000) * tb_ticks_per_usec; in get_idle_ticks_bit() 249 cycle = div_u64(ns * tb_ticks_per_usec, 1000); in get_idle_ticks_bit() 326 if (tb_ticks_per_usec > 1000) { in show_pw20_wait_time() 327 time = div_u64(tb_cycle, tb_ticks_per_usec / 1000); in show_pw20_wait_time() 331 time = div_u64_rem(tb_cycle, tb_ticks_per_usec, in show_pw20_wait_time() 333 time = time * 1000 + rem_us * 1000 / tb_ticks_per_usec; in show_pw20_wait_time() 448 if (tb_ticks_per_usec > 1000) { in show_altivec_idle_wait_time() 449 time = div_u64(tb_cycle, tb_ticks_per_usec / 1000); in show_altivec_idle_wait_time() 453 time = div_u64_rem(tb_cycle, tb_ticks_per_usec, in show_altivec_idle_wait_time() 455 time = time * 1000 + rem_us * 1000 / tb_ticks_per_usec; in show_altivec_idle_wait_time()
|
H A D | time.c | 130 unsigned long tb_ticks_per_usec = 100; /* sane default */ variable 131 EXPORT_SYMBOL(tb_ticks_per_usec); 382 __delay(tb_ticks_per_usec * usecs); in udelay() 902 tb_ticks_per_usec = ppc_tb_freq / 1000000; in time_init()
|
H A D | watchdog.c | 399 mtspr(SPRN_DEC, 100 * tb_ticks_per_usec * 1000); in DEFINE_INTERRUPT_HANDLER_NMI() 456 unsigned long ticks = tb_ticks_per_usec * wd_timer_period_ms * 1000; in arch_touch_nmi_watchdog()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | timing.c | 140 do_div(min, tb_ticks_per_usec); in kvmppc_exit_timing_show() 142 do_div(max, tb_ticks_per_usec); in kvmppc_exit_timing_show() 144 do_div(sum, tb_ticks_per_usec); in kvmppc_exit_timing_show() 146 do_div(sum_quad, tb_ticks_per_usec); in kvmppc_exit_timing_show()
|
H A D | book3s_hv_builtin.c | 118 u64 stop = get_tb() + 10 * tb_ticks_per_usec; in kvmppc_rm_h_confer()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | delay.h | 56 unsigned long __loops = tb_ticks_per_usec * timeout; \
|
H A D | time.h | 24 extern unsigned long tb_ticks_per_usec;
|
/openbmc/linux/drivers/cpuidle/ |
H A D | cpuidle-powernv.c | 62 return drv->states[i].target_residency * tb_ticks_per_usec; in get_snooze_timeout() 370 default_snooze_timeout = TICK_USEC * tb_ticks_per_usec; in powernv_idle_probe()
|
H A D | cpuidle-pseries.c | 445 tb_ticks_per_usec; in pseries_idle_probe()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | time_64.c | 777 static unsigned long tb_ticks_per_usec __read_mostly; 790 __delay(tb_ticks_per_usec * usecs); in udelay() 855 tb_ticks_per_usec = freq / USEC_PER_SEC; in time_init()
|
/openbmc/linux/arch/powerpc/platforms/52xx/ |
H A D | lite5200_sleep.S | 92 lis r3, tb_ticks_per_usec@h 93 lwz r11, tb_ticks_per_usec@l(r3)
|
/openbmc/linux/drivers/crypto/nx/ |
H A D | nx-common-pseries.c | 402 (get_tb() - start) / tb_ticks_per_usec); in nx842_pseries_compress() 533 (get_tb() - start) / tb_ticks_per_usec); in nx842_pseries_decompress()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-mpc52xx.c | 258 tb_ticks_per_usec; in mpc52xx_spi_fsmstate_transfer()
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | lparcfg.c | 466 cmo_fault_time / tb_ticks_per_usec); in pseries_cmo_data()
|