Searched refs:counter_hz (Results 1 – 1 of 1) sorted by relevance
133 unsigned long counter_hz; in time_init() local137 counter_hz = clk_get_rate(boot_cpu_data.clk); in time_init()138 ret = clocksource_register_hz(&counter, counter_hz); in time_init()143 comparator.mult = div_sc(counter_hz, NSEC_PER_SEC, comparator.shift); in time_init()158 ((counter_hz + 500) / 1000) / 1000, in time_init()159 ((counter_hz + 500) / 1000) % 1000); in time_init()