Home
last modified time | relevance | path

Searched refs:tb_freq (Results 1 – 7 of 7) sorted by relevance

/qemu/hw/ppc/
H A Dppc.c513 return ns_to_tb(tb_env->tb_freq, vmclk) + tb_offset; in cpu_ppc_get_tb()
556 *tb_offsetp = value - ns_to_tb(tb_env->tb_freq, vmclk); in cpu_ppc_store_tb()
680 if (tb_env->tb_freq != 0) { in cpu_ppc_tb_stop()
691 tb_env->tb_freq = 0; in cpu_ppc_tb_stop()
702 if (tb_env->tb_freq == 0) { in cpu_ppc_tb_start()
709 tb_env->tb_freq = tb_env->decr_freq; in cpu_ppc_tb_start()
1022 freq = first_ppc_cpu->env.tb_env->tb_freq; in timebase_load()
1111 tb_env->tb_freq = freq; in cpu_ppc_tb_init()
1217 next = now + tb_to_ns_round_up(tb_env->tb_freq, next); in cpu_4xx_fit_cb()
1389 tb_env->tb_freq = freq; in ppc_40x_set_tb_clk()
[all …]
H A Dppc440_bamboo.c64 uint32_t tb_freq = 400000000; in bamboo_load_device_tree() local
103 tb_freq); in bamboo_load_device_tree()
H A Dsam460ex.c141 uint32_t tb_freq = CPU_FREQ; in sam460ex_load_device_tree() local
178 tb_freq = kvmppc_get_tbfreq(); in sam460ex_load_device_tree()
185 tb_freq); in sam460ex_load_device_tree()
H A Dppc_booke.c177 *next = now + muldiv64(ticks, NANOSECONDS_PER_SECOND, tb_env->tb_freq); in booke_update_fixed_timer()
357 tb_env->tb_freq = freq; in ppc_booke_timers_init()
H A De500.c386 uint32_t tb_freq = PLATFORM_CLK_FREQ_HZ; in ppce500_load_device_tree() local
474 tb_freq = kvmppc_get_tbfreq(); in ppce500_load_device_tree()
510 qemu_fdt_setprop_cell(fdt, cpu_name, "timebase-frequency", tb_freq); in ppce500_load_device_tree()
H A Dpegasos2.c1043 cpu->env.tb_env->tb_freq); in build_fdt()
/qemu/include/hw/ppc/
H A Dppc.h29 uint32_t tb_freq; /* TB frequency */ member