Home
last modified time | relevance | path

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

/openthread-latest/examples/platforms/simulation/
Dsystem.c227 int max_fd = -1; in otSysProcessDrivers() local
235 platformUartUpdateFdSet(&read_fds, &write_fds, &error_fds, &max_fd); in otSysProcessDrivers()
237 platformRadioUpdateFdSet(&read_fds, &write_fds, &timeout, &max_fd); in otSysProcessDrivers()
239 platformTrelUpdateFdSet(&read_fds, &write_fds, &timeout, &max_fd); in otSysProcessDrivers()
242 platformInfraIfUpdateFdSet(&read_fds, &write_fds, &max_fd); in otSysProcessDrivers()
245 platformMdnsSocketUpdateFdSet(&read_fds, &max_fd); in otSysProcessDrivers()
249 platformBleUpdateFdSet(&read_fds, &write_fds, &timeout, &max_fd); in otSysProcessDrivers()
258 rval = select(max_fd + 1, &read_fds, &write_fds, &error_fds, &timeout); in otSysProcessDrivers()
/openthread-latest/examples/platforms/simulation/virtual_time/
Dplatform-sim.c244 int max_fd = -1; in otSysProcessDrivers() local
257 max_fd = sSockFd; in otSysProcessDrivers()
260 platformUartUpdateFdSet(&read_fds, &write_fds, &error_fds, &max_fd); in otSysProcessDrivers()
267 rval = select(max_fd + 1, &read_fds, &write_fds, &error_fds, NULL); in otSysProcessDrivers()
/openthread-latest/tools/spi-hdlc-adapter/
Dspi-hdlc-adapter.c1486 int max_fd = -1; in main() local
1808 max_fd = sHdlcInputFd; in main()
1810 if (max_fd < sHdlcOutputFd) in main()
1812 max_fd = sHdlcOutputFd; in main()
1815 if (max_fd < sIntGpioValueFd) in main()
1817 max_fd = sIntGpioValueFd; in main()
1958 IGNORE_RETURN_VALUE(select(max_fd + 1, &read_set, &write_set, &error_set, &timeout)); in main()