Home
last modified time | relevance | path

Searched refs:SYSFS (Results 1 – 25 of 53) sorted by relevance

123

/Linux-v5.10/tools/testing/selftests/cpu-hotplug/
Dcpu-on-off-test.sh4 SYSFS=
19 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
21 if [ ! -d "$SYSFS" ]; then
26 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then
32 online_cpus=`cat $SYSFS/devices/system/cpu/online`
40 present_cpus=`cat $SYSFS/devices/system/cpu/present`
46 offline_cpus=`cat $SYSFS/devices/system/cpu/offline`
62 for cpu in $SYSFS/devices/system/cpu/cpu*; do
81 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online
86 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online
[all …]
/Linux-v5.10/tools/testing/selftests/memory-hotplug/
Dmem-on-off-test.sh4 SYSFS=
18 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
20 if [ ! -d "$SYSFS" ]; then
25 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then
30 if ! grep -q 1 $SYSFS/devices/system/memory/memory*/removable; then
43 for memory in $SYSFS/devices/system/memory/memory*; do
63 grep -q online $SYSFS/devices/system/memory/memory$1/state
68 grep -q offline $SYSFS/devices/system/memory/memory$1/state
73 echo online > $SYSFS/devices/system/memory/memory$1/state
78 echo offline > $SYSFS/devices/system/memory/memory$1/state
/Linux-v5.10/tools/testing/selftests/cpufreq/
Dcpufreq.sh211 if [ ! -d $SYSFS/power/ -o ! -f $SYSFS/power/state ]; then
212 printf "$SYSFS/power/state not available\n"
226 present=$(cat $SYSFS/power/state | grep $filename)
229 printf "Tried to $1 but $filename isn't present in $SYSFS/power/state\n"
235 echo $filename > $SYSFS/power/state
Dmain.sh12 SYSFS=
49 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
51 if [ ! -d "$SYSFS" ]; then
56 CPUROOT=$SYSFS/devices/system/cpu
/Linux-v5.10/tools/testing/selftests/gpio/
Dgpio-mockup.sh11 SYSFS=
43 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
44 if [ ! -d "$SYSFS" ]; then
48 GPIO_SYSFS=`echo $SYSFS/class/gpio`
49 GPIO_DRV_SYSFS=`echo $SYSFS/devices/platform/$module/gpio`
/Linux-v5.10/drivers/misc/eeprom/
DKconfig6 depends on I2C && SYSFS
36 depends on SPI && SYSFS
49 depends on I2C && SYSFS
85 depends on SPI && SYSFS
113 depends on I2C && SYSFS
123 depends on I2C && SYSFS
/Linux-v5.10/drivers/iio/trigger/
DKconfig61 tristate "SYSFS trigger"
62 depends on SYSFS
65 Provides support for using SYSFS entries as IIO triggers.
/Linux-v5.10/fs/configfs/
DKconfig4 select SYSFS
/Linux-v5.10/fs/dlm/
DKconfig5 depends on SYSFS && CONFIGFS_FS && (IPV6 || IPV6=n)
/Linux-v5.10/kernel/livepatch/
DKconfig11 depends on SYSFS
/Linux-v5.10/drivers/iio/common/cros_ec_sensors/
DKconfig7 depends on SYSFS && CROS_EC_SENSORHUB
/Linux-v5.10/lib/
DKconfig.kasan25 depends on (SLUB && SYSFS) || (SLAB && !DEBUG_SLAB)
49 depends on (SLUB && SYSFS) || (SLAB && !DEBUG_SLAB)
73 depends on (SLUB && SYSFS) || (SLAB && !DEBUG_SLAB)
/Linux-v5.10/drivers/greybus/
DKconfig4 depends on SYSFS
/Linux-v5.10/fs/sysfs/
DKconfig2 config SYSFS config
/Linux-v5.10/drivers/block/zram/
DKconfig4 depends on BLOCK && SYSFS && ZSMALLOC && CRYPTO
/Linux-v5.10/fs/gfs2/
DKconfig30 CONFIGFS_FS && SYSFS && (DLM=y || DLM=GFS2_FS)
/Linux-v5.10/drivers/media/usb/pvrusb2/
DKconfig23 depends on VIDEO_PVRUSB2 && SYSFS
/Linux-v5.10/drivers/of/
DKconfig53 def_bool SYSFS
/Linux-v5.10/fs/ocfs2/
DKconfig4 depends on INET && SYSFS && CONFIGFS_FS
/Linux-v5.10/Documentation/admin-guide/gpio/
Dsysfs.rst8 ARE SUPPOSED TO USE THE CHARACTER DEVICE ABI. THIS OLD SYSFS ABI WILL
36 DO NOT ABUSE SYSFS TO CONTROL HARDWARE THAT HAS PROPER KERNEL DRIVERS.
/Linux-v5.10/drivers/misc/
DKconfig14 depends on (I2C || SPI) && SYSFS
299 depends on I2C && SYSFS
319 depends on I2C && SYSFS
404 depends on SPI && SYSFS
/Linux-v5.10/Documentation/misc-devices/
Dapds990x.rst47 SYSFS section in Kernel driver apds990x
Dbh1770glc.rst48 SYSFS section in Kernel driver bh1770glc
/Linux-v5.10/Documentation/driver-api/
Dpps.rst136 SYSFS support
139 If the SYSFS filesystem is enabled in the kernel it provides a new class::
/Linux-v5.10/Documentation/powerpc/
Ddscr.rst40 (C) SYSFS Interface:

123