Home
last modified time | relevance | path

Searched refs:plat_level (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/i86pc/io/
H A Dcpudrv_mach.c57 #define PLAT_2_PM_LEVEL(cpupm, plat_level) (cpupm->num_spd - plat_level) argument
70 uint32_t plat_level; in cpudrv_change_speed() local
76 plat_level = PM_2_PLAT_LEVEL(cpupm, new_spd->pm_level); in cpudrv_change_speed()
78 mach_state->ms_pstate.cma_ops->cpus_change(set, plat_level); in cpudrv_change_speed()
134 cpudrv_set_topspeed(void *ctx, int plat_level) in cpudrv_set_topspeed() argument
152 pm_level = PLAT_2_PM_LEVEL(cpupm, plat_level); in cpudrv_set_topspeed()
188 int plat_level; in cpudrv_get_topspeed() local
195 plat_level = cpupm_get_top_speed(cp); in cpudrv_get_topspeed()
197 return (plat_level); in cpudrv_get_topspeed()
/titanic_41/usr/src/uts/i86pc/os/cpupm/
H A Dcpupm_mach.c877 int plat_level; in cpupm_get_top_speed() local
886 plat_level = CPU_ACPI_PPC(handle); in cpupm_get_top_speed()
891 if ((plat_level < 0) || (plat_level > max_level)) { in cpupm_get_top_speed()
893 "_PPC out of range %d", cp->cpu_id, plat_level); in cpupm_get_top_speed()
894 plat_level = 0; in cpupm_get_top_speed()
897 return (plat_level); in cpupm_get_top_speed()