Lines Matching +full:operation +full:- +full:mode
4 * SPDX-License-Identifier: Apache-2.0
37 * "tty" device provides support for buffered, interrupt-driven,
38 * timeout-controlled access to an underlying UART device. For
39 * completeness, it also support non-interrupt-driven, busy-polling
40 * access mode. After initialization, tty is in the "most conservative"
41 * unbuffered mode with infinite timeouts (this is guaranteed to work
48 * interrupt-driven operation)
57 * Set timeout for getchar() operation. Default timeout after
65 tty->rx_timeout = timeout; in tty_set_rx_timeout()
71 * Set timeout for putchar() operation, for a case when output buffer is full.
79 tty->tx_timeout = timeout; in tty_set_tx_timeout()
85 * Set receive buffer or switch to unbuffered operation for receive.
88 * @param buf buffer, or NULL for unbuffered operation
89 * @param size buffer buffer size, 0 for unbuffered operation
98 * Set transmit buffer or switch to unbuffered operation for transmit.
99 * Note that unbuffered mode is implicitly blocking, i.e. behaves as
103 * @param buf buffer, or NULL for unbuffered operation
104 * @param size buffer buffer size, 0 for unbuffered operation
117 * =0, for EOF-like condition (e.g., break signaled)
118 * <0, in case of error (e.g. -EAGAIN if timeout expired). errno
130 * <0, in case of error (e.g. -EAGAIN if timeout expired). errno