Lines Matching refs:sb1250_duart_driver
71 static struct tty_driver sb1250_duart_driver, sb1250_duart_callout_driver; variable
753 sb1250_duart_driver.magic = TTY_DRIVER_MAGIC; in sb1250_duart_init()
754 sb1250_duart_driver.driver_name = "serial"; in sb1250_duart_init()
756 sb1250_duart_driver.name = "tts/%d"; in sb1250_duart_init()
758 sb1250_duart_driver.name = "ttyS"; in sb1250_duart_init()
760 sb1250_duart_driver.major = TTY_MAJOR; in sb1250_duart_init()
761 sb1250_duart_driver.minor_start = SB1250_DUART_MINOR_BASE; in sb1250_duart_init()
762 sb1250_duart_driver.num = DUART_MAX_LINE; in sb1250_duart_init()
763 sb1250_duart_driver.type = TTY_DRIVER_TYPE_SERIAL; in sb1250_duart_init()
764 sb1250_duart_driver.subtype = SERIAL_TYPE_NORMAL; in sb1250_duart_init()
765 sb1250_duart_driver.init_termios = tty_std_termios; in sb1250_duart_init()
766 sb1250_duart_driver.flags = TTY_DRIVER_REAL_RAW; in sb1250_duart_init()
767 sb1250_duart_driver.refcount = &duart_refcount; in sb1250_duart_init()
768 sb1250_duart_driver.table = duart_table; in sb1250_duart_init()
769 sb1250_duart_driver.termios = duart_termios; in sb1250_duart_init()
770 sb1250_duart_driver.termios_locked = duart_termios_locked; in sb1250_duart_init()
772 sb1250_duart_driver.open = duart_open; in sb1250_duart_init()
773 sb1250_duart_driver.close = duart_close; in sb1250_duart_init()
774 sb1250_duart_driver.write = duart_write; in sb1250_duart_init()
775 sb1250_duart_driver.put_char = duart_put_char; in sb1250_duart_init()
776 sb1250_duart_driver.write_room = duart_write_room; in sb1250_duart_init()
777 sb1250_duart_driver.flush_chars = duart_flush_chars; in sb1250_duart_init()
778 sb1250_duart_driver.chars_in_buffer = duart_chars_in_buffer; in sb1250_duart_init()
779 sb1250_duart_driver.flush_buffer = duart_flush_buffer; in sb1250_duart_init()
780 sb1250_duart_driver.ioctl = duart_ioctl; in sb1250_duart_init()
781 sb1250_duart_driver.set_termios = duart_set_termios; in sb1250_duart_init()
782 sb1250_duart_driver.stop = duart_stop; in sb1250_duart_init()
783 sb1250_duart_driver.start = duart_start; in sb1250_duart_init()
784 sb1250_duart_driver.hangup = duart_hangup; in sb1250_duart_init()
785 sb1250_duart_driver.wait_until_sent = duart_wait_until_sent; in sb1250_duart_init()
787 sb1250_duart_callout_driver = sb1250_duart_driver; in sb1250_duart_init()
815 if (tty_register_driver(&sb1250_duart_driver)) { in sb1250_duart_init()
836 ret = tty_unregister_driver(&sb1250_duart_driver); in sb1250_duart_fini()