Home
last modified time | relevance | path

Searched refs:termios_p (Results 1 – 5 of 5) sorted by relevance

/l4re-core-master/uclibc/lib/contrib/uclibc/libc/termios/
A Dspeed.c37 speed_t cfgetospeed (const struct termios *termios_p) in cfgetospeed() argument
39 return termios_p->c_cflag & (CBAUD | CBAUDEX); in cfgetospeed()
46 speed_t cfgetispeed (const struct termios *termios_p) in cfgetispeed() argument
48 return ((termios_p->c_iflag & IBAUD0) in cfgetispeed()
49 ? 0 : termios_p->c_cflag & (CBAUD | CBAUDEX)); in cfgetispeed()
62 termios_p->c_cflag &= ~(CBAUD | CBAUDEX); in cfsetospeed()
63 termios_p->c_cflag |= speed; in cfsetospeed()
84 termios_p->c_iflag |= IBAUD0; in libc_hidden_def()
87 termios_p->c_iflag &= ~IBAUD0; in libc_hidden_def()
88 termios_p->c_cflag &= ~(CBAUD | CBAUDEX); in libc_hidden_def()
[all …]
A Dtcgetattr.c32 int tcgetattr (int fd, struct termios *termios_p) in tcgetattr() argument
39 termios_p->c_iflag = k_termios.c_iflag; in tcgetattr()
40 termios_p->c_oflag = k_termios.c_oflag; in tcgetattr()
41 termios_p->c_cflag = k_termios.c_cflag; in tcgetattr()
42 termios_p->c_lflag = k_termios.c_lflag; in tcgetattr()
43 termios_p->c_line = k_termios.c_line; in tcgetattr()
45 termios_p->c_ispeed = k_termios.c_ispeed; in tcgetattr()
48 termios_p->c_ospeed = k_termios.c_ospeed; in tcgetattr()
55 memset (mempcpy (&termios_p->c_cc[0], &k_termios.c_cc[0], in tcgetattr()
66 memcpy (&termios_p->c_cc[0], &k_termios.c_cc[0], in tcgetattr()
[all …]
A Dtcsetattr.c72 k_termios.c_iflag = termios_p->c_iflag & ~IBAUD0; in tcsetattr()
73 k_termios.c_oflag = termios_p->c_oflag; in tcsetattr()
74 k_termios.c_cflag = termios_p->c_cflag; in tcsetattr()
75 k_termios.c_lflag = termios_p->c_lflag; in tcsetattr()
76 k_termios.c_line = termios_p->c_line; in tcsetattr()
78 k_termios.c_ispeed = termios_p->c_ispeed; in tcsetattr()
81 k_termios.c_ospeed = termios_p->c_ospeed; in tcsetattr()
83 memcpy (&k_termios.c_cc[0], &termios_p->c_cc[0], in tcsetattr()
101 else if ((termios_p->c_cflag & (PARENB | CREAD)) in tcsetattr()
103 || ((termios_p->c_cflag & CSIZE) in tcsetattr()
[all …]
A Dcfsetspeed.c154 int cfsetspeed (struct termios *termios_p, speed_t speed) in cfsetspeed() argument
161 cfsetispeed (termios_p, speed); in cfsetspeed()
162 cfsetospeed (termios_p, speed); in cfsetspeed()
167 cfsetispeed (termios_p, speeds[cnt].internal); in cfsetspeed()
168 cfsetospeed (termios_p, speeds[cnt].internal); in cfsetspeed()
/l4re-core-master/libc_backends/lib/misc/
A Dmisc.c292 void cfmakeraw(struct termios *termios_p) in cfmakeraw() argument
295 (void)termios_p; in cfmakeraw()

Completed in 7 milliseconds