| /OK3568_Linux_fs/kernel/drivers/tty/serdev/ |
| H A D | serdev-ttyport.c | 115 struct ktermios ktermios; in ttyport_open() local 135 ktermios = tty->termios; in ttyport_open() 136 ktermios.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | in ttyport_open() 138 ktermios.c_oflag &= ~OPOST; in ttyport_open() 139 ktermios.c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN); in ttyport_open() 140 ktermios.c_cflag &= ~(CSIZE | PARENB); in ttyport_open() 141 ktermios.c_cflag |= CS8; in ttyport_open() 142 ktermios.c_cflag |= CRTSCTS; in ttyport_open() 144 ktermios.c_cflag |= CLOCAL; in ttyport_open() 145 tty_set_termios(tty, &ktermios); in ttyport_open() [all …]
|
| /OK3568_Linux_fs/kernel/include/asm-generic/ |
| H A 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()
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | serial_8250.h | 34 struct ktermios *new, 35 struct ktermios *old); 37 struct ktermios *); 161 struct ktermios *termios, struct ktermios *old); 163 struct ktermios *termios);
|
| H A D | serial_core.h | 54 void (*set_termios)(struct uart_port *, struct ktermios *new, 55 struct ktermios *old); 56 void (*set_ldisc)(struct uart_port *, struct ktermios *); 117 struct ktermios *new, 118 struct ktermios *old); 120 struct ktermios *); 356 unsigned int uart_get_baud_rate(struct uart_port *port, struct ktermios *termios, 357 struct ktermios *old, unsigned int min,
|
| H A D | tty.h | 310 struct ktermios termios, termios_locked; 465 extern struct ktermios tty_std_termios; 533 extern speed_t tty_termios_baud_rate(struct ktermios *termios); 534 extern speed_t tty_termios_input_baud_rate(struct ktermios *termios); 535 extern void tty_termios_encode_baud_rate(struct ktermios *termios, 555 extern void tty_termios_copy_hw(struct ktermios *new, struct ktermios *old); 556 extern int tty_termios_hw_change(const struct ktermios *a, const struct ktermios *b); 557 extern int tty_set_termios(struct tty_struct *tty, struct ktermios *kt);
|
| H A D | tty_driver.h | 266 void (*set_termios)(struct tty_struct *tty, struct ktermios * old); 314 struct ktermios init_termios; /* Initial termios */ 324 struct ktermios **termios;
|
| /OK3568_Linux_fs/kernel/drivers/tty/ |
| H A 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 …]
|
| H A D | tty_baudrate.c | 57 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()
|
| /OK3568_Linux_fs/kernel/drivers/bluetooth/ |
| H A D | hci_ldisc.c | 316 struct ktermios ktermios; in hci_uart_set_flow_control() local 329 ktermios = tty->termios; in hci_uart_set_flow_control() 330 ktermios.c_cflag &= ~CRTSCTS; in hci_uart_set_flow_control() 331 status = tty_set_termios(tty, &ktermios); in hci_uart_set_flow_control() 363 ktermios = tty->termios; in hci_uart_set_flow_control() 364 ktermios.c_cflag |= CRTSCTS; in hci_uart_set_flow_control() 365 status = tty_set_termios(tty, &ktermios); in hci_uart_set_flow_control() 381 struct ktermios ktermios; in hci_uart_set_baudrate() local 383 ktermios = tty->termios; in hci_uart_set_baudrate() 384 ktermios.c_cflag &= ~CBAUD; in hci_uart_set_baudrate() [all …]
|
| /OK3568_Linux_fs/kernel/arch/alpha/include/asm/ |
| H A D | termios.h | 21 struct ktermios *k_termios = (a_termios); \ 53 struct ktermios *k_termios = (a_termios); \
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/ |
| H A D | mpc52xx_uart.c | 101 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 …]
|
| H A D | tegra-tcu.c | 128 struct ktermios *new, in tegra_tcu_uart_set_termios() 129 struct ktermios *old) in tegra_tcu_uart_set_termios()
|
| H A D | clps711x.c | 221 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()
|
| H A D | mux.c | 291 mux_set_termios(struct uart_port *port, struct ktermios *termios, in mux_set_termios() 292 struct ktermios *old) in mux_set_termios()
|
| H A D | serial_core.c | 51 struct ktermios *old_termios); 386 uart_get_baud_rate(struct uart_port *port, struct ktermios *termios, in uart_get_baud_rate() 387 struct ktermios *old, unsigned int min, unsigned int max) in uart_get_baud_rate() 495 struct ktermios *old_termios) in uart_change_speed() 498 struct ktermios *termios; in uart_change_speed() 1524 struct ktermios *old_termios) in uart_set_termios() 2125 struct ktermios termios; in uart_set_options() 2126 static struct ktermios dummy; in uart_set_options() 2138 memset(&termios, 0, sizeof(struct ktermios)); in uart_set_options() 2282 struct ktermios termios; in uart_resume_port() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/serial/ |
| H A D | console.c | 68 struct ktermios dummy; in usb_console_setup() 165 memset(&dummy, 0, sizeof(struct ktermios)); in usb_console_setup()
|
| H A 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()
|
| H A D | empeg.c | 80 struct ktermios *termios = &tty->termios; in empeg_init_termios()
|
| H A D | ir-usb.c | 54 struct usb_serial_port *port, struct ktermios *old_termios); 379 struct usb_serial_port *port, struct ktermios *old_termios) in ir_set_termios()
|
| H A D | mct_u232.c | 48 struct usb_serial_port *port, struct ktermios *old); 598 struct ktermios *old_termios) in mct_u232_set_termios() 602 struct ktermios *termios = &tty->termios; in mct_u232_set_termios()
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/jsm/ |
| H A 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 struct ktermios *old_termios) in jsm_tty_set_termios()
|
| /OK3568_Linux_fs/kernel/drivers/accessibility/speakup/ |
| H A D | spk_ttyio.c | 137 struct ktermios *out_termios) in get_termios() 148 struct ktermios tmp_termios; in spk_ttyio_initialise_ldisc()
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/8250/ |
| H A D | 8250_fintek.c | 294 struct ktermios *termios, in fintek_8250_set_termios() 295 struct ktermios *old) in fintek_8250_set_termios()
|