| /drivers/tty/serdev/ |
| A D | serdev-ttyport.c | 99 struct ktermios ktermios; in ttyport_open() local 119 ktermios = tty->termios; in ttyport_open() 122 ktermios.c_oflag &= ~OPOST; in ttyport_open() 125 ktermios.c_cflag |= CS8; in ttyport_open() 126 ktermios.c_cflag |= CRTSCTS; in ttyport_open() 128 ktermios.c_cflag |= CLOCAL; in ttyport_open() 163 struct ktermios ktermios = tty->termios; in ttyport_set_baudrate() local 165 ktermios.c_cflag &= ~CBAUD; in ttyport_set_baudrate() 170 return ktermios.c_ospeed; in ttyport_set_baudrate() 177 struct ktermios ktermios = tty->termios; in ttyport_set_flow_control() local [all …]
|
| /drivers/tty/ |
| A D | tty_ioctl.c | 231 void tty_termios_copy_hw(struct ktermios *new, const struct ktermios *old) in tty_termios_copy_hw() 252 bool tty_termios_hw_change(const struct ktermios *a, const struct ktermios *b) in tty_termios_hw_change() 321 struct ktermios old_termios; in tty_set_termios() 401 struct ktermios *k) in kernel_termios_to_user_termios() 411 struct ktermios *k) in kernel_termios_to_user_termios_1() 424 struct ktermios *k) in kernel_termios_to_user_termios() 446 struct ktermios tmp_termios; in set_termios() 542 struct ktermios kterm; in get_termio() 629 struct ktermios termios; in set_sgttyb() 740 struct ktermios old; in tty_change_softcar() [all …]
|
| A 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()
|
| /drivers/bluetooth/ |
| A D | hci_ldisc.c | 314 struct ktermios ktermios; in hci_uart_set_flow_control() local 327 ktermios = tty->termios; in hci_uart_set_flow_control() 328 ktermios.c_cflag &= ~CRTSCTS; in hci_uart_set_flow_control() 329 tty_set_termios(tty, &ktermios); in hci_uart_set_flow_control() 361 ktermios = tty->termios; in hci_uart_set_flow_control() 362 ktermios.c_cflag |= CRTSCTS; in hci_uart_set_flow_control() 363 tty_set_termios(tty, &ktermios); in hci_uart_set_flow_control() 379 struct ktermios ktermios; in hci_uart_set_baudrate() local 381 ktermios = tty->termios; in hci_uart_set_baudrate() 382 ktermios.c_cflag &= ~CBAUD; in hci_uart_set_baudrate() [all …]
|
| /drivers/tty/serial/8250/ |
| A D | 8250_dwlib.h | 24 void dw8250_do_set_termios(struct uart_port *p, struct ktermios *termios, const struct ktermios *ol…
|
| A 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()
|
| A D | 8250_port.c | 617 int serial8250_em485_config(struct uart_port *port, struct ktermios *termios, in serial8250_em485_config() 2576 struct ktermios *termios, in serial8250_get_baud_rate() 2577 const struct ktermios *old) in serial8250_get_baud_rate() 2681 static void serial8250_set_afe(struct uart_port *port, struct ktermios *termios) in serial8250_set_afe() 2790 serial8250_do_set_termios(struct uart_port *port, struct ktermios *termios, in serial8250_do_set_termios() 2791 const struct ktermios *old) in serial8250_do_set_termios() 2833 serial8250_set_termios(struct uart_port *port, struct ktermios *termios, in serial8250_set_termios() 2834 const struct ktermios *old) in serial8250_set_termios() 2842 void serial8250_do_set_ldisc(struct uart_port *port, struct ktermios *termios) in serial8250_do_set_ldisc() 2861 serial8250_set_ldisc(struct uart_port *port, struct ktermios *termios) in serial8250_set_ldisc() [all …]
|
| A D | 8250_fintek.c | 197 static int fintek_8250_rs485_config(struct uart_port *port, struct ktermios *termios, in fintek_8250_rs485_config() 285 struct ktermios *termios, in fintek_8250_set_termios() 286 const struct ktermios *old) in fintek_8250_set_termios()
|
| /drivers/tty/serial/ |
| A 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 …]
|
| A D | tegra-tcu.c | 129 struct ktermios *new, in tegra_tcu_uart_set_termios() 130 const struct ktermios *old) in tegra_tcu_uart_set_termios()
|
| A 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()
|
| A D | mcf.c | 194 static void mcf_set_termios(struct uart_port *port, struct ktermios *termios, in mcf_set_termios() 195 const struct ktermios *old) in mcf_set_termios() 416 static int mcf_config_rs485(struct uart_port *port, struct ktermios *termios, in mcf_config_rs485()
|
| A D | mux.c | 272 mux_set_termios(struct uart_port *port, struct ktermios *termios, in mux_set_termios() 273 const struct ktermios *old) in mux_set_termios()
|
| A D | sunplus-uart.c | 335 struct ktermios *termios, in sunplus_set_termios() 336 const struct ktermios *oldtermios) in sunplus_set_termios() 415 static void sunplus_set_ldisc(struct uart_port *port, struct ktermios *termios) in sunplus_set_ldisc()
|
| A D | 21285.c | 224 serial21285_set_termios(struct uart_port *port, struct ktermios *termios, in serial21285_set_termios() 225 const struct ktermios *old) in serial21285_set_termios()
|
| A D | altera_jtaguart.c | 101 struct ktermios *termios, in altera_jtaguart_set_termios() 102 const struct ktermios *old) in altera_jtaguart_set_termios()
|
| /drivers/usb/serial/ |
| A D | xr_serial.c | 109 const struct ktermios *old_termios); 139 const struct ktermios *old_termios); 629 const struct ktermios *old_termios) in xr_set_flow_mode() 692 const struct ktermios *old_termios) in xr21v141x_set_line_settings() 694 struct ktermios *termios = &tty->termios; in xr21v141x_set_line_settings() 751 const struct ktermios *old_termios) in xr_cdc_set_line_coding() 900 const struct ktermios *old_termios) in xr_set_termios()
|
| A D | console.c | 68 struct ktermios dummy; in usb_console_setup() 165 memset(&dummy, 0, sizeof(struct ktermios)); in usb_console_setup()
|
| A D | belkin_sa.c | 48 const struct ktermios *old_termios); 277 const struct ktermios *old_termios) in belkin_sa_set_termios() 290 struct ktermios *termios = &tty->termios; in belkin_sa_set_termios()
|
| A D | empeg.c | 79 struct ktermios *termios = &tty->termios; in empeg_init_termios()
|
| A D | ir-usb.c | 55 const struct ktermios *old_termios); 380 const struct ktermios *old_termios) in ir_set_termios()
|
| A D | cp210x.c | 34 const struct ktermios *); 36 const struct ktermios *); 1053 const struct ktermios *old_termios) in cp210x_change_speed() 1124 static bool cp210x_termios_change(const struct ktermios *a, const struct ktermios *b) in cp210x_termios_change() 1137 const struct ktermios *old_termios) in cp210x_set_flow_control() 1257 const struct ktermios *old_termios) in cp210x_set_termios()
|
| A D | mct_u232.c | 49 const struct ktermios *old_termios); 596 const struct ktermios *old_termios) in mct_u232_set_termios() 600 struct ktermios *termios = &tty->termios; in mct_u232_set_termios()
|
| /drivers/tty/serial/jsm/ |
| 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 const struct ktermios *old_termios) in jsm_tty_set_termios()
|
| /drivers/accessibility/speakup/ |
| A D | spk_ttyio.c | 136 struct ktermios *out_termios) in get_termios() 147 struct ktermios tmp_termios; in spk_ttyio_initialise_ldisc()
|