Lines Matching refs:DIR
6 DIR="/sys/devices/system/cpu"
64 if fileexists $DIR/$core/online; then
65 adb shell "echo -n 1 > $DIR/$core/online"
69 if fileexists $DIR/$core/cpufreq/scaling_available_frequencies; then
70 frequencies=(`getprop $DIR/$core/cpufreq/scaling_available_frequencies`)
71 elif fileexists $DIR/$core/cpufreq/stats/time_in_state; then
72 … frequencies=(`adb shell cat $DIR/$core/cpufreq/stats/time_in_state | cut -f1 -d " " | tr -d '\r'`)
86 adb shell "echo -n $freq > $DIR/$core/cpufreq/scaling_min_freq"
87 adb shell "echo -n $freq > $DIR/$core/cpufreq/scaling_max_freq"
98 if fileexists $DIR/$core/online && [ `getprop $DIR/$core/online` -eq 0 ]; then
102 if fileexists $DIR/$core/cpufreq/scaling_cur_freq; then
103 frequency=`getprop $DIR/$core/cpufreq/scaling_cur_freq`
138 if fileexists $DIR/$core/online; then
139 adb shell "echo -n 1 > $DIR/$core/online"
141 adb shell "echo -n $freq > $DIR/$core/cpufreq/scaling_min_freq"
142 adb shell "echo -n $freq > $DIR/$core/cpufreq/scaling_max_freq"