/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | cfsetospeed.c | 43 if (speed > CBAUD) { in cfsetospeed() 45 speed -= (CBAUD + 1); in cfsetospeed() 50 (termios_p->c_cflag & ~CBAUD) | (speed & CBAUD); in cfsetospeed()
|
H A D | cfgetospeed.c | 44 (termios_p->c_cflag & CBAUD) + CBAUD + 1 : in cfgetospeed() 45 termios_p->c_cflag & CBAUD); in cfgetospeed()
|
H A D | cfsetispeed.c | 47 speed = termios_p->c_cflag & CBAUD; in cfsetispeed() 49 speed += (CBAUD + 1); in cfsetispeed()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | tty | 45 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 49 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 50 # define cfgetispeed(tp) ((tp)->c_cflag & CBAUD) 51 # define cfsetispeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val)) 52 # define cfsetospeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val))
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | tty | 51 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 55 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 56 # define cfgetispeed(tp) ((tp)->c_cflag & CBAUD) 57 # define cfsetispeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val)) 58 # define cfsetospeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val))
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | tty | 51 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 55 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 56 # define cfgetispeed(tp) ((tp)->c_cflag & CBAUD) 57 # define cfsetispeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val)) 58 # define cfsetospeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val))
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | tty | 51 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 55 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 56 # define cfgetispeed(tp) ((tp)->c_cflag & CBAUD) 57 # define cfsetispeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val)) 58 # define cfsetospeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val))
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | tty | 51 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 55 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 56 # define cfgetispeed(tp) ((tp)->c_cflag & CBAUD) 57 # define cfsetispeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val)) 58 # define cfsetospeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val))
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_promif.c | 396 if (s > (2 * CBAUD + 1)) in termios_setispeed() 413 if (s > (2 * CBAUD + 1)) in termios_setospeed() 416 if (s > CBAUD) { in termios_setospeed() 418 s -= (CBAUD + 1); in termios_setospeed() 422 tip->c_cflag = (tip->c_cflag & ~CBAUD) | (s & CBAUD); in termios_setospeed()
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmautobaud.c | 87 termio.c_cflag &= ~(CBAUD|CSIZE|PARENB); in auto_termio() 88 termio.c_cflag |= CREAD|HUPCL|(CS8&CSIZE)|(B2400&CBAUD); in auto_termio()
|
H A D | tmterm.c | 219 termio.c_cflag &= ~CBAUD; in hang_up_line()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/ |
H A D | terminal.h | 77 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 93 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD)
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | ttcompat.c | 1045 if (csp->t_ospeed > CBAUD) { in from_compat() 1046 termiosp->c_cflag |= ((csp->t_ospeed - CBAUD - 1) & CBAUD) | in from_compat() 1049 termiosp->c_cflag |= csp->t_ospeed & CBAUD; in from_compat() 1063 termiosp->c_cflag &= ~CBAUD & ~CBAUDEXT; in from_compat() 1215 csp->t_ospeed = termiosp->c_cflag & CBAUD; in to_compat() 1219 csp->t_ospeed += CBAUD + 1; in to_compat()
|
H A D | asy.c | 2020 (((cflg) & CBAUD) + CBAUD + 1) : ((cflg) & CBAUD)) 2048 if (baudrate > CBAUD) { in asy_program() 2051 (((baudrate - CBAUD - 1) << IBSHIFT) & CIBAUD); in asy_program() 2059 (CLOCAL|CREAD|CSTOPB|CSIZE|PARENB|PARODD|CBAUD|CBAUDEXT); in asy_program() 4501 asy->asy_cflag &= ~CBAUD; in asy_parse_mode() 4502 if (asy->asy_bidx > CBAUD) { /* > 38400 uses the CBAUDEXT bit */ in asy_parse_mode() 4504 asy->asy_cflag |= asy->asy_bidx - CBAUD - 1; in asy_parse_mode()
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | su_driver.c | 952 (B115200 & CBAUD); in asyopen() 957 async->async_ttycommon.t_cflag = B9600 & CBAUD; in asyopen() 1347 baudrate = async->async_ttycommon.t_cflag & CBAUD; in asy_program() 1362 async->async_ttycommon.t_cflag &= ~CBAUD & ~CBAUDEXT & in asy_program() 1370 (asy->asy_ocflags & (CBAUD | CBAUDEXT | in asy_program() 1385 (async->async_ttycommon.t_cflag & CBAUD) << IBSHIFT; in asy_program() 1395 async->async_ttycommon.t_cflag &= ~CBAUD & ~CBAUDEXT & in asy_program() 1398 (asy->asy_ocflags & (CBAUD | CBAUDEXT | in asy_program() 2449 rate = async->async_ttycommon.t_cflag & CBAUD; in async_restart() 2611 rate = async->async_ttycommon.t_cflag & CBAUD; in async_nstart() [all …]
|
/illumos-gate/usr/src/uts/sun/io/ |
H A D | zs_async.c | 215 (((cflag) & 0x1) + CBAUD + 1) : ((cflag) & CBAUD) 802 za->za_ttycommon.t_cflag &= ~(CBAUD); in zsa_open() 803 if (speed > CBAUD) { in zsa_open() 806 ((speed - CBAUD - 1) & CBAUD); in zsa_open() 809 za->za_ttycommon.t_cflag |= (speed & CBAUD); in zsa_open() 2993 if (baudrate > CBAUD) { in zsa_program() 2996 (((baudrate - CBAUD - 1) << IBSHIFT) & CIBAUD); in zsa_program() 3250 delay(ztdelay(za->za_ttycommon.t_cflag & CBAUD)); in zsa_suspend()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | stty.c | 133 #ifdef CBAUD 134 { "ispeed", NUM, C_SPEED,0, CBAUD, 0, C("\an\a is the input baud rate") }, 135 { "ospeed", NUM, C_SPEED,0, CBAUD, 0, C("\an\a is the output baud rate") }, 136 { "speed", NUM, C_SPEED,IG, CBAUD },
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | main.c | 119 baud = tbuf.c_cflag & CBAUD; in main()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | curshdr.h | 195 #define _BR(x) (x.c_cflag & CBAUD)
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_tty.c | 57 speed = tty.c_cflag & CBAUD; in gettmode()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | termios.h | 258 #define CBAUD 0000017 macro
|
/illumos-gate/usr/src/cmd/lp/model/ |
H A D | lp.cat.c | 695 speed = tm.c_cflag&CBAUD; in baudrate()
|
/illumos-gate/usr/src/cmd/tput/ |
H A D | tput.c | 596 #define SPEED(mode) (mode.c_cflag & CBAUD) in initterm()
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/ |
H A D | ifdef.c | 120 ((line != NULL) ? baudrate : (termio.c_cflag & CBAUD)); in setupline()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_termio.c | 841 speed = (ntios->c_cflag & CBAUD) + CBAUD + 1; in termio_resume_tty() 843 speed = (ntios->c_cflag & CBAUD); in termio_resume_tty()
|