Home
last modified time | relevance | path

Searched refs:SYSFS_PATH (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/tools/testing/selftests/gpio/
H A Dgpio-sim.sh158 echo $PULL > $SYSFS_PATH || fail "Unable to set line pull in sysfs"
357 SYSFS_PATH=/sys/devices/platform/$DEVNAME/$CHIPNAME/sim_gpio0/pull
358 test `cat $SYSFS_PATH` = "pull-down" || fail "reading the pull failed"
360 test `cat $SYSFS_PATH` = "pull-up" || fail "reading the pull failed"
371 SYSFS_PATH="/sys/devices/platform/$DEVNAME/$CHIPNAME/sim_gpio0/pull"
382 SYSFS_PATH="/sys/devices/platform/$DEVNAME/$CHIPNAME/sim_gpio0/value"
396 SYSFS_PATH="/sys/devices/platform/$DEVNAME/$CHIPNAME/sim_gpio0/value"
397 test `cat $SYSFS_PATH` = "0" || fail "incorrect value read from sysfs"
400 test `cat $SYSFS_PATH` = "1" || fail "incorrect value read from sysfs"
412 SYSFS_PATH="/sys/devices/platform/$DEVNAME/$CHIPNAME/sim_gpio0/value"
[all …]
/linux-6.15/tools/power/acpi/tools/ec/
H A Dec_access.c23 #define SYSFS_PATH "/sys/kernel/debug/ec/ec0/io" macro
134 err(EXIT_FAILURE, "Could not read from %s\n", SYSFS_PATH); in dump_ec()
157 err(EXIT_FAILURE, "Could not read from %s\n", SYSFS_PATH); in dump_ec()
187 byte_offset, SYSFS_PATH); in read_ec_val()
220 fd = open(SYSFS_PATH, file_mode); in main()
222 err(EXIT_FAILURE, "%s", SYSFS_PATH); in main()
/linux-6.15/Documentation/admin-guide/
H A Dsysfs-rules.rst34 possibly support a ``SYSFS_PATH`` environment variable to overwrite the