Home
last modified time | relevance | path

Searched refs:c_cc (Results 1 – 25 of 30) sorted by relevance

12

/linux/arch/sparc/kernel/
H A Dtermios.c25 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 …]
/linux/arch/alpha/kernel/
H A Dtermios.c20 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 …]
/linux/drivers/tty/
H A Dtty_ioctl.c220 termios->c_cc[i] = locked->c_cc[i] ? in unset_locked_termios()
221 old->c_cc[i] : termios->c_cc[i]; in unset_locked_termios()
377 memcpy(termios->c_cc, v.c_cc, NCC); in user_termio_to_kernel_termios()
394 memcpy(v.c_cc, termios->c_cc, NCC); in kernel_termios_to_user_termio()
584 tmp.sg_erase = tty->termios.c_cc[VERASE]; in get_sgttyb()
585 tmp.sg_kill = tty->termios.c_cc[VKILL]; in get_sgttyb()
613 termios->c_cc[VMIN] = 1; in set_sgflags()
614 termios->c_cc[VTIME] = 0; in set_sgflags()
644 termios.c_cc[VERASE] = tmp.sg_erase; in set_sgttyb()
645 termios.c_cc[VKILL] = tmp.sg_kill; in set_sgttyb()
[all …]
H A Dpty.c249 (old_termios->c_cc[VSTOP] == '\023') && in pty_set_termios()
250 (old_termios->c_cc[VSTART] == '\021')); in pty_set_termios()
/linux/include/linux/
H A Dtty.h34 #define INTR_CHAR(tty) ((tty)->termios.c_cc[VINTR])
35 #define QUIT_CHAR(tty) ((tty)->termios.c_cc[VQUIT])
36 #define ERASE_CHAR(tty) ((tty)->termios.c_cc[VERASE])
37 #define KILL_CHAR(tty) ((tty)->termios.c_cc[VKILL])
38 #define EOF_CHAR(tty) ((tty)->termios.c_cc[VEOF])
39 #define TIME_CHAR(tty) ((tty)->termios.c_cc[VTIME])
40 #define MIN_CHAR(tty) ((tty)->termios.c_cc[VMIN])
41 #define SWTC_CHAR(tty) ((tty)->termios.c_cc[VSWTC])
42 #define START_CHAR(tty) ((tty)->termios.c_cc[VSTART])
43 #define STOP_CHAR(tty) ((tty)->termios.c_cc[VSTOP])
[all …]
/linux/arch/parisc/include/uapi/asm/
H A Dtermbits.h16 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
/linux/include/uapi/asm-generic/
H A Dtermbits.h16 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 Dtermios.h29 unsigned char c_cc[NCC]; /* control characters */ member
/linux/arch/alpha/include/uapi/asm/
H A Dtermbits.h21 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 Dtermios.h48 unsigned char c_cc[NCC]; /* control characters */ member
/linux/arch/mips/include/uapi/asm/
H A Dtermbits.h29 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 Dtermios.h60 unsigned char c_cc[NCCS]; /* control characters */ member
/linux/tools/perf/util/
H A Dterm.c37 tc.c_cc[VMIN] = 0; in set_term_quiet_input()
38 tc.c_cc[VTIME] = 0; in set_term_quiet_input()
/linux/arch/um/drivers/
H A Dslip_user.c43 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()
/linux/arch/powerpc/include/uapi/asm/
H A Dtermbits.h28 cc_t c_cc[NCCS]; /* control characters */ member
41 cc_t c_cc[NCCS]; /* control characters */ member
H A Dtermios.h60 unsigned char c_cc[NCC]; /* control characters */ member
/linux/drivers/tty/serial/jsm/
H A Djsm_tty.c157 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()
/linux/net/bluetooth/rfcomm/
H A Dtty.c898 if (old->c_cc[VSTOP] != new->c_cc[VSTOP]) { in rfcomm_tty_set_termios()
900 x_on = new->c_cc[VSTOP]; in rfcomm_tty_set_termios()
907 if (old->c_cc[VSTART] != new->c_cc[VSTART]) { in rfcomm_tty_set_termios()
909 x_off = new->c_cc[VSTART]; in rfcomm_tty_set_termios()
/linux/tools/power/acpi/os_specific/service_layers/
H A Dosunixxf.c109 local_term_attributes.c_cc[VMIN] = 1; in os_enter_line_edit_mode()
110 local_term_attributes.c_cc[VTIME] = 0; in os_enter_line_edit_mode()
/linux/drivers/usb/serial/
H A Dcp210x.c1128 cc_change = a->c_cc[VSTART] != b->c_cc[VSTART] || in cp210x_termios_change()
1129 a->c_cc[VSTOP] != b->c_cc[VSTOP]; in cp210x_termios_change()
1161 START_CHAR(tty) == old_termios->c_cc[VSTART] && in cp210x_set_flow_control()
1162 STOP_CHAR(tty) == old_termios->c_cc[VSTOP]) { in cp210x_set_flow_control()
H A Dpl2303.c772 a->c_cc[VSTART] != b->c_cc[VSTART] || in pl2303_termios_change()
773 a->c_cc[VSTOP] != b->c_cc[VSTOP]; in pl2303_termios_change()
/linux/samples/uhid/
H A Duhid-example.c400 state.c_cc[VMIN] = 1; in main()
/linux/tools/firewire/
H A Dnosy-dump.c890 tattr.c_cc[VMIN] = 1; in set_input_mode()
891 tattr.c_cc[VTIME] = 0; in set_input_mode()
/linux/drivers/tty/serial/
H A Dsc16is7xx.c1102 sc16is7xx_port_write(port, SC16IS7XX_XON1_REG, termios->c_cc[VSTART]); in sc16is7xx_set_termios()
1103 sc16is7xx_port_write(port, SC16IS7XX_XOFF1_REG, termios->c_cc[VSTOP]); in sc16is7xx_set_termios()
H A Dserial_core.c1717 tty->termios.c_cc[VSTART] != old_termios->c_cc[VSTART] || in uart_set_termios()
1718 tty->termios.c_cc[VSTOP] != old_termios->c_cc[VSTOP]; in uart_set_termios()

12