Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dtty_driver.h248 struct tty_driver;
252 struct tty_struct * (*lookup)(struct tty_driver *driver,
254 int (*install)(struct tty_driver *driver, struct tty_struct *tty);
255 void (*remove)(struct tty_driver *driver, struct tty_struct *tty);
289 int (*poll_init)(struct tty_driver *driver, int line, char *options);
290 int (*poll_get_char)(struct tty_driver *driver, int line);
291 void (*poll_put_char)(struct tty_driver *driver, int line, char ch);
296 struct tty_driver { struct
312 struct tty_driver *other; /* only used for the PTY driver */ argument
332 extern struct tty_driver *__tty_alloc_driver(unsigned int lines, argument
[all …]
Dtty.h263 struct tty_driver *driver;
431 extern int tty_register_driver(struct tty_driver *driver);
432 extern int tty_unregister_driver(struct tty_driver *driver);
433 extern struct device *tty_register_device(struct tty_driver *driver,
435 extern struct device *tty_register_device_attr(struct tty_driver *driver,
439 extern void tty_unregister_device(struct tty_driver *driver, unsigned index);
453 extern void tty_driver_remove_tty(struct tty_driver *driver,
512 extern struct tty_struct *alloc_tty_struct(struct tty_driver *driver, int idx);
518 extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx);
521 extern int tty_standard_install(struct tty_driver *driver,
[all …]
Dconsole.h124 struct tty_driver *(*device)(struct console *, int *);
154 extern struct tty_driver *console_device(int *);
Dserial_core.h293 struct tty_driver;
309 struct tty_driver *tty_driver; member
368 struct tty_driver *uart_console_device(struct console *co, int *index);
Disdn.h364 struct tty_driver *tty_modem; /* tty-device */
/linux-4.4.14/drivers/staging/gdm724x/
Dgdm_tty.c49 static struct tty_driver *gdm_driver[TTY_MAX_COUNT];
71 static int gdm_tty_install(struct tty_driver *driver, struct tty_struct *tty) in gdm_tty_install()
304 struct tty_driver *tty_driver; in register_lte_tty_driver() local
309 tty_driver = alloc_tty_driver(GDM_TTY_MINOR); in register_lte_tty_driver()
310 if (!tty_driver) in register_lte_tty_driver()
313 tty_driver->owner = THIS_MODULE; in register_lte_tty_driver()
314 tty_driver->driver_name = DRIVER_STRING[i]; in register_lte_tty_driver()
315 tty_driver->name = DEVICE_STRING[i]; in register_lte_tty_driver()
316 tty_driver->major = GDM_TTY_MAJOR; in register_lte_tty_driver()
317 tty_driver->type = TTY_DRIVER_TYPE_SERIAL; in register_lte_tty_driver()
[all …]
/linux-4.4.14/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.c35 const struct tty_driver *driver; in show_console_dev()
/linux-4.4.14/arch/ia64/include/asm/
Dhpsim.h10 struct tty_driver;
11 extern struct tty_driver *hp_simserial_driver;
/linux-4.4.14/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()
Dsimserial.c52 struct tty_driver *hp_simserial_driver;
/linux-4.4.14/drivers/tty/
Dtty_io.c316 static struct tty_driver *get_tty_driver(dev_t device, int *index) in get_tty_driver()
318 struct tty_driver *p; in get_tty_driver()
341 struct tty_driver *tty_find_polling_driver(char *name, int *line) in tty_find_polling_driver()
343 struct tty_driver *p, *res = NULL; in tty_find_polling_driver()
1318 static void pty_line_name(struct tty_driver *driver, int index, char *p) in pty_line_name()
1338 static ssize_t tty_line_name(struct tty_driver *driver, int index, char *p) in tty_line_name()
1357 static struct tty_struct *tty_driver_lookup_tty(struct tty_driver *driver, in tty_driver_lookup_tty()
1402 int tty_standard_install(struct tty_driver *driver, struct tty_struct *tty) in tty_standard_install()
1427 static int tty_driver_install_tty(struct tty_driver *driver, in tty_driver_install_tty()
1444 void tty_driver_remove_tty(struct tty_driver *driver, struct tty_struct *tty) in tty_driver_remove_tty()
[all …]
Dpty.c36 static struct tty_driver *ptm_driver;
37 static struct tty_driver *pts_driver;
377 static int pty_common_install(struct tty_driver *driver, struct tty_struct *tty, in pty_common_install()
467 static int pty_install(struct tty_driver *driver, struct tty_struct *tty) in pty_install()
472 static void pty_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_remove()
545 struct tty_driver *pty_driver, *pty_slave_driver; in legacy_pty_init()
637 static struct tty_struct *ptm_unix98_lookup(struct tty_driver *driver, in ptm_unix98_lookup()
653 static struct tty_struct *pts_unix98_lookup(struct tty_driver *driver, in pts_unix98_lookup()
670 static int pty_unix98_install(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_install()
675 static void pty_unix98_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_remove()
Dtty_port.c47 struct tty_driver *driver, unsigned index) in tty_port_link_device()
67 struct tty_driver *driver, unsigned index, in tty_port_register_device()
89 struct tty_driver *driver, unsigned index, in tty_port_register_device_attr()
553 int tty_port_install(struct tty_port *port, struct tty_driver *driver, in tty_port_install()
Dgoldfish.c51 static struct tty_driver *goldfish_tty_driver;
149 static struct tty_driver *goldfish_tty_console_device(struct console *c, in goldfish_tty_console_device()
182 struct tty_driver *tty; in goldfish_tty_create_driver()
Dmetag_da.c69 static struct tty_driver *channel_driver;
419 static int dashtty_install(struct tty_driver *driver, struct tty_struct *tty) in dashtty_install()
655 static struct tty_driver *dash_console_device(struct console *c, int *index) in dash_console_device()
Dbfin_jtag_comm.c63 static struct tty_driver *bfin_jc_driver;
308 static struct tty_driver *
Dmips_ejtag_fdc.c146 struct tty_driver *driver;
296 struct tty_driver *tty_drv;
358 static struct tty_driver *mips_ejtag_fdc_console_device(struct console *c, in mips_ejtag_fdc_console_device()
763 static int mips_ejtag_fdc_tty_install(struct tty_driver *driver, in mips_ejtag_fdc_tty_install()
892 struct tty_driver *driver; in mips_ejtag_fdc_tty_probe()
Dehv_bytechan.c211 static struct tty_driver *ehv_bc_driver;
277 static struct tty_driver *ehv_bc_console_device(struct console *co, int *index) in ehv_bc_console_device()
Damiserial.c115 static struct tty_driver *serial_driver;
1845 static struct tty_driver *serial_console_device(struct console *c, int *index) in serial_console_device()
Dnozomi.c411 static struct tty_driver *ntty_driver;
1588 static int ntty_install(struct tty_driver *driver, struct tty_struct *tty) in ntty_install()
Dn_gsm.c280 static struct tty_driver *gsm_tty_driver;
2901 static int gsmtty_install(struct tty_driver *driver, struct tty_struct *tty) in gsmtty_install()
Disicom.c175 static struct tty_driver *isicom_normal;
Dmoxa.c431 static struct tty_driver *moxaDriver;
Dsynclinkmp.c498 static struct tty_driver *serial_driver;
713 static int install(struct tty_driver *driver, struct tty_struct *tty) in install()
Dsynclink.c903 static struct tty_driver *serial_driver;
3355 static int mgsl_install(struct tty_driver *driver, struct tty_struct *tty) in mgsl_install()
Drocket.c104 static struct tty_driver *rocket_driver;
Dmxser.c287 static struct tty_driver *mxvar_sdriver;
Dcyclades.c134 static struct tty_driver *cy_serial_driver;
Dsynclink_gt.c139 static struct tty_driver *serial_driver;
/linux-4.4.14/arch/um/drivers/
Dline.h31 struct tty_driver *driver;
61 extern int line_install(struct tty_driver *driver, struct tty_struct *tty,
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()
Dssl.c90 static int ssl_install(struct tty_driver *driver, struct tty_struct *tty) in ssl_install()
127 static struct tty_driver *ssl_console_device(struct console *c, int *index) in ssl_console_device()
Dline.c337 int line_install(struct tty_driver *driver, struct tty_struct *tty, in line_install()
377 struct tty_driver *driver = line->driver->driver; in setup_one_line()
552 struct tty_driver *driver = alloc_tty_driver(nlines); in register_lines()
/linux-4.4.14/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()
316 static int hvc_install(struct tty_driver *driver, struct tty_struct *tty) in hvc_install()
803 static int hvc_poll_init(struct tty_driver *driver, int line, char *options) in hvc_poll_init()
808 static int hvc_poll_get_char(struct tty_driver *driver, int line) in hvc_poll_get_char()
823 static void hvc_poll_put_char(struct tty_driver *driver, int line, char ch) in hvc_poll_put_char()
958 struct tty_driver *drv; in hvc_init()
Dhvsi.c98 static struct tty_driver *hvsi_driver;
1131 static struct tty_driver *hvsi_console_device(struct console *console, in hvsi_console_device()
Dhvcs.c218 static struct tty_driver *hvcs_tty_driver;
1100 static int hvcs_install(struct tty_driver *driver, struct tty_struct *tty) in hvcs_install()
/linux-4.4.14/drivers/usb/serial/
Dconsole.c248 static struct tty_driver *usb_console_device(struct console *co, int *index) in usb_console_device()
250 struct tty_driver **p = (struct tty_driver **)co->data; in usb_console_device()
Dusb-serial.c179 static int serial_install(struct tty_driver *driver, struct tty_struct *tty) in serial_install()
1219 struct tty_driver *usb_serial_tty_driver;
/linux-4.4.14/arch/alpha/kernel/
Dsrmcons.c195 static struct tty_driver *srmcons_driver;
211 struct tty_driver *driver; in srmcons_init()
256 static struct tty_driver *
/linux-4.4.14/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-4.4.14/drivers/s390/char/
Dsclp_tty.h15 extern struct tty_driver *sclp_tty_driver;
Dtty3270.h12 extern struct tty_driver *tty3270_driver;
Dsclp_vt220.c58 static struct tty_driver *sclp_vt220_driver;
741 struct tty_driver *driver; in sclp_vt220_tty_init()
847 static struct tty_driver *
Dsclp_tty.c54 struct tty_driver *sclp_tty_driver;
504 struct tty_driver *driver; in sclp_tty_init()
Dcon3215.c104 static struct tty_driver *tty3215_driver;
847 static struct tty_driver *con3215_device(struct console *c, int *index) in con3215_device()
960 static int tty3215_install(struct tty_driver *driver, struct tty_struct *tty) in tty3215_install()
1178 struct tty_driver *driver; in tty3215_init()
Dsclp_con.c223 static struct tty_driver *
Dtty3270.c37 struct tty_driver *tty3270_driver;
912 static int tty3270_install(struct tty_driver *driver, struct tty_struct *tty) in tty3270_install()
1871 struct tty_driver *driver; in tty3270_init()
1908 struct tty_driver *driver; in tty3270_exit()
Dcon3270.c509 static struct tty_driver *
/linux-4.4.14/drivers/tty/serial/
Dkgdb_nmi.c69 static struct tty_driver *kgdb_nmi_tty_driver;
71 static struct tty_driver *kgdb_nmi_console_device(struct console *co, int *idx) in kgdb_nmi_console_device()
237 static int kgdb_nmi_tty_install(struct tty_driver *drv, struct tty_struct *tty) in kgdb_nmi_tty_install()
Dserial_core.c1744 struct tty_driver *ttydrv = m->private; in uart_proc_show()
2020 struct tty_driver *tty_drv = match->driver->tty_driver; in serial_match_port()
2073 drv->tty_driver->name_base + uport->line); in uart_suspend_port()
2205 drv->tty_driver->name_base + port->line, in uart_report_port()
2272 static int uart_poll_init(struct tty_driver *driver, int line, char *options) in uart_poll_init()
2314 static int uart_poll_get_char(struct tty_driver *driver, int line) in uart_poll_get_char()
2327 static void uart_poll_put_char(struct tty_driver *driver, int line, char ch) in uart_poll_put_char()
2397 struct tty_driver *normal; in uart_register_driver()
2414 drv->tty_driver = normal; in uart_register_driver()
2464 struct tty_driver *p = drv->tty_driver; in uart_unregister_driver()
[all …]
Dkgdboc.c38 static struct tty_driver *kgdb_tty_driver;
158 struct tty_driver *p; in configure_kgdboc()
Dsuncore.c38 drv->tty_driver->name_base = drv->minor - 64; in sunserial_register_minors()
Dtilegx.c658 struct tty_driver *tty_drv; in tilegx_init()
663 tty_drv = tilegx_uart_driver.tty_driver; in tilegx_init()
D68328serial.c139 struct tty_driver *serial_driver;
1286 static struct tty_driver *m68328_console_device(struct console *c, int *index)
Dsn_console.c752 extern struct tty_driver *uart_console_device(struct console *, int *);
Difx6x60.c87 static struct tty_driver *tty_drv;
Dcrisv10.c67 struct tty_driver *serial_driver;
4141 struct tty_driver *driver = alloc_tty_driver(NR_PORTS); in rs_init()
/linux-4.4.14/arch/parisc/kernel/
Dpdc_cons.c157 static struct tty_driver *pdc_console_tty_driver;
212 static struct tty_driver * pdc_console_device (struct console *c, int *index) in pdc_console_device()
/linux-4.4.14/arch/xtensa/platforms/iss/
Dconsole.c38 static struct tty_driver *serial_driver;
251 static struct tty_driver* iss_console_device(struct console *c, int *index) in iss_console_device()
/linux-4.4.14/arch/cris/arch-v10/kernel/
Ddebugport.c102 extern struct tty_driver *serial_driver;
404 static struct tty_driver dummy_driver;
436 memset(&dummy_driver, 0, sizeof(struct tty_driver)); in init_dummy_console()
457 static struct tty_driver*
/linux-4.4.14/drivers/staging/dgnc/
Ddgnc_driver.h208 struct tty_driver SerialDriver;
210 struct tty_driver PrintDriver;
/linux-4.4.14/drivers/misc/
Dpti.c84 static struct tty_driver *pti_tty_driver;
461 static int pti_tty_install(struct tty_driver *driver, struct tty_struct *tty) in pti_tty_install()
700 static struct tty_driver *pti_console_device(struct console *c, int *index) in pti_console_device()
/linux-4.4.14/drivers/pps/clients/
Dpps-ldisc.c60 struct tty_driver *drv = tty->driver; in pps_tty_open()
/linux-4.4.14/drivers/net/irda/
Ddonauboe.h311 struct tty_driver ttydev;
/linux-4.4.14/drivers/char/
Dttyprintk.c176 static struct tty_driver *ttyprintk_driver;
/linux-4.4.14/Documentation/zh_CN/
Dmagic-number.txt85 TTY_DRIVER_MAGIC 0x5402 tty_driver include/linux/tty_driver.h
/linux-4.4.14/drivers/staging/fwserial/
Dfwserial.h342 extern struct tty_driver *fwtty_driver;
Dfwserial.c82 struct tty_driver *fwtty_driver;
83 static struct tty_driver *fwloop_driver;
1081 static int fwtty_install(struct tty_driver *driver, struct tty_struct *tty) in fwtty_install()
1094 static int fwloop_install(struct tty_driver *driver, struct tty_struct *tty) in fwloop_install()
1908 static void fwserial_close_port(struct tty_driver *driver, in fwserial_close_port()
/linux-4.4.14/drivers/staging/dgap/
Ddgap.h579 struct tty_driver *serial_driver;
582 struct tty_driver *print_driver;
/linux-4.4.14/Documentation/
Dmagic-number.txt85 TTY_DRIVER_MAGIC 0x5402 tty_driver include/linux/tty_driver.h
/linux-4.4.14/drivers/mmc/card/
Dsdio_uart.c732 static int sdio_uart_install(struct tty_driver *driver, struct tty_struct *tty) in sdio_uart_install()
1053 static struct tty_driver *sdio_uart_tty_driver;
1155 struct tty_driver *tty_drv; in sdio_uart_init()
/linux-4.4.14/net/irda/ircomm/
Dircomm_tty.c53 static int ircomm_tty_install(struct tty_driver *driver,
80 static struct tty_driver *driver;
374 static int ircomm_tty_install(struct tty_driver *driver, struct tty_struct *tty) in ircomm_tty_install()
/linux-4.4.14/include/linux/usb/
Dserial.h361 extern struct tty_driver *usb_serial_tty_driver;
/linux-4.4.14/drivers/ipack/devices/
Dipoctal.c53 struct tty_driver *tty_drv;
271 struct tty_driver *tty; in ipoctal_inst_slot()
/linux-4.4.14/drivers/isdn/capi/
Dcapi.c137 static struct tty_driver *capinc_tty_driver;
998 capinc_tty_install(struct tty_driver *driver, struct tty_struct *tty) in capinc_tty_install()
1255 struct tty_driver *drv; in capinc_tty_init()
/linux-4.4.14/net/bluetooth/rfcomm/
Dtty.c44 static struct tty_driver *rfcomm_tty_driver;
709 static int rfcomm_tty_install(struct tty_driver *driver, struct tty_struct *tty) in rfcomm_tty_install()
/linux-4.4.14/drivers/tty/ipwireless/
Dtty.c61 static struct tty_driver *ipw_tty_driver;
/linux-4.4.14/drivers/isdn/gigaset/
Dgigaset.h510 struct tty_driver *tty;
Dinterface.c561 struct tty_driver *tty; in gigaset_if_initdriver()
/linux-4.4.14/drivers/usb/class/
Dcdc-acm.c59 static struct tty_driver *acm_tty_driver;
490 static int acm_tty_install(struct tty_driver *driver, struct tty_struct *tty) in acm_tty_install()
/linux-4.4.14/kernel/printk/
Dprintk.c2417 struct tty_driver *console_device(int *index) in console_device()
2420 struct tty_driver *driver = NULL; in console_device()
/linux-4.4.14/drivers/tty/vt/
Dvt_ioctl.c40 extern struct tty_driver *console_driver;
Dvt.c2499 struct tty_driver *console_driver;
2632 static struct tty_driver *vt_console_device(struct console *c, int *index) in vt_console_device()
2862 static int con_install(struct tty_driver *driver, struct tty_struct *tty) in con_install()
/linux-4.4.14/drivers/usb/gadget/function/
Du_serial.c1024 static struct tty_driver *gs_tty_driver;
/linux-4.4.14/drivers/net/usb/
Dhso.c394 static struct tty_driver *tty_drv;
/linux-4.4.14/drivers/isdn/i4l/
Disdn_tty.c1479 static int isdn_tty_install(struct tty_driver *driver, struct tty_struct *tty) in isdn_tty_install()
/linux-4.4.14/drivers/char/pcmcia/
Dsynclink_cs.c461 static struct tty_driver *serial_driver;