Lines Matching defs:cpudrvpm
532 cpudrv_pm_t *cpudrvpm;
554 cpudrvpm = &(cpudsp->cpudrv_pm);
562 if (!cpudrv_direct_pm && (cpudrvpm->pm_busycnt >= 1) &&
563 !cpudrv_is_governor_thread(cpudrvpm)) {
564 if ((cpudrvpm->cur_spd != NULL) &&
565 (level < cpudrvpm->cur_spd->pm_level)) {
571 for (new_spd = cpudrvpm->head_spd; new_spd; new_spd =
577 CPUDRV_RESET_GOVERNOR_THREAD(cpudrvpm);
604 CPUDRV_RESET_GOVERNOR_THREAD(cpudrvpm);
623 if ((cpudrvpm->cur_spd != NULL) && (level <
624 cpudrvpm->cur_spd->pm_level)) {
627 if (cpudrvpm->pm_busycnt >= 1)
628 cpudrvpm->pm_busycnt--;
638 cpudrvpm->lastquan_mstate[CMS_IDLE] = 0;
639 cpudrvpm->lastquan_mstate[CMS_SYSTEM] = 0;
640 cpudrvpm->lastquan_mstate[CMS_USER] = 0;
641 cpudrvpm->lastquan_ticks = 0;
642 cpudrvpm->cur_spd = new_spd;
643 CPUDRV_RESET_GOVERNOR_THREAD(cpudrvpm);