/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | cpupm_throttle.h | 29 #include <sys/cpupm.h>
|
H A D | pwrnow.h | 29 #include <sys/cpupm.h>
|
H A D | speedstep.h | 29 #include <sys/cpupm.h>
|
H A D | cpudrv_mach.h | 30 #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 D | ppm_plat.h | 33 #include <sys/cpupm.h>
|
H A D | cpu_idle.h | 33 #include <sys/cpupm.h>
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | cpudrv_mach.h | 46 #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 D | cpudrv.c | 395 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 D | pm.c | 76 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 D | cpudrv_mach.c | 36 #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 D | ppm_plat.c | 37 #include <sys/cpupm.h> 73 "since cpupm interfaces are not initialized", str,
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | cpudrv_mach.c | 31 #include <sys/cpupm.h> 70 cpudrv_is_governor_thread(cpudrv_pm_t *cpupm) argument
|
/illumos-gate/usr/src/cmd/power/ |
H A D | pmconfig.h | 126 extern int cpupm(void);
|
H A D | parse.c | 60 "cpupm", cpupm, &pm_status, NULL, 2, 1, 1,
|
H A D | handlers.c | 117 * 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 D | cpupm.c | 27 #include <sys/cpupm.h>
|
H A D | sunpm.c | 68 * 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 D | epm.h | 613 * 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 D | turbo.c | 37 #include <sys/cpupm.h>
|
H A D | pwrnow.c | 32 #include <sys/cpupm.h>
|
H A D | speedstep.c | 37 #include <sys/cpupm.h>
|
H A D | cpu_idle.c | 38 #include <sys/cpupm.h>
|
H A D | cpupm_mach.c | 39 #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.
|