Searched refs:termio (Results 1 – 2 of 2) sorted by relevance
/drivers/tty/ |
D | tty_ioctl.c | 374 struct termio __user *termio) in user_termio_to_kernel_termios() argument 376 struct termio v; in user_termio_to_kernel_termios() 378 if (copy_from_user(&v, termio, sizeof(struct termio))) in user_termio_to_kernel_termios() 393 __weak int kernel_termios_to_user_termio(struct termio __user *termio, in kernel_termios_to_user_termio() argument 396 struct termio v; in kernel_termios_to_user_termio() 397 memset(&v, 0, sizeof(struct termio)); in kernel_termios_to_user_termio() 404 return copy_to_user(termio, &v, sizeof(struct termio)); in kernel_termios_to_user_termio() 471 (struct termio __user *)arg)) in set_termios() 552 static int get_termio(struct tty_struct *tty, struct termio __user *termio) in get_termio() argument 556 if (kernel_termios_to_user_termio(termio, &kterm)) in get_termio()
|
D | moxa.c | 2047 static int MoxaPortSetTermio(struct moxa_port *port, struct ktermios *termio, in MoxaPortSetTermio() argument 2055 mode = termio->c_cflag & CSIZE; in MoxaPortSetTermio() 2065 if (termio->c_cflag & CSTOPB) { in MoxaPortSetTermio() 2073 if (termio->c_cflag & PARENB) { in MoxaPortSetTermio() 2074 if (termio->c_cflag & PARODD) { in MoxaPortSetTermio() 2075 if (termio->c_cflag & CMSPAR) in MoxaPortSetTermio() 2080 if (termio->c_cflag & CMSPAR) in MoxaPortSetTermio() 2095 if (termio->c_iflag & (IXON | IXOFF | IXANY)) { in MoxaPortSetTermio() 2097 writeb(termio->c_cc[VSTART], ofsAddr + FuncArg); in MoxaPortSetTermio() 2098 writeb(termio->c_cc[VSTOP], ofsAddr + FuncArg1); in MoxaPortSetTermio()
|