dbc_tty_driver 282 drivers/usb/host/xhci-dbgtty.c static struct tty_driver *dbc_tty_driver; dbc_tty_driver 289 drivers/usb/host/xhci-dbgtty.c dbc_tty_driver = tty_alloc_driver(1, TTY_DRIVER_REAL_RAW | dbc_tty_driver 291 drivers/usb/host/xhci-dbgtty.c if (IS_ERR(dbc_tty_driver)) { dbc_tty_driver 292 drivers/usb/host/xhci-dbgtty.c status = PTR_ERR(dbc_tty_driver); dbc_tty_driver 293 drivers/usb/host/xhci-dbgtty.c dbc_tty_driver = NULL; dbc_tty_driver 297 drivers/usb/host/xhci-dbgtty.c dbc_tty_driver->driver_name = "dbc_serial"; dbc_tty_driver 298 drivers/usb/host/xhci-dbgtty.c dbc_tty_driver->name = "ttyDBC"; dbc_tty_driver 300 drivers/usb/host/xhci-dbgtty.c dbc_tty_driver->type = TTY_DRIVER_TYPE_SERIAL; dbc_tty_driver 301 drivers/usb/host/xhci-dbgtty.c dbc_tty_driver->subtype = SERIAL_TYPE_NORMAL; dbc_tty_driver 302 drivers/usb/host/xhci-dbgtty.c dbc_tty_driver->init_termios = tty_std_termios; dbc_tty_driver 303 drivers/usb/host/xhci-dbgtty.c dbc_tty_driver->init_termios.c_cflag = dbc_tty_driver 305 drivers/usb/host/xhci-dbgtty.c dbc_tty_driver->init_termios.c_ispeed = 9600; dbc_tty_driver 306 drivers/usb/host/xhci-dbgtty.c dbc_tty_driver->init_termios.c_ospeed = 9600; dbc_tty_driver 307 drivers/usb/host/xhci-dbgtty.c dbc_tty_driver->driver_state = &dbc->port; dbc_tty_driver 309 drivers/usb/host/xhci-dbgtty.c tty_set_operations(dbc_tty_driver, &dbc_tty_ops); dbc_tty_driver 311 drivers/usb/host/xhci-dbgtty.c status = tty_register_driver(dbc_tty_driver); dbc_tty_driver 315 drivers/usb/host/xhci-dbgtty.c put_tty_driver(dbc_tty_driver); dbc_tty_driver 316 drivers/usb/host/xhci-dbgtty.c dbc_tty_driver = NULL; dbc_tty_driver 324 drivers/usb/host/xhci-dbgtty.c if (dbc_tty_driver) { dbc_tty_driver 325 drivers/usb/host/xhci-dbgtty.c tty_unregister_driver(dbc_tty_driver); dbc_tty_driver 326 drivers/usb/host/xhci-dbgtty.c put_tty_driver(dbc_tty_driver); dbc_tty_driver 327 drivers/usb/host/xhci-dbgtty.c dbc_tty_driver = NULL; dbc_tty_driver 452 drivers/usb/host/xhci-dbgtty.c dbc_tty_driver, 0, NULL); dbc_tty_driver 482 drivers/usb/host/xhci-dbgtty.c tty_unregister_device(dbc_tty_driver, 0); dbc_tty_driver 497 drivers/usb/host/xhci-dbgtty.c tty_unregister_device(dbc_tty_driver, 0);