Searched refs:perf_set (Results 1 – 1 of 1) sorted by relevance
475 struct cf_setting *perf_set; in hwpstate_get_info_from_acpi_perf() local479 perf_set = malloc(MAX_SETTINGS * sizeof(*perf_set), M_TEMP, M_NOWAIT); in hwpstate_get_info_from_acpi_perf()480 if (perf_set == NULL) { in hwpstate_get_info_from_acpi_perf()489 error = CPUFREQ_DRV_SETTINGS(perf_dev, perf_set, &count); in hwpstate_get_info_from_acpi_perf()498 if (i == perf_set[i].spec[0]) { in hwpstate_get_info_from_acpi_perf()500 hwpstate_set[i].freq = perf_set[i].freq; in hwpstate_get_info_from_acpi_perf()501 hwpstate_set[i].volts = perf_set[i].volts; in hwpstate_get_info_from_acpi_perf()502 hwpstate_set[i].power = perf_set[i].power; in hwpstate_get_info_from_acpi_perf()503 hwpstate_set[i].lat = perf_set[i].lat; in hwpstate_get_info_from_acpi_perf()511 if (perf_set) in hwpstate_get_info_from_acpi_perf()[all …]