termio 22 arch/alpha/include/asm/termios.h struct termio k_termio; \ termio 54 arch/alpha/include/asm/termios.h struct termio k_termio; \ termio 26 arch/alpha/include/uapi/asm/ioctls.h #define TCGETA _IOR('t', 23, struct termio) termio 27 arch/alpha/include/uapi/asm/ioctls.h #define TCSETA _IOW('t', 24, struct termio) termio 28 arch/alpha/include/uapi/asm/ioctls.h #define TCSETAW _IOW('t', 25, struct termio) termio 29 arch/alpha/include/uapi/asm/ioctls.h #define TCSETAF _IOW('t', 28, struct termio) termio 25 arch/ia64/include/asm/termios.h #define SET_LOW_TERMIOS_BITS(termios, termio, x) { \ termio 27 arch/ia64/include/asm/termios.h get_user(__tmp,&(termio)->x); \ termio 31 arch/ia64/include/asm/termios.h #define user_termio_to_kernel_termios(termios, termio) \ termio 33 arch/ia64/include/asm/termios.h SET_LOW_TERMIOS_BITS(termios, termio, c_iflag); \ termio 34 arch/ia64/include/asm/termios.h SET_LOW_TERMIOS_BITS(termios, termio, c_oflag); \ termio 35 arch/ia64/include/asm/termios.h SET_LOW_TERMIOS_BITS(termios, termio, c_cflag); \ termio 36 arch/ia64/include/asm/termios.h SET_LOW_TERMIOS_BITS(termios, termio, c_lflag); \ termio 37 arch/ia64/include/asm/termios.h copy_from_user((termios)->c_cc, (termio)->c_cc, NCC); \ termio 43 arch/ia64/include/asm/termios.h #define kernel_termios_to_user_termio(termio, termios) \ termio 45 arch/ia64/include/asm/termios.h put_user((termios)->c_iflag, &(termio)->c_iflag); \ termio 46 arch/ia64/include/asm/termios.h put_user((termios)->c_oflag, &(termio)->c_oflag); \ termio 47 arch/ia64/include/asm/termios.h put_user((termios)->c_cflag, &(termio)->c_cflag); \ termio 48 arch/ia64/include/asm/termios.h put_user((termios)->c_lflag, &(termio)->c_lflag); \ termio 49 arch/ia64/include/asm/termios.h put_user((termios)->c_line, &(termio)->c_line); \ termio 50 arch/ia64/include/asm/termios.h copy_to_user((termio)->c_cc, (termios)->c_cc, NCC); \ termio 30 arch/mips/include/asm/termios.h struct termio __user *termio) termio 35 arch/mips/include/asm/termios.h if (!access_ok(termio, sizeof(struct termio))) termio 38 arch/mips/include/asm/termios.h err = __get_user(iflag, &termio->c_iflag); termio 40 arch/mips/include/asm/termios.h err |=__get_user(oflag, &termio->c_oflag); termio 42 arch/mips/include/asm/termios.h err |=__get_user(cflag, &termio->c_cflag); termio 44 arch/mips/include/asm/termios.h err |=__get_user(lflag, &termio->c_lflag); termio 46 arch/mips/include/asm/termios.h err |=__get_user(termios->c_line, &termio->c_line); termio 50 arch/mips/include/asm/termios.h if (__copy_from_user(termios->c_cc, termio->c_cc, NCC)) termio 59 arch/mips/include/asm/termios.h static inline int kernel_termios_to_user_termio(struct termio __user *termio, termio 64 arch/mips/include/asm/termios.h if (!access_ok(termio, sizeof(struct termio))) termio 67 arch/mips/include/asm/termios.h err = __put_user(termios->c_iflag, &termio->c_iflag); termio 68 arch/mips/include/asm/termios.h err |= __put_user(termios->c_oflag, &termio->c_oflag); termio 69 arch/mips/include/asm/termios.h err |= __put_user(termios->c_cflag, &termio->c_cflag); termio 70 arch/mips/include/asm/termios.h err |= __put_user(termios->c_lflag, &termio->c_lflag); termio 71 arch/mips/include/asm/termios.h err |= __put_user(termios->c_line, &termio->c_line); termio 75 arch/mips/include/asm/termios.h if (__copy_to_user(termio->c_cc, termios->c_cc, NCC)) termio 19 arch/parisc/include/asm/termios.h #define SET_LOW_TERMIOS_BITS(termios, termio, x) { \ termio 21 arch/parisc/include/asm/termios.h get_user(__tmp,&(termio)->x); \ termio 25 arch/parisc/include/asm/termios.h #define user_termio_to_kernel_termios(termios, termio) \ termio 27 arch/parisc/include/asm/termios.h SET_LOW_TERMIOS_BITS(termios, termio, c_iflag); \ termio 28 arch/parisc/include/asm/termios.h SET_LOW_TERMIOS_BITS(termios, termio, c_oflag); \ termio 29 arch/parisc/include/asm/termios.h SET_LOW_TERMIOS_BITS(termios, termio, c_cflag); \ termio 30 arch/parisc/include/asm/termios.h SET_LOW_TERMIOS_BITS(termios, termio, c_lflag); \ termio 31 arch/parisc/include/asm/termios.h copy_from_user((termios)->c_cc, (termio)->c_cc, NCC); \ termio 37 arch/parisc/include/asm/termios.h #define kernel_termios_to_user_termio(termio, termios) \ termio 39 arch/parisc/include/asm/termios.h put_user((termios)->c_iflag, &(termio)->c_iflag); \ termio 40 arch/parisc/include/asm/termios.h put_user((termios)->c_oflag, &(termio)->c_oflag); \ termio 41 arch/parisc/include/asm/termios.h put_user((termios)->c_cflag, &(termio)->c_cflag); \ termio 42 arch/parisc/include/asm/termios.h put_user((termios)->c_lflag, &(termio)->c_lflag); \ termio 43 arch/parisc/include/asm/termios.h put_user((termios)->c_line, &(termio)->c_line); \ termio 44 arch/parisc/include/asm/termios.h copy_to_user((termio)->c_cc, (termios)->c_cc, NCC); \ termio 13 arch/parisc/include/uapi/asm/ioctls.h #define TCGETA _IOR('T', 1, struct termio) termio 14 arch/parisc/include/uapi/asm/ioctls.h #define TCSETA _IOW('T', 2, struct termio) termio 15 arch/parisc/include/uapi/asm/ioctls.h #define TCSETAW _IOW('T', 3, struct termio) termio 16 arch/parisc/include/uapi/asm/ioctls.h #define TCSETAF _IOW('T', 4, struct termio) termio 26 arch/powerpc/include/uapi/asm/ioctls.h #define TCGETA _IOR('t', 23, struct termio) termio 27 arch/powerpc/include/uapi/asm/ioctls.h #define TCSETA _IOW('t', 24, struct termio) termio 28 arch/powerpc/include/uapi/asm/ioctls.h #define TCSETAW _IOW('t', 25, struct termio) termio 29 arch/powerpc/include/uapi/asm/ioctls.h #define TCSETAF _IOW('t', 28, struct termio) termio 30 arch/sparc/include/asm/termios.h #define user_termio_to_kernel_termios(termios, termio) \ termio 34 arch/sparc/include/asm/termios.h err = get_user(tmp, &(termio)->c_iflag); \ termio 36 arch/sparc/include/asm/termios.h err |= get_user(tmp, &(termio)->c_oflag); \ termio 38 arch/sparc/include/asm/termios.h err |= get_user(tmp, &(termio)->c_cflag); \ termio 40 arch/sparc/include/asm/termios.h err |= get_user(tmp, &(termio)->c_lflag); \ termio 42 arch/sparc/include/asm/termios.h err |= copy_from_user((termios)->c_cc, (termio)->c_cc, NCC); \ termio 51 arch/sparc/include/asm/termios.h #define kernel_termios_to_user_termio(termio, termios) \ termio 54 arch/sparc/include/asm/termios.h err = put_user((termios)->c_iflag, &(termio)->c_iflag); \ termio 55 arch/sparc/include/asm/termios.h err |= put_user((termios)->c_oflag, &(termio)->c_oflag); \ termio 56 arch/sparc/include/asm/termios.h err |= put_user((termios)->c_cflag, &(termio)->c_cflag); \ termio 57 arch/sparc/include/asm/termios.h err |= put_user((termios)->c_lflag, &(termio)->c_lflag); \ termio 58 arch/sparc/include/asm/termios.h err |= put_user((termios)->c_line, &(termio)->c_line); \ termio 59 arch/sparc/include/asm/termios.h err |= copy_to_user((termio)->c_cc, (termios)->c_cc, NCC); \ termio 61 arch/sparc/include/asm/termios.h err |= put_user((termios)->c_cc[VMIN], &(termio)->c_cc[_VMIN]); \ termio 62 arch/sparc/include/asm/termios.h err |= put_user((termios)->c_cc[VTIME], &(termio)->c_cc[_VTIME]); \ termio 8 arch/sparc/include/uapi/asm/ioctls.h #define TCGETA _IOR('T', 1, struct termio) termio 9 arch/sparc/include/uapi/asm/ioctls.h #define TCSETA _IOW('T', 2, struct termio) termio 10 arch/sparc/include/uapi/asm/ioctls.h #define TCSETAW _IOW('T', 3, struct termio) termio 11 arch/sparc/include/uapi/asm/ioctls.h #define TCSETAF _IOW('T', 4, struct termio) termio 1747 drivers/tty/moxa.c static int MoxaPortSetTermio(struct moxa_port *port, struct ktermios *termio, termio 1755 drivers/tty/moxa.c mode = termio->c_cflag & CSIZE; termio 1765 drivers/tty/moxa.c if (termio->c_cflag & CSTOPB) { termio 1773 drivers/tty/moxa.c if (termio->c_cflag & PARENB) { termio 1774 drivers/tty/moxa.c if (termio->c_cflag & PARODD) { termio 1775 drivers/tty/moxa.c if (termio->c_cflag & CMSPAR) termio 1780 drivers/tty/moxa.c if (termio->c_cflag & CMSPAR) termio 1795 drivers/tty/moxa.c if (termio->c_iflag & (IXON | IXOFF | IXANY)) { termio 1797 drivers/tty/moxa.c writeb(termio->c_cc[VSTART], ofsAddr + FuncArg); termio 1798 drivers/tty/moxa.c writeb(termio->c_cc[VSTOP], ofsAddr + FuncArg1); termio 377 drivers/tty/tty_ioctl.c (struct termio __user *)arg)) termio 437 drivers/tty/tty_ioctl.c static int get_termio(struct tty_struct *tty, struct termio __user *termio) termio 441 drivers/tty/tty_ioctl.c if (kernel_termios_to_user_termio(termio, &kterm)) termio 16 include/asm-generic/termios-base.h struct termio __user *termio) termio 20 include/asm-generic/termios-base.h if (get_user(tmp, &termio->c_iflag) < 0) termio 24 include/asm-generic/termios-base.h if (get_user(tmp, &termio->c_oflag) < 0) termio 28 include/asm-generic/termios-base.h if (get_user(tmp, &termio->c_cflag) < 0) termio 32 include/asm-generic/termios-base.h if (get_user(tmp, &termio->c_lflag) < 0) termio 36 include/asm-generic/termios-base.h if (get_user(termios->c_line, &termio->c_line) < 0) termio 39 include/asm-generic/termios-base.h if (copy_from_user(termios->c_cc, termio->c_cc, NCC) != 0) termio 51 include/asm-generic/termios-base.h static inline int kernel_termios_to_user_termio(struct termio __user *termio, termio 54 include/asm-generic/termios-base.h if (put_user(termios->c_iflag, &termio->c_iflag) < 0 || termio 55 include/asm-generic/termios-base.h put_user(termios->c_oflag, &termio->c_oflag) < 0 || termio 56 include/asm-generic/termios-base.h put_user(termios->c_cflag, &termio->c_cflag) < 0 || termio 57 include/asm-generic/termios-base.h put_user(termios->c_lflag, &termio->c_lflag) < 0 || termio 58 include/asm-generic/termios-base.h put_user(termios->c_line, &termio->c_line) < 0 || termio 59 include/asm-generic/termios-base.h copy_to_user(termio->c_cc, termios->c_cc, NCC) != 0) termio 21 include/asm-generic/termios.h const struct termio __user *termio) termio 25 include/asm-generic/termios.h if (get_user(tmp, &termio->c_iflag) < 0) termio 29 include/asm-generic/termios.h if (get_user(tmp, &termio->c_oflag) < 0) termio 33 include/asm-generic/termios.h if (get_user(tmp, &termio->c_cflag) < 0) termio 37 include/asm-generic/termios.h if (get_user(tmp, &termio->c_lflag) < 0) termio 41 include/asm-generic/termios.h if (get_user(termios->c_line, &termio->c_line) < 0) termio 44 include/asm-generic/termios.h if (copy_from_user(termios->c_cc, termio->c_cc, NCC) != 0) termio 56 include/asm-generic/termios.h static inline int kernel_termios_to_user_termio(struct termio __user *termio, termio 59 include/asm-generic/termios.h if (put_user(termios->c_iflag, &termio->c_iflag) < 0 || termio 60 include/asm-generic/termios.h put_user(termios->c_oflag, &termio->c_oflag) < 0 || termio 61 include/asm-generic/termios.h put_user(termios->c_cflag, &termio->c_cflag) < 0 || termio 62 include/asm-generic/termios.h put_user(termios->c_lflag, &termio->c_lflag) < 0 || termio 63 include/asm-generic/termios.h put_user(termios->c_line, &termio->c_line) < 0 || termio 64 include/asm-generic/termios.h copy_to_user(termio->c_cc, termios->c_cc, NCC) != 0)