Searched refs:f_max (Results 1 – 2 of 2) sorted by relevance
| /dpdk/lib/power/ |
| H A D | power_cppc_cpufreq.c | 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 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() [all …]
|
| H A D | power_pstate_cpufreq.c | 140 open_core_sysfs_file(&f_max, "rw+", POWER_SYSFILE_MAX_FREQ, in power_init_for_setting_freq() 142 if (f_max == NULL) { in power_init_for_setting_freq() 183 pi->f_cur_max = f_max; in power_init_for_setting_freq() 226 if (f_max != NULL) in power_init_for_setting_freq() 227 fclose(f_max); in power_init_for_setting_freq() 354 FILE *f_min = NULL, *f_max = NULL; in power_get_available_freqs() local 360 open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_BASE_MAX_FREQ, in power_get_available_freqs() 362 if (f_max == NULL) { in power_get_available_freqs() 377 ret = read_core_sysfs_u32(f_max, &sys_max_freq); in power_get_available_freqs() 444 if (f_max != NULL) in power_get_available_freqs() [all …]
|