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

1234567

/linux-master/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 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);
H A Dtty.h208 struct ktermios termios, termios_locked;
385 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,
453 void tty_termios_copy_hw(struct ktermios *new, const struct ktermios *old);
454 bool tty_termios_hw_change(const struct ktermios *a, const struct ktermios *b);
455 int tty_set_termios(struct tty_struct *tty, struct ktermios *kt);
H A Dserial_core.h217 * @set_termios: ``void ()(struct uart_port *port, struct ktermios *new,
218 * struct ktermios *old)``
223 * ktermios::c_cflag bits are:
235 * Relevant ktermios::c_iflag bits are:
245 * The interaction of the ktermios::c_iflag bits is as follows (parity
264 * @set_ldisc: ``void ()(struct uart_port *port, struct ktermios *termios)``
390 void (*set_termios)(struct uart_port *, struct ktermios *new,
391 const struct ktermios *old);
392 void (*set_ldisc)(struct uart_port *, struct ktermios *);
436 struct ktermios *ne
[all...]
H A Dtty_driver.h144 * @set_termios: ``void ()(struct tty_struct *tty, const struct ktermios *old)``
367 void (*set_termios)(struct tty_struct *tty, const struct ktermios *old);
444 struct ktermios init_termios;
454 struct ktermios **termios;
H A Dtty_ldisc.h139 * @set_termios: [TTY] ``void ()(struct tty_struct *tty, const struct ktermios *old)``
249 void (*set_termios)(struct tty_struct *tty, const struct ktermios *old);
/linux-master/drivers/tty/serdev/
H A Dserdev-ttyport.c107 struct ktermios ktermios; local
127 ktermios = tty->termios;
128 ktermios.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP |
130 ktermios.c_oflag &= ~OPOST;
131 ktermios.c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN);
132 ktermios.c_cflag &= ~(CSIZE | PARENB);
133 ktermios.c_cflag |= CS8;
134 ktermios.c_cflag |= CRTSCTS;
136 ktermios
171 struct ktermios ktermios = tty->termios; local
185 struct ktermios ktermios = tty->termios; local
200 struct ktermios ktermios = tty->termios; local
[all...]
/linux-master/drivers/tty/serial/8250/
H A D8250_dwlib.h50 void dw8250_do_set_termios(struct uart_port *p, struct ktermios *termios, const struct ktermios *old);
H A D8250_dwlib.c95 void dw8250_do_set_termios(struct uart_port *p, struct ktermios *termios,
96 const struct ktermios *old)
139 struct ktermios *termios)
180 static int dw8250_rs485_config(struct uart_port *p, struct ktermios *termios,
H A D8250_fintek.c194 static int fintek_8250_rs485_config(struct uart_port *port, struct ktermios *termios,
280 struct ktermios *termios,
281 const struct ktermios *old)
/linux-master/drivers/tty/
H A Dtty_ioctl.c206 static void unset_locked_termios(struct tty_struct *tty, const struct ktermios *old)
208 struct ktermios *termios = &tty->termios;
209 struct ktermios *locked = &tty->termios_locked;
235 void tty_termios_copy_hw(struct ktermios *new, const struct ktermios *old)
256 bool tty_termios_hw_change(const struct ktermios *a, const struct ktermios *b)
323 int tty_set_termios(struct tty_struct *tty, struct ktermios *new_termios)
325 struct ktermios old_termios;
364 __weak int user_termio_to_kernel_termios(struct ktermios *termio
[all...]
H A Dtty_baudrate.c58 speed_t tty_termios_baud_rate(const struct ktermios *termios)
88 speed_t tty_termios_input_baud_rate(const struct ktermios *termios)
109 * @termios: ktermios structure holding user requested state
129 void tty_termios_encode_baud_rate(struct ktermios *termios,
/linux-master/drivers/bluetooth/
H A Dhci_ldisc.c311 struct ktermios ktermios; local
324 ktermios = tty->termios;
325 ktermios.c_cflag &= ~CRTSCTS;
326 tty_set_termios(tty, &ktermios);
358 ktermios = tty->termios;
359 ktermios.c_cflag |= CRTSCTS;
360 tty_set_termios(tty, &ktermios);
376 struct ktermios ktermios; local
[all...]
/linux-master/arch/sparc/kernel/
H A Dtermios.c16 struct ktermios *termios)
33 int user_termios_to_kernel_termios(struct ktermios *k,
56 struct ktermios *k)
77 int user_termios_to_kernel_termios_1(struct ktermios *k,
98 struct ktermios *k)
/linux-master/arch/alpha/kernel/
H A Dtermios.c4 int user_termio_to_kernel_termios(struct ktermios *termios,
33 struct ktermios *termios)
/linux-master/drivers/usb/serial/
H A Dempeg.c80 struct ktermios *termios = &tty->termios;
H A Dconsole.c68 struct ktermios dummy;
165 memset(&dummy, 0, sizeof(struct ktermios));
H A Dxr_serial.c109 const struct ktermios *old_termios);
139 const struct ktermios *old_termios);
629 const struct ktermios *old_termios)
692 const struct ktermios *old_termios)
694 struct ktermios *termios = &tty->termios;
751 const struct ktermios *old_termios)
900 const struct ktermios *old_termios)
H A Dbelkin_sa.c48 const struct ktermios *old_termios);
278 const struct ktermios *old_termios)
291 struct ktermios *termios = &tty->termios;
/linux-master/arch/powerpc/include/uapi/asm/
H A Dtermbits.h34 /* For PowerPC the termios and ktermios are the same */
36 struct ktermios { struct
/linux-master/drivers/tty/serial/
H A Dtegra-tcu.c127 struct ktermios *new,
128 const struct ktermios *old)
H A Dmpc52xx_uart.c103 struct ktermios *new,
104 const struct ktermios *old);
289 struct ktermios *new,
290 const struct ktermios *old)
307 struct ktermios *new,
308 const struct ktermios *old)
535 struct ktermios *new,
536 const struct ktermios *old)
882 struct ktermios *new,
883 const struct ktermios *ol
[all...]
/linux-master/arch/sparc/include/uapi/asm/
H A Dtermbits.h49 struct ktermios { struct
/linux-master/arch/alpha/include/uapi/asm/
H A Dtermbits.h40 /* Alpha has matching termios and ktermios */
42 struct ktermios { struct
/linux-master/arch/parisc/include/uapi/asm/
H A Dtermbits.h30 struct ktermios { struct

Completed in 191 milliseconds

1234567