Home
last modified time | relevance | path

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

1234

/linux/include/linux/
H 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 *);
H A Dtty.h205 struct ktermios termios, termios_locked;
382 extern struct ktermios tty_std_termios;
428 speed_t tty_termios_baud_rate(const struct ktermios *termios);
429 void tty_termios_encode_baud_rate(struct ktermios *termios, speed_t ibaud,
450 void tty_termios_copy_hw(struct ktermios *new, const struct ktermios *old);
451 bool tty_termios_hw_change(const struct ktermios *a, const struct ktermios *b);
452 int tty_set_termios(struct tty_struct *tty, struct ktermios *kt);
H A Dtty_driver.h471 void (*set_termios)(struct tty_struct *tty, const struct ktermios *old);
550 struct ktermios init_termios;
561 struct ktermios **termios;
/linux/drivers/tty/
H A Dtty_ioctl.c202 static void unset_locked_termios(struct tty_struct *tty, const struct ktermios *old) in unset_locked_termios()
204 struct ktermios *termios = &tty->termios; in unset_locked_termios()
205 struct ktermios *locked = &tty->termios_locked; in unset_locked_termios()
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()
319 int tty_set_termios(struct tty_struct *tty, struct ktermios *new_termios) in tty_set_termios()
321 struct ktermios old_termios; in tty_set_termios()
360 __weak int user_termio_to_kernel_termios(struct ktermios *termios, in user_termio_to_kernel_termios()
381 struct ktermios *termios) in kernel_termios_to_user_termio()
395 __weak int user_termios_to_kernel_termios(struct ktermios *k, in user_termios_to_kernel_termios()
[all …]
H 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/
H A Dhci_ldisc.c338 struct ktermios ktermios; in hci_uart_set_flow_control() local
351 ktermios = tty->termios; in hci_uart_set_flow_control()
352 ktermios.c_cflag &= ~CRTSCTS; in hci_uart_set_flow_control()
353 tty_set_termios(tty, &ktermios); in hci_uart_set_flow_control()
385 ktermios = tty->termios; in hci_uart_set_flow_control()
386 ktermios.c_cflag |= CRTSCTS; in hci_uart_set_flow_control()
387 tty_set_termios(tty, &ktermios); in hci_uart_set_flow_control()
403 struct ktermios ktermios; in hci_uart_set_baudrate() local
405 ktermios = tty->termios; in hci_uart_set_baudrate()
406 ktermios.c_cflag &= ~CBAUD; in hci_uart_set_baudrate()
[all …]
/linux/arch/sparc/kernel/
H 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/arch/alpha/kernel/
H 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/
H 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()
890 struct ktermios *new, in mpc5125_psc_set_baudrate()
891 const struct ktermios *old) in mpc5125_psc_set_baudrate()
[all …]
H A Dtegra-tcu.c129 struct ktermios *new, in tegra_tcu_uart_set_termios()
130 const struct ktermios *old) in tegra_tcu_uart_set_termios()
H 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()
H A Dmcf.c194 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()
H A Dmux.c272 mux_set_termios(struct uart_port *port, struct ktermios *termios, in mux_set_termios()
273 const struct ktermios *old) in mux_set_termios()
H A D21285.c224 serial21285_set_termios(struct uart_port *port, struct ktermios *termios, in serial21285_set_termios()
225 const struct ktermios *old) in serial21285_set_termios()
H A Daltera_jtaguart.c101 struct ktermios *termios, in altera_jtaguart_set_termios()
102 const struct ktermios *old) in altera_jtaguart_set_termios()
/linux/drivers/usb/serial/
H A Dxr_serial.c110 const struct ktermios *old_termios);
140 const struct ktermios *old_termios);
630 const struct ktermios *old_termios) in xr_set_flow_mode()
693 const struct ktermios *old_termios) in xr21v141x_set_line_settings()
695 struct ktermios *termios = &tty->termios; in xr21v141x_set_line_settings()
752 const struct ktermios *old_termios) in xr_cdc_set_line_coding()
897 const struct ktermios *old_termios) in xr_set_termios()
H A Dconsole.c68 struct ktermios dummy; in usb_console_setup()
165 memset(&dummy, 0, sizeof(struct ktermios)); in usb_console_setup()
/linux/drivers/tty/serial/8250/
H A D8250_port.c640 int serial8250_em485_config(struct uart_port *port, struct ktermios *termios,
2628 struct ktermios *termios, in serial8250_get_baud_rate()
2629 const struct ktermios *old) in serial8250_get_baud_rate()
2689 static void serial8250_set_mini(struct uart_port *port, struct ktermios *termios) in serial8250_set_trigger_for_slow_speed()
2705 static void serial8250_set_trigger_for_slow_speed(struct uart_port *port, struct ktermios *termios, in serial8250_set_afe()
2727 static void serial8250_set_afe(struct uart_port *port, struct ktermios *termios) in serial8250_set_errors_and_ignores()
2739 static void serial8250_set_errors_and_ignores(struct uart_port *port, struct ktermios *termios) in serial8250_set_errors_and_ignores()
2771 static void serial8250_set_ier(struct uart_port *port, struct ktermios *termios) in serial8250_set_efr()
2787 static void serial8250_set_efr(struct uart_port *port, struct ktermios *termios) in serial8250_set_fcr()
2811 static void serial8250_set_fcr(struct uart_port *port, struct ktermios *termio
[all...]
/linux/drivers/tty/serial/jsm/
H 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/drivers/accessibility/speakup/
H A Dspk_ttyio.c136 struct ktermios *out_termios) in get_termios()
147 struct ktermios tmp_termios; in spk_ttyio_initialise_ldisc()
/linux/arch/powerpc/include/uapi/asm/
H A Dtermbits.h36 struct ktermios { struct
/linux/arch/parisc/include/uapi/asm/
H A Dtermbits.h30 struct ktermios { struct
/linux/include/uapi/asm-generic/
H A Dtermbits.h30 struct ktermios { struct
/linux/arch/alpha/include/uapi/asm/
H A Dtermbits.h42 struct ktermios { struct
/linux/arch/mips/include/uapi/asm/
H A Dtermbits.h43 struct ktermios { struct

1234