Searched refs:hwpstate_set (Results 1 – 1 of 1) sorted by relevance
110 static int hwpstate_set(device_t dev, const struct cf_setting *cf);133 DEVMETHOD(cpufreq_drv_set, hwpstate_set),215 hwpstate_set(device_t dev, const struct cf_setting *cf) in hwpstate_set() function399 struct hwpstate_setting *hwpstate_set; in hwpstate_get_info_from_msr() local408 hwpstate_set = sc->hwpstate_settings; in hwpstate_get_info_from_msr()420 hwpstate_set[i].freq = 100 * (fid + 0x08) / (1 << did); in hwpstate_get_info_from_msr()424 hwpstate_set[i].freq = 100 * (fid + 0x10) / (1 << did); in hwpstate_get_info_from_msr()431 hwpstate_set[i].pstate_id = i; in hwpstate_get_info_from_msr()433 hwpstate_set[i].volts = CPUFREQ_VAL_UNKNOWN; in hwpstate_get_info_from_msr()434 hwpstate_set[i].power = CPUFREQ_VAL_UNKNOWN; in hwpstate_get_info_from_msr()[all …]