Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/alpha/kernel/
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-6.1.9/arch/sparc/kernel/
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-6.1.9/drivers/tty/
Dtty_ioctl.c237 termios->c_cc[i] = locked->c_cc[i] ? in unset_locked_termios()
238 old->c_cc[i] : termios->c_cc[i]; in unset_locked_termios()
395 memcpy(termios->c_cc, v.c_cc, NCC); in user_termio_to_kernel_termios()
412 memcpy(v.c_cc, termios->c_cc, NCC); in kernel_termios_to_user_termio()
580 tmp.sg_erase = tty->termios.c_cc[VERASE]; in get_sgttyb()
581 tmp.sg_kill = tty->termios.c_cc[VKILL]; in get_sgttyb()
609 termios->c_cc[VMIN] = 1; in set_sgflags()
610 termios->c_cc[VTIME] = 0; in set_sgflags()
640 termios.c_cc[VERASE] = tmp.sg_erase; in set_sgttyb()
641 termios.c_cc[VKILL] = tmp.sg_kill; in set_sgttyb()
[all …]
Dpty.c249 (old_termios->c_cc[VSTOP] == '\023') && in pty_set_termios()
250 (old_termios->c_cc[VSTART] == '\021')); in pty_set_termios()
/linux-6.1.9/include/linux/
Dtty.h35 #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 …]
/linux-6.1.9/arch/sparc/include/uapi/asm/
Dtermbits.h20 unsigned char c_cc[NCC]; /* control characters */ member
31 cc_t c_cc[NCCS]; /* control characters */ member
33 cc_t c_cc[NCCS+2]; /* kernel needs 2 more to hold vmin/vtime */ member
44 cc_t c_cc[NCCS+2]; /* control characters */ member
55 cc_t c_cc[NCCS+2]; /* control characters */ member
/linux-6.1.9/include/uapi/asm-generic/
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
Dtermios.h29 unsigned char c_cc[NCC]; /* control characters */ member
/linux-6.1.9/arch/parisc/include/uapi/asm/
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-6.1.9/arch/mips/include/uapi/asm/
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
Dtermios.h60 unsigned char c_cc[NCCS]; /* control characters */ member
/linux-6.1.9/arch/alpha/include/uapi/asm/
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
Dtermios.h48 unsigned char c_cc[NCC]; /* control characters */ member
/linux-6.1.9/tools/perf/util/
Dterm.c37 tc.c_cc[VMIN] = 0; in set_term_quiet_input()
38 tc.c_cc[VTIME] = 0; in set_term_quiet_input()
/linux-6.1.9/arch/powerpc/include/uapi/asm/
Dtermbits.h28 cc_t c_cc[NCCS]; /* control characters */ member
41 cc_t c_cc[NCCS]; /* control characters */ member
Dtermios.h60 unsigned char c_cc[NCC]; /* control characters */ member
/linux-6.1.9/arch/um/drivers/
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-6.1.9/drivers/tty/serial/jsm/
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-6.1.9/net/bluetooth/rfcomm/
Dtty.c900 if (old->c_cc[VSTOP] != new->c_cc[VSTOP]) { in rfcomm_tty_set_termios()
902 x_on = new->c_cc[VSTOP]; in rfcomm_tty_set_termios()
909 if (old->c_cc[VSTART] != new->c_cc[VSTART]) { in rfcomm_tty_set_termios()
911 x_off = new->c_cc[VSTART]; in rfcomm_tty_set_termios()
/linux-6.1.9/tools/power/acpi/os_specific/service_layers/
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-6.1.9/drivers/usb/serial/
Dpl2303.c771 a->c_cc[VSTART] != b->c_cc[VSTART] || in pl2303_termios_change()
772 a->c_cc[VSTOP] != b->c_cc[VSTOP]; in pl2303_termios_change()
Dcp210x.c1122 cc_change = a->c_cc[VSTART] != b->c_cc[VSTART] || in cp210x_termios_change()
1123 a->c_cc[VSTOP] != b->c_cc[VSTOP]; in cp210x_termios_change()
1154 START_CHAR(tty) == old_termios->c_cc[VSTART] && in cp210x_set_flow_control()
1155 STOP_CHAR(tty) == old_termios->c_cc[VSTOP]) { in cp210x_set_flow_control()
/linux-6.1.9/samples/uhid/
Duhid-example.c400 state.c_cc[VMIN] = 1; in main()
/linux-6.1.9/tools/firewire/
Dnosy-dump.c890 tattr.c_cc[VMIN] = 1; in set_input_mode()
891 tattr.c_cc[VTIME] = 0; in set_input_mode()
/linux-6.1.9/drivers/tty/serial/
Dmax310x.c966 max310x_port_write(port, MAX310X_XON1_REG, termios->c_cc[VSTART]); in max310x_set_termios()
967 max310x_port_write(port, MAX310X_XOFF1_REG, termios->c_cc[VSTOP]); in max310x_set_termios()

12