/linux-4.1.27/include/linux/ |
D | tty_driver.h | 248 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 …]
|
D | tty.h | 264 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, 510 extern struct tty_struct *alloc_tty_struct(struct tty_driver *driver, int idx); 516 extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx); 519 extern int tty_standard_install(struct tty_driver *driver, [all …]
|
D | console.h | 123 struct tty_driver *(*device)(struct console *, int *); 153 extern struct tty_driver *console_device(int *);
|
D | serial_core.h | 293 struct tty_driver; 309 struct tty_driver *tty_driver; member 368 struct tty_driver *uart_console_device(struct console *co, int *index);
|
D | isdn.h | 364 struct tty_driver *tty_modem; /* tty-device */
|
/linux-4.1.27/drivers/staging/gdm724x/ |
D | gdm_tty.c | 49 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.1.27/fs/proc/ |
D | proc_tty.c | 26 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()
|
D | consoles.c | 35 const struct tty_driver *driver; in show_console_dev()
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | hpsim.h | 10 struct tty_driver; 11 extern struct tty_driver *hp_simserial_driver;
|
/linux-4.1.27/arch/ia64/hp/sim/ |
D | hpsim_console.c | 30 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()
|
D | simserial.c | 52 struct tty_driver *hp_simserial_driver;
|
/linux-4.1.27/drivers/tty/ |
D | tty_io.c | 314 static struct tty_driver *get_tty_driver(dev_t device, int *index) in get_tty_driver() 316 struct tty_driver *p; in get_tty_driver() 339 struct tty_driver *tty_find_polling_driver(char *name, int *line) in tty_find_polling_driver() 341 struct tty_driver *p, *res = NULL; in tty_find_polling_driver() 1323 static void pty_line_name(struct tty_driver *driver, int index, char *p) in pty_line_name() 1343 static ssize_t tty_line_name(struct tty_driver *driver, int index, char *p) in tty_line_name() 1362 static struct tty_struct *tty_driver_lookup_tty(struct tty_driver *driver, in tty_driver_lookup_tty() 1407 int tty_standard_install(struct tty_driver *driver, struct tty_struct *tty) in tty_standard_install() 1432 static int tty_driver_install_tty(struct tty_driver *driver, in tty_driver_install_tty() 1449 void tty_driver_remove_tty(struct tty_driver *driver, struct tty_struct *tty) in tty_driver_remove_tty() [all …]
|
D | pty.c | 31 static struct tty_driver *ptm_driver; 32 static struct tty_driver *pts_driver; 372 static int pty_common_install(struct tty_driver *driver, struct tty_struct *tty, in pty_common_install() 462 static int pty_install(struct tty_driver *driver, struct tty_struct *tty) in pty_install() 467 static void pty_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_remove() 536 struct tty_driver *pty_driver, *pty_slave_driver; in legacy_pty_init() 628 static struct tty_struct *ptm_unix98_lookup(struct tty_driver *driver, in ptm_unix98_lookup() 644 static struct tty_struct *pts_unix98_lookup(struct tty_driver *driver, in pts_unix98_lookup() 661 static int pty_unix98_install(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_install() 666 static void pty_unix98_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_remove()
|
D | tty_port.c | 48 struct tty_driver *driver, unsigned index) in tty_port_link_device() 68 struct tty_driver *driver, unsigned index, in tty_port_register_device() 90 struct tty_driver *driver, unsigned index, in tty_port_register_device_attr() 573 int tty_port_install(struct tty_port *port, struct tty_driver *driver, in tty_port_install()
|
D | goldfish.c | 51 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()
|
D | metag_da.c | 69 static struct tty_driver *channel_driver; 419 static int dashtty_install(struct tty_driver *driver, struct tty_struct *tty) in dashtty_install() 673 static struct tty_driver *dash_console_device(struct console *c, int *index) in dash_console_device()
|
D | bfin_jtag_comm.c | 63 static struct tty_driver *bfin_jc_driver; 308 static struct tty_driver *
|
D | mips_ejtag_fdc.c | 146 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() 887 struct tty_driver *driver; in mips_ejtag_fdc_tty_probe()
|
D | ehv_bytechan.c | 211 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()
|
D | amiserial.c | 115 static struct tty_driver *serial_driver; 1848 static struct tty_driver *serial_console_device(struct console *c, int *index) in serial_console_device()
|
D | nozomi.c | 411 static struct tty_driver *ntty_driver; 1588 static int ntty_install(struct tty_driver *driver, struct tty_struct *tty) in ntty_install()
|
D | n_gsm.c | 280 static struct tty_driver *gsm_tty_driver; 2902 static int gsmtty_install(struct tty_driver *driver, struct tty_struct *tty) in gsmtty_install()
|
D | isicom.c | 175 static struct tty_driver *isicom_normal;
|
D | moxa.c | 431 static struct tty_driver *moxaDriver;
|
D | synclinkmp.c | 498 static struct tty_driver *serial_driver; 713 static int install(struct tty_driver *driver, struct tty_struct *tty) in install()
|
D | synclink.c | 903 static struct tty_driver *serial_driver; 3356 static int mgsl_install(struct tty_driver *driver, struct tty_struct *tty) in mgsl_install()
|
D | mxser.c | 287 static struct tty_driver *mxvar_sdriver;
|
D | rocket.c | 104 static struct tty_driver *rocket_driver;
|
D | cyclades.c | 134 static struct tty_driver *cy_serial_driver;
|
D | synclink_gt.c | 139 static struct tty_driver *serial_driver;
|
/linux-4.1.27/arch/um/drivers/ |
D | line.h | 31 struct tty_driver *driver; 61 extern int line_install(struct tty_driver *driver, struct tty_struct *tty,
|
D | stdio_console.c | 95 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()
|
D | ssl.c | 90 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()
|
D | line.c | 337 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.1.27/drivers/tty/hvc/ |
D | hvc_console.c | 68 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() 802 static int hvc_poll_init(struct tty_driver *driver, int line, char *options) in hvc_poll_init() 807 static int hvc_poll_get_char(struct tty_driver *driver, int line) in hvc_poll_get_char() 822 static void hvc_poll_put_char(struct tty_driver *driver, int line, char ch) in hvc_poll_put_char() 957 struct tty_driver *drv; in hvc_init()
|
D | hvsi.c | 98 static struct tty_driver *hvsi_driver; 1129 static struct tty_driver *hvsi_console_device(struct console *console, in hvsi_console_device()
|
D | hvcs.c | 218 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.1.27/drivers/usb/serial/ |
D | console.c | 248 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()
|
D | usb-serial.c | 179 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.1.27/arch/alpha/kernel/ |
D | srmcons.c | 195 static struct tty_driver *srmcons_driver; 211 struct tty_driver *driver; in srmcons_init() 256 static struct tty_driver *
|
/linux-4.1.27/arch/m68k/emu/ |
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()
|
/linux-4.1.27/drivers/s390/char/ |
D | tty3270.h | 12 extern struct tty_driver *tty3270_driver;
|
D | sclp_tty.h | 15 extern struct tty_driver *sclp_tty_driver;
|
D | sclp_vt220.c | 56 static struct tty_driver *sclp_vt220_driver; 691 struct tty_driver *driver; in sclp_vt220_tty_init() 797 static struct tty_driver *
|
D | sclp_tty.c | 54 struct tty_driver *sclp_tty_driver; 504 struct tty_driver *driver; in sclp_tty_init()
|
D | con3215.c | 104 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()
|
D | sclp_con.c | 223 static struct tty_driver *
|
D | tty3270.c | 37 struct tty_driver *tty3270_driver; 908 static int tty3270_install(struct tty_driver *driver, struct tty_struct *tty) in tty3270_install() 1867 struct tty_driver *driver; in tty3270_init() 1904 struct tty_driver *driver; in tty3270_exit()
|
D | con3270.c | 505 static struct tty_driver *
|
/linux-4.1.27/drivers/tty/serial/ |
D | kgdb_nmi.c | 69 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()
|
D | serial_core.c | 1743 struct tty_driver *ttydrv = m->private; in uart_proc_show() 2012 struct tty_driver *tty_drv = match->driver->tty_driver; in serial_match_port() 2065 drv->tty_driver->name_base + uport->line); in uart_suspend_port() 2197 drv->tty_driver->name_base + port->line, in uart_report_port() 2264 static int uart_poll_init(struct tty_driver *driver, int line, char *options) in uart_poll_init() 2306 static int uart_poll_get_char(struct tty_driver *driver, int line) in uart_poll_get_char() 2319 static void uart_poll_put_char(struct tty_driver *driver, int line, char ch) in uart_poll_put_char() 2391 struct tty_driver *normal; in uart_register_driver() 2408 drv->tty_driver = normal; in uart_register_driver() 2458 struct tty_driver *p = drv->tty_driver; in uart_unregister_driver() [all …]
|
D | kgdboc.c | 38 static struct tty_driver *kgdb_tty_driver; 158 struct tty_driver *p; in configure_kgdboc()
|
D | mux.c | 415 struct tty_driver *mux_console_device(struct console *co, int *index) in mux_console_device() 418 return mux_driver.tty_driver; in mux_console_device()
|
D | suncore.c | 39 drv->tty_driver->name_base = drv->minor - 64; in sunserial_register_minors()
|
D | msm_smd_tty.c | 192 static struct tty_driver *smd_tty_driver;
|
D | tilegx.c | 658 struct tty_driver *tty_drv; in tilegx_init() 663 tty_drv = tilegx_uart_driver.tty_driver; in tilegx_init()
|
D | 68328serial.c | 139 struct tty_driver *serial_driver; 1286 static struct tty_driver *m68328_console_device(struct console *c, int *index)
|
D | etraxfs-uart.c | 115 static struct tty_driver *cris_console_device(struct console *co, int *index) in cris_console_device() 119 return p->tty_driver; in cris_console_device()
|
D | sn_console.c | 752 extern struct tty_driver *uart_console_device(struct console *, int *);
|
D | ifx6x60.c | 87 static struct tty_driver *tty_drv;
|
D | crisv10.c | 71 struct tty_driver *serial_driver; 4242 struct tty_driver *driver = alloc_tty_driver(NR_PORTS); in rs_init()
|
/linux-4.1.27/arch/parisc/kernel/ |
D | pdc_cons.c | 157 static struct tty_driver *pdc_console_tty_driver; 213 static struct tty_driver * pdc_console_device (struct console *c, int *index) in pdc_console_device()
|
/linux-4.1.27/arch/xtensa/platforms/iss/ |
D | console.c | 38 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.1.27/arch/cris/arch-v10/kernel/ |
D | debugport.c | 102 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.1.27/drivers/staging/dgnc/ |
D | dgnc_driver.h | 202 struct tty_driver SerialDriver; 204 struct tty_driver PrintDriver;
|
/linux-4.1.27/drivers/misc/ |
D | pti.c | 84 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.1.27/drivers/pps/clients/ |
D | pps-ldisc.c | 60 struct tty_driver *drv = tty->driver; in pps_tty_open()
|
/linux-4.1.27/drivers/net/irda/ |
D | donauboe.h | 311 struct tty_driver ttydev;
|
/linux-4.1.27/drivers/char/ |
D | ttyprintk.c | 176 static struct tty_driver *ttyprintk_driver;
|
/linux-4.1.27/Documentation/zh_CN/ |
D | magic-number.txt | 85 TTY_DRIVER_MAGIC 0x5402 tty_driver include/linux/tty_driver.h
|
/linux-4.1.27/drivers/staging/fwserial/ |
D | fwserial.h | 342 extern struct tty_driver *fwtty_driver;
|
D | fwserial.c | 82 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.1.27/Documentation/ |
D | magic-number.txt | 85 TTY_DRIVER_MAGIC 0x5402 tty_driver include/linux/tty_driver.h
|
/linux-4.1.27/drivers/staging/dgap/ |
D | dgap.h | 580 struct tty_driver *serial_driver; 583 struct tty_driver *print_driver;
|
/linux-4.1.27/drivers/mmc/card/ |
D | sdio_uart.c | 732 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.1.27/net/irda/ircomm/ |
D | ircomm_tty.c | 53 static int ircomm_tty_install(struct tty_driver *driver, 80 static struct tty_driver *driver; 375 static int ircomm_tty_install(struct tty_driver *driver, struct tty_struct *tty) in ircomm_tty_install()
|
/linux-4.1.27/include/linux/usb/ |
D | serial.h | 361 extern struct tty_driver *usb_serial_tty_driver;
|
/linux-4.1.27/drivers/ipack/devices/ |
D | ipoctal.c | 53 struct tty_driver *tty_drv; 271 struct tty_driver *tty; in ipoctal_inst_slot()
|
/linux-4.1.27/drivers/isdn/capi/ |
D | capi.c | 137 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.1.27/net/bluetooth/rfcomm/ |
D | tty.c | 44 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.1.27/drivers/tty/ipwireless/ |
D | tty.c | 61 static struct tty_driver *ipw_tty_driver;
|
/linux-4.1.27/drivers/isdn/gigaset/ |
D | gigaset.h | 510 struct tty_driver *tty;
|
D | interface.c | 561 struct tty_driver *tty; in gigaset_if_initdriver()
|
/linux-4.1.27/drivers/usb/class/ |
D | cdc-acm.c | 58 static struct tty_driver *acm_tty_driver; 494 static int acm_tty_install(struct tty_driver *driver, struct tty_struct *tty) in acm_tty_install()
|
/linux-4.1.27/kernel/printk/ |
D | printk.c | 2347 struct tty_driver *console_device(int *index) in console_device() 2350 struct tty_driver *driver = NULL; in console_device()
|
/linux-4.1.27/drivers/tty/vt/ |
D | vt_ioctl.c | 40 extern struct tty_driver *console_driver;
|
D | vt.c | 2485 struct tty_driver *console_driver; 2618 static struct tty_driver *vt_console_device(struct console *c, int *index) in vt_console_device() 2848 static int con_install(struct tty_driver *driver, struct tty_struct *tty) in con_install()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | u_serial.c | 1024 static struct tty_driver *gs_tty_driver;
|
/linux-4.1.27/drivers/net/usb/ |
D | hso.c | 394 static struct tty_driver *tty_drv;
|
/linux-4.1.27/drivers/isdn/i4l/ |
D | isdn_tty.c | 1479 static int isdn_tty_install(struct tty_driver *driver, struct tty_struct *tty) in isdn_tty_install()
|
/linux-4.1.27/drivers/char/pcmcia/ |
D | synclink_cs.c | 461 static struct tty_driver *serial_driver;
|