Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/tools/testing/selftests/cpu-hotplug/
A Dcpu-on-off-test.sh4 SYSFS=
20 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
22 if [ ! -d "$SYSFS" ]; then
33 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*; do
82 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online
87 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online
92 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online
[all …]
/linux-6.3-rc2/tools/testing/selftests/memory-hotplug/
A 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-6.3-rc2/tools/testing/selftests/cpufreq/
A 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
A 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-6.3-rc2/tools/testing/selftests/gpio/
A Dgpio-mockup-sysfs.sh6 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
/linux-6.3-rc2/tools/testing/selftests/amd-pstate/
A Drun.sh25 SYSFS=
289 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
291 if [ ! -d "$SYSFS" ]; then
296 CPUROOT=$SYSFS/devices/system/cpu
/linux-6.3-rc2/drivers/misc/eeprom/
A DKconfig6 depends on I2C && SYSFS
36 depends on SPI && SYSFS
50 depends on I2C && SYSFS
86 depends on SPI && SYSFS
114 depends on I2C && SYSFS
124 depends on I2C && SYSFS
/linux-6.3-rc2/drivers/iio/trigger/
A DKconfig61 tristate "SYSFS trigger"
62 depends on SYSFS
65 Provides support for using SYSFS entries as IIO triggers.
/linux-6.3-rc2/fs/configfs/
A DKconfig4 select SYSFS
/linux-6.3-rc2/kernel/livepatch/
A DKconfig11 depends on SYSFS
/linux-6.3-rc2/fs/dlm/
A DKconfig5 depends on SYSFS && CONFIGFS_FS && (IPV6 || IPV6=n)
/linux-6.3-rc2/drivers/iio/common/cros_ec_sensors/
A DKconfig7 depends on SYSFS && CROS_EC_SENSORHUB
/linux-6.3-rc2/drivers/greybus/
A DKconfig4 depends on SYSFS
/linux-6.3-rc2/drivers/md/bcache/
A DKconfig5 select BLOCK_HOLDER_DEPRECATED if SYSFS
/linux-6.3-rc2/drivers/iio/imu/st_lsm9ds0/
A DKconfig5 depends on (I2C || SPI_MASTER) && SYSFS
/linux-6.3-rc2/fs/sysfs/
A DKconfig2 config SYSFS config
/linux-6.3-rc2/fs/gfs2/
A DKconfig30 CONFIGFS_FS && SYSFS && (DLM=y || DLM=GFS2_FS)
/linux-6.3-rc2/drivers/media/usb/pvrusb2/
A DKconfig23 depends on VIDEO_PVRUSB2 && SYSFS
/linux-6.3-rc2/drivers/block/zram/
A DKconfig4 depends on BLOCK && SYSFS && MMU
/linux-6.3-rc2/drivers/misc/
A DKconfig14 depends on (I2C || SPI) && SYSFS
235 depends on SPI && SYSFS
324 depends on I2C && SYSFS
344 depends on I2C && SYSFS
429 depends on SPI && SYSFS
/linux-6.3-rc2/fs/ocfs2/
A DKconfig4 depends on INET && SYSFS && CONFIGFS_FS
/linux-6.3-rc2/Documentation/admin-guide/gpio/
A 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-6.3-rc2/drivers/of/
A DKconfig65 def_bool SYSFS
/linux-6.3-rc2/Documentation/misc-devices/
A Dapds990x.rst47 SYSFS section in Kernel driver apds990x
/linux-6.3-rc2/mm/damon/
A DKconfig57 depends on DAMON && SYSFS

Completed in 30 milliseconds

123