Searched refs:c_cflag (Results 1 - 16 of 16) sorted by relevance
/haiku/src/libs/bsd/ |
H A D | termios.c | 15 * Standard values are inlined in c_cflag. */ 17 termios->c_cflag |= CBAUD; 23 termios->c_cflag &= ~CBAUD; 24 termios->c_cflag |= speed;
|
/haiku/src/system/libroot/posix/ |
H A D | termios.c | 108 if ((termios->c_cflag & CBAUD) == CBAUD) 111 return termios->c_cflag & CBAUD; 123 termios->c_cflag |= CBAUD; 128 termios->c_cflag &= ~CBAUD; 129 termios->c_cflag |= speed; 137 if ((termios->c_cflag & CBAUD) == CBAUD) 140 return termios->c_cflag & CBAUD; 149 termios->c_cflag |= CBAUD; 154 termios->c_cflag &= ~CBAUD; 155 termios->c_cflag | [all...] |
/haiku/src/kits/device/ |
H A D | SerialPort.cpp | 574 options.c_cflag &= ~(CRTSCTS | CSIZE | CSTOPB | PARODD | PARENB); 578 options.c_cflag |= CLOCAL; 582 options.c_cflag |= CRTSCTS; 588 options.c_cflag |= CSTOPB; // Set 2 stop bits 591 options.c_cflag |= CS8; // Set 8 data bits 595 options.c_cflag |= PARENB; //Enable parity 597 options.c_cflag |= PARODD; //Select odd parity
|
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/ |
H A D | SerialDevice.cpp | 61 fTTYConfig.c_cflag = B9600 | CS8 | CREAD; 162 uint8 baud = tios->c_cflag & CBAUD; 171 fTTYConfig.c_cflag &= ~CBAUD; 172 fTTYConfig.c_cflag |= baud; 177 config.c_cflag = tios->c_cflag; 178 config.c_cflag &= ~CBAUD; 179 config.c_cflag |= baud; 184 SetHardwareFlowControl((tios->c_cflag & CRTSCTS) != 0); 188 lineCoding.stopbits = (tios->c_cflag [all...] |
H A D | Tracing.cpp | 117 tios->c_iflag, tios->c_oflag, tios->c_cflag, tios->c_lflag,
|
/haiku/src/tests/apps/miniterminal/ |
H A D | MiniView.cpp | 153 tio.c_cflag &= ~(CBAUD); 154 tio.c_cflag |= B19200; 156 tio.c_cflag &= ~CSIZE; 157 tio.c_cflag |= CS8; 158 tio.c_cflag |= CREAD; 160 tio.c_cflag |= HUPCL;
|
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/ |
H A D | SerialDevice.cpp | 55 fTTYConfig.c_cflag = B9600 | CS8 | CREAD; 112 uint32 baudIndex = tios->c_cflag & CBAUD; 118 fTTYConfig.c_cflag &= ~CBAUD; 119 fTTYConfig.c_cflag |= baudIndex; 124 config.c_cflag = tios->c_cflag; 125 config.c_cflag &= ~CBAUD; 126 config.c_cflag |= baudIndex; 134 switch (tios->c_cflag & CSIZE) { 153 if (tios->c_cflag [all...] |
H A D | Tracing.cpp | 114 tios->c_iflag, tios->c_oflag, tios->c_cflag, tios->c_lflag,
|
/haiku/src/apps/terminal/ |
H A D | Shell.cpp | 357 tio.c_cflag &= ~(CBAUD); 358 tio.c_cflag |= B19200; 360 tio.c_cflag &= ~CSIZE; 361 tio.c_cflag |= CS8; 362 tio.c_cflag |= CREAD; 364 tio.c_cflag |= HUPCL;
|
/haiku/src/bin/network/telnetd/ |
H A D | sys_term.c | 108 # define cfsetospeed(tp, val) (tp)->c_cflag &= ~CBAUD; \ 109 (tp)->c_cflag |= (val) 110 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 112 # define cfsetispeed(tp, val) (tp)->c_cflag &= ~CIBAUD; \ 113 (tp)->c_cflag |= ((val)<<IBSHIFT) 114 # define cfgetispeed(tp) (((tp)->c_cflag & CIBAUD)>>IBSHIFT) 116 # define cfsetispeed(tp, val) (tp)->c_cflag &= ~CBAUD; \ 117 (tp)->c_cflag |= (val) 118 # define cfgetispeed(tp) ((tp)->c_cflag & CBAUD) 563 termbuf.c_cflag [all...] |
/haiku/src/add-ons/kernel/network/devices/dialup/ |
H A D | dialup.cpp | 274 device->line_config.c_cflag &= ~CBAUD; 275 device->line_config.c_cflag &= CSIZE; 276 device->line_config.c_cflag &= CS8; 277 device->line_config.c_cflag |= B115200; // TODO: make this configurable too... 278 device->line_config.c_cflag |= (CLOCAL | CREAD);
|
/haiku/src/bin/network/telnet/ |
H A D | sys_bsd.c | 95 # define cfgetospeed(ptr) ((ptr)->c_cflag&CBAUD) 97 # define cfgetispeed(ptr) (((ptr)->c_cflag&CIBAUD) >> IBSHIFT) 577 tmp_tc.c_cflag &= ~(CSIZE|PARENB); 578 tmp_tc.c_cflag |= CS8; 581 tmp_tc.c_cflag &= ~(CSIZE|PARENB); 582 tmp_tc.c_cflag |= old_tc.c_cflag & (CSIZE|PARENB);
|
/haiku/src/add-ons/kernel/network/ppp/modem/ |
H A D | ModemDevice.cpp | 344 options.c_cflag &= ~CBAUD; 345 options.c_cflag |= B115200; 346 options.c_cflag |= (CLOCAL | CREAD);
|
/haiku/src/add-ons/kernel/generic/tty/ |
H A D | module.cpp | 33 kprintf(" c_cflag: 0x%08" B_PRIx32 "\n", settings.termios.c_cflag);
|
H A D | tty.cpp | 760 termios.c_cflag = B19200 | CS8 | CREAD | HUPCL; 1712 tty->settings->termios.c_cflag,
|
/haiku/headers/posix/ |
H A D | termios.h | 21 tcflag_t c_cflag; /* control modes */ member in struct:termios 91 /* c_cflag - control modes */
|
Completed in 84 milliseconds