Lines Matching defs:old_level
1497 power_dev(dev_info_t *dip, int comp, int level, int old_level,
1521 if (bc && comp == 0 && POWERING_OFF(old_level, level)) {
1535 power_req.req.ppm_set_power_req.old_level = old_level;
1550 power_val_to_string(cp, old_level), old_level,
1560 (bc && comp == 0 && POWERING_ON(old_level, level)))
1605 if (POWERING_ON(old_level, level)) {
1618 if (POWERING_OFF(old_level, level)) {
2683 p->old_level = old;
2875 dev_info_t *pdip, int comp, int old_level, int level)
2885 bphc.bphc_olevel = old_level;
2899 pm_check_and_resume(dev_info_t *dip, int comp, int old_level, int level)
2903 if (PM_ISBC(dip) && comp == 0 && old_level == 0 && level != 0) {
2943 int blocked, circ, pcirc, old_level;
3013 old_level = cur_power(cp);
3016 POWERING_ON(old_level, level))
3022 old_level != PM_LEVEL_UNKNOWN)
3034 old_level = cur_power(cp);
3036 (!PM_ISBC(dip) || comp == 0) && POWERING_ON(old_level, level))
3041 old_level != PM_LEVEL_UNKNOWN)
3097 int old_level;
3106 old_level = (cp->pmc_flags & PM_PHC_WHILE_SET_POWER ?
3108 if (old_level != PM_LEVEL_UNKNOWN)
3109 old_level = cp->pmc_comp.pmc_lvals[old_level];
3111 if (level == old_level) {
3124 power_req.req.ppm_notify_level_req.old_level = old_level;
3133 incr = calc_cfb_comps_incr(dip, comp, old_level, level);
3139 comp, old_level, level, pm_cfb_comps_off))
3147 pm_notify_parent(dip, pdip, comp, old_level, level);
3148 (void) pm_check_and_resume(dip, comp, old_level, level);
3155 if (POWERING_OFF(old_level, level)) {
3173 if (POWERING_ON(old_level, level)) {
3197 if (notify && (level != old_level) && pm_watchers()) {
3199 pm_enqueue_notify(PSC_HAS_CHANGED, dip, comp, level, old_level,
3254 p->old_level = PM_LEVEL_UNKNOWN;
3263 p->old_level = PM_LEVEL_UNKNOWN;
4836 int new_level, old_level, cmpt;
4861 old_level = PM_CURPOWER(target_dip, cmpt);
4862 reqp->req.ppm_set_power_req.old_level = old_level;
4866 old_level, new_level, (retval == DDI_SUCCESS ?