Home
last modified time | relevance | path

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

/device/google/contexthub/util/stm32_flash/
Dflash.c69 char gpio_dev[30]; in main() local
163 snprintf(gpio_dev, sizeof(gpio_dev), "/sys/class/gpio/gpio%d/value", gpio_nreset); in main()
164 gpio = open(gpio_dev, O_WRONLY); in main()
328 gpio = open(gpio_dev, O_WRONLY); in main()
/device/google/felix/vibrator/cs40l26/
DVibMgrHwApi.h70 const auto gpio_dev = std::string() + "/dev/gpiochip" + std::to_string(mGPIOPin); in initGPIO() local
71 int fd = open(gpio_dev.c_str(), O_CREAT | O_WRONLY, 0777); in initGPIO()