Searched refs:PARENB (Results 1 – 12 of 12) 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()91 termios.c_cflag |= PARENB; in aos_uart_get_with_attr()
128 #define PARENB 0x0100 /* parity enable */ macro176 _t->c_cflag &= ~(CSIZE | PARENB | PARODD); \
63 #define PARENB 0x0000400 macro
45 if (mode & PARENB) 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()
250 if (arg & PARENB) in _arg_to_parity()
88 hw_mask = CBAUD | CBAUDEX | CSIZE | CSTOPB | PARENB | PARODD | HUPCL | CLOCAL | CRTSCTS; in set_attr_nonblock()
92 |PARENB |偶校验|93 |PARENB \| PARODD |奇校验|
25 attr[2] = attr[2] & ~(termios.CSIZE | termios.PARENB) | termios.CS8
146 if (tty->termios.c_cflag & PARENB) { in tty_uart_startup()
478 if (termios->c_cflag & PARENB) { in termios2params()
1887 tty.c_cflag &= ~(CSIZE | PARENB); in js_os_ttySetRaw()
1686 tty.c_cflag &= ~(CSIZE|PARENB); in js_os_ttySetRaw()
Completed in 25 milliseconds