Home
last modified time | relevance | path

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

/f-stack/freebsd/x86/cpufreq/
H A Dhwpstate_amd.c490 struct cf_setting *perf_set; in hwpstate_get_info_from_acpi_perf() local
494 perf_set = malloc(MAX_SETTINGS * sizeof(*perf_set), M_TEMP, M_NOWAIT); in hwpstate_get_info_from_acpi_perf()
495 if (perf_set == NULL) { in hwpstate_get_info_from_acpi_perf()
504 error = CPUFREQ_DRV_SETTINGS(perf_dev, perf_set, &count); in hwpstate_get_info_from_acpi_perf()
513 if (i == perf_set[i].spec[0]) { in hwpstate_get_info_from_acpi_perf()
515 hwpstate_set[i].freq = perf_set[i].freq; in hwpstate_get_info_from_acpi_perf()
516 hwpstate_set[i].volts = perf_set[i].volts; in hwpstate_get_info_from_acpi_perf()
517 hwpstate_set[i].power = perf_set[i].power; in hwpstate_get_info_from_acpi_perf()
518 hwpstate_set[i].lat = perf_set[i].lat; in hwpstate_get_info_from_acpi_perf()
526 if (perf_set) in hwpstate_get_info_from_acpi_perf()
[all …]