/shark/trunk/drivers/cpu/include/drivers/shark_cpu26.h |
---|
46,9 → 46,8 |
void CPU26_showinfo(void); |
int CPU26_DVS_init(void); |
int CPU26_DVS_close(void); |
int CPU26_DVS_status(void); |
int CPU26_initDVS(void); |
int CPU26_closeDVS(void); |
int CPU26_get_latency(void); |
int CPU26_set_frequency(unsigned int target_freq, unsigned int relation); |
55,8 → 54,8 |
int CPU26_get_cur_frequency(void); |
int CPU26_get_min_frequency(void); |
int CPU26_get_max_frequency(void); |
int CPU26_get_frequencies(int *buf); |
int CPU26_show_frequencies(char *buf); |
int CPU26_get_frequencys(int *buf); |
int CPU26_show_frequencys(char *buf); |
#endif |
/shark/trunk/drivers/cpu/cpufreq/freq_table.c |
---|
168,6 → 168,7 |
continue; |
count += sprintf26(&buf[count], "%d ", table[i].frequency); |
} |
count += sprintf26(&buf[count], "\n"); |
return count; |
/shark/trunk/drivers/cpu/shark/shark_cpu.c |
---|
85,12 → 85,12 |
return cpufreq_get_max_freq(); |
} |
inline int CPU26_get_frequencies(int *buf) |
inline int CPU26_get_frequencys(int *buf) |
{ |
return cpufreq_get_available_freqs (buf); |
} |
inline int CPU26_show_frequencies(char *buf) |
inline int CPU26_show_frequencys(char *buf) |
{ |
return cpufreq_show_available_freqs (buf); |
} |
100,13 → 100,8 |
return cpufreq_get_latency(); |
} |
inline int CPU26_DVS_status(void) |
int CPU26_initDVS(void) |
{ |
return dvs_installed; |
} |
int CPU26_DVS_init(void) |
{ |
int ret = 0; |
if (cpu_installed == FALSE) |
190,7 → 185,7 |
return -1; |
} |
int CPU26_DVS_close(void) |
int CPU26_closeDVS(void) |
{ |
switch(dvs_installed) { |
case DVS_NONE: |