Home
last modified time | relevance | path

Searched refs:c_cflag (Results 1 – 8 of 8) sorted by relevance

/AliOS-Things-master/components/drivers/peripheral/uart/include/aos/
A Duart.h44 termios.c_cflag |= CREAD; in aos_uart_get()
74 termios.c_cflag |= CREAD; in aos_uart_get_with_attr()
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()
/AliOS-Things-master/components/libc_stub/compilers/gcc/sys/
A Dtermios.h21 tcflag_t c_cflag; /* control modes */ member
176 _t->c_cflag &= ~(CSIZE | PARENB | PARODD); \
177 _t->c_cflag |= CS8; \
286 _t->c_cflag &= ~CBAUD; \
287 _t->c_cflag |= flag; \
/AliOS-Things-master/hardware/chip/haas1000/csi/
A Duart.c50 switch (tty->termios.c_cflag & CBAUD) { in tty_uart_startup()
146 if (tty->termios.c_cflag & PARENB) { in tty_uart_startup()
147 if (tty->termios.c_cflag & PARODD) in tty_uart_startup()
155 if (tty->termios.c_cflag & CSTOPB) in tty_uart_startup()
160 switch (tty->termios.c_cflag & CSIZE) { in tty_uart_startup()
178 switch (tty->termios.c_cflag & CRTSCTS) { in tty_uart_startup()
/AliOS-Things-master/components/drivers/peripheral/uart/src/
A Dtty.c89 if ((tty->termios.c_cflag & hw_mask) != (old_termios.c_cflag & hw_mask)) { in set_attr_nonblock()
90 if (old_termios.c_cflag & CREAD) in set_attr_nonblock()
108 if (tty->termios.c_cflag & CREAD) in set_attr_nonblock()
111 bool old_rx_en = !!(old_termios.c_cflag & CREAD); in set_attr_nonblock()
112 bool new_rx_en = !!(tty->termios.c_cflag & CREAD); in set_attr_nonblock()
559 termios->c_cflag = 0; in reset_termios()
615 if (tty->termios.c_cflag & CREAD) in dev_tty_put()
A Dtty_csi.c246 mode &= tty->termios.c_cflag; in tty_csi_startup()
298 mode &= tty->termios.c_cflag; in tty_csi_set_attr()
/AliOS-Things-master/hardware/chip/rtl872xd/csi_driver/uart/
A Duart.c462 switch (termios->c_cflag & CSIZE) { in termios2params()
473 if (termios->c_cflag & CSTOPB) in termios2params()
478 if (termios->c_cflag & PARENB) { in termios2params()
480 params->ParityType = (termios->c_cflag & PARODD) ? RUART_ODD_PARITY : RUART_EVEN_PARITY; in termios2params()
485 switch (termios->c_cflag & CBAUD) { in termios2params()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/libc/
A Dquickjs_libc.c1887 tty.c_cflag &= ~(CSIZE | PARENB); in js_os_ttySetRaw()
1888 tty.c_cflag |= CS8; in js_os_ttySetRaw()
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dquickjs-libc.c1686 tty.c_cflag &= ~(CSIZE|PARENB); in js_os_ttySetRaw()
1687 tty.c_cflag |= CS8; in js_os_ttySetRaw()

Completed in 23 milliseconds