Searched refs:termios_p (Results 1 – 8 of 8) sorted by relevance
/titanic_50/usr/src/lib/libbc/libc/gen/common/ |
H A D | posix_tty.c | 42 cfgetospeed(struct termios *termios_p) in cfgetospeed() argument 44 return (termios_p->c_cflag & CBAUDEXT ? in cfgetospeed() 45 (termios_p->c_cflag & CBAUD) + CBAUD + 1 : in cfgetospeed() 46 termios_p->c_cflag & CBAUD); in cfgetospeed() 53 cfsetospeed(struct termios *termios_p, speed_t speed) in cfsetospeed() argument 60 termios_p->c_cflag |= CBAUDEXT; in cfsetospeed() 63 termios_p->c_cflag &= ~CBAUDEXT; in cfsetospeed() 65 termios_p->c_cflag = in cfsetospeed() 66 (termios_p->c_cflag & ~CBAUD) | (speed & CBAUD); in cfsetospeed() 74 cfgetispeed(struct termios *termios_p) in cfgetispeed() argument [all …]
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | cfsetispeed.c | 43 cfsetispeed(struct termios *termios_p, speed_t speed) in cfsetispeed() argument 49 speed = termios_p->c_cflag & CBAUD; in cfsetispeed() 50 if (termios_p->c_cflag & CBAUDEXT) in cfsetispeed() 55 termios_p->c_cflag |= CIBAUDEXT; in cfsetispeed() 58 termios_p->c_cflag &= ~CIBAUDEXT; in cfsetispeed() 59 termios_p->c_cflag = in cfsetispeed() 60 (termios_p->c_cflag & ~CIBAUD) | ((speed << 16) & CIBAUD); in cfsetispeed()
|
H A D | cfsetospeed.c | 43 cfsetospeed(struct termios *termios_p, speed_t speed) in cfsetospeed() argument 46 termios_p->c_cflag |= CBAUDEXT; in cfsetospeed() 49 termios_p->c_cflag &= ~CBAUDEXT; in cfsetospeed() 51 termios_p->c_cflag = in cfsetospeed() 52 (termios_p->c_cflag & ~CBAUD) | (speed & CBAUD); in cfsetospeed()
|
H A D | cfgetispeed.c | 43 cfgetispeed(const struct termios *termios_p) in cfgetispeed() argument 45 return (termios_p->c_cflag & CIBAUDEXT ? in cfgetispeed() 46 ((termios_p->c_cflag & CIBAUD) >> 16) + (CIBAUD >> 16) + 1 : in cfgetispeed() 47 (termios_p->c_cflag & CIBAUD) >> 16); in cfgetispeed()
|
H A D | cfgetospeed.c | 43 cfgetospeed(const struct termios *termios_p) in cfgetospeed() argument 45 return (termios_p->c_cflag & CBAUDEXT ? in cfgetospeed() 46 (termios_p->c_cflag & CBAUD) + CBAUD + 1 : in cfgetospeed() 47 termios_p->c_cflag & CBAUD); in cfgetospeed()
|
H A D | tcsetattr.c | 45 tcsetattr(int fildes, int optional_actions, const struct termios *termios_p) in tcsetattr() argument 54 rval = ioctl(fildes, TCSETS, termios_p); in tcsetattr() 59 rval = ioctl(fildes, TCSETSW, termios_p); in tcsetattr() 64 rval = ioctl(fildes, TCSETSF, termios_p); in tcsetattr()
|
H A D | tcgetattr.c | 44 tcgetattr(int fildes, struct termios *termios_p) in tcgetattr() argument 46 return (ioctl(fildes, TCGETS, termios_p)); in tcgetattr()
|
/titanic_50/usr/src/lib/libc/port/ |
H A D | llib-lc | 305 speed_t cfgetispeed(const struct termios *termios_p); 308 speed_t cfgetospeed(const struct termios *termios_p); 314 int cfsetispeed(struct termios *termios_p, speed_t speed); 317 int cfsetospeed(struct termios *termios_p, speed_t speed); 1015 int tcgetattr(int fildes, struct termios *termios_p); 1028 const struct termios *termios_p);
|