Searched refs:perf_set (Results 1 – 1 of 1) sorted by relevance
512 struct cf_setting *perf_set; in hwpstate_get_info_from_acpi_perf() local516 perf_set = malloc(MAX_SETTINGS * sizeof(*perf_set), M_TEMP, M_NOWAIT); in hwpstate_get_info_from_acpi_perf()517 if (perf_set == NULL) { in hwpstate_get_info_from_acpi_perf()526 error = CPUFREQ_DRV_SETTINGS(perf_dev, perf_set, &count); in hwpstate_get_info_from_acpi_perf()535 if (i == perf_set[i].spec[0]) { in hwpstate_get_info_from_acpi_perf()537 hwpstate_set[i].freq = perf_set[i].freq; in hwpstate_get_info_from_acpi_perf()538 hwpstate_set[i].volts = perf_set[i].volts; in hwpstate_get_info_from_acpi_perf()539 hwpstate_set[i].power = perf_set[i].power; in hwpstate_get_info_from_acpi_perf()540 hwpstate_set[i].lat = perf_set[i].lat; in hwpstate_get_info_from_acpi_perf()548 if (perf_set) in hwpstate_get_info_from_acpi_perf()[all …]