/Linux-v6.1/drivers/tty/serdev/ |
D | serdev-ttyport.c | 109 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-v6.1/include/linux/ |
D | termios_internal.h | 37 int user_termio_to_kernel_termios(struct ktermios *, struct termio __user *); 38 int kernel_termios_to_user_termio(struct termio __user *, struct ktermios *); 40 int user_termios_to_kernel_termios(struct ktermios *, struct termios2 __user *); 41 int kernel_termios_to_user_termios(struct termios2 __user *, struct ktermios *); 42 int user_termios_to_kernel_termios_1(struct ktermios *, struct termios __user *); 43 int kernel_termios_to_user_termios_1(struct termios __user *, struct ktermios *); 45 int user_termios_to_kernel_termios(struct ktermios *, struct termios __user *); 46 int kernel_termios_to_user_termios(struct termios __user *, struct ktermios *);
|
D | serial_8250.h | 34 struct ktermios *new, 35 const struct ktermios *old); 37 struct ktermios *); 161 struct ktermios *termios, const struct ktermios *old); 163 struct ktermios *termios);
|
D | tty.h | 208 struct ktermios termios, termios_locked; 386 extern struct ktermios tty_std_termios; 431 speed_t tty_termios_baud_rate(const struct ktermios *termios); 432 void tty_termios_encode_baud_rate(struct ktermios *termios, speed_t ibaud, 455 void tty_termios_copy_hw(struct ktermios *new, const struct ktermios *old); 456 int tty_termios_hw_change(const struct ktermios *a, const struct ktermios *b); 457 int tty_set_termios(struct tty_struct *tty, struct ktermios *kt);
|
D | serial_core.h | 389 void (*set_termios)(struct uart_port *, struct ktermios *new, 390 const struct ktermios *old); 391 void (*set_ldisc)(struct uart_port *, struct ktermios *); 435 struct ktermios *new, 436 const struct ktermios *old); 438 struct ktermios *); 457 struct ktermios *termios, 672 unsigned int uart_get_baud_rate(struct uart_port *port, struct ktermios *termios, 673 const struct ktermios *old, unsigned int min,
|
D | tty_driver.h | 369 void (*set_termios)(struct tty_struct *tty, const struct ktermios *old); 446 struct ktermios init_termios; 456 struct ktermios **termios;
|
/Linux-v6.1/drivers/tty/ |
D | tty_ioctl.c | 223 static void unset_locked_termios(struct tty_struct *tty, const struct ktermios *old) in unset_locked_termios() 225 struct ktermios *termios = &tty->termios; in unset_locked_termios() 226 struct ktermios *locked = &tty->termios_locked; in unset_locked_termios() 253 void tty_termios_copy_hw(struct ktermios *new, const struct ktermios *old) in tty_termios_copy_hw() 273 int tty_termios_hw_change(const struct ktermios *a, const struct ktermios *b) in tty_termios_hw_change() 341 int tty_set_termios(struct tty_struct *tty, struct ktermios *new_termios) in tty_set_termios() 343 struct ktermios old_termios; in tty_set_termios() 382 __weak int user_termio_to_kernel_termios(struct ktermios *termios, in user_termio_to_kernel_termios() 403 struct ktermios *termios) in kernel_termios_to_user_termio() 417 __weak int user_termios_to_kernel_termios(struct ktermios *k, in user_termios_to_kernel_termios() [all …]
|
D | tty_baudrate.c | 58 speed_t tty_termios_baud_rate(const struct ktermios *termios) in tty_termios_baud_rate() 88 speed_t tty_termios_input_baud_rate(const struct ktermios *termios) in tty_termios_input_baud_rate() 129 void tty_termios_encode_baud_rate(struct ktermios *termios, in tty_termios_encode_baud_rate()
|
/Linux-v6.1/drivers/bluetooth/ |
D | hci_ldisc.c | 311 struct ktermios ktermios; in hci_uart_set_flow_control() local 324 ktermios = tty->termios; in hci_uart_set_flow_control() 325 ktermios.c_cflag &= ~CRTSCTS; in hci_uart_set_flow_control() 326 status = tty_set_termios(tty, &ktermios); in hci_uart_set_flow_control() 358 ktermios = tty->termios; in hci_uart_set_flow_control() 359 ktermios.c_cflag |= CRTSCTS; in hci_uart_set_flow_control() 360 status = tty_set_termios(tty, &ktermios); in hci_uart_set_flow_control() 376 struct ktermios ktermios; in hci_uart_set_baudrate() local 378 ktermios = tty->termios; in hci_uart_set_baudrate() 379 ktermios.c_cflag &= ~CBAUD; in hci_uart_set_baudrate() [all …]
|
/Linux-v6.1/arch/sparc/kernel/ |
D | termios.c | 16 struct ktermios *termios) in kernel_termios_to_user_termio() 33 int user_termios_to_kernel_termios(struct ktermios *k, in user_termios_to_kernel_termios() 56 struct ktermios *k) in kernel_termios_to_user_termios() 77 int user_termios_to_kernel_termios_1(struct ktermios *k, in user_termios_to_kernel_termios_1() 98 struct ktermios *k) in kernel_termios_to_user_termios_1()
|
/Linux-v6.1/drivers/tty/serial/8250/ |
D | 8250_dwlib.h | 50 void dw8250_do_set_termios(struct uart_port *p, struct ktermios *termios, const struct ktermios *ol…
|
D | 8250_dwlib.c | 95 void dw8250_do_set_termios(struct uart_port *p, struct ktermios *termios, in dw8250_do_set_termios() 96 const struct ktermios *old) in dw8250_do_set_termios() 139 struct ktermios *termios) in dw8250_rs485_set_addr() 180 static int dw8250_rs485_config(struct uart_port *p, struct ktermios *termios, in dw8250_rs485_config()
|
D | 8250_fintek.c | 194 static int fintek_8250_rs485_config(struct uart_port *port, struct ktermios *termios, in fintek_8250_rs485_config() 280 struct ktermios *termios, in fintek_8250_set_termios() 281 const struct ktermios *old) in fintek_8250_set_termios()
|
/Linux-v6.1/arch/alpha/kernel/ |
D | termios.c | 4 int user_termio_to_kernel_termios(struct ktermios *termios, in user_termio_to_kernel_termios() 33 struct ktermios *termios) in kernel_termios_to_user_termio()
|
/Linux-v6.1/drivers/usb/serial/ |
D | xr_serial.c | 108 const struct ktermios *old_termios); 138 const struct ktermios *old_termios); 627 const struct ktermios *old_termios) in xr_set_flow_mode() 679 const struct ktermios *old_termios) in xr21v141x_set_line_settings() 681 struct ktermios *termios = &tty->termios; in xr21v141x_set_line_settings() 738 const struct ktermios *old_termios) in xr_cdc_set_line_coding() 816 const struct ktermios *old_termios) in xr_set_termios()
|
D | console.c | 68 struct ktermios dummy; in usb_console_setup() 165 memset(&dummy, 0, sizeof(struct ktermios)); in usb_console_setup()
|
D | belkin_sa.c | 48 const struct ktermios *old_termios); 278 const struct ktermios *old_termios) in belkin_sa_set_termios() 291 struct ktermios *termios = &tty->termios; in belkin_sa_set_termios()
|
D | empeg.c | 80 struct ktermios *termios = &tty->termios; in empeg_init_termios()
|
/Linux-v6.1/drivers/tty/serial/ |
D | mpc52xx_uart.c | 103 struct ktermios *new, 104 const struct ktermios *old); 289 struct ktermios *new, in mpc5200_psc_set_baudrate() 290 const struct ktermios *old) in mpc5200_psc_set_baudrate() 307 struct ktermios *new, in mpc5200b_psc_set_baudrate() 308 const struct ktermios *old) in mpc5200b_psc_set_baudrate() 535 struct ktermios *new, in mpc512x_psc_set_baudrate() 536 const struct ktermios *old) in mpc512x_psc_set_baudrate() 882 struct ktermios *new, in mpc5125_psc_set_baudrate() 883 const struct ktermios *old) in mpc5125_psc_set_baudrate() [all …]
|
D | tegra-tcu.c | 128 struct ktermios *new, in tegra_tcu_uart_set_termios() 129 const struct ktermios *old) in tegra_tcu_uart_set_termios()
|
D | clps711x.c | 221 struct ktermios *termios) in uart_clps711x_set_ldisc() 253 struct ktermios *termios, in uart_clps711x_set_termios() 254 const struct ktermios *old) in uart_clps711x_set_termios()
|
/Linux-v6.1/drivers/tty/serial/jsm/ |
D | jsm_tty.c | 153 struct ktermios *termios; in jsm_tty_send_xchar() 194 struct ktermios *termios; in jsm_tty_open() 303 struct ktermios *termios, in jsm_tty_set_termios() 304 const struct ktermios *old_termios) in jsm_tty_set_termios()
|
/Linux-v6.1/arch/powerpc/include/uapi/asm/ |
D | termbits.h | 36 struct ktermios { struct
|
/Linux-v6.1/drivers/accessibility/speakup/ |
D | spk_ttyio.c | 137 struct ktermios *out_termios) in get_termios() 148 struct ktermios tmp_termios; in spk_ttyio_initialise_ldisc()
|
/Linux-v6.1/include/uapi/asm-generic/ |
D | termbits.h | 30 struct ktermios { struct
|