Lines Matching refs:pull
155 local SYSFS_PATH="/sys/devices/platform/$DEVNAME/$CHIPNAME/sim_gpio$OFFSET/pull"
157 echo $PULL > $SYSFS_PATH || fail "Unable to set line pull in sysfs"
160 # Load the gpio-sim module. This will pull in configfs if needed too.
328 sysfs_set_pull chip bank 0 pull-up
330 test "$?" = "1" || fail "pull set incorrectly"
331 sysfs_set_pull chip bank 0 pull-down
333 test "$?" = "0" || fail "pull set incorrectly"
343 SYSFS_PATH=/sys/devices/platform/$DEVNAME/$CHIPNAME/sim_gpio0/pull
344 test `cat $SYSFS_PATH` = "pull-down" || fail "reading the pull failed"
345 sysfs_set_pull chip bank 0 pull-up
346 test `cat $SYSFS_PATH` = "pull-up" || fail "reading the pull failed"
356 SYSFS_PATH="/sys/devices/platform/$DEVNAME/$CHIPNAME/sim_gpio0/pull"
395 $BASE_DIR/gpio-mockup-cdev -b pull-up /dev/`configfs_chip_name chip bank` 0