Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/gpio/
H A Dgpio-aggregator.sh8 CONFIGFS_AGG_DIR="/sys/kernel/config/gpio-aggregator"
66 mkdir "$CONFIGFS_AGG_DIR/$CHIP"
72 find "$CONFIGFS_AGG_DIR/$CHIP/" -depth -type d -exec rmdir {} \; || \
73 fail "Unable to remove $CONFIGFS_AGG_DIR/$CHIP"
80 mkdir "$CONFIGFS_AGG_DIR/$CHIP/$LINE"
87 rmdir "$CONFIGFS_AGG_DIR/$CHIP/$LINE"
95 echo "$KEY" > "$CONFIGFS_AGG_DIR/$CHIP/$LINE/key" || fail "Unable to set the lookup key"
103 echo "$OFFSET" > "$CONFIGFS_AGG_DIR/$CHIP/$LINE/offset" || \
112 echo "$NAME" > "$CONFIGFS_AGG_DIR/$CHIP/$LINE/name" || fail "Unable to set the line name"
118 echo 1 > "$CONFIGFS_AGG_DIR/$CHIP/live" || fail "Unable to enable the chip"
[all …]