Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/tty/
Dpty.c531 struct tty_driver *pty_driver, *pty_slave_driver; in legacy_pty_init() local
543 pty_slave_driver = tty_alloc_driver(legacy_count, in legacy_pty_init()
547 if (IS_ERR(pty_slave_driver)) in legacy_pty_init()
563 pty_driver->other = pty_slave_driver; in legacy_pty_init()
566 pty_slave_driver->driver_name = "pty_slave"; in legacy_pty_init()
567 pty_slave_driver->name = "ttyp"; in legacy_pty_init()
568 pty_slave_driver->major = PTY_SLAVE_MAJOR; in legacy_pty_init()
569 pty_slave_driver->minor_start = 0; in legacy_pty_init()
570 pty_slave_driver->type = TTY_DRIVER_TYPE_PTY; in legacy_pty_init()
571 pty_slave_driver->subtype = PTY_TYPE_SLAVE; in legacy_pty_init()
[all …]