Searched refs:SYSFS (Results 1 – 25 of 58) sorted by relevance
123
4 SYSFS=20 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`22 if [ ! -d "$SYSFS" ]; then27 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then33 online_cpus=`cat $SYSFS/devices/system/cpu/online`41 present_cpus=`cat $SYSFS/devices/system/cpu/present`47 offline_cpus=`cat $SYSFS/devices/system/cpu/offline`63 for cpu in $SYSFS/devices/system/cpu/cpu*; do82 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online87 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online[all …]
4 SYSFS=18 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`20 if [ ! -d "$SYSFS" ]; then25 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then30 if ! grep -q 1 $SYSFS/devices/system/memory/memory*/removable; then43 for memory in $SYSFS/devices/system/memory/memory*; do63 grep -q online $SYSFS/devices/system/memory/memory$1/state68 grep -q offline $SYSFS/devices/system/memory/memory$1/state73 echo online > $SYSFS/devices/system/memory/memory$1/state78 echo offline > $SYSFS/devices/system/memory/memory$1/state
4 SYSFS=21 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`23 if [ ! -d "$SYSFS" ]; then28 if ! ls $SYSFS/class/thermal/cooling_device* > /dev/null 2>&1; then33 ports=`grep -e "^$PCIEPORTTYPE" $SYSFS/class/thermal/cooling_device*/type | wc -l`73 pcidir="$SYSFS/bus/pci/devices/`sed -e "s|^${PCIEPORTTYPE}_||g" $typefile`"
217 if [ ! -d $SYSFS/power/ -o ! -f $SYSFS/power/state ]; then218 printf "$SYSFS/power/state not available\n"232 present=$(cat $SYSFS/power/state | grep $filename)235 printf "Tried to $1 but $filename isn't present in $SYSFS/power/state\n"255 echo $filename > $SYSFS/power/state
15 SYSFS=51 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`53 if [ ! -d "$SYSFS" ]; then58 CPUROOT=$SYSFS/devices/system/cpu
6 SYSFS=`grep -w sysfs /proc/mounts | cut -f2 -d' '`7 [ -d "$SYSFS" ] || skip "sysfs is not mounted"9 GPIO_SYSFS="${SYSFS}/class/gpio"12 PLATFORM_SYSFS=$SYSFS/devices/platform
6 depends on I2C && SYSFS37 depends on SPI && SYSFS74 depends on SPI && SYSFS102 depends on I2C && SYSFS112 depends on I2C && SYSFS125 depends on I2C && SYSFS
29 SYSFS=298 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`300 if [ ! -d "$SYSFS" ]; then305 CPUROOT=$SYSFS/devices/system/cpu
61 tristate "SYSFS trigger"62 depends on SYSFS65 Provides support for using SYSFS entries as IIO triggers.
5 depends on SYSFS && CONFIGFS_FS && (IPV6 || IPV6=n)
11 depends on SYSFS
5 select BLOCK_HOLDER_DEPRECATED if SYSFS
2 config SYSFS config
5 depends on (I2C || SPI_MASTER) && SYSFS
7 depends on SYSFS && CROS_EC_SENSORHUB
136 SYSFS support139 If the SYSFS filesystem is enabled in the kernel it provides a new class::227 Generators SYSFS support230 If the SYSFS filesystem is enabled in the kernel it provides a new class::
4 depends on SYSFS
30 CONFIGFS_FS && SYSFS && (DLM=y || DLM=GFS2_FS)
23 depends on VIDEO_PVRUSB2 && SYSFS
4 depends on INET && SYSFS && CONFIGFS_FS
14 depends on (I2C || SPI) && SYSFS256 depends on SPI && SYSFS345 depends on I2C && SYSFS365 depends on I2C && SYSFS450 depends on SPI && SYSFS
47 SYSFS chapter
48 SYSFS chapter
4 depends on BLOCK && SYSFS && MMU
79 def_bool SYSFS