Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/gpio/
H A Dgpio-mockup-sysfs.sh9 GPIO_SYSFS="${SYSFS}/class/gpio"
10 [ -d "$GPIO_SYSFS" ] || skip "CONFIG_GPIO_SYSFS is not selected"
28 sysfs_ldir="$GPIO_SYSFS/gpio$sysfs_nr"
35 echo "$sysfs_nr" > "$GPIO_SYSFS/export"
74 echo "$sysfs_nr" > "$GPIO_SYSFS/unexport"
/openbmc/skeleton/pytools/
H A Dgpioutil27 GPIO_SYSFS = '/sys/class/gpio/'
63 return GPIO_SYSFS+'gpio'+self.gpio_num+'/'+name
66 if (os.path.exists(GPIO_SYSFS+'export') == False):
68 if (os.path.exists(GPIO_SYSFS+'gpio'+self.gpio_num) == False):
69 self.write(GPIO_SYSFS+'export',self.gpio_num)
/openbmc/linux/drivers/gpio/
H A DKconfig61 config GPIO_SYSFS config