Lines Matching refs:pdc_drv_driver
69 static struct tty_driver pdc_drv_driver; variable
619 memset(&pdc_drv_driver, 0, sizeof (struct tty_driver)); in pdc_drv_init()
620 pdc_drv_driver.magic = TTY_DRIVER_MAGIC; in pdc_drv_init()
621 pdc_drv_driver.driver_name = "pdc_console"; in pdc_drv_init()
623 pdc_drv_driver.name = "ttb/%d"; in pdc_drv_init()
625 pdc_drv_driver.name = "ttyB"; in pdc_drv_init()
627 pdc_drv_driver.major = MUX_MAJOR; in pdc_drv_init()
628 pdc_drv_driver.minor_start = 0; in pdc_drv_init()
629 pdc_drv_driver.num = NR_PORTS; in pdc_drv_init()
630 pdc_drv_driver.type = TTY_DRIVER_TYPE_SERIAL; in pdc_drv_init()
631 pdc_drv_driver.subtype = SERIAL_TYPE_NORMAL; in pdc_drv_init()
632 pdc_drv_driver.init_termios = tty_std_termios; in pdc_drv_init()
633 pdc_drv_driver.init_termios.c_cflag = in pdc_drv_init()
635 pdc_drv_driver.flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_NO_DEVFS; in pdc_drv_init()
636 pdc_drv_driver.refcount = &pdc_drv_refcount; in pdc_drv_init()
637 pdc_drv_driver.table = pdc_drv_table; in pdc_drv_init()
638 pdc_drv_driver.termios = pdc_drv_termios; in pdc_drv_init()
639 pdc_drv_driver.termios_locked = pdc_drv_termios_locked; in pdc_drv_init()
641 pdc_drv_driver.open = pdc_open; in pdc_drv_init()
642 pdc_drv_driver.close = pdc_close; in pdc_drv_init()
643 pdc_drv_driver.write = pdc_write; in pdc_drv_init()
644 pdc_drv_driver.put_char = pdc_put_char; in pdc_drv_init()
645 pdc_drv_driver.flush_chars = pdc_flush_chars; in pdc_drv_init()
646 pdc_drv_driver.write_room = pdc_write_room; in pdc_drv_init()
647 pdc_drv_driver.chars_in_buffer = pdc_chars_in_buffer; in pdc_drv_init()
648 pdc_drv_driver.flush_buffer = pdc_flush_buffer; in pdc_drv_init()
649 pdc_drv_driver.ioctl = pdc_ioctl; in pdc_drv_init()
650 pdc_drv_driver.throttle = pdc_throttle; in pdc_drv_init()
651 pdc_drv_driver.unthrottle = pdc_unthrottle; in pdc_drv_init()
652 pdc_drv_driver.set_termios = pdc_set_termios; in pdc_drv_init()
653 pdc_drv_driver.stop = pdc_stop; in pdc_drv_init()
654 pdc_drv_driver.start = pdc_start; in pdc_drv_init()
655 pdc_drv_driver.hangup = pdc_hangup; in pdc_drv_init()
656 pdc_drv_driver.break_ctl = pdc_break; in pdc_drv_init()
657 pdc_drv_driver.send_xchar = pdc_send_xchar; in pdc_drv_init()
658 pdc_drv_driver.wait_until_sent = pdc_wait_until_sent; in pdc_drv_init()
659 pdc_drv_driver.read_proc = NULL; in pdc_drv_init()
661 if (tty_register_driver(&pdc_drv_driver)) in pdc_drv_init()
672 if ((e1 = tty_unregister_driver(&pdc_drv_driver))) in pdc_fini()