Home
last modified time | relevance | path

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

/f-stack/dpdk/lib/librte_power/
H A Dpower_pstate_cpufreq.c99 FILE *f_cur_max; /**< FD of scaling_max */ member
183 pi->f_cur_max = f_max; in power_init_for_setting_freq()
259 if (fseek(pi->f_cur_max, 0, SEEK_SET) < 0) { in set_freq_internal()
287 if (fprintf(pi->f_cur_max, "%u", target_freq) < 0) { in set_freq_internal()
297 fflush(pi->f_cur_max); in set_freq_internal()
304 if (fprintf(pi->f_cur_max, "%u", target_freq) < 0) { in set_freq_internal()
319 fflush(pi->f_cur_max); in set_freq_internal()
702 fclose(pi->f_cur_max); in power_pstate_cpufreq_exit()
704 pi->f_cur_max = NULL; in power_pstate_cpufreq_exit()