Home
last modified time | relevance | path

Searched refs:tty_driver (Results 1 – 25 of 67) sorted by relevance

123

/linux/include/linux/
H A Dtty_driver.h15 struct tty_driver;
443 struct tty_struct * (*lookup)(struct tty_driver *driver,
445 int (*install)(struct tty_driver *driver, struct tty_struct *tty);
446 void (*remove)(struct tty_driver *driver, struct tty_struct *tty);
482 int (*poll_init)(struct tty_driver *driver, int line, char *options);
483 int (*poll_get_char)(struct tty_driver *driver, int line);
484 void (*poll_put_char)(struct tty_driver *driver, int line, char ch);
526 struct tty_driver { struct
541 struct tty_driver *other; argument
561 struct tty_driver *__tty_alloc_driver(unsigned int lines, struct module *owner, argument
[all …]
H A Dtty_port.h12 struct tty_driver;
141 void tty_port_link_device(struct tty_port *port, struct tty_driver *driver,
144 struct tty_driver *driver, unsigned index,
147 struct tty_driver *driver, unsigned index,
151 struct tty_driver *driver, unsigned index,
155 struct tty_driver *driver, unsigned index);
244 int tty_port_install(struct tty_port *port, struct tty_driver *driver,
H A Dserdev.h310 struct tty_driver;
316 struct tty_driver *drv, int idx);
322 struct tty_driver *drv, int idx) in serdev_tty_port_register()
H A Dtty.h192 struct tty_driver *driver;
456 struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx);
460 int tty_standard_install(struct tty_driver *driver,
/linux/Documentation/driver-api/tty/
H A Dtty_driver.rst12 The first thing a driver needs to do is to allocate a struct tty_driver. This
28 .. kernel-doc:: include/linux/tty_driver.h
39 .. kernel-doc:: include/linux/tty_driver.h
47 When a struct tty_driver is allocated and filled in, it can be registered using
77 calling operations from :c:member:`tty_driver.ops`, see `TTY Operations
91 it. It must be known to the TTY layer at :c:member:`tty_driver.ops.install()`
100 :c:member:`tty_driver.ops.install` hook as a last resort. The last one is
115 All members of struct tty_driver are documented here. The required members are
118 .. kernel-doc:: include/linux/tty_driver.h
119 :identifiers: tty_driver
[all …]
H A Dindex.rst15 which is struct tty_driver. This structure describes the driver but also
34 tty_driver
62 :doc:`tty_driver`. For the other two (devices handling), look into
/linux/fs/proc/
H A Dproc_tty.c26 static void show_tty_range(struct seq_file *m, struct tty_driver *p, in show_tty_range()
69 struct tty_driver *p = list_entry(v, struct tty_driver, tty_drivers); in show_tty_driver()
131 void proc_tty_register_driver(struct tty_driver *driver) in proc_tty_register_driver()
147 void proc_tty_unregister_driver(struct tty_driver *driver) in proc_tty_unregister_driver()
/linux/drivers/tty/
H A Dtty_io.c306 static struct tty_driver *get_tty_driver(dev_t device, int *index) in get_tty_driver()
308 struct tty_driver *p; in get_tty_driver()
336 struct tty_driver *p; in tty_dev_name_to_number()
378 struct tty_driver *tty_find_polling_driver(char *name, int *line) in tty_find_polling_driver()
380 struct tty_driver *p; in tty_find_polling_driver()
1173 static void pty_line_name(struct tty_driver *driver, int index, char *p) in pty_line_name()
1194 static ssize_t tty_line_name(struct tty_driver *driver, int index, char *p) in tty_line_name()
1214 static struct tty_struct *tty_driver_lookup_tty(struct tty_driver *driver, in tty_driver_lookup_tty()
1271 int tty_standard_install(struct tty_driver *driver, struct tty_struct *tty) in tty_standard_install()
1292 static int tty_driver_install_tty(struct tty_driver *driver, in tty_driver_install_tty()
[all …]
H A Dttynull.c14 static struct tty_driver *ttynull_driver;
51 static struct tty_driver *ttynull_device(struct console *c, int *index) in ttynull_device()
64 struct tty_driver *driver; in ttynull_init()
H A Dpty.c42 static struct tty_driver *ptm_driver;
43 static struct tty_driver *pts_driver;
355 static int pty_common_install(struct tty_driver *driver, struct tty_struct *tty, in pty_common_install()
435 static int pty_install(struct tty_driver *driver, struct tty_struct *tty) in pty_install()
440 static void pty_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_remove()
527 struct tty_driver *pty_driver, *pty_slave_driver; in legacy_pty_init()
669 static struct tty_struct *ptm_unix98_lookup(struct tty_driver *driver, in ptm_unix98_lookup()
686 static struct tty_struct *pts_unix98_lookup(struct tty_driver *driver, in pts_unix98_lookup()
694 static int pty_unix98_install(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_install()
700 static void pty_unix98_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_remove()
H A Dtty_port.c114 struct tty_driver *driver, unsigned index) in tty_port_link_device()
134 struct tty_driver *driver, unsigned index, in tty_port_register_device()
155 struct tty_driver *driver, unsigned index, in tty_port_register_device_attr()
179 struct tty_driver *driver, unsigned index, in tty_port_register_device_attr_serdev()
209 struct tty_driver *driver, unsigned index) in tty_port_unregister_device()
702 int tty_port_install(struct tty_port *port, struct tty_driver *driver, in tty_port_install()
H A Dgoldfish.c48 static struct tty_driver *goldfish_tty_driver;
206 static struct tty_driver *goldfish_tty_console_device(struct console *c, in goldfish_tty_console_device()
239 struct tty_driver *tty; in goldfish_tty_create_driver()
H A Drpmsg_tty.c27 static struct tty_driver *rpmsg_tty_driver;
50 static int rpmsg_tty_install(struct tty_driver *driver, struct tty_struct *tty) in rpmsg_tty_install()
H A Dehv_bytechan.c225 static struct tty_driver *ehv_bc_driver;
291 static struct tty_driver *ehv_bc_console_device(struct console *co, int *index) in ehv_bc_console_device()
756 struct tty_driver *driver; in ehv_bc_init()
/linux/arch/m68k/emu/
H A Dnfcon.c24 static struct tty_driver *nfcon_tty_driver;
49 static struct tty_driver *nfcon_device(struct console *con, int *index) in nfcon_device()
128 struct tty_driver *driver; in nfcon_init()
/linux/arch/xtensa/platforms/iss/
H A Dconsole.c36 static struct tty_driver *serial_driver;
106 struct tty_driver *driver; in rs_init()
173 static struct tty_driver* iss_console_device(struct console *c, int *index) in iss_console_device()
/linux/drivers/tty/hvc/
H A Dhvc_console.c54 static struct tty_driver *hvc_driver;
197 static struct tty_driver *hvc_console_device(struct console *c, int *index) in hvc_console_device()
325 static int hvc_install(struct tty_driver *driver, struct tty_struct *tty) in hvc_install()
856 static int hvc_poll_init(struct tty_driver *driver, int line, char *options) in hvc_poll_init()
861 static int hvc_poll_get_char(struct tty_driver *driver, int line) in hvc_poll_get_char()
876 static void hvc_poll_put_char(struct tty_driver *driver, int line, char ch) in hvc_poll_put_char()
1017 struct tty_driver *drv; in hvc_init()
/linux/arch/alpha/kernel/
H A Dsrmcons.c188 static struct tty_driver *srmcons_driver;
200 struct tty_driver *driver; in srmcons_init()
251 static struct tty_driver *
/linux/drivers/usb/serial/
H A Dconsole.c246 static struct tty_driver *usb_console_device(struct console *co, int *index) in usb_console_device()
248 struct tty_driver **p = (struct tty_driver **)co->data; in usb_console_device()
/linux/arch/um/drivers/
H A Dline.h29 struct tty_driver *driver;
61 extern int line_install(struct tty_driver *driver, struct tty_struct *tty,
H A Dstdio_console.c93 static int con_install(struct tty_driver *driver, struct tty_struct *tty) in con_install()
123 static struct tty_driver *uml_console_device(struct console *c, int *index) in uml_console_device()
H A Dssl.c87 static int ssl_install(struct tty_driver *driver, struct tty_struct *tty) in ssl_install()
122 static struct tty_driver *ssl_console_device(struct console *c, int *index) in ssl_console_device()
/linux/drivers/char/
H A Dttyprintk.c164 static struct tty_driver *ttyprintk_driver;
166 static struct tty_driver *ttyprintk_console_device(struct console *c, in ttyprintk_console_device()
/linux/drivers/tty/serial/
H A Dserial_core.c1904 static int uart_install(struct tty_driver *driver, struct tty_struct *tty) in uart_install()
2050 struct tty_driver *ttydrv = m->private; in uart_proc_show()
2281 struct tty_driver *tty_drv = match->driver->tty_driver; in serial_match_port()
2573 static int uart_poll_init(struct tty_driver *driver, int line, char *options) in uart_poll_init()
2620 static int uart_poll_get_char(struct tty_driver *driver, int line) in uart_poll_get_char()
2636 static void uart_poll_put_char(struct tty_driver *driver, int line, char ch) in uart_poll_put_char()
2713 struct tty_driver *normal; in uart_register_driver()
2733 drv->tty_driver = normal; in uart_register_driver()
2784 struct tty_driver *p = drv->tty_driver; in uart_unregister_driver()
2793 drv->tty_driver = NULL; in uart_unregister_driver()
[all …]
/linux/drivers/s390/char/
H A Dsclp_tty.h16 extern struct tty_driver *sclp_tty_driver;

123