Lines Matching refs:sparc_config
93 sparc_config.clear_clock_irq(); in timer_interrupt()
96 sparc_config.clear_clock_irq(); in timer_interrupt()
133 ce->mult = div_sc(sparc_config.clock_rate, NSEC_PER_SEC, in setup_timer_ce()
147 offset += sparc_config.cs_period; in sbus_cycles_offset()
161 offset = sparc_config.get_cycles_offset(); in timer_cs_read()
165 cycles *= sparc_config.cs_period; in timer_cs_read()
182 return clocksource_register_hz(&timer_cs, sparc_config.clock_rate); in setup_timer_cs()
190 sparc_config.load_profile_irq(cpu, 0); in percpu_ce_shutdown()
198 sparc_config.load_profile_irq(cpu, SBUS_CLOCK_RATE / HZ); in percpu_ce_set_periodic()
208 sparc_config.load_profile_irq(cpu, next); in percpu_ce_set_next_event()
217 if (sparc_config.features & FEAT_L14_ONESHOT) in register_percpu_ce()
229 ce->mult = div_sc(sparc_config.clock_rate, NSEC_PER_SEC, in register_percpu_ce()
231 ce->max_delta_ns = clockevent_delta2ns(sparc_config.clock_rate, ce); in register_percpu_ce()
232 ce->max_delta_ticks = (unsigned long)sparc_config.clock_rate; in register_percpu_ce()
331 if (sparc_config.features & FEAT_L10_CLOCKEVENT) in sparc32_late_time_init()
333 if (sparc_config.features & FEAT_L10_CLOCKSOURCE) in sparc32_late_time_init()
342 sparc_config.get_cycles_offset = sbus_cycles_offset; in sbus_time_init()
343 sparc_config.init_timers(); in sbus_time_init()
348 sparc_config.features = 0; in time_init()