Searched refs:hwpstate_set (Results 1 – 1 of 1) sorted by relevance
115 static int hwpstate_set(device_t dev, const struct cf_setting *cf);148 DEVMETHOD(cpufreq_drv_set, hwpstate_set),242 hwpstate_set(device_t dev, const struct cf_setting *cf) in hwpstate_set() function429 struct hwpstate_setting *hwpstate_set; in hwpstate_get_info_from_msr() local438 hwpstate_set = sc->hwpstate_settings; in hwpstate_get_info_from_msr()448 hwpstate_set[i].volts = CPUFREQ_VAL_UNKNOWN; in hwpstate_get_info_from_msr()449 hwpstate_set[i].power = CPUFREQ_VAL_UNKNOWN; in hwpstate_get_info_from_msr()450 hwpstate_set[i].lat = CPUFREQ_VAL_UNKNOWN; in hwpstate_get_info_from_msr()454 hwpstate_set[i].freq = (100 * (fid + 0x08)) >> did; in hwpstate_get_info_from_msr()460 hwpstate_set[i].freq = (100 * (fid + 0x10)) >> did; in hwpstate_get_info_from_msr()[all …]