Home
last modified time | relevance | path

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

12

/third_party/jerryscript/jerry-ext/debugger/
Ddebugger-serial.c123 options.c_cflag &= (uint32_t) ~CSIZE; // character size mask in jerryx_debugger_serial_configure_attributes()
124 options.c_cflag |= (CLOCAL | CREAD); // ignore modem control lines and enable the receiver in jerryx_debugger_serial_configure_attributes()
130 options.c_cflag |= CS5; // set character size mask to 5-bit chars in jerryx_debugger_serial_configure_attributes()
135 options.c_cflag |= CS6; // set character size mask to 6-bit chars in jerryx_debugger_serial_configure_attributes()
140 options.c_cflag |= CS7; // set character size mask to 7-bit chars in jerryx_debugger_serial_configure_attributes()
145 options.c_cflag |= CS8; // set character size mask to 8-bit chars in jerryx_debugger_serial_configure_attributes()
159 options.c_cflag &= (unsigned int) ~(PARENB | PARODD); in jerryx_debugger_serial_configure_attributes()
164 options.c_cflag |= PARENB; in jerryx_debugger_serial_configure_attributes()
165 options.c_cflag |= PARODD; in jerryx_debugger_serial_configure_attributes()
170 options.c_cflag |= PARENB; in jerryx_debugger_serial_configure_attributes()
[all …]
/third_party/boost/libs/asio/include/boost/asio/impl/
Dserial_port_base.ipp254 storage.c_cflag &= ~CRTSCTS;
256 storage.c_cflag &= ~(IHFLOW | OHFLOW);
262 storage.c_cflag &= ~CRTSCTS;
264 storage.c_cflag &= ~(IHFLOW | OHFLOW);
270 storage.c_cflag |= CRTSCTS;
274 storage.c_cflag |= (IHFLOW | OHFLOW);
310 else if (storage.c_cflag & CRTSCTS)
315 else if (storage.c_cflag & IHFLOW && storage.c_cflag & OHFLOW)
365 storage.c_cflag &= ~(PARENB | PARODD);
370 storage.c_cflag |= PARENB;
[all …]
/third_party/boost/boost/asio/impl/
Dserial_port_base.ipp254 storage.c_cflag &= ~CRTSCTS;
256 storage.c_cflag &= ~(IHFLOW | OHFLOW);
262 storage.c_cflag &= ~CRTSCTS;
264 storage.c_cflag &= ~(IHFLOW | OHFLOW);
270 storage.c_cflag |= CRTSCTS;
274 storage.c_cflag |= (IHFLOW | OHFLOW);
310 else if (storage.c_cflag & CRTSCTS)
315 else if (storage.c_cflag & IHFLOW && storage.c_cflag & OHFLOW)
365 storage.c_cflag &= ~(PARENB | PARODD);
370 storage.c_cflag |= PARENB;
[all …]
/third_party/musl/src/termios/
Dcfsetospeed.c12 tio->c_cflag &= ~CBAUD; in cfsetospeed()
13 tio->c_cflag |= speed; in cfsetospeed()
Dcfmakeraw.c9 t->c_cflag &= ~(CSIZE|PARENB); in cfmakeraw()
10 t->c_cflag |= CS8; in cfmakeraw()
Dcfgetospeed.c7 return tio->c_cflag & CBAUD; in cfgetospeed()
/third_party/musl/porting/liteos_a/user/src/termios/
Dcfsetospeed.c14 tio->c_cflag &= ~CBAUD; in cfsetospeed()
15 tio->c_cflag |= speed; in cfsetospeed()
/third_party/musl/libc-test/src/functionalext/supplement/termios/
Dcfmakeraw.c40 if ((t.c_cflag & PARENB) != 0U) { in cfmakeraw_0100()
43 if ((int)(t.c_cflag & CSIZE) != CS8) { in cfmakeraw_0100()
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-serial/
Dminimal-raw-file.c108 tio.c_cflag = tio.c_cflag & (unsigned long) ~( in callback_raw_test()
117 tio.c_cflag |= 0x1412 | CS8 | CREAD | CLOCAL; in callback_raw_test()
/third_party/boost/boost/asio/detail/impl/
Dreactive_serial_port_service.ipp84 ios.c_cflag &= ~(CSIZE | PARENB);
85 ios.c_cflag |= CS8;
88 ios.c_cflag |= CREAD | CLOCAL;
/third_party/boost/libs/asio/include/boost/asio/detail/impl/
Dreactive_serial_port_service.ipp84 ios.c_cflag &= ~(CSIZE | PARENB);
85 ios.c_cflag |= CS8;
88 ios.c_cflag |= CREAD | CLOCAL;
/third_party/toybox/toys/pending/
Dgetty.c152 TT.termios.c_cflag &= (0|CSTOPB|PARENB|PARODD); in termios_init()
154 if (toys.optflags & FLAG_h) TT.termios.c_cflag |= CRTSCTS; in termios_init()
156 if (toys.optflags & FLAG_L) TT.termios.c_cflag |= CLOCAL; in termios_init()
160 TT.termios.c_cflag |= CS8|CREAD|HUPCL|CBAUDEX; in termios_init()
Dstty.c231 if (!set_flag(&new->c_cflag, cflags, ARRAY_LEN(cflags), option, on) && in set_option()
348 &new.c_cflag, &new.c_lflag, &n) == 4) in do_stty()
405 xprintf("%x:%x:%x:%x:", old.c_iflag, old.c_oflag, old.c_cflag, old.c_lflag); in do_stty()
442 show_flags(old.c_cflag, sane.c_cflag, cflags, ARRAY_LEN(cflags)); in do_stty()
/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl02.c230 termio.c_cflag = B50 | CS7 | CREAD | PARENB | PARODD | CLOCAL; in run_ptest()
303 if (termio.c_cflag != (B50 | CS7 | CREAD | PARENB | PARODD | CLOCAL)) { in chk_tty_parms()
305 termio.c_cflag); in chk_tty_parms()
/third_party/libuv/src/unix/
Dtty.c243 tio->c_cflag &= ~(CSIZE | PARENB); in uv__tty_make_raw()
244 tio->c_cflag |= CS8; in uv__tty_make_raw()
296 tmp.c_cflag |= (CS8); in uv_tty_set_mode()
/third_party/ltp/include/lapi/
Dioctl.h33 unsigned short int c_cflag; /* control mode flags */ member
/third_party/ltp/testcases/kernel/pty/
Dptem01.c408 termios.c_cflag &= ~CBAUD; in test6()
409 termios.c_cflag |= B0 & CBAUD; in test6()
/third_party/musl/porting/uniproton/kernel/include/bits/
Dtermios.h4 tcflag_t c_cflag; member
/third_party/musl/porting/liteos_a_newlib/kernel/include/bits/
Dtermios.h4 tcflag_t c_cflag; member
/third_party/musl/porting/liteos_a/kernel/include/bits/
Dtermios.h4 tcflag_t c_cflag; member
/third_party/musl/arch/mips/bits/
Dtermios.h4 tcflag_t c_cflag; member
/third_party/musl/arch/powerpc/bits/
Dtermios.h6 tcflag_t c_cflag; member
/third_party/musl/arch/mipsn32/bits/
Dtermios.h4 tcflag_t c_cflag; member
/third_party/musl/arch/generic/bits/
Dtermios.h4 tcflag_t c_cflag; member
/third_party/musl/arch/mips64/bits/
Dtermios.h4 tcflag_t c_cflag; member

12