ttyprintk_driver 171 drivers/char/ttyprintk.c static struct tty_driver *ttyprintk_driver; ttyprintk_driver 179 drivers/char/ttyprintk.c ttyprintk_driver = tty_alloc_driver(1, ttyprintk_driver 183 drivers/char/ttyprintk.c if (IS_ERR(ttyprintk_driver)) ttyprintk_driver 184 drivers/char/ttyprintk.c return PTR_ERR(ttyprintk_driver); ttyprintk_driver 189 drivers/char/ttyprintk.c ttyprintk_driver->driver_name = "ttyprintk"; ttyprintk_driver 190 drivers/char/ttyprintk.c ttyprintk_driver->name = "ttyprintk"; ttyprintk_driver 191 drivers/char/ttyprintk.c ttyprintk_driver->major = TTYAUX_MAJOR; ttyprintk_driver 192 drivers/char/ttyprintk.c ttyprintk_driver->minor_start = 3; ttyprintk_driver 193 drivers/char/ttyprintk.c ttyprintk_driver->type = TTY_DRIVER_TYPE_CONSOLE; ttyprintk_driver 194 drivers/char/ttyprintk.c ttyprintk_driver->init_termios = tty_std_termios; ttyprintk_driver 195 drivers/char/ttyprintk.c ttyprintk_driver->init_termios.c_oflag = OPOST | OCRNL | ONOCR | ONLRET; ttyprintk_driver 196 drivers/char/ttyprintk.c tty_set_operations(ttyprintk_driver, &ttyprintk_ops); ttyprintk_driver 197 drivers/char/ttyprintk.c tty_port_link_device(&tpk_port.port, ttyprintk_driver, 0); ttyprintk_driver 199 drivers/char/ttyprintk.c ret = tty_register_driver(ttyprintk_driver); ttyprintk_driver 208 drivers/char/ttyprintk.c put_tty_driver(ttyprintk_driver); ttyprintk_driver 215 drivers/char/ttyprintk.c tty_unregister_driver(ttyprintk_driver); ttyprintk_driver 216 drivers/char/ttyprintk.c put_tty_driver(ttyprintk_driver);