Home
last modified time | relevance | path

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

1234567

/linux-6.3-rc2/drivers/tty/serdev/
A Dserdev-ttyport.c109 struct ktermios ktermios; in ttyport_open() local
129 ktermios = tty->termios; in ttyport_open()
132 ktermios.c_oflag &= ~OPOST; 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()
173 struct ktermios ktermios = tty->termios; in ttyport_set_baudrate() local
175 ktermios.c_cflag &= ~CBAUD; in ttyport_set_baudrate()
180 return ktermios.c_ospeed; in ttyport_set_baudrate()
187 struct ktermios ktermios = tty->termios; in ttyport_set_flow_control() local
[all …]
/linux-6.3-rc2/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.h34 struct ktermios *new,
35 const struct ktermios *old);
37 struct ktermios *);
161 struct ktermios *termios, const struct ktermios *old);
163 struct ktermios *termios);
A Dtty.h208 struct ktermios termios, termios_locked;
386 extern struct ktermios tty_std_termios;
431 speed_t tty_termios_baud_rate(const struct ktermios *termios);
432 void tty_termios_encode_baud_rate(struct ktermios *termios, speed_t ibaud,
455 void tty_termios_copy_hw(struct ktermios *new, const struct ktermios *old);
456 bool tty_termios_hw_change(const struct ktermios *a, const struct ktermios *b);
457 int tty_set_termios(struct tty_struct *tty, struct ktermios *kt);
A Dserial_core.h389 void (*set_termios)(struct uart_port *, struct ktermios *new,
390 const struct ktermios *old);
391 void (*set_ldisc)(struct uart_port *, struct ktermios *);
435 struct ktermios *new,
436 const struct ktermios *old);
438 struct ktermios *);
457 struct ktermios *termios,
753 unsigned int uart_get_baud_rate(struct uart_port *port, struct ktermios *termios,
754 const struct ktermios *old, unsigned int min,
A Dtty_driver.h369 void (*set_termios)(struct tty_struct *tty, const struct ktermios *old);
446 struct ktermios init_termios;
456 struct ktermios **termios;
/linux-6.3-rc2/drivers/tty/
A Dtty_ioctl.c253 void tty_termios_copy_hw(struct ktermios *new, const struct ktermios *old) in tty_termios_copy_hw()
273 bool tty_termios_hw_change(const struct ktermios *a, const struct ktermios *b) in tty_termios_hw_change()
343 struct ktermios old_termios; in tty_set_termios()
423 struct ktermios *k) in kernel_termios_to_user_termios()
433 struct ktermios *k) in kernel_termios_to_user_termios_1()
446 struct ktermios *k) in kernel_termios_to_user_termios()
467 struct ktermios tmp_termios; in set_termios()
542 struct ktermios kterm; in get_termio()
629 struct ktermios termios; in set_sgttyb()
738 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-6.3-rc2/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 status = 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 status = 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-6.3-rc2/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-6.3-rc2/drivers/tty/serial/8250/
A D8250_dwlib.h50 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-6.3-rc2/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-6.3-rc2/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.c128 struct ktermios *new, in tegra_tcu_uart_set_termios()
129 const struct ktermios *old) in tegra_tcu_uart_set_termios()
A Dclps711x.c220 struct ktermios *termios) in uart_clps711x_set_ldisc()
252 struct ktermios *termios, in uart_clps711x_set_termios()
253 const struct ktermios *old) in uart_clps711x_set_termios()
/linux-6.3-rc2/drivers/usb/serial/
A Dxr_serial.c108 const struct ktermios *old_termios);
138 const struct ktermios *old_termios);
627 const struct ktermios *old_termios) in xr_set_flow_mode()
679 const struct ktermios *old_termios) in xr21v141x_set_line_settings()
681 struct ktermios *termios = &tty->termios; in xr21v141x_set_line_settings()
738 const struct ktermios *old_termios) in xr_cdc_set_line_coding()
814 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);
278 const struct ktermios *old_termios) in belkin_sa_set_termios()
291 struct ktermios *termios = &tty->termios; in belkin_sa_set_termios()
A Dempeg.c80 struct ktermios *termios = &tty->termios; in empeg_init_termios()
/linux-6.3-rc2/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-6.3-rc2/arch/powerpc/include/uapi/asm/
A Dtermbits.h36 struct ktermios { struct
/linux-6.3-rc2/drivers/accessibility/speakup/
A Dspk_ttyio.c137 struct ktermios *out_termios) in get_termios()
148 struct ktermios tmp_termios; in spk_ttyio_initialise_ldisc()
/linux-6.3-rc2/include/uapi/asm-generic/
A Dtermbits.h30 struct ktermios { struct

Completed in 35 milliseconds

1234567