/openbmc/linux/arch/alpha/kernel/ |
H A D | termios.c | 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() 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() [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | termios.c | 25 memcpy(v.c_cc, termios->c_cc, NCC); in kernel_termios_to_user_termio() 27 v.c_cc[_VMIN] = termios->c_cc[VMIN]; in kernel_termios_to_user_termio() 28 v.c_cc[_VTIME] = termios->c_cc[VTIME]; in kernel_termios_to_user_termio() 42 err |= copy_from_user(k->c_cc, u->c_cc, NCCS); in user_termios_to_kernel_termios() 44 err |= get_user(k->c_cc[VEOF], &u->c_cc[VEOF]); in user_termios_to_kernel_termios() 45 err |= get_user(k->c_cc[VEOL], &u->c_cc[VEOL]); in user_termios_to_kernel_termios() 47 err |= get_user(k->c_cc[VMIN], &u->c_cc[_VMIN]); in user_termios_to_kernel_termios() 48 err |= get_user(k->c_cc[VTIME], &u->c_cc[_VTIME]); in user_termios_to_kernel_termios() 64 err |= copy_to_user(u->c_cc, k->c_cc, NCCS); in kernel_termios_to_user_termios() 66 err |= put_user(k->c_cc[VMIN], &u->c_cc[_VMIN]); in kernel_termios_to_user_termios() [all …]
|
/openbmc/linux/drivers/tty/ |
H A D | tty_ioctl.c | 228 termios->c_cc[i] = locked->c_cc[i] ? in unset_locked_termios() 229 old->c_cc[i] : termios->c_cc[i]; in unset_locked_termios() 386 memcpy(termios->c_cc, v.c_cc, NCC); in user_termio_to_kernel_termios() 403 memcpy(v.c_cc, termios->c_cc, NCC); in kernel_termios_to_user_termio() 592 tmp.sg_erase = tty->termios.c_cc[VERASE]; in get_sgttyb() 593 tmp.sg_kill = tty->termios.c_cc[VKILL]; in get_sgttyb() 621 termios->c_cc[VMIN] = 1; in set_sgflags() 622 termios->c_cc[VTIME] = 0; in set_sgflags() 652 termios.c_cc[VERASE] = tmp.sg_erase; in set_sgttyb() 653 termios.c_cc[VKILL] = tmp.sg_kill; in set_sgttyb() [all …]
|
/openbmc/linux/include/linux/ |
H A D | tty.h | 35 #define INTR_CHAR(tty) ((tty)->termios.c_cc[VINTR]) 36 #define QUIT_CHAR(tty) ((tty)->termios.c_cc[VQUIT]) 37 #define ERASE_CHAR(tty) ((tty)->termios.c_cc[VERASE]) 38 #define KILL_CHAR(tty) ((tty)->termios.c_cc[VKILL]) 39 #define EOF_CHAR(tty) ((tty)->termios.c_cc[VEOF]) 40 #define TIME_CHAR(tty) ((tty)->termios.c_cc[VTIME]) 41 #define MIN_CHAR(tty) ((tty)->termios.c_cc[VMIN]) 42 #define SWTC_CHAR(tty) ((tty)->termios.c_cc[VSWTC]) 43 #define START_CHAR(tty) ((tty)->termios.c_cc[VSTART]) 44 #define STOP_CHAR(tty) ((tty)->termios.c_cc[VSTOP]) [all …]
|
/openbmc/linux/arch/sparc/include/uapi/asm/ |
H A D | termbits.h | 21 cc_t c_cc[NCCS]; /* control characters */ member 23 cc_t c_cc[NCCS+2]; /* kernel needs 2 more to hold vmin/vtime */ member 34 cc_t c_cc[NCCS+2]; /* control characters */ member 45 cc_t c_cc[NCCS+2]; /* control characters */ member
|
H A D | termios.h | 50 unsigned char c_cc[NCC]; /* control characters */ member
|
/openbmc/linux/include/uapi/asm-generic/ |
H A D | termbits.h | 16 cc_t c_cc[NCCS]; /* control characters */ member 25 cc_t c_cc[NCCS]; /* control characters */ member 36 cc_t c_cc[NCCS]; /* control characters */ member
|
H A D | termios.h | 29 unsigned char c_cc[NCC]; /* control characters */ member
|
/openbmc/linux/arch/parisc/include/uapi/asm/ |
H A D | termbits.h | 16 cc_t c_cc[NCCS]; /* control characters */ member 25 cc_t c_cc[NCCS]; /* control characters */ member 36 cc_t c_cc[NCCS]; /* control characters */ member
|
/openbmc/linux/arch/alpha/include/uapi/asm/ |
H A D | termbits.h | 21 cc_t c_cc[NCCS]; /* control characters */ member 34 cc_t c_cc[NCCS]; /* control characters */ member 47 cc_t c_cc[NCCS]; /* control characters */ member
|
H A D | termios.h | 48 unsigned char c_cc[NCC]; /* control characters */ member
|
/openbmc/linux/arch/mips/include/uapi/asm/ |
H A D | termbits.h | 29 cc_t c_cc[NCCS]; /* control characters */ member 38 cc_t c_cc[NCCS]; /* control characters */ member 49 cc_t c_cc[NCCS]; /* control characters */ member
|
H A D | termios.h | 60 unsigned char c_cc[NCCS]; /* control characters */ member
|
/openbmc/qemu/linux-user/ |
H A D | semihost.c | 35 new_tio.c_cc[VMIN] = 1; in qemu_semihosting_console_read() 36 new_tio.c_cc[VTIME] = 0; in qemu_semihosting_console_read()
|
H A D | syscall.c | 5801 memset(host->c_cc, 0, sizeof(host->c_cc)); in target_to_host_termios() 5802 host->c_cc[VINTR] = target->c_cc[TARGET_VINTR]; in target_to_host_termios() 5803 host->c_cc[VQUIT] = target->c_cc[TARGET_VQUIT]; in target_to_host_termios() 5804 host->c_cc[VERASE] = target->c_cc[TARGET_VERASE]; in target_to_host_termios() 5805 host->c_cc[VKILL] = target->c_cc[TARGET_VKILL]; in target_to_host_termios() 5806 host->c_cc[VEOF] = target->c_cc[TARGET_VEOF]; in target_to_host_termios() 5807 host->c_cc[VTIME] = target->c_cc[TARGET_VTIME]; in target_to_host_termios() 5808 host->c_cc[VMIN] = target->c_cc[TARGET_VMIN]; in target_to_host_termios() 5809 host->c_cc[VSWTC] = target->c_cc[TARGET_VSWTC]; in target_to_host_termios() 5810 host->c_cc[VSTART] = target->c_cc[TARGET_VSTART]; in target_to_host_termios() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | term.c | 37 tc.c_cc[VMIN] = 0; in set_term_quiet_input() 38 tc.c_cc[VTIME] = 0; in set_term_quiet_input()
|
/openbmc/qemu/linux-user/generic/ |
H A D | termbits.h | 18 target_cc_t c_cc[TARGET_NCCS]; /* control characters */ member 27 target_cc_t c_cc[TARGET_NCCS]; /* control characters */ member 38 target_cc_t c_cc[TARGET_NCCS]; /* control characters */ member
|
/openbmc/linux/arch/powerpc/include/uapi/asm/ |
H A D | termbits.h | 28 cc_t c_cc[NCCS]; /* control characters */ member 41 cc_t c_cc[NCCS]; /* control characters */ member
|
H A D | termios.h | 60 unsigned char c_cc[NCC]; /* control characters */ member
|
/openbmc/linux/arch/um/drivers/ |
H A D | slip_user.c | 43 tios.c_cc[i] = 0; in set_up_tty() 44 tios.c_cc[VMIN] = 1; in set_up_tty() 45 tios.c_cc[VTIME] = 0; in set_up_tty()
|
/openbmc/qemu/linux-user/xtensa/ |
H A D | termbits.h | 30 target_cc_t c_cc[TARGET_NCCS]; /* control characters */ member 40 target_cc_t c_cc[TARGET_NCCS]; /* control characters */ member 51 target_cc_t c_cc[TARGET_NCCS]; /* control characters */ member
|
/openbmc/qemu/chardev/ |
H A D | char-stdio.c | 72 tty.c_cc[VMIN] = 1; in qemu_chr_set_echo_stdio() 73 tty.c_cc[VTIME] = 0; in qemu_chr_set_echo_stdio()
|
/openbmc/linux/drivers/tty/serial/jsm/ |
H A D | jsm_tty.c | 157 if (ch == termios->c_cc[VSTART]) in jsm_tty_send_xchar() 160 if (ch == termios->c_cc[VSTOP]) in jsm_tty_send_xchar() 250 channel->ch_startc = termios->c_cc[VSTART]; in jsm_tty_open() 251 channel->ch_stopc = termios->c_cc[VSTOP]; in jsm_tty_open() 315 channel->ch_startc = termios->c_cc[VSTART]; in jsm_tty_set_termios() 316 channel->ch_stopc = termios->c_cc[VSTOP]; in jsm_tty_set_termios()
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_tsol.c | 226 tio.c_cc[VMIN] = 1; in enter_raw_mode() 227 tio.c_cc[VTIME] = 0; in enter_raw_mode() 233 tio.c_cc[VMIN] = 1; in enter_raw_mode() 234 tio.c_cc[VTIME] = 0; in enter_raw_mode()
|
/openbmc/linux/net/bluetooth/rfcomm/ |
H A D | tty.c | 901 if (old->c_cc[VSTOP] != new->c_cc[VSTOP]) { in rfcomm_tty_set_termios() 903 x_on = new->c_cc[VSTOP]; in rfcomm_tty_set_termios() 910 if (old->c_cc[VSTART] != new->c_cc[VSTART]) { in rfcomm_tty_set_termios() 912 x_off = new->c_cc[VSTART]; in rfcomm_tty_set_termios()
|