Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/gpio/
H A Dgpio-aggregator.sh7 CONFIGFS_SIM_DIR="/sys/kernel/config/gpio-sim"
28 echo 1 > "$CONFIGFS_SIM_DIR/$CHIP/live" || fail "Unable to enable the chip"
34 echo 0 > "$CONFIGFS_SIM_DIR/$CHIP/live" || fail "Unable to disable the chip"
40 for CHIP_DIR in "$CONFIGFS_SIM_DIR"/*; do
46 remaining=$(find "$CONFIGFS_SIM_DIR" -mindepth 1 -type d 2> /dev/null)
48 fail "Directories remain in $CONFIGFS_SIM_DIR: $remaining"
55 local CHIP_NAME=$(cat "$CONFIGFS_SIM_DIR/$CHIP/$BANK/chip_name" 2> /dev/null) || \
234 mkdir $CONFIGFS_SIM_DIR/$CHIP
236 mkdir -p "$CONFIGFS_SIM_DIR/$CHIP/$BANK"
237 echo "${CHIP}_${BANK}" > "$CONFIGFS_SIM_DIR/$CHIP/$BANK/label" || \
[all …]