Home
last modified time | relevance | path

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

123

/linux/include/linux/
H A Dtty_driver.h15 struct tty_driver;
48 * be show up properly in sysfs. If not set, all &tty_driver.num entries
55 * Don't use the standard arrays (&tty_driver.ttys and
56 * &tty_driver.termios), instead use dynamic memory keyed through the
65 * (&tty_driver.ports) as it would waste memory. The driver will take
108 * @lookup: ``struct tty_struct *()(struct tty_driver *self, struct file *,
117 * @install: ``int ()(struct tty_driver *self, struct tty_struct *tty)``
124 * @remove: ``void ()(struct tty_driver *self, struct tty_struct *tty)``
407 * @poll_init: ``int ()(struct tty_driver *driver, int line, char *options)``
416 * @poll_get_char: ``int ()(struct tty_driver *drive
526 struct tty_driver { global() struct
536 typetty_driver global() argument
537 subtypetty_driver global() argument
541 othertty_driver global() argument
556 tty_driverstty_driver global() argument
561 opstty_driver global() argument
[all...]
H A Dserdev.h309 struct tty_driver;
315 struct tty_driver *drv, int idx);
321 struct tty_driver *drv, int idx) in serdev_tty_port_register()
H A Dconsole.h338 struct tty_driver *(*device)(struct console *co, int *index);
635 extern struct tty_driver *console_device(int *);
H A Dtty.h9 #include <linux/tty_driver.h>
127 * @driver: &struct tty_driver operating this tty
192 struct tty_driver *driver;
264 * :c:member:`tty_driver.unthrottle()` in order to resume reception when
293 * The TTY was hung up. This is set post :c:member:`tty_driver.hangup()`.
456 struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx);
460 int tty_standard_install(struct tty_driver *driver,
H A Dserial_core.h873 struct tty_driver;
889 struct tty_driver *tty_driver; member
1110 struct tty_driver *uart_console_device(struct console *co, int *index);
/linux/Documentation/driver-api/tty/
H A Dtty_driver.rst12 The first thing a driver needs to do is to allocate a struct tty_driver. This
28 .. kernel-doc:: include/linux/tty_driver.h
39 .. kernel-doc:: include/linux/tty_driver.h
47 When a struct tty_driver is allocated and filled in, it can be registered using
77 calling operations from :c:member:`tty_driver.ops`, see `TTY Operations
91 it. It must be known to the TTY layer at :c:member:`tty_driver.ops.install()`
100 :c:member:`tty_driver.ops.install` hook as a last resort. The last one is
115 All members of struct tty_driver are documented here. The required members are
118 .. kernel-doc:: include/linux/tty_driver.h
119 :identifiers: tty_driver
[all...]
/linux/fs/proc/
H A 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()
131 void proc_tty_register_driver(struct tty_driver *driver) in proc_tty_register_driver()
147 void proc_tty_unregister_driver(struct tty_driver *driver) in proc_tty_unregister_driver()
H A Dconsoles.c10 #include <linux/tty_driver.h>
35 const struct tty_driver *driver; in show_console_dev()
/linux/drivers/tty/
H A 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()
H A Dtty_io.c77 #include <linux/tty_driver.h>
306 static struct tty_driver *get_tty_driver(dev_t device, int *index) in get_tty_driver()
308 struct tty_driver *p; in get_tty_driver()
336 struct tty_driver *p; in tty_dev_name_to_number()
378 struct tty_driver *tty_find_polling_driver(char *name, int *line) in tty_find_polling_driver()
380 struct tty_driver *p; in tty_find_polling_driver()
754 * device and will not re-call the &tty_driver->stop() method.
785 * stopped and is now being started, the &tty_driver->start() method is invoked
1173 static void pty_line_name(struct tty_driver *driver, int index, char *p) in pty_line_name()
1194 static ssize_t tty_line_name(struct tty_driver *drive
[all...]
H A Dpty.c42 static struct tty_driver *ptm_driver;
43 static struct tty_driver *pts_driver;
359 static int pty_common_install(struct tty_driver *driver, struct tty_struct *tty, in pty_common_install()
439 static int pty_install(struct tty_driver *driver, struct tty_struct *tty) in pty_install()
444 static void pty_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_remove()
531 struct tty_driver *pty_driver, *pty_slave_driver; in legacy_pty_init()
688 static struct tty_struct *ptm_unix98_lookup(struct tty_driver *driver, in ptm_unix98_lookup()
705 static struct tty_struct *pts_unix98_lookup(struct tty_driver *driver, in pts_unix98_lookup()
719 static int pty_unix98_install(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_install()
725 static void pty_unix98_remove(struct tty_driver *drive
[all...]
H A Dtty_port.c9 #include <linux/tty_driver.h>
109 * @driver: tty_driver for this device
118 struct tty_driver *driver, unsigned index) in tty_port_link_device()
129 * @driver: tty_driver for this device
138 struct tty_driver *driver, unsigned index, in tty_port_register_device()
148 * @driver: tty_driver for this device
159 struct tty_driver *driver, unsigned index, in tty_port_register_device_attr()
172 * @driver: tty_driver for this device
183 struct tty_driver *driver, unsigned index, in tty_port_register_device_attr_serdev()
205 * @driver: tty_driver fo
[all...]
H A Dgoldfish.c48 static struct tty_driver *goldfish_tty_driver;
206 static struct tty_driver *goldfish_tty_console_device(struct console *c, in goldfish_tty_console_device()
239 struct tty_driver *tty; in goldfish_tty_create_driver()
H A Dehv_bytechan.c225 static struct tty_driver *ehv_bc_driver;
291 static struct tty_driver *ehv_bc_console_device(struct console *co, int *index) in ehv_bc_console_device()
756 struct tty_driver *driver; in ehv_bc_init()
H A Dmips_ejtag_fdc.c27 #include <linux/tty_driver.h>
143 struct tty_driver *driver;
294 struct tty_driver *tty_drv;
356 static struct tty_driver *mips_ejtag_fdc_console_device(struct console *c, in mips_ejtag_fdc_console_device()
762 static int mips_ejtag_fdc_tty_install(struct tty_driver *driver, in mips_ejtag_fdc_tty_install()
891 struct tty_driver *driver; in mips_ejtag_fdc_tty_probe()
/linux/arch/xtensa/platforms/iss/
H A Dconsole.c36 static struct tty_driver *serial_driver;
106 struct tty_driver *driver; in rs_init()
115 /* Initialize the tty_driver structure */ in rs_init()
173 static struct tty_driver* iss_console_device(struct console *c, int *index) in iss_console_device()
/linux/arch/um/drivers/
H A Dline.h29 struct tty_driver *driver;
61 extern int line_install(struct tty_driver *driver, struct tty_struct *tty,
H A Dstdio_console.c93 static int con_install(struct tty_driver *driver, struct tty_struct *tty) in con_install()
123 static struct tty_driver *uml_console_device(struct console *c, int *index) in uml_console_device()
H A Dssl.c8 #include <linux/tty_driver.h>
87 static int ssl_install(struct tty_driver *driver, struct tty_struct *tty) in ssl_install()
122 static struct tty_driver *ssl_console_device(struct console *c, int *index) in ssl_console_device()
/linux/drivers/usb/serial/
H A Dconsole.c246 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/drivers/s390/char/
H A Dsclp_tty.h14 #include <linux/tty_driver.h>
16 extern struct tty_driver *sclp_tty_driver;
H A Dsclp_vt220.c19 #include <linux/tty_driver.h>
60 static struct tty_driver *sclp_vt220_driver;
729 struct tty_driver *driver; in sclp_vt220_tty_init()
778 static struct tty_driver *
/linux/drivers/tty/serial/
H A Dserial_core.c1948 static int uart_install(struct tty_driver *driver, struct tty_struct *tty) in uart_install()
2095 struct tty_driver *ttydrv = m->private; in uart_proc_show()
2326 struct tty_driver *tty_drv = match->driver->tty_driver; in serial_match_port()
2623 static int uart_poll_init(struct tty_driver *driver, int line, char *options) in uart_poll_init()
2670 static int uart_poll_get_char(struct tty_driver *driver, int line) in uart_poll_get_char()
2686 static void uart_poll_put_char(struct tty_driver *driver, int line, char ch) in uart_poll_put_char()
2763 struct tty_driver *normal; in uart_register_driver()
2783 drv->tty_driver = normal; in uart_register_driver()
2834 struct tty_driver * in uart_unregister_driver()
[all...]
H A Dkgdboc.c42 static struct tty_driver *kgdb_tty_driver;
195 struct tty_driver *p; in configure_kgdboc()
/linux/drivers/tty/serdev/
H A Dserdev-ttyport.c8 #include <linux/tty_driver.h>
16 struct tty_driver *tty_drv;
268 struct tty_driver *drv, int idx) in serdev_tty_port_register()

123