Lines Matching +full:ls +full:- +full:files
16 if [ ! -d $CPUROOT/$1/cpufreq ]; then
23 if [ -d $CPUROOT/$1/cpufreq ]; then
30 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*")
38 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*")
47 local files=`ls $1`
51 for file in $files; do
52 if [ -f $1/$file ]; then
70 printf "%s\n\n" "------------------------------------------------"
74 # UPDATE CPUFREQ FILES
79 local files=`ls $1`
83 for file in $files; do
84 if [ -f $1/$file ]; then
86 local wfile=$(ls -l $1/$file | awk '$1 ~ /^.*w.*/ { print $NF; }')
88 if [ ! -z $wfile ]; then
106 # Update all writable files with their existing values
113 printf "%s\n\n" "------------------------------------------------"
151 # Set all frequencies one-by-one
169 printf "\n%s\n\n" "------------------------------------------------"
189 # read/update all cpufreq files
210 if [ ! -d $SYSFS/power/ -o ! -f $SYSFS/power/state ]; then
224 if [ -n $filename ]; then
227 if [ -z "$present" ]; then