Home
last modified time | relevance | path

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

1234567

/linux/drivers/tty/serdev/
A Dserdev-ttyport.c107 struct ktermios ktermios; in ttyport_open() local
127 ktermios = tty->termios; in ttyport_open()
130 ktermios.c_oflag &= ~OPOST; in ttyport_open()
133 ktermios.c_cflag |= CS8; in ttyport_open()
134 ktermios.c_cflag |= CRTSCTS; in ttyport_open()
136 ktermios.c_cflag |= CLOCAL; in ttyport_open()
171 struct ktermios ktermios = tty->termios; in ttyport_set_baudrate() local
173 ktermios.c_cflag &= ~CBAUD; in ttyport_set_baudrate()
178 return ktermios.c_ospeed; in ttyport_set_baudrate()
185 struct ktermios ktermios = tty->termios; in ttyport_set_flow_control() local
[all …]
/linux/include/linux/
A Dtermios_internal.h37 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 *);
A Dserial_8250.h54 struct ktermios *new,
55 const struct ktermios *old);
57 struct ktermios *);
186 void serial8250_do_set_termios(struct uart_port *port, struct ktermios *termios,
187 const struct ktermios *old);
188 void serial8250_do_set_ldisc(struct uart_port *port, struct ktermios *termios);
A Dtty.h204 struct ktermios termios, termios_locked;
379 extern struct ktermios tty_std_termios;
425 speed_t tty_termios_baud_rate(const struct ktermios *termios);
426 void tty_termios_encode_baud_rate(struct ktermios *termios, speed_t ibaud,
447 void tty_termios_copy_hw(struct ktermios *new, const struct ktermios *old);
448 bool tty_termios_hw_change(const struct ktermios *a, const struct ktermios *b);
449 int tty_set_termios(struct tty_struct *tty, struct ktermios *kt);
A Dserial_core.h391 void (*set_termios)(struct uart_port *, struct ktermios *new,
392 const struct ktermios *old);
393 void (*set_ldisc)(struct uart_port *, struct ktermios *);
437 struct ktermios *new,
438 const struct ktermios *old);
440 struct ktermios *);
459 struct ktermios *termios,
1014 unsigned int uart_get_baud_rate(struct uart_port *port, struct ktermios *termios,
1015 const struct ktermios *old, unsigned int min,
A Dtty_driver.h374 void (*set_termios)(struct tty_struct *tty, const struct ktermios *old);
452 struct ktermios init_termios;
462 struct ktermios **termios;
/linux/drivers/tty/
A Dtty_ioctl.c235 void tty_termios_copy_hw(struct ktermios *new, const struct ktermios *old) in tty_termios_copy_hw()
256 bool tty_termios_hw_change(const struct ktermios *a, const struct ktermios *b) in tty_termios_hw_change()
325 struct ktermios old_termios; in tty_set_termios()
405 struct ktermios *k) in kernel_termios_to_user_termios()
415 struct ktermios *k) in kernel_termios_to_user_termios_1()
428 struct ktermios *k) in kernel_termios_to_user_termios()
450 struct ktermios tmp_termios; in set_termios()
546 struct ktermios kterm; in get_termio()
633 struct ktermios termios; in set_sgttyb()
744 struct ktermios old; in tty_change_softcar()
[all …]
A Dtty_baudrate.c58 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/drivers/bluetooth/
A Dhci_ldisc.c311 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 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 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/arch/sparc/kernel/
A Dtermios.c16 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/drivers/tty/serial/8250/
A D8250_dwlib.h24 void dw8250_do_set_termios(struct uart_port *p, struct ktermios *termios, const struct ktermios *ol…
A D8250_dwlib.c95 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 D8250_fintek.c194 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/arch/alpha/kernel/
A Dtermios.c4 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/drivers/tty/serial/
A Dmpc52xx_uart.c103 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 Dtegra-tcu.c129 struct ktermios *new, in tegra_tcu_uart_set_termios()
130 const struct ktermios *old) in tegra_tcu_uart_set_termios()
A Dclps711x.c221 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/drivers/usb/serial/
A Dxr_serial.c109 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 Dconsole.c68 struct ktermios dummy; in usb_console_setup()
165 memset(&dummy, 0, sizeof(struct ktermios)); in usb_console_setup()
A Dbelkin_sa.c48 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 Dempeg.c79 struct ktermios *termios = &tty->termios; in empeg_init_termios()
/linux/drivers/tty/serial/jsm/
A Djsm_tty.c153 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/arch/powerpc/include/uapi/asm/
A Dtermbits.h36 struct ktermios { struct
/linux/drivers/accessibility/speakup/
A Dspk_ttyio.c136 struct ktermios *out_termios) in get_termios()
147 struct ktermios tmp_termios; in spk_ttyio_initialise_ldisc()
/linux/include/uapi/asm-generic/
A Dtermbits.h30 struct ktermios { struct

Completed in 53 milliseconds

1234567