Lines Matching refs:f_max
115 FILE *f_nom = NULL, *f_max = NULL, *f_cmax = NULL; in power_check_turbo() local
119 open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF, in power_check_turbo()
121 if (f_max == NULL) { in power_check_turbo()
143 ret = read_core_sysfs_u32(f_max, &highest_perf); in power_check_turbo()
184 if (f_max != NULL) in power_check_turbo()
185 fclose(f_max); in power_check_turbo()
201 FILE *f_min = NULL, *f_max = NULL; in power_get_available_freqs() local
206 open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_SCALING_MAX_FREQ, in power_get_available_freqs()
208 if (f_max == NULL) { in power_get_available_freqs()
222 ret = read_core_sysfs_u32(f_max, &scaling_max_freq); in power_get_available_freqs()
271 if (f_max != NULL) in power_get_available_freqs()
272 fclose(f_max); in power_get_available_freqs()