/linux/include/linux/ |
A D | tty_driver.h | 243 struct tty_driver; 248 struct tty_struct * (*lookup)(struct tty_driver *driver, 288 int (*poll_get_char)(struct tty_driver *driver, int line); 294 struct tty_driver { struct 310 struct tty_driver *other; /* only used for the PTY driver */ argument 334 void tty_driver_kref_put(struct tty_driver *driver); 340 static inline struct tty_driver *tty_driver_kref_get(struct tty_driver *d) in tty_driver_kref_get() 429 int tty_register_driver(struct tty_driver *driver); 430 void tty_unregister_driver(struct tty_driver *driver); 439 void proc_tty_register_driver(struct tty_driver *); [all …]
|
A D | tty_port.h | 22 struct tty_driver; 92 void tty_port_link_device(struct tty_port *port, struct tty_driver *driver, 95 struct tty_driver *driver, unsigned index, 98 struct tty_driver *driver, unsigned index, 102 struct tty_driver *driver, unsigned index, 105 struct tty_driver *driver, unsigned index, 109 struct tty_driver *driver, unsigned index); 198 int tty_port_install(struct tty_port *port, struct tty_driver *driver,
|
A D | serdev.h | 310 struct tty_driver; 315 struct tty_driver *drv, int idx); 320 struct tty_driver *drv, int idx) in serdev_tty_port_register()
|
A D | serial_core.h | 304 struct tty_driver; 320 struct tty_driver *tty_driver; member 399 struct tty_driver *uart_console_device(struct console *co, int *index);
|
A D | console.h | 144 struct tty_driver *(*device)(struct console *, int *); 182 extern struct tty_driver *console_device(int *);
|
/linux/drivers/staging/gdm724x/ |
A D | gdm_tty.c | 279 struct tty_driver *tty_driver; in register_lte_tty_driver() local 286 if (IS_ERR(tty_driver)) in register_lte_tty_driver() 287 return PTR_ERR(tty_driver); in register_lte_tty_driver() 289 tty_driver->owner = THIS_MODULE; in register_lte_tty_driver() 292 tty_driver->major = GDM_TTY_MAJOR; in register_lte_tty_driver() 302 tty_driver_kref_put(tty_driver); in register_lte_tty_driver() 306 gdm_driver[i] = tty_driver; in register_lte_tty_driver() 314 struct tty_driver *tty_driver; in unregister_lte_tty_driver() local 318 tty_driver = gdm_driver[i]; in unregister_lte_tty_driver() 319 if (tty_driver) { in unregister_lte_tty_driver() [all …]
|
/linux/fs/proc/ |
A D | proc_tty.c | 28 static void show_tty_range(struct seq_file *m, struct tty_driver *p, in show_tty_range() 71 struct tty_driver *p = list_entry(v, struct tty_driver, tty_drivers); in show_tty_driver() 133 void proc_tty_register_driver(struct tty_driver *driver) in proc_tty_register_driver() 149 void proc_tty_unregister_driver(struct tty_driver *driver) in proc_tty_unregister_driver()
|
/linux/drivers/tty/ |
A D | tty_io.c | 318 struct tty_driver *p; in get_tty_driver() 346 struct tty_driver *p; in tty_dev_name_to_number() 394 struct tty_driver *p, *res = NULL; in tty_find_polling_driver() 1348 struct tty_driver *driver = tty->driver; in tty_reopen() 1540 struct tty_driver *driver = tty->driver; in release_one_tty() 1933 struct tty_driver *driver = NULL; in tty_lookup_driver() 1938 extern struct tty_driver *console_driver; in tty_lookup_driver() 1972 struct tty_driver *driver; in tty_kopen() 2058 struct tty_driver *driver = NULL; in tty_open_by_driver() 3353 struct tty_driver *driver; in __tty_alloc_driver() [all …]
|
A D | ttynull.c | 14 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()
|
A D | tty_port.c | 90 struct tty_driver *driver, unsigned index) in tty_port_link_device() 110 struct tty_driver *driver, unsigned index, in tty_port_register_device() 131 struct tty_driver *driver, unsigned index, in tty_port_register_device_attr() 154 struct tty_driver *driver, unsigned index, in tty_port_register_device_attr_serdev() 184 struct tty_driver *driver, unsigned index, in tty_port_register_device_serdev() 203 struct tty_driver *driver, unsigned index) in tty_port_unregister_device() 659 int tty_port_install(struct tty_port *port, struct tty_driver *driver, in tty_port_install()
|
A D | pty.c | 42 static struct tty_driver *ptm_driver; 43 static struct tty_driver *pts_driver; 369 static int pty_common_install(struct tty_driver *driver, struct tty_struct *tty, in pty_common_install() 449 static int pty_install(struct tty_driver *driver, struct tty_struct *tty) in pty_install() 454 static void pty_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_remove() 541 struct tty_driver *pty_driver, *pty_slave_driver; in legacy_pty_init() 698 static struct tty_struct *ptm_unix98_lookup(struct tty_driver *driver, in ptm_unix98_lookup() 715 static struct tty_struct *pts_unix98_lookup(struct tty_driver *driver, in pts_unix98_lookup() 729 static int pty_unix98_install(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_install() 735 static void pty_unix98_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_remove()
|
A D | goldfish.c | 48 static struct tty_driver *goldfish_tty_driver; 214 static struct tty_driver *goldfish_tty_console_device(struct console *c, in goldfish_tty_console_device() 247 struct tty_driver *tty; in goldfish_tty_create_driver()
|
/linux/arch/m68k/emu/ |
A D | nfcon.c | 24 static struct tty_driver *nfcon_tty_driver; 49 static struct tty_driver *nfcon_device(struct console *con, int *index) in nfcon_device() 123 struct tty_driver *driver; in nfcon_init()
|
/linux/arch/xtensa/platforms/iss/ |
A D | console.c | 36 static struct tty_driver *serial_driver; 139 struct tty_driver *driver; in rs_init() 208 static struct tty_driver* iss_console_device(struct console *c, int *index) in iss_console_device()
|
/linux/arch/parisc/kernel/ |
A D | pdc_cons.c | 137 static struct tty_driver *pdc_console_tty_driver; 141 struct tty_driver *driver; in pdc_console_tty_driver_init() 194 static struct tty_driver * pdc_console_device (struct console *c, int *index) in pdc_console_device()
|
/linux/drivers/tty/hvc/ |
A D | hvc_console.c | 54 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() 1020 struct tty_driver *drv; in hvc_init()
|
/linux/drivers/usb/serial/ |
A D | console.c | 246 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/alpha/kernel/ |
A D | srmcons.c | 190 static struct tty_driver *srmcons_driver; 204 struct tty_driver *driver; in srmcons_init() 249 static struct tty_driver *
|
/linux/arch/um/drivers/ |
A D | line.h | 31 struct tty_driver *driver; 61 extern int line_install(struct tty_driver *driver, struct tty_struct *tty,
|
A D | stdio_console.c | 95 static int con_install(struct tty_driver *driver, struct tty_struct *tty) in con_install() 125 static struct tty_driver *uml_console_device(struct console *c, int *index) in uml_console_device()
|
A D | ssl.c | 89 static int ssl_install(struct tty_driver *driver, struct tty_struct *tty) in ssl_install() 124 static struct tty_driver *ssl_console_device(struct console *c, int *index) in ssl_console_device()
|
/linux/drivers/tty/serial/ |
A D | kgdb_nmi.c | 66 static struct tty_driver *kgdb_nmi_tty_driver; 68 static struct tty_driver *kgdb_nmi_console_device(struct console *co, int *idx) in kgdb_nmi_console_device() 234 static int kgdb_nmi_tty_install(struct tty_driver *drv, struct tty_struct *tty) in kgdb_nmi_tty_install()
|
A D | serial_core.c | 1903 struct tty_driver *ttydrv = m->private; in uart_proc_show() 2159 struct tty_driver *tty_drv = match->driver->tty_driver; in serial_match_port() 2548 struct tty_driver *normal; in uart_register_driver() 2568 drv->tty_driver = normal; in uart_register_driver() 2617 struct tty_driver *p = drv->tty_driver; in uart_unregister_driver() 2626 drv->tty_driver = NULL; in uart_unregister_driver() 2633 return p->tty_driver; in uart_console_device() 2901 uport->minor = drv->tty_driver->minor_start + uport->line; in uart_add_one_port() 2903 drv->tty_driver->name_base + uport->line); in uart_add_one_port() 2919 tty_port_link_device(port, drv->tty_driver, uport->line); in uart_add_one_port() [all …]
|
/linux/drivers/s390/char/ |
A D | sclp_tty.h | 16 extern struct tty_driver *sclp_tty_driver;
|
A D | tty3270.h | 13 extern struct tty_driver *tty3270_driver;
|