/Linux-v4.19/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-v4.19/include/asm-generic/ |
D | termios.h | 20 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()
|
D | termios-base.h | 15 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-v4.19/arch/mips/include/asm/ |
D | termios.h | 29 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-v4.19/include/linux/ |
D | serial_8250.h | 37 struct ktermios *new, 38 struct ktermios *old); 40 struct ktermios *); 154 struct ktermios *termios, struct ktermios *old); 156 struct ktermios *termios);
|
D | serial_core.h | 64 void (*set_termios)(struct uart_port *, struct ktermios *new, 65 struct ktermios *old); 66 void (*set_ldisc)(struct uart_port *, struct ktermios *); 124 struct ktermios *new, 125 struct ktermios *old); 127 struct ktermios *); 335 unsigned int uart_get_baud_rate(struct uart_port *port, struct ktermios *termios, 336 struct ktermios *old, unsigned int min,
|
D | tty_driver.h | 272 void (*set_termios)(struct tty_struct *tty, struct ktermios * old); 312 struct ktermios init_termios; /* Initial termios */ 322 struct ktermios **termios;
|
D | tty.h | 303 struct ktermios termios, termios_locked; 440 extern struct ktermios tty_std_termios; 508 extern speed_t tty_termios_baud_rate(struct ktermios *termios); 509 extern speed_t tty_termios_input_baud_rate(struct ktermios *termios); 510 extern void tty_termios_encode_baud_rate(struct ktermios *termios, 530 extern void tty_termios_copy_hw(struct ktermios *new, struct ktermios *old); 531 extern int tty_termios_hw_change(const struct ktermios *a, const struct ktermios *b); 532 extern int tty_set_termios(struct tty_struct *tty, struct ktermios *kt);
|
D | isdn.h | 367 struct ktermios *modem_termios[ISDN_MAX_CHANNELS]; 368 struct ktermios *modem_termios_locked[ISDN_MAX_CHANNELS];
|
D | tty_ldisc.h | 189 void (*set_termios)(struct tty_struct *tty, struct ktermios *old);
|
/Linux-v4.19/drivers/bluetooth/ |
D | hci_ldisc.c | 306 struct ktermios ktermios; in hci_uart_set_flow_control() local 319 ktermios = tty->termios; in hci_uart_set_flow_control() 320 ktermios.c_cflag &= ~CRTSCTS; in hci_uart_set_flow_control() 321 status = tty_set_termios(tty, &ktermios); in hci_uart_set_flow_control() 353 ktermios = tty->termios; in hci_uart_set_flow_control() 354 ktermios.c_cflag |= CRTSCTS; in hci_uart_set_flow_control() 355 status = tty_set_termios(tty, &ktermios); in hci_uart_set_flow_control() 371 struct ktermios ktermios; in hci_uart_set_baudrate() local 373 ktermios = tty->termios; in hci_uart_set_baudrate() 374 ktermios.c_cflag &= ~CBAUD; in hci_uart_set_baudrate() [all …]
|
/Linux-v4.19/drivers/tty/ |
D | tty_ioctl.c | 243 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 …]
|
D | tty_baudrate.c | 61 speed_t tty_termios_baud_rate(struct ktermios *termios) in tty_termios_baud_rate() 96 speed_t tty_termios_input_baud_rate(struct ktermios *termios) in tty_termios_input_baud_rate() 145 void tty_termios_encode_baud_rate(struct ktermios *termios, in tty_termios_encode_baud_rate()
|
/Linux-v4.19/arch/alpha/include/asm/ |
D | termios.h | 21 struct ktermios *k_termios = (a_termios); \ 53 struct ktermios *k_termios = (a_termios); \
|
/Linux-v4.19/drivers/tty/serial/ |
D | mpc52xx_uart.c | 105 struct ktermios *new, 106 struct ktermios *old); 291 struct ktermios *new, in mpc5200_psc_set_baudrate() 292 struct ktermios *old) in mpc5200_psc_set_baudrate() 309 struct ktermios *new, in mpc5200b_psc_set_baudrate() 310 struct ktermios *old) in mpc5200b_psc_set_baudrate() 537 struct ktermios *new, in mpc512x_psc_set_baudrate() 538 struct ktermios *old) in mpc512x_psc_set_baudrate() 887 struct ktermios *new, in mpc5125_psc_set_baudrate() 888 struct ktermios *old) in mpc5125_psc_set_baudrate() [all …]
|
D | mux.c | 295 mux_set_termios(struct uart_port *port, struct ktermios *termios, in mux_set_termios() 296 struct ktermios *old) in mux_set_termios()
|
/Linux-v4.19/drivers/usb/serial/ |
D | console.c | 68 struct ktermios dummy; in usb_console_setup() 163 memset(&dummy, 0, sizeof(struct ktermios)); in usb_console_setup()
|
D | belkin_sa.c | 47 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()
|
D | empeg.c | 80 struct ktermios *termios = &tty->termios; in empeg_init_termios()
|
D | ir-usb.c | 53 struct usb_serial_port *port, struct ktermios *old_termios); 317 struct usb_serial_port *port, struct ktermios *old_termios) in ir_set_termios()
|
/Linux-v4.19/drivers/tty/serial/8250/ |
D | 8250_mtk.c | 32 mtk8250_set_termios(struct uart_port *port, struct ktermios *termios, in mtk8250_set_termios() 33 struct ktermios *old) in mtk8250_set_termios()
|
D | 8250_lpss.c | 61 static void byt_set_termios(struct uart_port *p, struct ktermios *termios, in byt_set_termios() 62 struct ktermios *old) in byt_set_termios()
|
/Linux-v4.19/drivers/staging/speakup/ |
D | spk_ttyio.c | 131 static inline void get_termios(struct tty_struct *tty, struct ktermios *out_termios) in get_termios() 142 struct ktermios tmp_termios; in spk_ttyio_initialise_ldisc()
|
/Linux-v4.19/drivers/tty/serial/jsm/ |
D | jsm_tty.c | 153 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-v4.19/arch/um/drivers/ |
D | line.h | 70 extern void line_set_termios(struct tty_struct *tty, struct ktermios * old);
|