Home
last modified time | relevance | path

Searched refs:count_clock (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/target/mips/sysemu/
H A Dcp0_timer.c35 (uint32_t)clock_ns_to_ticks(env->count_clock, now_ns); in cpu_mips_get_count_val()
49 next_ns = now_ns + clock_ticks_to_ns(env->count_clock, wait); in cpu_mips_timer_update()
92 env->CP0_Count = count - (uint32_t)clock_ns_to_ticks(env->count_clock, in cpu_mips_store_count()
119 env->CP0_Count += (uint32_t)clock_ns_to_ticks(env->count_clock, in cpu_mips_stop_count()
/openbmc/qemu/target/mips/
H A Dcpu.c452 clock_set_source(env->count_clock, cpu->count_div); in mips_cp0_period_set()
505 env->count_clock = clock_new(OBJECT(obj), "clk-count"); in mips_cpu_initfn()
H A Dcpu.h1192 Clock *count_clock; /* CP0_Count clock */ member