/linux-6.12.1/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() 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()
|
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()
|
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()
|
D | time.c | 572 now = get_tb(); in DEFINE_INTERRUPT_HANDLER_ASYNC() 639 return mulhdu(get_tb() - boot_tb, tb_to_ns_scale) << tb_to_ns_shift; in sched_clock() 790 return (u64)get_tb(); in timebase_read() 810 __this_cpu_write(decrementers_next_tb, get_tb() + evt); in decrementer_set_next_event() 945 boot_tb = get_tb(); in time_init()
|
D | rtas.c | 2174 timebase = get_tb(); in rtas_give_timebase()
|
/linux-6.12.1/arch/powerpc/kvm/ |
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()
|
D | book3s_hv_builtin.c | 118 u64 stop = get_tb() + 10 * tb_ticks_per_usec; in kvmppc_rm_h_confer() 122 while ((get_tb() < stop) && !VCORE_IS_EXITING(vc)) { in kvmppc_rm_h_confer()
|
D | book3s_pr.c | 222 vcpu->arch.entry_tb = get_tb(); in kvmppc_copy_to_svcpu() 307 vcpu->arch.purr += get_tb() - vcpu->arch.entry_tb; in kvmppc_copy_from_svcpu() 308 vcpu->arch.spurr += get_tb() - vcpu->arch.entry_tb; in kvmppc_copy_from_svcpu()
|
D | book3s_hv_rm_xics.c | 484 kvmppc_set_gpr(vcpu, 5, get_tb()); in xics_rm_h_xirr_x()
|
D | booke.c | 585 tb = get_tb(); in watchdog_next_timeout() 1512 u64 tb = get_tb(); in get_sregs_base()
|
D | book3s_xics.c | 890 kvmppc_set_gpr(vcpu, 5, get_tb()); in kvmppc_xics_hcall()
|
D | book3s_hv.c | 2692 kvmppc_set_dec_expires(vcpu, get_tb() + tb_offset); in kvmppc_set_one_reg_hv() 3185 now = get_tb(); in kvmppc_set_timer() 3680 now = get_tb(); in post_guest_process()
|
D | book3s_xive.c | 2800 kvmppc_set_gpr(vcpu, 5, get_tb() + kvmppc_get_tb_offset(vcpu)); in kvmppc_xive_xics_hcall()
|
/linux-6.12.1/arch/powerpc/kernel/trace/ |
D | trace_clock.c | 12 return get_tb(); in trace_clock_ppc_tb()
|
/linux-6.12.1/arch/powerpc/perf/ |
D | 8xx-pmu.c | 91 val = get_tb(); in mpc8xx_pmu_add() 131 val = get_tb(); in mpc8xx_pmu_read()
|
/linux-6.12.1/arch/powerpc/include/asm/vdso/ |
D | timebase.h | 46 static __always_inline u64 get_tb(void) in get_tb() function
|
D | gettimeofday.h | 99 return get_tb(); in __arch_get_hw_counter()
|
/linux-6.12.1/drivers/cpuidle/ |
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()
|
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()
|
/linux-6.12.1/arch/powerpc/mm/nohash/ |
D | kaslr_booke.c | 297 seed = get_tb() << 32; in kaslr_choose_location() 298 seed ^= get_tb(); in kaslr_choose_location()
|
/linux-6.12.1/drivers/crypto/nx/ |
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()
|
/linux-6.12.1/drivers/ps3/ |
D | ps3-lpm.c | 183 bookmark = (get_tb() & 0x00000000FFFFFFFFULL) | in ps3_set_pm_bookmark() 874 ps3_set_bookmark(get_tb() | PS3_PM_BOOKMARK_START); in ps3_enable_pm() 887 ps3_set_bookmark(get_tb() | PS3_PM_BOOKMARK_STOP); in ps3_disable_pm()
|
/linux-6.12.1/arch/powerpc/platforms/powermac/ |
D | smp.c | 384 timebase = get_tb(); in smp_psurge_kick_cpu() 466 timebase = get_tb(); in smp_core99_give_timebase()
|
/linux-6.12.1/arch/powerpc/platforms/85xx/ |
D | smp.c | 83 timebase = get_tb(); in mpc85xx_give_timebase()
|
/linux-6.12.1/arch/powerpc/platforms/pasemi/ |
D | setup.c | 113 timebase = get_tb(); in pas_give_timebase()
|