Home
last modified time | relevance | path

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

123

/openbmc/linux/tools/testing/selftests/cpu-hotplug/
H 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 …]
/openbmc/linux/tools/testing/selftests/memory-hotplug/
H 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
/openbmc/linux/tools/testing/selftests/cpufreq/
H 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
H 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
/openbmc/linux/tools/testing/selftests/gpio/
H 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
/openbmc/phosphor-pid-control/sensors/
H A Dbuild_utils.cpp37 return IOInterfaceType::SYSFS; in getWriteInterfaceType()
67 return IOInterfaceType::SYSFS; in getReadInterfaceType()
H A Dbuild_utils.hpp22 SYSFS, enumerator
H A Dbuilder.cpp107 case IOInterfaceType::SYSFS: in buildSensors()
119 case IOInterfaceType::SYSFS: in buildSensors()
/openbmc/linux/tools/testing/selftests/amd-pstate/
H 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
/openbmc/phosphor-pid-control/test/
H A Dutil_unittest.cpp32 EXPECT_EQ(IOInterfaceType::SYSFS, getWriteInterfaceType(path)); in TEST()
78 EXPECT_EQ(IOInterfaceType::SYSFS, getReadInterfaceType(path)); in TEST()
/openbmc/linux/drivers/misc/eeprom/
H A DKconfig6 depends on I2C && SYSFS
37 depends on SPI && SYSFS
51 depends on I2C && SYSFS
87 depends on SPI && SYSFS
115 depends on I2C && SYSFS
125 depends on I2C && SYSFS
/openbmc/linux/drivers/iio/trigger/
H A DKconfig61 tristate "SYSFS trigger"
62 depends on SYSFS
65 Provides support for using SYSFS entries as IIO triggers.
/openbmc/linux/fs/configfs/
H A DKconfig4 select SYSFS
/openbmc/linux/fs/dlm/
H A DKconfig5 depends on SYSFS && CONFIGFS_FS && (IPV6 || IPV6=n)
/openbmc/linux/kernel/livepatch/
H A DKconfig11 depends on SYSFS
/openbmc/docs/designs/
H A Dmultihost-physical-led.md39 KERNEL META-PHOSPHOR PHOSPHOR-LED-SYSFS SERVICE
73 PHOSPHSOR-LED-SYSFS DAEMON
112 KERNEL PHOSPHOR-LED-SYSFS DAEMON
116 | LED 1 | Event 2 | UDEV | | SYSFS | | EXECUTABLE |
/openbmc/linux/drivers/iio/common/cros_ec_sensors/
H A DKconfig7 depends on SYSFS && CROS_EC_SENSORHUB
/openbmc/linux/drivers/greybus/
H A DKconfig4 depends on SYSFS
/openbmc/linux/drivers/md/bcache/
H A DKconfig5 select BLOCK_HOLDER_DEPRECATED if SYSFS
/openbmc/linux/fs/sysfs/
H A DKconfig2 config SYSFS config
/openbmc/linux/drivers/iio/imu/st_lsm9ds0/
H A DKconfig5 depends on (I2C || SPI_MASTER) && SYSFS
/openbmc/linux/fs/gfs2/
H A DKconfig31 CONFIGFS_FS && SYSFS && (DLM=y || DLM=GFS2_FS)
/openbmc/linux/drivers/media/usb/pvrusb2/
H A DKconfig23 depends on VIDEO_PVRUSB2 && SYSFS
/openbmc/linux/drivers/block/zram/
H A DKconfig4 depends on BLOCK && SYSFS && MMU
/openbmc/linux/fs/ocfs2/
H A DKconfig4 depends on INET && SYSFS && CONFIGFS_FS

123