Lines Matching refs:clock_tick
86 unsigned long clock_tick, in frob_mem_refresh() argument
91 refr_count = (clock_tick * MCTRL0_REFR_INTERVAL); in frob_mem_refresh()
112 old_divisor) / clock_tick; in frob_mem_refresh()
118 unsigned long clock_tick, in us2e_transition() argument
127 frob_mem_refresh(0, clock_tick, old_divisor, divisor); in us2e_transition()
129 frob_mem_refresh(1, clock_tick, old_divisor, divisor); in us2e_transition()
133 us2e_transition(estar, ESTAR_MODE_DIV_2, clock_tick, in us2e_transition()
135 us2e_transition(estar, new_bits, clock_tick, in us2e_transition()
138 us2e_transition(estar, ESTAR_MODE_DIV_2, clock_tick, in us2e_transition()
140 us2e_transition(estar, new_bits, clock_tick, in us2e_transition()
143 frob_mem_refresh(0, clock_tick, old_divisor, divisor); in us2e_transition()
147 frob_mem_refresh(1, clock_tick, old_divisor, divisor); in us2e_transition()
235 unsigned long clock_tick, estar; in us2e_freq_get() local
237 clock_tick = sparc64_get_clock_tick(cpu) / 1000; in us2e_freq_get()
241 return clock_tick / estar_to_divisor(estar); in us2e_freq_get()
249 unsigned long clock_tick, divisor, old_divisor, estar; in __us2e_freq_target() local
251 new_freq = clock_tick = sparc64_get_clock_tick(cpu) / 1000; in __us2e_freq_target()
261 us2e_transition(estar, new_bits, clock_tick * 1000, in __us2e_freq_target()
276 unsigned long clock_tick = sparc64_get_clock_tick(cpu) / 1000; in us2e_freq_cpu_init() local
281 table[0].frequency = clock_tick / 1; in us2e_freq_cpu_init()
283 table[1].frequency = clock_tick / 2; in us2e_freq_cpu_init()
285 table[2].frequency = clock_tick / 4; in us2e_freq_cpu_init()
287 table[2].frequency = clock_tick / 6; in us2e_freq_cpu_init()
289 table[2].frequency = clock_tick / 8; in us2e_freq_cpu_init()
294 policy->cur = clock_tick; in us2e_freq_cpu_init()