Home | History | Annotate | Download | only in loongson

Lines Matching refs:sc_step

53 static int sc_step = 7;
218 * - we need to use the previous sc_step in order to scale the
220 * we only change sc_step after doing that
222 if (sc_step_wanted != sc_step) {
231 sc_count += scale(diff, sc_step);
233 if (sc_step_wanted != sc_step) {
234 sc_step = sc_step_wanted;
235 curcpu()->ci_cycles_per_hz = cycles[sc_step];
266 return sc_count + scale(diff, sc_step);
299 mhz = sc_scale[sc_step];
329 divisor_delay = rscale(curcpu()->ci_divisor_delay, sc_step);