Lines Matching +full:power +full:- +full:managed
2 # SPDX-License-Identifier: GPL-2.0
17 if [ ! -d $CPUROOT/$1/cpufreq ]; then
24 if [ -d $CPUROOT/$1/cpufreq ]; then
31 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*")
39 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*")
53 if [ -f $1/$file ]; then
71 printf "%s\n\n" "------------------------------------------------"
85 if [ -f $1/$file ]; then
87 local wfile=$(ls -l $1/$file | awk '$1 ~ /^.*w.*/ { print $NF; }')
89 if [ ! -z $wfile ]; then
114 printf "%s\n\n" "------------------------------------------------"
152 # Set all frequencies one-by-one
170 printf "\n%s\n\n" "------------------------------------------------"
181 printf "No cpu is managed by cpufreq core, exiting\n"
187 # Detect & print which CPUs are not managed by cpufreq
211 if [ ! -d $SYSFS/power/ -o ! -f $SYSFS/power/state ]; then
212 printf "$SYSFS/power/state not available\n"
225 if [ -n $filename ]; then
226 present=$(cat $SYSFS/power/state | grep $filename)
228 if [ -z "$present" ]; then
229 printf "Tried to $1 but $filename isn't present in $SYSFS/power/state\n"
235 echo $filename > $SYSFS/power/state