/titanic_50/usr/src/lib/libbc/libc/gen/common/ |
H A D | posix_tty.c | 45 (termios_p->c_cflag & CBAUD) + CBAUD + 1 : in cfgetospeed() 46 termios_p->c_cflag & CBAUD); in cfgetospeed() 55 if (speed > (2*CBAUD + 1)) { in cfsetospeed() 59 if (speed > CBAUD) { in cfsetospeed() 61 speed -= (CBAUD + 1); in cfsetospeed() 66 (termios_p->c_cflag & ~CBAUD) | (speed & CBAUD); in cfsetospeed() 88 if (speed > (2*CBAUD + 1)) { in cfsetispeed() 123 work_area.c_cflag |= (work_area.c_cflag & CBAUD) << IBSHIFT; in tcsetattr()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | cfsetospeed.c | 45 if (speed > CBAUD) { in cfsetospeed() 47 speed -= (CBAUD + 1); in cfsetospeed() 52 (termios_p->c_cflag & ~CBAUD) | (speed & CBAUD); in cfsetospeed()
|
H A D | cfgetospeed.c | 46 (termios_p->c_cflag & CBAUD) + CBAUD + 1 : in cfgetospeed() 47 termios_p->c_cflag & CBAUD); in cfgetospeed()
|
H A D | cfsetispeed.c | 49 speed = termios_p->c_cflag & CBAUD; in cfsetispeed() 51 speed += (CBAUD + 1); in cfsetispeed()
|
/titanic_50/usr/src/lib/libast/amd64/src/lib/libast/ |
H A D | ast_tty.h | 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))
|
/titanic_50/usr/src/lib/libast/amd64/include/ast/ |
H A D | ast_tty.h | 72 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 76 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 77 # define cfgetispeed(tp) ((tp)->c_cflag & CBAUD) 78 # define cfsetispeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val)) 79 # define cfsetospeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val))
|
/titanic_50/usr/src/lib/libast/sparcv9/src/lib/libast/ |
H A D | ast_tty.h | 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))
|
/titanic_50/usr/src/lib/libast/sparc/include/ast/ |
H A D | ast_tty.h | 72 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 76 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 77 # define cfgetispeed(tp) ((tp)->c_cflag & CBAUD) 78 # define cfsetispeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val)) 79 # define cfsetospeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val))
|
/titanic_50/usr/src/lib/libast/sparc/src/lib/libast/ |
H A D | ast_tty.h | 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))
|
/titanic_50/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | ast_tty.h | 72 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 76 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 77 # define cfgetispeed(tp) ((tp)->c_cflag & CBAUD) 78 # define cfsetispeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val)) 79 # define cfsetospeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val))
|
/titanic_50/usr/src/lib/libast/i386/src/lib/libast/ |
H A D | ast_tty.h | 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))
|
/titanic_50/usr/src/lib/libast/i386/include/ast/ |
H A D | ast_tty.h | 72 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 76 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 77 # define cfgetispeed(tp) ((tp)->c_cflag & CBAUD) 78 # define cfsetispeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val)) 79 # define cfsetospeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val))
|
/titanic_50/usr/src/lib/libast/common/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))
|
/titanic_50/usr/src/lib/libast/amd64/src/lib/libast/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))
|
/titanic_50/usr/src/lib/libast/sparcv9/src/lib/libast/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))
|
/titanic_50/usr/src/lib/libast/sparc/src/lib/libast/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))
|
/titanic_50/usr/src/lib/libast/i386/src/lib/libast/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))
|
/titanic_50/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()
|
/titanic_50/usr/src/cmd/ttymon/ |
H A D | tmautobaud.c | 92 termio.c_cflag &= ~(CBAUD|CSIZE|PARENB); in auto_termio() 93 termio.c_cflag |= CREAD|HUPCL|(CS8&CSIZE)|(B2400&CBAUD); in auto_termio()
|
/titanic_50/usr/src/lib/libshell/common/include/ |
H A D | terminal.h | 77 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 93 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD)
|
/titanic_50/usr/src/uts/common/io/ |
H A D | ttcompat.c | 1143 if (csp->t_ospeed > CBAUD) { in from_compat() 1144 termiosp->c_cflag |= ((csp->t_ospeed - CBAUD - 1) & CBAUD) | in from_compat() 1147 termiosp->c_cflag |= csp->t_ospeed & CBAUD; in from_compat() 1161 termiosp->c_cflag &= ~CBAUD & ~CBAUDEXT; in from_compat() 1313 csp->t_ospeed = termiosp->c_cflag & CBAUD; in to_compat() 1317 csp->t_ospeed += CBAUD + 1; in to_compat()
|
/titanic_50/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() 1389 if ((((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() 1406 (CLOCAL | CREAD | CSTOPB | CSIZE | PARENB | PARODD | CBAUD | in asy_program() [all …]
|
/titanic_50/usr/src/uts/sun/io/ |
H A D | zs_async.c | 213 (((cflag) & 0x1) + CBAUD + 1) : ((cflag) & CBAUD) 801 za->za_ttycommon.t_cflag &= ~(CBAUD); in zsa_open() 802 if (speed > CBAUD) { in zsa_open() 805 ((speed - CBAUD - 1) & CBAUD); in zsa_open() 808 za->za_ttycommon.t_cflag |= (speed & CBAUD); in zsa_open() 2990 if (baudrate > CBAUD) { in zsa_program() 2993 (((baudrate - CBAUD - 1) << IBSHIFT) & CIBAUD); in zsa_program() 3247 delay(ztdelay(za->za_ttycommon.t_cflag & CBAUD)); in zsa_suspend()
|
/titanic_50/usr/src/lib/libbc/inc/include/sys/ |
H A D | termios.h | 167 #define CBAUD 0x0000000f macro
|
/titanic_50/usr/src/lib/libbc/inc/include/ |
H A D | termios.h | 167 #define CBAUD 0x0000000f macro
|