Searched refs:tb_ticks_per_usec (Results 1 – 15 of 15) sorted by relevance
/Linux-v4.19/arch/powerpc/kernel/ |
D | rtas-rtc.c | 23 max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT; in rtas_get_boot_time() 55 max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT; in rtas_get_rtc_time() 92 max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT; in rtas_set_rtc_time()
|
D | sysfs.c | 99 cycle = div_u64(ns + 500, 1000) * tb_ticks_per_usec; in get_idle_ticks_bit() 101 cycle = div_u64(ns * tb_ticks_per_usec, 1000); in get_idle_ticks_bit() 178 if (tb_ticks_per_usec > 1000) { in show_pw20_wait_time() 179 time = div_u64(tb_cycle, tb_ticks_per_usec / 1000); in show_pw20_wait_time() 183 time = div_u64_rem(tb_cycle, tb_ticks_per_usec, in show_pw20_wait_time() 185 time = time * 1000 + rem_us * 1000 / tb_ticks_per_usec; in show_pw20_wait_time() 300 if (tb_ticks_per_usec > 1000) { in show_altivec_idle_wait_time() 301 time = div_u64(tb_cycle, tb_ticks_per_usec / 1000); in show_altivec_idle_wait_time() 305 time = div_u64_rem(tb_cycle, tb_ticks_per_usec, in show_altivec_idle_wait_time() 307 time = time * 1000 + rem_us * 1000 / tb_ticks_per_usec; in show_altivec_idle_wait_time()
|
D | time.c | 134 unsigned long tb_ticks_per_usec = 100; /* sane default */ variable 135 EXPORT_SYMBOL(tb_ticks_per_usec); 448 __delay(tb_ticks_per_usec * usecs); in udelay() 1088 tb_ticks_per_usec = ppc_tb_freq / 1000000; in time_init()
|
D | watchdog.c | 315 unsigned long ticks = tb_ticks_per_usec * wd_timer_period_ms * 1000; in arch_touch_nmi_watchdog()
|
/Linux-v4.19/arch/powerpc/kvm/ |
D | timing.c | 151 do_div(min, tb_ticks_per_usec); in kvmppc_exit_timing_show() 153 do_div(max, tb_ticks_per_usec); in kvmppc_exit_timing_show() 155 do_div(sum, tb_ticks_per_usec); in kvmppc_exit_timing_show() 157 do_div(sum_quad, tb_ticks_per_usec); in kvmppc_exit_timing_show()
|
D | book3s_hv_builtin.c | 143 u64 stop = get_tb() + 10 * tb_ticks_per_usec; in kvmppc_rm_h_confer()
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | delay.h | 60 unsigned long __loops = tb_ticks_per_usec * timeout; \
|
D | time.h | 25 extern unsigned long tb_ticks_per_usec;
|
/Linux-v4.19/drivers/cpuidle/ |
D | cpuidle-powernv.c | 65 return s->target_residency * tb_ticks_per_usec; in get_snooze_timeout() 384 default_snooze_timeout = TICK_USEC * tb_ticks_per_usec; in powernv_idle_probe()
|
D | cpuidle-pseries.c | 263 tb_ticks_per_usec; in pseries_idle_probe()
|
/Linux-v4.19/arch/sparc/kernel/ |
D | time_64.c | 775 static unsigned long tb_ticks_per_usec __read_mostly; 788 __delay(tb_ticks_per_usec * usecs); in udelay() 854 tb_ticks_per_usec = freq / USEC_PER_SEC; in time_init()
|
/Linux-v4.19/arch/powerpc/platforms/52xx/ |
D | lite5200_sleep.S | 90 lis r3, tb_ticks_per_usec@h 91 lwz r11, tb_ticks_per_usec@l(r3)
|
/Linux-v4.19/drivers/crypto/nx/ |
D | nx-842-pseries.c | 389 (get_tb() - start) / tb_ticks_per_usec); in nx842_pseries_compress() 521 (get_tb() - start) / tb_ticks_per_usec); in nx842_pseries_decompress()
|
/Linux-v4.19/drivers/spi/ |
D | spi-mpc52xx.c | 252 ms->timestamp += ms->transfer->delay_usecs * tb_ticks_per_usec; in mpc52xx_spi_fsmstate_transfer()
|
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | lparcfg.c | 405 cmo_fault_time / tb_ticks_per_usec); in pseries_cmo_data()
|