Lines Matching refs:pmc_thresh
3418 p->pmc_comp.pmc_thresh = kmem_alloc(2 * sizeof (int), in e_pm_default_components()
3421 p->pmc_comp.pmc_thresh[0] = INT_MAX; in e_pm_default_components()
3422 p->pmc_comp.pmc_thresh[1] = INT_MAX; in e_pm_default_components()
3631 return (cp->pmc_comp.pmc_thresh[1]); in cur_threshold()
3644 ASSERT(cp->pmc_comp.pmc_thresh); in cur_threshold()
3645 return (cp->pmc_comp.pmc_thresh[pwr]); in cur_threshold()
3879 compp->pmc_thresh = kmem_alloc(level * sizeof (int), KM_SLEEP); \
3882 compp->pmc_thresh[j] = INT_MAX; /* only [0] sticks */ \
4020 kmem_free(cp->pmc_comp.pmc_thresh, nlevels * sizeof (int)); in e_pm_destroy_components()
4251 if (pp->pmc_thresh) { in pm_autoconfig()
4252 kmem_free(pp->pmc_thresh, n * (sizeof (int))); in pm_autoconfig()
4305 pmc->pmc_thresh[level] = thresh; in pm_set_device_threshold()
4375 pmc->pmc_thresh[level] = thresh; in pm_set_device_threshold()
4385 comp, level, pmc->pmc_thresh[level])) in pm_set_device_threshold()
4404 pmc->pmc_thresh[level] += 1; in pm_set_device_threshold()
4417 comp, level, pmc->pmc_thresh[level])) in pm_set_device_threshold()
6115 cp->pmc_comp.pmc_thresh[j + 1] = ep->pte_thresh[j]; in pm_apply_recorded_thresh()