Searched refs:tb_freq (Results 1 – 11 of 11) sorted by relevance
/openbmc/qemu/hw/ppc/ |
H A D | ppc.c | 513 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() 1020 freq = first_ppc_cpu->env.tb_env->tb_freq; in timebase_load() 1109 tb_env->tb_freq = freq; in cpu_ppc_tb_init() 1210 next = now + tb_to_ns_round_up(tb_env->tb_freq, next); in cpu_4xx_fit_cb() 1382 tb_env->tb_freq = freq; in ppc_40x_set_tb_clk() [all …]
|
H A D | ppc440_bamboo.c | 64 uint32_t tb_freq = 400000000; in bamboo_load_device_tree() local 103 tb_freq); in bamboo_load_device_tree()
|
H A D | sam460ex.c | 141 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 D | ppc_booke.c | 166 *next = now + muldiv64(ticks, NANOSECONDS_PER_SECOND, tb_env->tb_freq); in booke_update_fixed_timer() 346 tb_env->tb_freq = freq; in ppc_booke_timers_init()
|
H A D | ppc405.h | 117 uint32_t tb_freq; member
|
H A D | e500.c | 383 uint32_t tb_freq = PLATFORM_CLK_FREQ_HZ; in ppce500_load_device_tree() local 471 tb_freq = kvmppc_get_tbfreq(); in ppce500_load_device_tree() 507 qemu_fdt_setprop_cell(fdt, cpu_name, "timebase-frequency", tb_freq); in ppce500_load_device_tree()
|
H A D | ppc405_uc.c | 567 gpt->tb_freq, NANOSECONDS_PER_SECOND); in ppc4xx_gpt_read() 619 gpt->tb_offset = muldiv64(value, NANOSECONDS_PER_SECOND, gpt->tb_freq) in ppc4xx_gpt_write()
|
H A D | pegasos2.c | 1016 cpu->env.tb_env->tb_freq); in build_fdt()
|
/openbmc/linux/arch/powerpc/platforms/ps3/ |
H A D | platform.h | 214 int __init ps3_repository_read_tb_freq(u64 node_id, u64 *tb_freq); 215 int __init ps3_repository_read_be_tb_freq(unsigned int be_index, u64 *tb_freq);
|
H A D | repository.c | 1008 int __init ps3_repository_read_tb_freq(u64 node_id, u64 *tb_freq) in ps3_repository_read_tb_freq() argument 1015 tb_freq, NULL); in ps3_repository_read_tb_freq() 1018 int __init ps3_repository_read_be_tb_freq(unsigned int be_index, u64 *tb_freq) in ps3_repository_read_be_tb_freq() argument 1023 *tb_freq = 0; in ps3_repository_read_be_tb_freq() 1026 : ps3_repository_read_tb_freq(node_id, tb_freq); in ps3_repository_read_be_tb_freq()
|
/openbmc/qemu/include/hw/ppc/ |
H A D | ppc.h | 29 uint32_t tb_freq; /* TB frequency */ member
|