Home
last modified time | relevance | path

Searched refs:console_driver (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/tty/vt/
Dvt.c3038 struct tty_driver *console_driver; variable
3157 return console_driver; in vt_console_device()
3611 console_driver = alloc_tty_driver(MAX_NR_CONSOLES); in vty_init()
3612 if (!console_driver) in vty_init()
3615 console_driver->name = "tty"; in vty_init()
3616 console_driver->name_base = 1; in vty_init()
3617 console_driver->major = TTY_MAJOR; in vty_init()
3618 console_driver->minor_start = 1; in vty_init()
3619 console_driver->type = TTY_DRIVER_TYPE_CONSOLE; in vty_init()
3620 console_driver->init_termios = tty_std_termios; in vty_init()
[all …]
/kernel/linux/linux-5.10/drivers/tty/
Dtty_io.c1927 extern struct tty_driver *console_driver; in tty_lookup_driver()
1928 driver = tty_driver_kref_get(console_driver); in tty_lookup_driver()
1934 struct tty_driver *console_driver = console_device(index); in tty_lookup_driver() local
1935 if (console_driver) { in tty_lookup_driver()
1936 driver = tty_driver_kref_get(console_driver); in tty_lookup_driver()