Home
last modified time | relevance | path

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

/src/sys/x86/cpufreq/
H A Dhwpstate_amd.c1218 struct cf_setting *perf_set; in hwpstate_get_info_from_acpi_perf() local
1222 perf_set = malloc(MAX_SETTINGS * sizeof(*perf_set), M_TEMP, M_NOWAIT); in hwpstate_get_info_from_acpi_perf()
1223 if (perf_set == NULL) { in hwpstate_get_info_from_acpi_perf()
1232 error = CPUFREQ_DRV_SETTINGS(perf_dev, perf_set, &count); in hwpstate_get_info_from_acpi_perf()
1241 if (i == perf_set[i].spec[0]) { in hwpstate_get_info_from_acpi_perf()
1243 hwpstate_set[i].freq = perf_set[i].freq; in hwpstate_get_info_from_acpi_perf()
1244 hwpstate_set[i].volts = perf_set[i].volts; in hwpstate_get_info_from_acpi_perf()
1245 hwpstate_set[i].power = perf_set[i].power; in hwpstate_get_info_from_acpi_perf()
1246 hwpstate_set[i].lat = perf_set[i].lat; in hwpstate_get_info_from_acpi_perf()
1254 if (perf_set) in hwpstate_get_info_from_acpi_perf()
[all …]