Home
last modified time | relevance | path

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

123

/linux-6.12.1/tools/testing/selftests/cpu-hotplug/
Dcpu-on-off-test.sh4 SYSFS=
20 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
22 if [ ! -d "$SYSFS" ]; then
27 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; 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
[all …]
/linux-6.12.1/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-6.12.1/tools/testing/selftests/cpufreq/
Dcpufreq.sh210 if [ ! -d $SYSFS/power/ -o ! -f $SYSFS/power/state ]; then
211 printf "$SYSFS/power/state not available\n"
225 present=$(cat $SYSFS/power/state | grep $filename)
228 printf "Tried to $1 but $filename isn't present in $SYSFS/power/state\n"
249 echo $filename > $SYSFS/power/state
Dmain.sh15 SYSFS=
51 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
53 if [ ! -d "$SYSFS" ]; then
58 CPUROOT=$SYSFS/devices/system/cpu
/linux-6.12.1/tools/testing/selftests/gpio/
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.12.1/tools/testing/selftests/amd-pstate/
Drun.sh29 SYSFS=
298 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
300 if [ ! -d "$SYSFS" ]; then
305 CPUROOT=$SYSFS/devices/system/cpu
/linux-6.12.1/drivers/misc/eeprom/
DKconfig6 depends on I2C && SYSFS
37 depends on SPI && SYSFS
73 depends on SPI && SYSFS
101 depends on I2C && SYSFS
111 depends on I2C && SYSFS
/linux-6.12.1/drivers/iio/trigger/
DKconfig61 tristate "SYSFS trigger"
62 depends on SYSFS
65 Provides support for using SYSFS entries as IIO triggers.
/linux-6.12.1/fs/configfs/
DKconfig4 select SYSFS
/linux-6.12.1/fs/dlm/
DKconfig5 depends on SYSFS && CONFIGFS_FS && (IPV6 || IPV6=n)
/linux-6.12.1/kernel/livepatch/
DKconfig11 depends on SYSFS
/linux-6.12.1/drivers/md/bcache/
DKconfig5 select BLOCK_HOLDER_DEPRECATED if SYSFS
/linux-6.12.1/drivers/iio/common/cros_ec_sensors/
DKconfig7 depends on SYSFS && CROS_EC_SENSORHUB
/linux-6.12.1/drivers/iio/imu/st_lsm9ds0/
DKconfig5 depends on (I2C || SPI_MASTER) && SYSFS
/linux-6.12.1/fs/sysfs/
DKconfig2 config SYSFS config
/linux-6.12.1/drivers/greybus/
DKconfig4 depends on SYSFS
/linux-6.12.1/fs/gfs2/
DKconfig31 CONFIGFS_FS && SYSFS && (DLM=y || DLM=GFS2_FS)
/linux-6.12.1/drivers/media/usb/pvrusb2/
DKconfig23 depends on VIDEO_PVRUSB2 && SYSFS
/linux-6.12.1/fs/ocfs2/
DKconfig4 depends on INET && SYSFS && CONFIGFS_FS
/linux-6.12.1/drivers/misc/
DKconfig14 depends on (I2C || SPI) && SYSFS
245 depends on SPI && SYSFS
334 depends on I2C && SYSFS
354 depends on I2C && SYSFS
439 depends on SPI && SYSFS
/linux-6.12.1/Documentation/misc-devices/
Dapds990x.rst47 SYSFS chapter
Dbh1770glc.rst48 SYSFS chapter
/linux-6.12.1/Documentation/driver-api/
Dpps.rst136 SYSFS support
139 If the SYSFS filesystem is enabled in the kernel it provides a new class::
/linux-6.12.1/drivers/of/
DKconfig73 def_bool SYSFS
/linux-6.12.1/drivers/block/zram/
DKconfig4 depends on BLOCK && SYSFS && MMU

123