Home
last modified time | relevance | path

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

/openthread-latest/tools/spi-hdlc-adapter/
Dspi-hdlc-adapter.c168 static int sIntGpioValueFd = -1; variable
713 if (sIntGpioValueFd >= 0) in check_and_clear_interrupt()
718 lseek(sIntGpioValueFd, 0, SEEK_SET); in check_and_clear_interrupt()
720 len = read(sIntGpioValueFd, value, sizeof(value) - 1); in check_and_clear_interrupt()
1288 sIntGpioValueFd = -1; in setup_int_gpio()
1347 sIntGpioValueFd = open(value_path, O_RDONLY | O_CLOEXEC); in setup_int_gpio()
1371 return sIntGpioValueFd >= 0; in setup_int_gpio()
1815 if (max_fd < sIntGpioValueFd) in main()
1817 max_fd = sIntGpioValueFd; in main()
1820 if (sIntGpioValueFd < 0) in main()
[all …]