Home
last modified time | relevance | path

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

1234567

/linux/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/include/asm-generic/
A Dtermios.h20 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()
A Dtermios-base.h15 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()
/linux/arch/mips/include/asm/
A Dtermios.h29 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()
/linux/include/linux/
A Dserial_8250.h34 struct ktermios *new,
35 struct ktermios *old);
37 struct ktermios *);
161 struct ktermios *termios, struct ktermios *old);
163 struct ktermios *termios);
A Dtty.h161 struct ktermios termios, termios_locked;
297 extern struct ktermios tty_std_termios;
342 speed_t tty_termios_baud_rate(struct ktermios *termios);
343 void tty_termios_encode_baud_rate(struct ktermios *termios, speed_t ibaud,
366 void tty_termios_copy_hw(struct ktermios *new, struct ktermios *old);
367 int tty_termios_hw_change(const struct ktermios *a, const struct ktermios *b);
368 int tty_set_termios(struct tty_struct *tty, struct ktermios *kt);
A Dserial_core.h53 void (*set_termios)(struct uart_port *, struct ktermios *new,
54 struct ktermios *old);
55 void (*set_ldisc)(struct uart_port *, struct ktermios *);
113 struct ktermios *new,
114 struct ktermios *old);
116 struct ktermios *);
330 unsigned int uart_get_baud_rate(struct uart_port *port, struct ktermios *termios,
331 struct ktermios *old, unsigned int min,
A Dtty_driver.h266 void (*set_termios)(struct tty_struct *tty, struct ktermios * old);
307 struct ktermios init_termios; /* Initial termios */
317 struct ktermios **termios;
/linux/drivers/tty/
A Dtty_ioctl.c224 struct ktermios *termios = &tty->termios; in unset_locked_termios()
225 struct ktermios *locked = &tty->termios_locked; in unset_locked_termios()
252 void tty_termios_copy_hw(struct ktermios *new, struct ktermios *old) in tty_termios_copy_hw()
272 int tty_termios_hw_change(const struct ktermios *a, const struct ktermios *b) in tty_termios_hw_change()
340 struct ktermios old_termios; in tty_set_termios()
388 struct ktermios tmp_termios; in set_termios()
463 struct ktermios kterm; in get_termio()
509 static void set_sgflags(struct ktermios *termios, int flags) in set_sgflags()
550 struct ktermios termios; in set_sgttyb()
661 struct ktermios old; in tty_change_softcar()
[all …]
A Dtty_baudrate.c58 speed_t tty_termios_baud_rate(struct ktermios *termios) in tty_termios_baud_rate()
93 speed_t tty_termios_input_baud_rate(struct ktermios *termios) in tty_termios_input_baud_rate()
142 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 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/drivers/tty/serial/8250/
A D8250_dwlib.h19 void dw8250_do_set_termios(struct uart_port *p, struct ktermios *termios, struct ktermios *old);
A D8250_dwlib.c80 void dw8250_do_set_termios(struct uart_port *p, struct ktermios *termios, struct ktermios *old) in dw8250_do_set_termios()
/linux/arch/alpha/include/asm/
A Dtermios.h21 struct ktermios *k_termios = (a_termios); \
53 struct ktermios *k_termios = (a_termios); \
/linux/drivers/usb/serial/
A Dxr_serial.c107 struct usb_serial_port *port, struct ktermios *old_termios);
137 struct ktermios *old_termios);
626 struct ktermios *old_termios) in xr_set_flow_mode()
677 struct usb_serial_port *port, struct ktermios *old_termios) in xr21v141x_set_line_settings()
679 struct ktermios *termios = &tty->termios; in xr21v141x_set_line_settings()
735 struct usb_serial_port *port, struct ktermios *old_termios) in xr_cdc_set_line_coding()
812 struct usb_serial_port *port, 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.c47 struct usb_serial_port *port, struct ktermios * old);
276 struct usb_serial_port *port, struct ktermios *old_termios) in belkin_sa_set_termios()
289 struct ktermios *termios = &tty->termios; in belkin_sa_set_termios()
A Dempeg.c80 struct ktermios *termios = &tty->termios; in empeg_init_termios()
A Dcp210x.c34 struct ktermios *);
36 struct ktermios*);
1038 struct usb_serial_port *port, struct ktermios *old_termios) in cp210x_change_speed()
1108 static bool cp210x_termios_change(const struct ktermios *a, const struct ktermios *b) in cp210x_termios_change()
1120 struct usb_serial_port *port, struct ktermios *old_termios) in cp210x_set_flow_control()
1230 struct usb_serial_port *port, struct ktermios *old_termios) in cp210x_set_termios()
A Dir-usb.c54 struct usb_serial_port *port, struct ktermios *old_termios);
379 struct usb_serial_port *port, struct ktermios *old_termios) in ir_set_termios()
/linux/drivers/tty/serial/
A Dmpc52xx_uart.c101 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 …]
A Dtegra-tcu.c128 struct ktermios *new, in tegra_tcu_uart_set_termios()
129 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 struct ktermios *old) in uart_clps711x_set_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 struct ktermios *old_termios) in jsm_tty_set_termios()
/linux/drivers/accessibility/speakup/
A Dspk_ttyio.c137 struct ktermios *out_termios) in get_termios()
148 struct ktermios tmp_termios; in spk_ttyio_initialise_ldisc()

Completed in 49 milliseconds

1234567