Lines Matching defs:new
117 * device again, and a new scan is scheduled after that time.
506 #define POWERING_ON(old, new) ((old) == 0 && (new) != 0)
507 #define POWERING_OFF(old, new) ((old) != 0 && (new) == 0)
916 PMD(PMD_DIN, ("%s: %s@%s(%s#%d) cmpt=%d, dir=%s, new=%d, cur=%d\n",
1720 PMD(PMD_SET, ("%s: %s@%s(%s#%d), comp=%d, dir=%s, new=%d\n",
2010 /* Now free the old array and point to the new one */
2226 * This routine dispatches new work to the dependency thread. Caller must
2445 * Nothing to adjust if current & new levels are the same.
2504 * set the device new to a power level above has failed we sync the
2634 psc_entry(ushort_t event, psce_t *psce, dev_info_t *dip, int comp, int new,
2687 p->new_level = new;
2997 * oldest old power and the newest new power of any
3062 calc_cfb_comps_incr(dev_info_t *dip, int cmpt, int old, int new)
3066 int want_normal = (new == cp->pmc_norm_pwr);
3669 * is higher than the new max power.
5095 * Create a new dependency record and hang a new dependency entry off of it
5162 prdeps("pm_record_keeper after new record");
5526 pm_rsvp_t *new = kmem_zalloc(sizeof (*new), KM_SLEEP);
5533 new->pr_dip = dip;
5534 new->pr_comp = comp;
5535 new->pr_newlevel = newpower;
5536 new->pr_oldlevel = oldpower;
5537 cv_init(&new->pr_cv, NULL, CV_DEFAULT, NULL);
5539 pm_enqueue_blocked(new);
5554 if (cv_wait_sig(&new->pr_cv, &pm_rsvp_lock) == 0) {
5557 ret = new->pr_retval;
5560 pm_dequeue_blocked(new);
5562 cv_destroy(&new->pr_cv);
5563 kmem_free(new, sizeof (*new));
5605 * for the new one (for the case where a single
5615 if (!found) { /* create a new one */
8974 * actual power level before the transition was made to the new level.