40,7 → 40,7 |
|
//extern void kern_scale_timer(unsigned int old_f, unsigned int new_f); |
extern void ll_scale_advtimer(unsigned int old_f, unsigned int new_f); |
|
extern ssize_t show_available_freqs (struct cpufreq_policy *policy, char *buf); |
/** |
* The "cpufreq driver" - the arch- or hardware-dependend low |
* level driver of CPUFreq support, and its spinlock. This lock |
55,31 → 55,36 |
* USER * |
*********************************************************************/ |
|
int cpufreq_target(unsigned int target_freq, unsigned int relation) |
inline int cpufreq_target(unsigned int target_freq, unsigned int relation) |
{ |
return cpufreq_driver_target(cpufreq_cpu_data, target_freq, relation); |
} |
|
int cpufreq_get_cur_freq(void) |
inline int cpufreq_get_cur_freq(void) |
{ |
return cpufreq_cpu_data->cur; |
} |
|
int cpufreq_get_min_freq(void) |
inline int cpufreq_get_min_freq(void) |
{ |
return cpufreq_cpu_data->min; |
} |
|
int cpufreq_get_max_freq(void) |
inline int cpufreq_get_max_freq(void) |
{ |
return cpufreq_cpu_data->max; |
} |
|
int cpufreq_get_latency(void) |
inline int cpufreq_get_latency(void) |
{ |
return cpufreq_cpu_data->cpuinfo.transition_latency; |
} |
|
inline int cpufreq_show_available_freqs(char *buf) |
{ |
return show_available_freqs(cpufreq_cpu_data, buf); |
} |
|
/********************************************************************* |
* GOVERNOR * |
*********************************************************************/ |