Searched refs:PARODD (Results 1 – 9 of 9) sorted by relevance
75 termios.c_cflag &= ~(PARENB | PARODD); in aos_uart_get_with_attr()88 termios.c_cflag |= PARENB | PARODD; in aos_uart_get_with_attr()
129 #define PARODD 0x0200 /* odd parity, else even */ macro176 _t->c_cflag &= ~(CSIZE | PARENB | PARODD); \
64 #define PARODD 0x0001000 macro
46 parity = (mode & PARODD) ? UART_PARITY_ODD : UART_PARITY_EVEN; in set_format()245 mode = CBAUD | CSIZE | CSTOPB | PARENB | PARODD; in tty_csi_startup()297 mode = CBAUD | CSIZE | CSTOPB | PARENB | PARODD; in tty_csi_set_attr()
252 else if (arg & PARODD) in _arg_to_parity()
88 hw_mask = CBAUD | CBAUDEX | CSIZE | CSTOPB | PARENB | PARODD | HUPCL | CLOCAL | CRTSCTS; in set_attr_nonblock()
93 |PARENB \| PARODD |奇校验|
147 if (tty->termios.c_cflag & PARODD) in tty_uart_startup()
480 params->ParityType = (termios->c_cflag & PARODD) ? RUART_ODD_PARITY : RUART_EVEN_PARITY; in termios2params()
Completed in 11 milliseconds