Searched refs:termio (Results 1 – 2 of 2) sorted by relevance
| /drivers/tty/ |
| A D | tty_ioctl.c | 361 struct termio __user *termio) in user_termio_to_kernel_termios() argument 363 struct termio v; in user_termio_to_kernel_termios() 365 if (copy_from_user(&v, termio, sizeof(struct termio))) in user_termio_to_kernel_termios() 380 __weak int kernel_termios_to_user_termio(struct termio __user *termio, in kernel_termios_to_user_termio() argument 383 struct termio v; in kernel_termios_to_user_termio() 384 memset(&v, 0, sizeof(struct termio)); in kernel_termios_to_user_termio() 391 return copy_to_user(termio, &v, sizeof(struct termio)); in kernel_termios_to_user_termio() 459 (struct termio __user *)arg)) in set_termios() 540 static int get_termio(struct tty_struct *tty, struct termio __user *termio) in get_termio() argument 544 if (kernel_termios_to_user_termio(termio, &kterm)) in get_termio()
|
| A D | moxa.c | 1815 static int MoxaPortSetTermio(struct moxa_port *port, struct ktermios *termio, in MoxaPortSetTermio() argument 1823 mode = termio->c_cflag & CSIZE; in MoxaPortSetTermio() 1833 if (termio->c_cflag & CSTOPB) { in MoxaPortSetTermio() 1841 if (termio->c_cflag & PARENB) { in MoxaPortSetTermio() 1842 if (termio->c_cflag & PARODD) { in MoxaPortSetTermio() 1843 if (termio->c_cflag & CMSPAR) in MoxaPortSetTermio() 1848 if (termio->c_cflag & CMSPAR) in MoxaPortSetTermio() 1863 if (termio->c_iflag & (IXON | IXOFF | IXANY)) { in MoxaPortSetTermio() 1865 writeb(termio->c_cc[VSTART], ofsAddr + FuncArg); in MoxaPortSetTermio() 1866 writeb(termio->c_cc[VSTOP], ofsAddr + FuncArg1); in MoxaPortSetTermio()
|
Completed in 10 milliseconds