Home
last modified time | relevance | path

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

1234

/linux-3.4.99/include/linux/
Dtty_driver.h246 struct tty_driver;
250 struct tty_struct * (*lookup)(struct tty_driver *driver,
252 int (*install)(struct tty_driver *driver, struct tty_struct *tty);
253 void (*remove)(struct tty_driver *driver, struct tty_struct *tty);
287 int (*poll_init)(struct tty_driver *driver, int line, char *options);
288 int (*poll_get_char)(struct tty_driver *driver, int line);
289 void (*poll_put_char)(struct tty_driver *driver, int line, char ch);
294 struct tty_driver { struct
310 struct tty_driver *other; /* only used for the PTY driver */ argument
329 extern struct tty_driver *__alloc_tty_driver(int lines, struct module *owner); argument
[all …]
Dproc_fs.h125 struct tty_driver;
127 extern void proc_tty_register_driver(struct tty_driver *driver);
128 extern void proc_tty_unregister_driver(struct tty_driver *driver);
214 struct tty_driver;
215 static inline void proc_tty_register_driver(struct tty_driver *driver) {}; in proc_tty_register_driver()
216 static inline void proc_tty_unregister_driver(struct tty_driver *driver) {}; in proc_tty_unregister_driver()
Dtty.h263 struct tty_driver *driver;
409 extern int tty_register_driver(struct tty_driver *driver);
410 extern int tty_unregister_driver(struct tty_driver *driver);
411 extern struct device *tty_register_device(struct tty_driver *driver,
413 extern void tty_unregister_device(struct tty_driver *driver, unsigned index);
424 extern void tty_driver_remove_tty(struct tty_driver *driver,
481 struct tty_driver *driver, int idx);
483 extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx);
486 extern int tty_standard_install(struct tty_driver *driver,
Dserial_core.h419 struct tty_driver;
435 struct tty_driver *tty_driver; member
467 struct tty_driver *uart_console_device(struct console *co, int *index);
Dconsole.h120 struct tty_driver *(*device)(struct console *, int *);
149 extern struct tty_driver *console_device(int *);
/linux-3.4.99/fs/proc/
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()
143 void proc_tty_register_driver(struct tty_driver *driver) in proc_tty_register_driver()
159 void proc_tty_unregister_driver(struct tty_driver *driver) in proc_tty_unregister_driver()
Dconsoles.c36 const struct tty_driver *driver; in show_console_dev()
/linux-3.4.99/arch/ia64/include/asm/
Dhpsim.h10 struct tty_driver;
11 extern struct tty_driver *hp_simserial_driver;
/linux-3.4.99/arch/ia64/hp/sim/
Dhpsim_console.c30 static struct tty_driver *simcons_console_device (struct console *, int *);
60 static struct tty_driver *simcons_console_device (struct console *c, int *index) in simcons_console_device()
/linux-3.4.99/drivers/tty/
Dpty.c32 static struct tty_driver *ptm_driver;
33 static struct tty_driver *pts_driver;
282 static int pty_install(struct tty_driver *driver, struct tty_struct *tty) in pty_install()
381 struct tty_driver *pty_driver, *pty_slave_driver; in legacy_pty_init()
464 static struct tty_struct *ptm_unix98_lookup(struct tty_driver *driver, in ptm_unix98_lookup()
480 static struct tty_struct *pts_unix98_lookup(struct tty_driver *driver, in pts_unix98_lookup()
500 static int pty_unix98_install(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_install()
550 static void ptm_unix98_remove(struct tty_driver *driver, struct tty_struct *tty) in ptm_unix98_remove()
554 static void pts_unix98_remove(struct tty_driver *driver, struct tty_struct *tty) in pts_unix98_remove()
Dtty_io.c328 static struct tty_driver *get_tty_driver(dev_t device, int *index) in get_tty_driver()
330 struct tty_driver *p; in get_tty_driver()
353 struct tty_driver *tty_find_polling_driver(char *name, int *line) in tty_find_polling_driver()
355 struct tty_driver *p, *res = NULL; in tty_find_polling_driver()
1203 static void pty_line_name(struct tty_driver *driver, int index, char *p) in pty_line_name()
1223 static void tty_line_name(struct tty_driver *driver, int index, char *p) in tty_line_name()
1239 static struct tty_struct *tty_driver_lookup_tty(struct tty_driver *driver, in tty_driver_lookup_tty()
1280 int tty_standard_install(struct tty_driver *driver, struct tty_struct *tty) in tty_standard_install()
1305 static int tty_driver_install_tty(struct tty_driver *driver, in tty_driver_install_tty()
1322 void tty_driver_remove_tty(struct tty_driver *driver, struct tty_struct *tty) in tty_driver_remove_tty()
[all …]
Dbfin_jtag_comm.c63 static struct tty_driver *bfin_jc_driver;
321 static struct tty_driver *
/linux-3.4.99/arch/alpha/kernel/
Dsrmcons.c195 static struct tty_driver *srmcons_driver;
212 struct tty_driver *driver; in srmcons_init()
253 static struct tty_driver *
/linux-3.4.99/arch/m68k/emu/
Dnfcon.c22 static struct tty_driver *nfcon_tty_driver;
46 static struct tty_driver *nfcon_device(struct console *con, int *index) in nfcon_device()
/linux-3.4.99/drivers/usb/serial/
Dconsole.c256 static struct tty_driver *usb_console_device(struct console *co, int *index) in usb_console_device()
258 struct tty_driver **p = (struct tty_driver **)co->data; in usb_console_device()
/linux-3.4.99/drivers/s390/char/
Dsclp_tty.h16 extern struct tty_driver *sclp_tty_driver;
Dtty3270.h14 extern struct tty_driver *tty3270_driver;
Dsclp_vt220.c57 static struct tty_driver *sclp_vt220_driver;
676 struct tty_driver *driver; in sclp_vt220_tty_init()
776 static struct tty_driver *
/linux-3.4.99/drivers/tty/hvc/
Dhvc_console.c68 static struct tty_driver *hvc_driver;
184 static struct tty_driver *hvc_console_device(struct console *c, int *index) in hvc_console_device()
775 int hvc_poll_init(struct tty_driver *driver, int line, char *options) in hvc_poll_init()
780 static int hvc_poll_get_char(struct tty_driver *driver, int line) in hvc_poll_get_char()
795 static void hvc_poll_put_char(struct tty_driver *driver, int line, char ch) in hvc_poll_put_char()
914 struct tty_driver *drv; in hvc_init()
/linux-3.4.99/arch/parisc/kernel/
Dpdc_cons.c163 static struct tty_driver *pdc_console_tty_driver;
217 static struct tty_driver * pdc_console_device (struct console *c, int *index) in pdc_console_device()
/linux-3.4.99/drivers/tty/serial/
Dserial_core.c1638 struct tty_driver *ttydrv = m->private; in uart_proc_show()
1856 struct tty_driver *tty_drv = match->driver->tty_driver; in serial_match_port()
1911 drv->tty_driver->name_base + uport->line); in uart_suspend_port()
2044 drv->tty_driver->name_base + port->line, in uart_report_port()
2111 static int uart_poll_init(struct tty_driver *driver, int line, char *options) in uart_poll_init()
2136 static int uart_poll_get_char(struct tty_driver *driver, int line) in uart_poll_get_char()
2149 static void uart_poll_put_char(struct tty_driver *driver, int line, char ch) in uart_poll_put_char()
2218 struct tty_driver *normal; in uart_register_driver()
2235 drv->tty_driver = normal; in uart_register_driver()
2285 struct tty_driver *p = drv->tty_driver; in uart_unregister_driver()
[all …]
Dkgdboc.c38 static struct tty_driver *kgdb_tty_driver;
155 struct tty_driver *p; in configure_kgdboc()
/linux-3.4.99/arch/cris/arch-v10/kernel/
Ddebugport.c103 extern struct tty_driver *serial_driver;
411 static struct tty_driver dummy_driver;
443 memset(&dummy_driver, 0, sizeof(struct tty_driver)); in init_dummy_console()
464 static struct tty_driver*
/linux-3.4.99/arch/xtensa/platforms/iss/
Dconsole.c38 static struct tty_driver *serial_driver;
267 static struct tty_driver* iss_console_device(struct console *c, int *index) in iss_console_device()
/linux-3.4.99/arch/um/drivers/
Dline.h31 struct tty_driver *driver;

1234