Home
last modified time | relevance | path

Searched refs:f_cur_max (Results 1 – 1 of 1) sorted by relevance

/dpdk/lib/power/
H A Dpower_pstate_cpufreq.c60 FILE *f_cur_max; /**< FD of scaling_max */ member
183 pi->f_cur_max = f_max; in power_init_for_setting_freq()
256 if (fseek(pi->f_cur_max, 0, SEEK_SET) < 0) { in set_freq_internal()
284 if (fprintf(pi->f_cur_max, "%u", target_freq) < 0) { in set_freq_internal()
294 fflush(pi->f_cur_max); in set_freq_internal()
301 if (fprintf(pi->f_cur_max, "%u", target_freq) < 0) { in set_freq_internal()
316 fflush(pi->f_cur_max); in set_freq_internal()
611 fclose(pi->f_cur_max); in power_pstate_cpufreq_exit()
613 pi->f_cur_max = NULL; in power_pstate_cpufreq_exit()