Lines Matching refs:cmpt
55 * If the framework needs to lock a dev/cmpt for a device which this ppm
557 xcppm_set_level(ppm_dev_t *ppmd, int cmpt, int level, boolean_t change)
566 ret = pm_power(ppmd->dip, cmpt, level);
581 xcppm_change_power_level(ppm_dev_t *ppmd, int cmpt, int level)
583 return (xcppm_set_level(ppmd, cmpt, level, B_TRUE));
588 xcppm_record_level_change(ppm_dev_t *ppmd, int cmpt, int level)
590 return (xcppm_set_level(ppmd, cmpt, level, B_FALSE));
1006 p->ppd_cmpt = ppmd->cmpt;
1036 int new, old, cmpt, incr = 0;
1049 cmpt = reqp->req.ppm_set_power_req.cmpt;
1055 cmpt = reqp->req.ppm_notify_level_req.cmpt;
1090 if ((*result = (*pwr_func)(ppmd, cmpt, new)) != DDI_SUCCESS) {
1138 int new, cmpt, retval;
1150 cmpt = reqp->req.ppm_set_power_req.cmpt;
1155 cmpt = reqp->req.ppm_notify_level_req.cmpt;
1188 if ((codev->cmpt == 0) && (codev->flags == co_flags))
1222 if ((retval = (*pwr_func)(ppmd, cmpt, new)) != DDI_SUCCESS &&
1261 int new, old, cmpt;
1273 cmpt = reqp->req.ppm_set_power_req.cmpt;
1279 cmpt = reqp->req.ppm_notify_level_req.cmpt;
1297 if (cmpt == 0 && new < ppmd->level) {
1299 (*pwr_func)(ppmd, cmpt, new)) != DDI_SUCCESS) {
1309 if (cmpt == 0 && new > ppmd->level) {
1320 (*pwr_func)(ppmd, cmpt, new)) != DDI_SUCCESS &&
1335 *result = xcppm_change_power_level(ppmd, cmpt, new);
1613 pm_comp = &dcomps[ppmd->cmpt].pmc_comp;