Lines Matching refs:s

48 static __inline speed_t cfgetspeed(const struct termios* s) {  in cfgetspeed()  argument
49 return __BIONIC_CAST(static_cast, speed_t, s->c_cflag & CBAUD); in cfgetspeed()
52 __BIONIC_TERMIOS_INLINE speed_t cfgetispeed(const struct termios* s) { in cfgetispeed() argument
53 return cfgetspeed(s); in cfgetispeed()
56 __BIONIC_TERMIOS_INLINE speed_t cfgetospeed(const struct termios* s) { in cfgetospeed() argument
57 return cfgetspeed(s); in cfgetospeed()
60 __BIONIC_TERMIOS_INLINE void cfmakeraw(struct termios* s) { in cfmakeraw() argument
61 s->c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON); in cfmakeraw()
62 s->c_oflag &= ~OPOST; in cfmakeraw()
63 s->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); in cfmakeraw()
64 s->c_cflag &= ~(CSIZE|PARENB); in cfmakeraw()
65 s->c_cflag |= CS8; in cfmakeraw()
66 s->c_cc[VMIN] = 1; in cfmakeraw()
67 s->c_cc[VTIME] = 0; in cfmakeraw()
70 __BIONIC_TERMIOS_INLINE int cfsetspeed(struct termios* s, speed_t speed) { in cfsetspeed() argument
76 s->c_cflag = (s->c_cflag & ~CBAUD) | (speed & CBAUD); in cfsetspeed()
80 __BIONIC_TERMIOS_INLINE int cfsetispeed(struct termios* s, speed_t speed) { in cfsetispeed() argument
81 return cfsetspeed(s, speed); in cfsetispeed()
84 __BIONIC_TERMIOS_INLINE int cfsetospeed(struct termios* s, speed_t speed) { in cfsetospeed() argument
85 return cfsetspeed(s, speed); in cfsetospeed()
102 __BIONIC_TERMIOS_INLINE int tcgetattr(int fd, struct termios* s) { in tcgetattr() argument
103 return ioctl(fd, TCGETS, s); in tcgetattr()
115 __BIONIC_TERMIOS_INLINE int tcsetattr(int fd, int optional_actions, const struct termios* s) { in tcsetattr() argument
123 return ioctl(fd, cmd, s); in tcsetattr()