Searched refs:plat_level (Results 1 – 2 of 2) sorted by relevance
57 #define PLAT_2_PM_LEVEL(cpupm, plat_level) (cpupm->num_spd - plat_level) argument70 uint32_t plat_level; in cpudrv_change_speed() local76 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() argument152 pm_level = PLAT_2_PM_LEVEL(cpupm, plat_level); in cpudrv_set_topspeed()188 int plat_level; in cpudrv_get_topspeed() local195 plat_level = cpupm_get_top_speed(cp); in cpudrv_get_topspeed()197 return (plat_level); in cpudrv_get_topspeed()
877 int plat_level; in cpupm_get_top_speed() local886 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()