Home
last modified time | relevance | path

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

/external/vboot_reference/host/arch/x86/lib/
Dcrossystem_arch.c82 #define GPIO_BASE_PATH "/sys/class/gpio" macro
83 #define GPIO_EXPORT_PATH GPIO_BASE_PATH "/export"
514 dir = opendir(GPIO_BASE_PATH); in FindGpioChipOffset()
542 dir = opendir(GPIO_BASE_PATH); in FindGpioChipOffsetByLabel()
554 GPIO_BASE_PATH, *offset); in FindGpioChipOffsetByLabel()
597 dir = opendir(GPIO_BASE_PATH); in BayTrailFindGpioChipOffset()
608 "%s/gpiochip%u/device/firmware_node/uid", GPIO_BASE_PATH, in BayTrailFindGpioChipOffset()
702 GPIO_BASE_PATH, controller_offset); in ReadGpio()
/external/vboot_reference/host/arch/x86_64/lib/
Dcrossystem_arch.c82 #define GPIO_BASE_PATH "/sys/class/gpio" macro
83 #define GPIO_EXPORT_PATH GPIO_BASE_PATH "/export"
514 dir = opendir(GPIO_BASE_PATH); in FindGpioChipOffset()
542 dir = opendir(GPIO_BASE_PATH); in FindGpioChipOffsetByLabel()
554 GPIO_BASE_PATH, *offset); in FindGpioChipOffsetByLabel()
597 dir = opendir(GPIO_BASE_PATH); in BayTrailFindGpioChipOffset()
608 "%s/gpiochip%u/device/firmware_node/uid", GPIO_BASE_PATH, in BayTrailFindGpioChipOffset()
702 GPIO_BASE_PATH, controller_offset); in ReadGpio()
/external/vboot_reference/host/arch/arm/lib/
Dcrossystem_arch.c39 #define GPIO_BASE_PATH "/sys/class/gpio" macro
40 #define GPIO_EXPORT_PATH GPIO_BASE_PATH "/export"
235 GPIO_BASE_PATH, gpio_number); in VbGetGpioStatus()