Home
last modified time | relevance | path

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

/openthread-2.7.6/tools/spi-hdlc-adapter/
Dspi-hdlc-adapter.c168 static int sIntGpioValueFd = -1; variable
725 if (sIntGpioValueFd >= 0) in check_and_clear_interrupt()
730 lseek(sIntGpioValueFd, 0, SEEK_SET); in check_and_clear_interrupt()
732 len = read(sIntGpioValueFd, value, sizeof(value) - 1); in check_and_clear_interrupt()
1300 sIntGpioValueFd = -1; in setup_int_gpio()
1359 sIntGpioValueFd = open(value_path, O_RDONLY | O_CLOEXEC); in setup_int_gpio()
1383 return sIntGpioValueFd >= 0; in setup_int_gpio()
1827 if (max_fd < sIntGpioValueFd) in main()
1829 max_fd = sIntGpioValueFd; in main()
1832 if (sIntGpioValueFd < 0) in main()
[all …]