Home
last modified time | relevance | path

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

1234

/Linux-v5.4/drivers/staging/gdm724x/
Dgdm_tty.c32 static struct tty_driver *gdm_driver[TTY_MAX_COUNT];
54 static int gdm_tty_install(struct tty_driver *driver, struct tty_struct *tty) in gdm_tty_install()
279 struct tty_driver *tty_driver; in register_lte_tty_driver() local
284 tty_driver = alloc_tty_driver(GDM_TTY_MINOR); in register_lte_tty_driver()
285 if (!tty_driver) in register_lte_tty_driver()
288 tty_driver->owner = THIS_MODULE; in register_lte_tty_driver()
289 tty_driver->driver_name = DRIVER_STRING[i]; in register_lte_tty_driver()
290 tty_driver->name = DEVICE_STRING[i]; in register_lte_tty_driver()
291 tty_driver->major = GDM_TTY_MAJOR; in register_lte_tty_driver()
292 tty_driver->type = TTY_DRIVER_TYPE_SERIAL; in register_lte_tty_driver()
[all …]
/Linux-v5.4/include/linux/
Dtty_driver.h250 struct tty_driver;
255 struct tty_struct * (*lookup)(struct tty_driver *driver,
257 int (*install)(struct tty_driver *driver, struct tty_struct *tty);
258 void (*remove)(struct tty_driver *driver, struct tty_struct *tty);
295 int (*poll_init)(struct tty_driver *driver, int line, char *options);
296 int (*poll_get_char)(struct tty_driver *driver, int line);
297 void (*poll_put_char)(struct tty_driver *driver, int line, char ch);
302 struct tty_driver { struct
318 struct tty_driver *other; /* only used for the PTY driver */ argument
338 extern struct tty_driver *__tty_alloc_driver(unsigned int lines, argument
[all …]
Dtty.h287 struct tty_driver *driver;
477 extern int tty_register_driver(struct tty_driver *driver);
478 extern int tty_unregister_driver(struct tty_driver *driver);
479 extern struct device *tty_register_device(struct tty_driver *driver,
481 extern struct device *tty_register_device_attr(struct tty_driver *driver,
485 extern void tty_unregister_device(struct tty_driver *driver, unsigned index);
558 extern struct tty_struct *alloc_tty_struct(struct tty_driver *driver, int idx);
562 extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx);
567 extern int tty_standard_install(struct tty_driver *driver,
576 struct tty_driver *driver, unsigned index);
[all …]
Dserdev.h310 struct tty_driver;
315 struct tty_driver *drv, int idx);
320 struct tty_driver *drv, int idx) in serdev_tty_port_register()
Dconsole.h149 struct tty_driver *(*device)(struct console *, int *);
184 extern struct tty_driver *console_device(int *);
Dserial_core.h301 struct tty_driver;
317 struct tty_driver *tty_driver; member
402 struct tty_driver *uart_console_device(struct console *co, int *index);
/Linux-v5.4/fs/proc/
Dproc_tty.c28 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-v5.4/drivers/tty/
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()
Dtty_io.c318 static struct tty_driver *get_tty_driver(dev_t device, int *index) in get_tty_driver()
320 struct tty_driver *p; in get_tty_driver()
347 struct tty_driver *p; in tty_dev_name_to_number()
393 struct tty_driver *tty_find_polling_driver(char *name, int *line) in tty_find_polling_driver()
395 struct tty_driver *p, *res = NULL; in tty_find_polling_driver()
1115 static void pty_line_name(struct tty_driver *driver, int index, char *p) in pty_line_name()
1135 static ssize_t tty_line_name(struct tty_driver *driver, int index, char *p) in tty_line_name()
1154 static struct tty_struct *tty_driver_lookup_tty(struct tty_driver *driver, in tty_driver_lookup_tty()
1202 int tty_standard_install(struct tty_driver *driver, struct tty_struct *tty) in tty_standard_install()
1224 static int tty_driver_install_tty(struct tty_driver *driver, in tty_driver_install_tty()
[all …]
Dtty_port.c88 struct tty_driver *driver, unsigned index) in tty_port_link_device()
108 struct tty_driver *driver, unsigned index, in tty_port_register_device()
129 struct tty_driver *driver, unsigned index, in tty_port_register_device_attr()
152 struct tty_driver *driver, unsigned index, in tty_port_register_device_attr_serdev()
182 struct tty_driver *driver, unsigned index, in tty_port_register_device_serdev()
201 struct tty_driver *driver, unsigned index) in tty_port_unregister_device()
653 int tty_port_install(struct tty_port *port, struct tty_driver *driver, in tty_port_install()
Dpty.c41 static struct tty_driver *ptm_driver;
42 static struct tty_driver *pts_driver;
379 static int pty_common_install(struct tty_driver *driver, struct tty_struct *tty, in pty_common_install()
459 static int pty_install(struct tty_driver *driver, struct tty_struct *tty) in pty_install()
464 static void pty_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_remove()
552 struct tty_driver *pty_driver, *pty_slave_driver; in legacy_pty_init()
708 static struct tty_struct *ptm_unix98_lookup(struct tty_driver *driver, in ptm_unix98_lookup()
724 static struct tty_struct *pts_unix98_lookup(struct tty_driver *driver, in pts_unix98_lookup()
738 static int pty_unix98_install(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_install()
744 static void pty_unix98_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_remove()
/Linux-v5.4/arch/um/drivers/
Dline.h31 struct tty_driver *driver;
61 extern int line_install(struct tty_driver *driver, struct tty_struct *tty,
Dssl.c89 static int ssl_install(struct tty_driver *driver, struct tty_struct *tty) in ssl_install()
126 static struct tty_driver *ssl_console_device(struct console *c, int *index) in ssl_console_device()
Dstdio_console.c95 static int con_install(struct tty_driver *driver, struct tty_struct *tty) in con_install()
127 static struct tty_driver *uml_console_device(struct console *c, int *index) in uml_console_device()
/Linux-v5.4/drivers/usb/serial/
Dconsole.c243 static struct tty_driver *usb_console_device(struct console *co, int *index) in usb_console_device()
245 struct tty_driver **p = (struct tty_driver **)co->data; in usb_console_device()
/Linux-v5.4/arch/alpha/kernel/
Dsrmcons.c196 static struct tty_driver *srmcons_driver;
211 struct tty_driver *driver; in srmcons_init()
256 static struct tty_driver *
/Linux-v5.4/arch/m68k/emu/
Dnfcon.c24 static struct tty_driver *nfcon_tty_driver;
49 static struct tty_driver *nfcon_device(struct console *con, int *index) in nfcon_device()
/Linux-v5.4/drivers/tty/hvc/
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()
329 static int hvc_install(struct tty_driver *driver, struct tty_struct *tty) in hvc_install()
867 static int hvc_poll_init(struct tty_driver *driver, int line, char *options) in hvc_poll_init()
872 static int hvc_poll_get_char(struct tty_driver *driver, int line) in hvc_poll_get_char()
887 static void hvc_poll_put_char(struct tty_driver *driver, int line, char ch) in hvc_poll_put_char()
1022 struct tty_driver *drv; in hvc_init()
/Linux-v5.4/drivers/s390/char/
Dsclp_tty.h16 extern struct tty_driver *sclp_tty_driver;
Dtty3270.h13 extern struct tty_driver *tty3270_driver;
/Linux-v5.4/drivers/tty/serial/
Dkgdb_nmi.c66 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()
Dkgdboc.c38 static struct tty_driver *kgdb_tty_driver;
145 struct tty_driver *p; in configure_kgdboc()
Dserial_core.c1749 static int uart_install(struct tty_driver *driver, struct tty_struct *tty) in uart_install()
1900 struct tty_driver *ttydrv = m->private; in uart_proc_show()
2143 struct tty_driver *tty_drv = match->driver->tty_driver; in serial_match_port()
2391 static int uart_poll_init(struct tty_driver *driver, int line, char *options) in uart_poll_init()
2430 static int uart_poll_get_char(struct tty_driver *driver, int line) in uart_poll_get_char()
2446 static void uart_poll_put_char(struct tty_driver *driver, int line, char ch) in uart_poll_put_char()
2521 struct tty_driver *normal; in uart_register_driver()
2538 drv->tty_driver = normal; in uart_register_driver()
2588 struct tty_driver *p = drv->tty_driver; in uart_unregister_driver()
2597 drv->tty_driver = NULL; in uart_unregister_driver()
[all …]
/Linux-v5.4/arch/xtensa/platforms/iss/
Dconsole.c34 static struct tty_driver *serial_driver;
233 static struct tty_driver* iss_console_device(struct console *c, int *index) in iss_console_device()
/Linux-v5.4/arch/parisc/kernel/
Dpdc_cons.c143 static struct tty_driver *pdc_console_tty_driver;
198 static struct tty_driver * pdc_console_device (struct console *c, int *index) in pdc_console_device()

1234