Home
last modified time | relevance | path

Searched refs:oldlevel (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/io/
H A Dppm_plat.c211 int level, oldlevel; in ppm_change_cpu_power() local
226 oldlevel = (cpup->level == PM_LEVEL_UNKNOWN) ? highest : cpup->level; in ppm_change_cpu_power()
231 str, oldlevel, newlevel, highest, lowest)) in ppm_change_cpu_power()
233 if (newlevel > oldlevel) { in ppm_change_cpu_power()
237 } else if (newlevel < oldlevel) { in ppm_change_cpu_power()
248 for (level = oldlevel+incr; level != newlevel+incr; level += incr) { in ppm_change_cpu_power()
301 if ((oldlevel == highest) && (speedup == 0)) in ppm_change_cpu_power()
/illumos-gate/usr/src/uts/i86pc/io/
H A Dppm_plat.c127 int oldlevel; in ppm_change_cpu_power() local
138 oldlevel = cpup->level; in ppm_change_cpu_power()
140 PPMD(D_CPU, ("%s: old %d, new %d\n", str, oldlevel, newlevel)) in ppm_change_cpu_power()
142 if (newlevel == oldlevel) in ppm_change_cpu_power()
161 if (newlevel < oldlevel) in ppm_change_cpu_power()
162 ret = ppm_revert_cpu_power(cpup, oldlevel); in ppm_change_cpu_power()
/illumos-gate/usr/src/uts/sun4u/excalibur/io/
H A Dxcalppm.c772 int index, level, oldlevel; in xcppm_change_cpu_power() local
792 oldlevel = (cpup->level == PM_LEVEL_UNKNOWN) ? highest : cpup->level; in xcppm_change_cpu_power()
797 str, oldlevel, newlevel, highest, lowest)); in xcppm_change_cpu_power()
799 if (newlevel > oldlevel) { in xcppm_change_cpu_power()
803 } else if (newlevel < oldlevel) { in xcppm_change_cpu_power()
817 if (oldlevel == cpup->lowest) { in xcppm_change_cpu_power()
825 if (oldlevel == highest) { in xcppm_change_cpu_power()
835 for (level = oldlevel+incr; level != newlevel+incr; level += incr) { in xcppm_change_cpu_power()
/illumos-gate/usr/src/uts/common/os/
H A Dsunpm.c2725 int newlevel, int oldlevel, pm_canblock_t canblock) in pm_enqueue_notify() argument
2737 pmf, PM_DEVICE(dip), comp, oldlevel, newlevel)) in pm_enqueue_notify()
2743 overrun = psc_entry(cmd, psce, dip, comp, newlevel, oldlevel, in pm_enqueue_notify()
2755 pmf, PM_DEVICE(dip), comp, oldlevel, newlevel)) in pm_enqueue_notify()
2762 oldlevel, PSC_DIRECT, canblock); in pm_enqueue_notify()
2775 oldlevel, PSC_INTEREST, canblock); in pm_enqueue_notify()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dxec.c457 int16_t level, oldlevel = (int16_t)nv_getnum(np); in put_level() local
469 nv_putv(np, (char*)&oldlevel, NV_INT16, fp); in put_level()
473 if(level==oldlevel) in put_level()