Searched refs:cpupm (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/uts/i86pc/sys/
H A Dcpupm_throttle.h29 #include <sys/cpupm.h>
H A Dpwrnow.h29 #include <sys/cpupm.h>
H A Dspeedstep.h29 #include <sys/cpupm.h>
H A Dcpudrv_mach.h30 #include <sys/cpupm.h>
50 #define CPUDRV_RESET_GOVERNOR_THREAD(cpupm) { \
51 if (curthread == cpupm->pm_governor_thread) \
52 cpupm->pm_governor_thread = NULL; \
58 #define CPUDRV_TOPSPEED(cpupm) (cpupm)->top_spd
126 #define CPUDRV_COMP_SPEED(cpupm, cur_spd) cur_spd->speed;
127 #define CPUDRV_COMP_SPRINT(pmc, cpupm, cur_spd, comp_spd) \
H A Dppm_plat.h33 #include <sys/cpupm.h>
H A Dcpu_idle.h33 #include <sys/cpupm.h>
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dcpudrv_mach.h46 #define CPUDRV_RESET_GOVERNOR_THREAD(cpupm)
56 #define CPUDRV_TOPSPEED(cpupm) (cpupm)->head_spd
127 #define CPUDRV_COMP_SPEED(cpupm, cur_spd) \
128 ((cur_spd == cpupm->head_spd) ? cur_spd->pm_level : cur_spd->speed)
129 #define CPUDRV_COMP_SPRINT(pmc, cpupm, cur_spd, comp_spd) { \
130 if (cur_spd == cpupm->head_spd) \
/illumos-gate/usr/src/uts/common/io/
H A Dcpudrv.c395 cpudrv_pm_t *cpupm; local
471 cpupm = &(cpudsp->cpudrv_pm);
475 cpupm->cur_spd->pm_level,
476 CPUDRV_TOPSPEED(cpupm)->pm_level));
480 if (!cpudrv_direct_pm && (cpupm->cur_spd !=
481 CPUDRV_TOPSPEED(cpupm))) {
482 if (cpupm->pm_busycnt < 1) {
485 cpupm->pm_busycnt++;
497 CPUDRV_TOPSPEED(cpupm)->pm_level) !=
505 CPUDRV_TOPSPEED(cpupm)
655 cpudrv_pm_t *cpupm = &(cpudsp->cpudrv_pm); local
783 cpudrv_pm_t *cpupm = &(cpudsp->cpudrv_pm); local
801 cpudrv_pm_t *cpupm = &(cpudsp->cpudrv_pm); local
968 cpudrv_pm_t *cpupm; local
[all...]
H A Dpm.c76 extern pm_cpupm_t cpupm;
2699 old_mode = cpupm;
2700 new_mode = cpupm = cpupm_default_mode;
2702 old_mode = cpupm;
2703 new_mode = cpupm = PM_CPUPM_EVENT;
2705 old_mode = cpupm;
2706 new_mode = cpupm = PM_CPUPM_POLLING;
2737 new_mode = cpupm = PM_CPUPM_POLLING;
2772 old_mode = cpupm;
2773 cpupm
[all...]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dcpudrv_mach.c36 #include <sys/cpupm.h>
47 * the highest power level is cpupm->num_spd). The x86 modules get
50 * is (cpupm->num_spd - 1) and the highest power level is 0). So to
52 * simply subtract our driver power level from cpupm->num_spd. Likewise,
54 * subtract the ACPI power level from cpupm->num_spd.
56 #define PM_2_PLAT_LEVEL(cpupm, pm_level) (cpupm->num_spd - pm_level)
57 #define PLAT_2_PM_LEVEL(cpupm, plat_level) (cpupm->num_spd - plat_level)
68 cpudrv_pm_t *cpupm; local
120 cpudrv_is_governor_thread(cpudrv_pm_t *cpupm) argument
137 cpudrv_pm_t *cpupm; local
[all...]
H A Dppm_plat.c37 #include <sys/cpupm.h>
73 "since cpupm interfaces are not initialized", str,
/illumos-gate/usr/src/uts/sun4u/io/
H A Dcpudrv_mach.c31 #include <sys/cpupm.h>
70 cpudrv_is_governor_thread(cpudrv_pm_t *cpupm) argument
/illumos-gate/usr/src/cmd/power/
H A Dpmconfig.h126 extern int cpupm(void);
H A Dparse.c60 "cpupm", cpupm, &pm_status, NULL, 2, 1, 1,
H A Dhandlers.c117 * Check for valid cpupm behavior and communicate it to the kernel.
120 cpupm(void) function
152 mesg(MERR, "invalid cpupm behavior \"%s\"\n", behavior);
154 mesg(MERR, "invalid cpupm behavior \"%s %s\"\n",
160 mesg(MERR, "cpupm %s failed, %s\n",
/illumos-gate/usr/src/uts/common/os/
H A Dcpupm.c27 #include <sys/cpupm.h>
H A Dsunpm.c68 * ioctls) cpupm. If the CPU devices are not managed independently, then they
86 * -enable/disable cpupm
87 * -turn down idle components based on thresholds (if autopm or cpupm is
108 * Whenever autopm or cpupm is enabled, the framework attempts to bring each
192 * of autopm_enabled and cpupm. This lock is not held
347 * cpupm is turned on and off, by the PM_START_CPUPM and PM_STOP_CPUPM ioctls,
351 pm_cpupm_t cpupm = PM_CPUPM_NOTSET; variable
618 cpupm_save = cpupm;
619 cpupm = PM_CPUPM_NOTSET;
626 ASSERT(cpupm
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Depm.h613 * Returns true if cpupm is enabled in event driven mode.
615 #define PM_EVENT_CPUPM (cpupm == PM_CPUPM_EVENT)
618 * Returns true if cpupm is enabled in polling mode.
620 #define PM_POLLING_CPUPM (cpupm == PM_CPUPM_POLLING)
623 * Returns true if cpupm operating using the default mode.
625 #define PM_DEFAULT_CPUPM (cpupm == cpupm_default_mode)
630 #define PM_CPUPM_DISABLED (cpupm == PM_CPUPM_DISABLE)
/illumos-gate/usr/src/uts/i86pc/os/cpupm/
H A Dturbo.c37 #include <sys/cpupm.h>
H A Dpwrnow.c32 #include <sys/cpupm.h>
H A Dspeedstep.c37 #include <sys/cpupm.h>
H A Dcpu_idle.c38 #include <sys/cpupm.h>
H A Dcpupm_mach.c39 #include <sys/cpupm.h>
292 * Free any resources allocated during cpupm initialization or cpupm start.
347 * call (*cpus_fini)() ops to release the cpupm resource
363 * call (*cpus_stop)() ops to reclaim the cpupm resource
951 * Update cpupm cstate data each time CPU exits idle.
960 * Determine next cstate based on cpupm data.
961 * Update cpupm cstate data each time CPU goes idle.

Completed in 2164 milliseconds