Home
last modified time | relevance | path

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

/openthread-2.7.6/examples/platforms/simulation/
Dsystem.c191 int max_fd = -1; in otSysProcessDrivers() local
199 platformUartUpdateFdSet(&read_fds, &write_fds, &error_fds, &max_fd); in otSysProcessDrivers()
200 platformRadioUpdateFdSet(&read_fds, &write_fds, &max_fd); in otSysProcessDrivers()
203 platformTrelUpdateFdSet(&read_fds, &write_fds, &timeout, &max_fd); in otSysProcessDrivers()
212 rval = select(max_fd + 1, &read_fds, &write_fds, &error_fds, &timeout); in otSysProcessDrivers()
/openthread-2.7.6/examples/platforms/simulation/virtual_time/
Dplatform-sim.c272 int max_fd = -1; in otSysProcessDrivers() local
285 max_fd = sSockFd; in otSysProcessDrivers()
288 platformUartUpdateFdSet(&read_fds, &write_fds, &error_fds, &max_fd); in otSysProcessDrivers()
295 rval = select(max_fd + 1, &read_fds, &write_fds, &error_fds, NULL); in otSysProcessDrivers()
/openthread-2.7.6/tools/spi-hdlc-adapter/
Dspi-hdlc-adapter.c1498 int max_fd = -1; in main() local
1820 max_fd = sHdlcInputFd; in main()
1822 if (max_fd < sHdlcOutputFd) in main()
1824 max_fd = sHdlcOutputFd; in main()
1827 if (max_fd < sIntGpioValueFd) in main()
1829 max_fd = sIntGpioValueFd; in main()
1970 IGNORE_RETURN_VALUE(select(max_fd + 1, &read_set, &write_set, &error_set, &timeout)); in main()