/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | rtas-rtc.c | 23 max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT; in rtas_get_boot_time() 32 } while (wait_time && (get_tb() < max_wait_tb)); in rtas_get_boot_time() 55 max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT; in rtas_get_rtc_time() 70 } while (wait_time && (get_tb() < max_wait_tb)); in rtas_get_rtc_time() 92 max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT; in rtas_set_rtc_time() 105 } while (wait_time && (get_tb() < max_wait_tb)); in rtas_set_rtc_time()
|
H A D | watchdog.c | 115 u64 tb = get_tb(); in wd_lockup_ipi() 275 u64 tb = get_tb(); in watchdog_timer_interrupt() 298 tb = get_tb(); in soft_nmi_interrupt() 357 tb = get_tb(); in arch_touch_nmi_watchdog() 386 wd_smp_last_reset_tb = get_tb(); in start_watchdog() 390 *this_cpu_ptr(&wd_timer_tb) = get_tb(); in start_watchdog() 418 wd_smp_clear_cpu_pending(cpu, get_tb()); in stop_watchdog()
|
H A D | smp-tbsync.c | 41 while (get_tb() < mark) in enter_contest() 88 tb = get_tb() + 400; in start_contest() 98 while (get_tb() <= tb) in start_contest()
|
H A D | time.c | 596 now = get_tb(); in timer_interrupt() 678 return mulhdu(get_tb() - boot_tb, tb_to_ns_scale) << tb_to_ns_shift; in sched_clock() 829 return (u64)get_tb(); in timebase_read() 938 __this_cpu_write(decrementers_next_tb, get_tb() + evt); in decrementer_set_next_event() 1072 boot_tb = get_tb(); in time_init()
|
/kernel/linux/linux-6.6/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() 31 } while (wait_time && (get_tb() < max_wait_tb)); in rtas_get_boot_time() 54 max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT; in rtas_get_rtc_time() 69 } while (wait_time && (get_tb() < max_wait_tb)); in rtas_get_rtc_time() 91 max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT; in rtas_set_rtc_time() 104 } while (wait_time && (get_tb() < max_wait_tb)); in rtas_set_rtc_time()
|
H A D | watchdog.c | 149 u64 tb = get_tb(); in wd_lockup_ipi() 191 wd_smp_last_reset_tb = get_tb(); in set_cpu_stuck() 209 tb = get_tb(); in watchdog_smp_panic() 271 cpu, get_tb()); in wd_smp_clear_cpu_pending() 337 wd_smp_last_reset_tb = get_tb(); in wd_smp_clear_cpu_pending() 348 u64 tb = get_tb(); in watchdog_timer_interrupt() 383 tb = get_tb(); in DEFINE_INTERRUPT_HANDLER_NMI() 463 tb = get_tb(); in arch_touch_nmi_watchdog() 492 wd_smp_last_reset_tb = get_tb(); in start_watchdog() 496 *this_cpu_ptr(&wd_timer_tb) = get_tb(); in start_watchdog() [all...] |
H A D | smp-tbsync.c | 41 while (get_tb() < mark) in enter_contest() 88 tb = get_tb() + 400; in start_contest() 98 while (get_tb() <= tb) in start_contest()
|
H A D | time.c | 550 now = get_tb(); in DEFINE_INTERRUPT_HANDLER_ASYNC() 617 return mulhdu(get_tb() - boot_tb, tb_to_ns_scale) << tb_to_ns_shift; in sched_clock() 768 return (u64)get_tb(); in timebase_read() 788 __this_cpu_write(decrementers_next_tb, get_tb() + evt); in decrementer_set_next_event() 923 boot_tb = get_tb(); in time_init()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | emulate.c | 60 vcpu->arch.dec_jiffies = get_tb(); in kvmppc_emulate_dec() 151 spr_val = get_tb() >> 32; in kvmppc_emulate_mfspr() 154 spr_val = get_tb(); in kvmppc_emulate_mfspr() 173 spr_val = kvmppc_get_dec(vcpu, get_tb()); in kvmppc_emulate_mfspr()
|
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | emulate.c | 60 vcpu->arch.dec_jiffies = get_tb(); in kvmppc_emulate_dec() 151 spr_val = get_tb() >> 32; in kvmppc_emulate_mfspr() 154 spr_val = get_tb(); in kvmppc_emulate_mfspr() 173 spr_val = kvmppc_get_dec(vcpu, get_tb()); in kvmppc_emulate_mfspr()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/trace/ |
H A D | trace_clock.c | 12 return get_tb(); in trace_clock_ppc_tb()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/trace/ |
H A D | trace_clock.c | 12 return get_tb(); in trace_clock_ppc_tb()
|
/kernel/linux/linux-5.10/arch/powerpc/perf/ |
H A D | 8xx-pmu.c | 91 val = get_tb(); in mpc8xx_pmu_add() 131 val = get_tb(); in mpc8xx_pmu_read()
|
/kernel/linux/linux-6.6/arch/powerpc/perf/ |
H A D | 8xx-pmu.c | 91 val = get_tb(); in mpc8xx_pmu_add() 131 val = get_tb(); in mpc8xx_pmu_read()
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/vdso/ |
H A D | timebase.h | 46 static __always_inline u64 get_tb(void) in get_tb() function
|
H A D | gettimeofday.h | 89 return get_tb(); in __arch_get_hw_counter()
|
/kernel/linux/linux-5.10/drivers/cpuidle/ |
H A D | cpuidle-pseries.c | 46 snooze_exit_time = get_tb() + snooze_timeout; in snooze_loop() 51 if (likely(snooze_timeout_en) && get_tb() > snooze_exit_time) { in snooze_loop()
|
H A D | cpuidle-powernv.c | 78 snooze_exit_time = get_tb() + get_snooze_timeout(dev, drv, index); in snooze_loop() 82 if (likely(snooze_timeout_en) && get_tb() > snooze_exit_time) { in snooze_loop()
|
/kernel/linux/linux-6.6/drivers/cpuidle/ |
H A D | cpuidle-pseries.c | 46 snooze_exit_time = get_tb() + snooze_timeout; in snooze_loop() 52 if (likely(snooze_timeout_en) && get_tb() > snooze_exit_time) { in snooze_loop()
|
H A D | cpuidle-powernv.c | 78 snooze_exit_time = get_tb() + get_snooze_timeout(dev, drv, index); in snooze_loop() 83 if (likely(snooze_timeout_en) && get_tb() > snooze_exit_time) { in snooze_loop()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | time.h | 41 /* For compatibility, get_tbl() is defined as get_tb() on ppc64 */ 56 static inline u64 get_tb(void) in get_tb() function
|
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/ |
H A D | kaslr_booke.c | 299 seed = get_tb() << 32; in kaslr_choose_location() 300 seed ^= get_tb(); in kaslr_choose_location()
|
/kernel/linux/linux-6.6/arch/powerpc/mm/nohash/ |
H A D | kaslr_booke.c | 297 seed = get_tb() << 32; in kaslr_choose_location() 298 seed ^= get_tb(); in kaslr_choose_location()
|
/kernel/linux/linux-5.10/drivers/crypto/nx/ |
H A D | nx-842-pseries.c | 293 unsigned long start = get_tb(); in nx842_pseries_compress() 375 (get_tb() - start) / tb_ticks_per_usec); in nx842_pseries_compress() 423 unsigned long start = get_tb(); in nx842_pseries_decompress() 506 (get_tb() - start) / tb_ticks_per_usec); in nx842_pseries_decompress()
|
/kernel/linux/linux-6.6/drivers/crypto/nx/ |
H A D | nx-common-pseries.c | 320 unsigned long start = get_tb(); in nx842_pseries_compress() 402 (get_tb() - start) / tb_ticks_per_usec); in nx842_pseries_compress() 450 unsigned long start = get_tb(); in nx842_pseries_decompress() 533 (get_tb() - start) / tb_ticks_per_usec); in nx842_pseries_decompress()
|