Home
last modified time | relevance | path

Searched refs:pm_level (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/i86pc/io/
H A Dcpudrv_mach.c56 #define PM_2_PLAT_LEVEL(cpupm, pm_level) (cpupm->num_spd - pm_level) argument
76 plat_level = PM_2_PLAT_LEVEL(cpupm, new_spd->pm_level); in cpudrv_change_speed()
141 int pm_level; in cpudrv_set_topspeed() local
153 pm_level = PLAT_2_PM_LEVEL(cpupm, plat_level); in cpudrv_set_topspeed()
159 if (spd->pm_level > pm_level) in cpudrv_set_topspeed()
164 if (spd->pm_level == pm_level) in cpudrv_set_topspeed()
175 (void) pm_update_maxpower(dip, 0, top_spd->pm_level); in cpudrv_set_topspeed()
/illumos-gate/usr/src/uts/common/io/
H A Dcpudrv.c475 cpupm->cur_spd->pm_level, in cpudrv_detach()
476 CPUDRV_TOPSPEED(cpupm)->pm_level)); in cpudrv_detach()
497 CPUDRV_TOPSPEED(cpupm)->pm_level) != in cpudrv_detach()
505 CPUDRV_TOPSPEED(cpupm)->pm_level); in cpudrv_detach()
565 (level < cpudrvpm->cur_spd->pm_level)) { in cpudrv_power()
573 if (new_spd->pm_level == level) in cpudrv_power()
624 cpudrvpm->cur_spd->pm_level)) { in cpudrv_power()
822 cur_spd->pm_level = i; in cpudrv_comp_create()
915 (new_spd->pm_level))); \
916 ret = pm_raise_power((dip), CPUDRV_COMP_NUM, (new_spd->pm_level)); \
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dcpudrv_mach.h128 ((cur_spd == cpupm->head_spd) ? cur_spd->pm_level : cur_spd->speed)
133 (void) sprintf(pmc, "%d=1/%d%s", cur_spd->pm_level, \
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dcpudrv_mach.h128 (void) sprintf(pmc, "%d=%dMHz", cur_spd->pm_level, comp_spd);
/illumos-gate/usr/src/uts/common/sys/
H A Dcpudrv.h72 int pm_level; /* power level for framework */ member
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_solaris.c5833 if (hba->pm_level == level) { in emlxs_power()
5846 hba->pm_level = EMLXS_PM_ADAPTER_UP; in emlxs_power()
5852 hba->pm_level = EMLXS_PM_ADAPTER_UP; in emlxs_power()
5858 hba->pm_level = EMLXS_PM_ADAPTER_DOWN; in emlxs_power()
5864 hba->pm_level = EMLXS_PM_ADAPTER_UP; in emlxs_power()
5875 hba->pm_level = EMLXS_PM_ADAPTER_DOWN; in emlxs_power()
5881 hba->pm_level = EMLXS_PM_ADAPTER_DOWN; in emlxs_power()
5887 hba->pm_level = EMLXS_PM_ADAPTER_UP; in emlxs_power()
5894 hba->pm_level = EMLXS_PM_ADAPTER_DOWN; in emlxs_power()
7298 hba->pm_level = EMLXS_PM_ADAPTER_DOWN; in emlxs_hba_attach()
[all …]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h2060 uint32_t pm_level; member
/illumos-gate/usr/src/uts/common/os/
H A Dsunpm.c4460 ddi_power(dev_info_t *dip, int pm_cmpt, int pm_level) in ddi_power() argument
4467 request.req.set_power_req.level = pm_level; in ddi_power()