Lines Matching refs:ip2_tty_driver
334 static struct tty_driver ip2_tty_driver; variable
549 if ( ( err = tty_unregister_driver ( &ip2_tty_driver ) ) ) { in cleanup_module()
816 memset ( &ip2_tty_driver, 0, sizeof ip2_tty_driver ); in ip2_loadmain()
819 ip2_tty_driver.magic = TTY_DRIVER_MAGIC; in ip2_loadmain()
820 ip2_tty_driver.name = pcTty; in ip2_loadmain()
822 ip2_tty_driver.driver_name = pcDriver_name; in ip2_loadmain()
823 ip2_tty_driver.read_proc = ip2_read_proc; in ip2_loadmain()
825 ip2_tty_driver.major = IP2_TTY_MAJOR; in ip2_loadmain()
826 ip2_tty_driver.minor_start = 0; in ip2_loadmain()
827 ip2_tty_driver.num = IP2_MAX_PORTS; in ip2_loadmain()
828 ip2_tty_driver.type = TTY_DRIVER_TYPE_SERIAL; in ip2_loadmain()
829 ip2_tty_driver.subtype = SERIAL_TYPE_NORMAL; in ip2_loadmain()
830 ip2_tty_driver.init_termios = tty_std_termios; in ip2_loadmain()
831 ip2_tty_driver.init_termios.c_cflag = B9600|CS8|CREAD|HUPCL|CLOCAL; in ip2_loadmain()
833 ip2_tty_driver.flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_NO_DEVFS; in ip2_loadmain()
835 ip2_tty_driver.flags = TTY_DRIVER_REAL_RAW; in ip2_loadmain()
837 ip2_tty_driver.refcount = &ref_count; in ip2_loadmain()
838 ip2_tty_driver.table = TtyTable; in ip2_loadmain()
839 ip2_tty_driver.termios = Termios; in ip2_loadmain()
840 ip2_tty_driver.termios_locked = TermiosLocked; in ip2_loadmain()
843 ip2_tty_driver.open = ip2_open; in ip2_loadmain()
844 ip2_tty_driver.close = ip2_close; in ip2_loadmain()
845 ip2_tty_driver.write = ip2_write; in ip2_loadmain()
846 ip2_tty_driver.put_char = ip2_putchar; in ip2_loadmain()
847 ip2_tty_driver.flush_chars = ip2_flush_chars; in ip2_loadmain()
848 ip2_tty_driver.write_room = ip2_write_room; in ip2_loadmain()
849 ip2_tty_driver.chars_in_buffer = ip2_chars_in_buf; in ip2_loadmain()
850 ip2_tty_driver.flush_buffer = ip2_flush_buffer; in ip2_loadmain()
851 ip2_tty_driver.ioctl = ip2_ioctl; in ip2_loadmain()
852 ip2_tty_driver.throttle = ip2_throttle; in ip2_loadmain()
853 ip2_tty_driver.unthrottle = ip2_unthrottle; in ip2_loadmain()
854 ip2_tty_driver.set_termios = ip2_set_termios; in ip2_loadmain()
855 ip2_tty_driver.set_ldisc = ip2_set_line_discipline; in ip2_loadmain()
856 ip2_tty_driver.stop = ip2_stop; in ip2_loadmain()
857 ip2_tty_driver.start = ip2_start; in ip2_loadmain()
858 ip2_tty_driver.hangup = ip2_hangup; in ip2_loadmain()
863 ip2_callout_driver = ip2_tty_driver; in ip2_loadmain()
875 if ( ( err = tty_register_driver ( &ip2_tty_driver ) ) ) { in ip2_loadmain()
937 tty_register_devfs(&ip2_tty_driver, in ip2_loadmain()