Searched refs:perf_set (Results 1 – 1 of 1) sorted by relevance
1237 struct cf_setting *perf_set; in hwpstate_get_info_from_acpi_perf() local1241 perf_set = malloc(MAX_SETTINGS * sizeof(*perf_set), M_TEMP, M_NOWAIT); in hwpstate_get_info_from_acpi_perf()1242 if (perf_set == NULL) { in hwpstate_get_info_from_acpi_perf()1251 error = CPUFREQ_DRV_SETTINGS(perf_dev, perf_set, &count); in hwpstate_get_info_from_acpi_perf()1260 if (i == perf_set[i].spec[0]) { in hwpstate_get_info_from_acpi_perf()1262 hwpstate_set[i].freq = perf_set[i].freq; in hwpstate_get_info_from_acpi_perf()1263 hwpstate_set[i].volts = perf_set[i].volts; in hwpstate_get_info_from_acpi_perf()1264 hwpstate_set[i].power = perf_set[i].power; in hwpstate_get_info_from_acpi_perf()1265 hwpstate_set[i].lat = perf_set[i].lat; in hwpstate_get_info_from_acpi_perf()1273 if (perf_set) in hwpstate_get_info_from_acpi_perf()[all …]