Lines Matching refs:new
1065 * Otherwise, set all cpus to the new power level.
1074 int old, new, ret, kmflag;
1097 new = reqp->req.ppm_set_power_req.new_level;
1100 ppmd->level = new;
1104 "from %d to %d", str, (void *)dip, old, new))
1108 if (ppm_manage_early_cpus(dip, new, result))
1111 if (new == ppmd->level) {
1112 PPMD(D_CPU, ("%s: already at power level %d\n", str, new))
1121 ppmd->rplvl = new;
1123 if (cpup->rplvl == new)
1126 if (new < old) {
1127 PPMD(D_SOME, ("%s: not all cpus wants to be at new "
1128 "level %d yet.\n", str, new))
1136 if (new > old) {
1146 PPMD(D_SETLVL, ("%s: \"%s\" set power level old %d, new %d \n",
1147 str, ppmd->path, ppmd->level, new))
1148 ret = ppm_change_cpu_power(ppmd, new);
1168 p->ppd_new_level = new;
1172 str, cpup->path, old, new))
1511 int new, old, cmpt;
1523 new = reqp->req.ppm_set_power_req.new_level;
1529 new = reqp->req.ppm_notify_level_req.new_level;
1543 PPMD(D_FET, ("%s: dip(%p): old(%d)->new(%d): no ppm_dev"
1544 " found for cmpt(%d)", str, (void *)dip, old, new, cmpt))
1549 PPMD(D_FET, ("%s: %s@%s %s old %d, new %d, c%d, level %d, "
1551 ppm_get_ctlstr(reqp->request_type, ~0), old, new, cmpt,
1557 if (new == ppmd->level) {
1571 if (new > 0) { /* device powering up or to different positive level */
1611 if ((*result = (*pwr_func)(ppmd, cmpt, new)) != DDI_SUCCESS) {
1933 int old, new, cmpt;
1944 new = reqp->req.ppm_set_power_req.new_level;
1951 new = reqp->req.ppm_notify_level_req.new_level;
1964 PPMD(D_PCI, ("%s: dip(%p): old(%d), new(%d): no ppm_dev"
1965 " found for cmpt(%d)", str, (void *)dip, old, new, cmpt))
1970 PPMD(D_PCI, ("%s: %s, dev(%s), c%d, old %d, new %d\n", str,
1972 ppmd->path, cmpt, old, new))
1975 if (new == ppmd->level)
1980 if (new > 0) { /* device powering up */
2014 if ((*result = (*pwr_func)(ppmd, cmpt, new)) != DDI_SUCCESS) {
2076 int old, new, cmpt;
2087 new = reqp->req.ppm_set_power_req.new_level;
2094 new = reqp->req.ppm_notify_level_req.new_level;
2107 PPMD(D_PCI, ("%s: dip(%p): old(%d), new(%d): no ppm_dev"
2108 " found for cmpt(%d)", str, (void *)dip, old, new, cmpt))
2113 PPMD(D_PCI, ("%s: %s, dev(%s), c%d, old %d, new %d\n", str,
2115 ppmd->path, cmpt, old, new))
2118 if (new == ppmd->level)
2123 if (new > 0) { /* device powering up */
2157 if ((*result = (*pwr_func)(ppmd, cmpt, new)) != DDI_SUCCESS) {
2462 PPMD(D_SETLVL, ("%s: %s change=%d, old %d, new %d, ret %d\n",