Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/serial/
Duart_native_tty_bottom.c47 static inline void native_tty_termios_defaults_set(struct termios *ter) in native_tty_termios_defaults_set() argument
54 ter->c_lflag &= ~(ICANON | ISIG | ECHO); in native_tty_termios_defaults_set()
59 ter->c_oflag &= ~(OPOST | ONLCR); in native_tty_termios_defaults_set()
62 ter->c_iflag &= ~(IXON | IXOFF | IXANY); in native_tty_termios_defaults_set()
65 ter->c_cc[VMIN] = 0; in native_tty_termios_defaults_set()
66 ter->c_cc[VTIME] = 0; in native_tty_termios_defaults_set()
69 ter->c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL); in native_tty_termios_defaults_set()
72 ter->c_cflag |= CREAD | CLOCAL; in native_tty_termios_defaults_set()
81 static inline void native_tty_baud_speed_set(struct termios *ter, int baudrate) in native_tty_baud_speed_set() argument
85 cfsetospeed(ter, baudrate_lut[i].termios_baudrate); in native_tty_baud_speed_set()
[all …]
Duart_native_ptty_bottom.c140 struct termios ter; in np_uart_open_ptty() local
195 ret = tcgetattr(master_pty, &ter); in np_uart_open_ptty()
199 ter.c_cc[VMIN] = 0; in np_uart_open_ptty()
200 ter.c_cc[VTIME] = 0; in np_uart_open_ptty()
201 ter.c_lflag &= ~(ICANON | ISIG | IEXTEN | ECHO); in np_uart_open_ptty()
202 ter.c_iflag &= ~(BRKINT | ICRNL | IGNBRK | IGNCR | INLCR | INPCK in np_uart_open_ptty()
204 ter.c_oflag &= ~OPOST; in np_uart_open_ptty()
205 ret = tcsetattr(master_pty, TCSANOW, &ter); in np_uart_open_ptty()
Duart_lpc11u6x.h119 volatile uint32_t ter; /* Transmit enable */ member