Lines Matching +full:no +full:- +full:disconnect
5 * SPDX-License-Identifier: Apache-2.0
37 * @retval -1 If no character was available to read
38 * @retval -2 if the stdin is disconnected
47 return -2; in np_uart_stdin_poll_in_bottom()
50 int n = -1; in np_uart_stdin_poll_in_bottom()
62 return -1; in np_uart_stdin_poll_in_bottom()
63 } else if (ready == -1) { in np_uart_stdin_poll_in_bottom()
68 if ((n == -1) || (n == 0)) { in np_uart_stdin_poll_in_bottom()
69 return -1; in np_uart_stdin_poll_in_bottom()
89 if (ret == -1) { in np_uart_slave_connected()
95 * * ENOMEM no RAM left in np_uart_slave_connected()
111 * If -attach_uart_cmd=<cmd> is provided as a command line option, <cmd> will be
146 if (master_pty == -1) { in np_uart_open_ptty()
150 if (ret == -1) { in np_uart_open_ptty()
157 if (ret == -1) { in np_uart_open_ptty()
170 if (flags == -1) { in np_uart_open_ptty()
178 if (ret == -1) { in np_uart_open_ptty()
181 ERROR("Could not set the master PTY as non-blocking (%i)\n", in np_uart_open_ptty()
189 * Not canonical (no line input) in np_uart_open_ptty()
190 * No signal generation from Ctr+{C|Z..} in np_uart_open_ptty()
191 * No echoing, no input or output processing in np_uart_open_ptty()
192 * No replacing of NL or CR in np_uart_open_ptty()
193 * No flow control in np_uart_open_ptty()
196 if (ret == -1) { in np_uart_open_ptty()
206 if (ret == -1) { in np_uart_open_ptty()
218 * cleared, and in turn set again at disconnect. in np_uart_open_ptty()
221 if (ret == -1) { in np_uart_open_ptty()
227 if (ret == -1) { in np_uart_open_ptty()