Lines Matching refs:termios

4 int user_termio_to_kernel_termios(struct ktermios *termios,  in user_termio_to_kernel_termios()  argument
13 termios->c_iflag = (0xffff0000 & termios->c_iflag) | v.c_iflag; in user_termio_to_kernel_termios()
14 termios->c_oflag = (0xffff0000 & termios->c_oflag) | v.c_oflag; in user_termio_to_kernel_termios()
15 termios->c_cflag = (0xffff0000 & termios->c_cflag) | v.c_cflag; in user_termio_to_kernel_termios()
16 termios->c_lflag = (0xffff0000 & termios->c_lflag) | v.c_lflag; in user_termio_to_kernel_termios()
17 termios->c_line = (0xffff0000 & termios->c_lflag) | v.c_line; in user_termio_to_kernel_termios()
20 termios->c_cc[VINTR] = v.c_cc[_VINTR]; in user_termio_to_kernel_termios()
21 termios->c_cc[VQUIT] = v.c_cc[_VQUIT]; in user_termio_to_kernel_termios()
22 termios->c_cc[VERASE] = v.c_cc[_VERASE]; in user_termio_to_kernel_termios()
23 termios->c_cc[VKILL] = v.c_cc[_VKILL]; in user_termio_to_kernel_termios()
24 termios->c_cc[VEOL2] = v.c_cc[_VEOL2]; in user_termio_to_kernel_termios()
25 termios->c_cc[VSWTC] = v.c_cc[_VSWTC]; in user_termio_to_kernel_termios()
26 termios->c_cc[canon ? VEOF : VMIN] = v.c_cc[_VEOF]; in user_termio_to_kernel_termios()
27 termios->c_cc[canon ? VEOL : VTIME] = v.c_cc[_VEOL]; in user_termio_to_kernel_termios()
33 struct ktermios *termios) in kernel_termios_to_user_termio() argument
39 v.c_iflag = termios->c_iflag; in kernel_termios_to_user_termio()
40 v.c_oflag = termios->c_oflag; in kernel_termios_to_user_termio()
41 v.c_cflag = termios->c_cflag; in kernel_termios_to_user_termio()
42 v.c_lflag = termios->c_lflag; in kernel_termios_to_user_termio()
43 v.c_line = termios->c_line; in kernel_termios_to_user_termio()
46 v.c_cc[_VINTR] = termios->c_cc[VINTR]; in kernel_termios_to_user_termio()
47 v.c_cc[_VQUIT] = termios->c_cc[VQUIT]; in kernel_termios_to_user_termio()
48 v.c_cc[_VERASE] = termios->c_cc[VERASE]; in kernel_termios_to_user_termio()
49 v.c_cc[_VKILL] = termios->c_cc[VKILL]; in kernel_termios_to_user_termio()
50 v.c_cc[_VEOF] = termios->c_cc[canon ? VEOF : VMIN]; in kernel_termios_to_user_termio()
51 v.c_cc[_VEOL] = termios->c_cc[canon ? VEOL : VTIME]; in kernel_termios_to_user_termio()
52 v.c_cc[_VEOL2] = termios->c_cc[VEOL2]; in kernel_termios_to_user_termio()
53 v.c_cc[_VSWTC] = termios->c_cc[VSWTC]; in kernel_termios_to_user_termio()