Lines Matching full:timeout
38 * timeout-controlled access to an underlying UART device. For
55 * @brief Set receive timeout for tty device.
57 * Set timeout for getchar() operation. Default timeout after
61 * @param timeout timeout in milliseconds, or 0, or SYS_FOREVER_MS.
63 static inline void tty_set_rx_timeout(struct tty_serial *tty, int32_t timeout) in tty_set_rx_timeout() argument
65 tty->rx_timeout = timeout; in tty_set_rx_timeout()
69 * @brief Set transmit timeout for tty device.
71 * Set timeout for putchar() operation, for a case when output buffer is full.
72 * Default timeout after device initialization is SYS_FOREVER_MS.
75 * @param timeout timeout in milliseconds, or 0, or SYS_FOREVER_MS.
77 static inline void tty_set_tx_timeout(struct tty_serial *tty, int32_t timeout) in tty_set_tx_timeout() argument
79 tty->tx_timeout = timeout; in tty_set_tx_timeout()
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