Lines Matching refs:pmc_numlevels
835 int limit = cp->pmc_comp.pmc_numlevels; in e_pm_valid_power()
1407 limit = cp->pmc_comp.pmc_numlevels; in power_val_to_index()
2415 int limit = cp->pmc_comp.pmc_numlevels; in pm_level_to_index()
3401 pmc->pmc_numlevels = 2; in e_pm_default_levels()
3420 p->pmc_comp.pmc_numlevels = 2; in e_pm_default_components()
3876 compp->pmc_numlevels = level; \
4018 int nlevels = cp->pmc_comp.pmc_numlevels; in e_pm_destroy_components()
4174 if (p->comp->pmc_numlevels < 2) { in pm_autoconfig()
4178 p->comp->pmc_numlevels)) in pm_autoconfig()
4181 for (j = 0; j < p->comp->pmc_numlevels; j++) { in pm_autoconfig()
4241 n = pp->pmc_numlevels; in pm_autoconfig()
4303 for (level = 1; level < pmc->pmc_numlevels; in pm_set_device_threshold()
4366 ASSERT(pmc->pmc_numlevels > 1); in pm_set_device_threshold()
4367 transitions += pmc->pmc_numlevels - 1; in pm_set_device_threshold()
4374 for (level = 1; level < pmc->pmc_numlevels; level++) { in pm_set_device_threshold()
4382 for (level = 1; level < pmc->pmc_numlevels; level++) { in pm_set_device_threshold()
4403 if (level < pmc->pmc_numlevels) { in pm_set_device_threshold()
4414 for (level = 1; level < pmc->pmc_numlevels; level++) { in pm_set_device_threshold()
6163 cp->pmc_comp.pmc_numlevels - 1) { in pm_valid_thresh()
6166 cp->pmc_comp.pmc_numlevels - 1, in pm_valid_thresh()