Searched refs:termios_p (Results 1 – 5 of 5) sorted by relevance
/sysdeps/unix/sysv/linux/ |
A D | speed.c | 37 cfgetospeed (const struct termios *termios_p) in cfgetospeed() argument 39 return termios_p->c_cflag & (CBAUD | CBAUDEX); in cfgetospeed() 47 cfgetispeed (const struct termios *termios_p) in cfgetispeed() argument 49 return ((termios_p->c_iflag & IBAUD0) in cfgetispeed() 62 termios_p->c_ospeed = speed; in cfsetospeed() 64 termios_p->c_cflag &= ~(CBAUD | CBAUDEX); in cfsetospeed() 65 termios_p->c_cflag |= speed; in cfsetospeed() 84 termios_p->c_ispeed = speed; in libc_hidden_def() 87 termios_p->c_iflag |= IBAUD0; in libc_hidden_def() 90 termios_p->c_iflag &= ~IBAUD0; in libc_hidden_def() [all …]
|
A D | tcgetattr.c | 33 __tcgetattr (int fd, struct termios *termios_p) in __tcgetattr() argument 42 termios_p->c_iflag = k_termios.c_iflag; in __tcgetattr() 43 termios_p->c_oflag = k_termios.c_oflag; in __tcgetattr() 44 termios_p->c_cflag = k_termios.c_cflag; in __tcgetattr() 45 termios_p->c_lflag = k_termios.c_lflag; in __tcgetattr() 46 termios_p->c_line = k_termios.c_line; in __tcgetattr() 49 termios_p->c_ispeed = k_termios.c_ispeed; in __tcgetattr() 56 termios_p->c_ospeed = k_termios.c_ospeed; in __tcgetattr() 63 memset (__mempcpy (&termios_p->c_cc[0], &k_termios.c_cc[0], in __tcgetattr() 68 memcpy (&termios_p->c_cc[0], &k_termios.c_cc[0], in __tcgetattr() [all …]
|
A D | tcsetattr.c | 44 __tcsetattr (int fd, int optional_actions, const struct termios *termios_p) in __tcsetattr() argument 64 k_termios.c_iflag = termios_p->c_iflag & ~IBAUD0; in __tcsetattr() 65 k_termios.c_oflag = termios_p->c_oflag; in __tcsetattr() 66 k_termios.c_cflag = termios_p->c_cflag; in __tcsetattr() 67 k_termios.c_lflag = termios_p->c_lflag; in __tcsetattr() 68 k_termios.c_line = termios_p->c_line; in __tcsetattr() 70 k_termios.c_ispeed = termios_p->c_ispeed; in __tcsetattr() 73 k_termios.c_ospeed = termios_p->c_ospeed; in __tcsetattr() 75 memcpy (&k_termios.c_cc[0], &termios_p->c_cc[0], in __tcsetattr()
|
/sysdeps/unix/bsd/ |
A D | tcsetattr.c | 35 tcsetattr (int fd, int optional_actions, const struct termios *termios_p) in tcsetattr() argument 41 myt = *termios_p; in tcsetattr() 43 termios_p = &myt; in tcsetattr() 50 return __ioctl (fd, TIOCSETA, termios_p); in tcsetattr() 53 return __ioctl (fd, TIOCSETAW, termios_p); in tcsetattr() 56 return __ioctl (fd, TIOCSETAF, termios_p); in tcsetattr()
|
A D | tcgetattr.c | 33 __tcgetattr (int fd, struct termios *termios_p) in __tcgetattr() argument 35 return __ioctl (fd, TIOCGETA, termios_p); in __tcgetattr()
|
Completed in 6 milliseconds