Home
last modified time | relevance | path

Searched refs:ktermios (Results 1 – 25 of 163) sorted by relevance

1234567

/Linux-v5.10/drivers/tty/serdev/
Dserdev-ttyport.c109 struct ktermios ktermios; in ttyport_open() local
129 ktermios = tty->termios; in ttyport_open()
130 ktermios.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | in ttyport_open()
132 ktermios.c_oflag &= ~OPOST; in ttyport_open()
133 ktermios.c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN); in ttyport_open()
134 ktermios.c_cflag &= ~(CSIZE | PARENB); in ttyport_open()
135 ktermios.c_cflag |= CS8; in ttyport_open()
136 ktermios.c_cflag |= CRTSCTS; in ttyport_open()
138 ktermios.c_cflag |= CLOCAL; in ttyport_open()
139 tty_set_termios(tty, &ktermios); in ttyport_open()
[all …]
/Linux-v5.10/include/asm-generic/
Dtermios.h20 static inline int user_termio_to_kernel_termios(struct ktermios *termios, in user_termio_to_kernel_termios()
57 struct ktermios *termios) in kernel_termios_to_user_termio()
71 static inline int user_termios_to_kernel_termios(struct ktermios *k, in user_termios_to_kernel_termios()
78 struct ktermios *k) in kernel_termios_to_user_termios()
83 static inline int user_termios_to_kernel_termios_1(struct ktermios *k, in user_termios_to_kernel_termios_1()
90 struct ktermios *k) in kernel_termios_to_user_termios_1()
95 static inline int user_termios_to_kernel_termios(struct ktermios *k, in user_termios_to_kernel_termios()
102 struct ktermios *k) in kernel_termios_to_user_termios()
Dtermios-base.h15 static inline int user_termio_to_kernel_termios(struct ktermios *termios, in user_termio_to_kernel_termios()
52 struct ktermios *termios) in kernel_termios_to_user_termio()
/Linux-v5.10/arch/mips/include/asm/
Dtermios.h29 static inline int user_termio_to_kernel_termios(struct ktermios *termios, in user_termio_to_kernel_termios()
60 struct ktermios *termios) in kernel_termios_to_user_termio()
81 static inline int user_termios_to_kernel_termios(struct ktermios __user *k, in user_termios_to_kernel_termios()
88 struct ktermios *k) in kernel_termios_to_user_termios()
93 static inline int user_termios_to_kernel_termios_1(struct ktermios *k, in user_termios_to_kernel_termios_1()
100 struct ktermios *k) in kernel_termios_to_user_termios_1()
/Linux-v5.10/include/linux/
Dserial_8250.h34 struct ktermios *new,
35 struct ktermios *old);
37 struct ktermios *);
161 struct ktermios *termios, struct ktermios *old);
163 struct ktermios *termios);
Dserial_core.h53 void (*set_termios)(struct uart_port *, struct ktermios *new,
54 struct ktermios *old);
55 void (*set_ldisc)(struct uart_port *, struct ktermios *);
113 struct ktermios *new,
114 struct ktermios *old);
116 struct ktermios *);
330 unsigned int uart_get_baud_rate(struct uart_port *port, struct ktermios *termios,
331 struct ktermios *old, unsigned int min,
Dtty_driver.h273 void (*set_termios)(struct tty_struct *tty, struct ktermios * old);
315 struct ktermios init_termios; /* Initial termios */
325 struct ktermios **termios;
Dtty.h305 struct ktermios termios, termios_locked;
453 extern struct ktermios tty_std_termios;
521 extern speed_t tty_termios_baud_rate(struct ktermios *termios);
522 extern speed_t tty_termios_input_baud_rate(struct ktermios *termios);
523 extern void tty_termios_encode_baud_rate(struct ktermios *termios,
543 extern void tty_termios_copy_hw(struct ktermios *new, struct ktermios *old);
544 extern int tty_termios_hw_change(const struct ktermios *a, const struct ktermios *b);
545 extern int tty_set_termios(struct tty_struct *tty, struct ktermios *kt);
Dtty_ldisc.h195 void (*set_termios)(struct tty_struct *tty, struct ktermios *old);
/Linux-v5.10/drivers/tty/
Dtty_ioctl.c243 static void unset_locked_termios(struct tty_struct *tty, struct ktermios *old) in unset_locked_termios()
245 struct ktermios *termios = &tty->termios; in unset_locked_termios()
246 struct ktermios *locked = &tty->termios_locked; in unset_locked_termios()
273 void tty_termios_copy_hw(struct ktermios *new, struct ktermios *old) in tty_termios_copy_hw()
293 int tty_termios_hw_change(const struct ktermios *a, const struct ktermios *b) in tty_termios_hw_change()
314 int tty_set_termios(struct tty_struct *tty, struct ktermios *new_termios) in tty_set_termios()
316 struct ktermios old_termios; in tty_set_termios()
364 struct ktermios tmp_termios; in set_termios()
423 static void copy_termios(struct tty_struct *tty, struct ktermios *kterm) in copy_termios()
430 static void copy_termios_locked(struct tty_struct *tty, struct ktermios *kterm) in copy_termios_locked()
[all …]
Dtty_baudrate.c57 speed_t tty_termios_baud_rate(struct ktermios *termios) in tty_termios_baud_rate()
92 speed_t tty_termios_input_baud_rate(struct ktermios *termios) in tty_termios_input_baud_rate()
141 void tty_termios_encode_baud_rate(struct ktermios *termios, in tty_termios_encode_baud_rate()
/Linux-v5.10/drivers/bluetooth/
Dhci_ldisc.c312 struct ktermios ktermios; in hci_uart_set_flow_control() local
325 ktermios = tty->termios; in hci_uart_set_flow_control()
326 ktermios.c_cflag &= ~CRTSCTS; in hci_uart_set_flow_control()
327 status = tty_set_termios(tty, &ktermios); in hci_uart_set_flow_control()
359 ktermios = tty->termios; in hci_uart_set_flow_control()
360 ktermios.c_cflag |= CRTSCTS; in hci_uart_set_flow_control()
361 status = tty_set_termios(tty, &ktermios); in hci_uart_set_flow_control()
377 struct ktermios ktermios; in hci_uart_set_baudrate() local
379 ktermios = tty->termios; in hci_uart_set_baudrate()
380 ktermios.c_cflag &= ~CBAUD; in hci_uart_set_baudrate()
[all …]
/Linux-v5.10/arch/alpha/include/asm/
Dtermios.h21 struct ktermios *k_termios = (a_termios); \
53 struct ktermios *k_termios = (a_termios); \
/Linux-v5.10/drivers/tty/serial/
Dmpc52xx_uart.c101 struct ktermios *new,
102 struct ktermios *old);
287 struct ktermios *new, in mpc5200_psc_set_baudrate()
288 struct ktermios *old) in mpc5200_psc_set_baudrate()
305 struct ktermios *new, in mpc5200b_psc_set_baudrate()
306 struct ktermios *old) in mpc5200b_psc_set_baudrate()
533 struct ktermios *new, in mpc512x_psc_set_baudrate()
534 struct ktermios *old) in mpc512x_psc_set_baudrate()
883 struct ktermios *new, in mpc5125_psc_set_baudrate()
884 struct ktermios *old) in mpc5125_psc_set_baudrate()
[all …]
Dtegra-tcu.c128 struct ktermios *new, in tegra_tcu_uart_set_termios()
129 struct ktermios *old) in tegra_tcu_uart_set_termios()
Dclps711x.c221 struct ktermios *termios) in uart_clps711x_set_ldisc()
253 struct ktermios *termios, in uart_clps711x_set_termios()
254 struct ktermios *old) in uart_clps711x_set_termios()
Dmux.c291 mux_set_termios(struct uart_port *port, struct ktermios *termios, in mux_set_termios()
292 struct ktermios *old) in mux_set_termios()
/Linux-v5.10/drivers/usb/serial/
Dconsole.c68 struct ktermios dummy; in usb_console_setup()
165 memset(&dummy, 0, sizeof(struct ktermios)); in usb_console_setup()
Dbelkin_sa.c47 struct usb_serial_port *port, struct ktermios * old);
278 struct usb_serial_port *port, struct ktermios *old_termios) in belkin_sa_set_termios()
291 struct ktermios *termios = &tty->termios; in belkin_sa_set_termios()
Dempeg.c80 struct ktermios *termios = &tty->termios; in empeg_init_termios()
Dir-usb.c54 struct usb_serial_port *port, struct ktermios *old_termios);
379 struct usb_serial_port *port, struct ktermios *old_termios) in ir_set_termios()
/Linux-v5.10/drivers/tty/serial/jsm/
Djsm_tty.c153 struct ktermios *termios; in jsm_tty_send_xchar()
193 struct ktermios *termios; in jsm_tty_open()
300 struct ktermios *termios, in jsm_tty_set_termios()
301 struct ktermios *old_termios) in jsm_tty_set_termios()
/Linux-v5.10/drivers/accessibility/speakup/
Dspk_ttyio.c137 struct ktermios *out_termios) in get_termios()
148 struct ktermios tmp_termios; in spk_ttyio_initialise_ldisc()
/Linux-v5.10/arch/um/drivers/
Dline.h69 extern void line_set_termios(struct tty_struct *tty, struct ktermios * old);
/Linux-v5.10/arch/ia64/include/uapi/asm/
Dtermbits.h41 struct ktermios { struct

1234567