Searched refs:smd_tty_driver (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/tty/serial/
H A Dmsm_smd_tty.c192 static struct tty_driver *smd_tty_driver; variable in typeref:struct:tty_driver
198 smd_tty_driver = alloc_tty_driver(MAX_SMD_TTYS); smd_tty_init()
199 if (smd_tty_driver == 0) smd_tty_init()
202 smd_tty_driver->driver_name = "smd_tty_driver"; smd_tty_init()
203 smd_tty_driver->name = "smd"; smd_tty_init()
204 smd_tty_driver->major = 0; smd_tty_init()
205 smd_tty_driver->minor_start = 0; smd_tty_init()
206 smd_tty_driver->type = TTY_DRIVER_TYPE_SERIAL; smd_tty_init()
207 smd_tty_driver->subtype = SERIAL_TYPE_NORMAL; smd_tty_init()
208 smd_tty_driver->init_termios = tty_std_termios; smd_tty_init()
209 smd_tty_driver->init_termios.c_iflag = 0; smd_tty_init()
210 smd_tty_driver->init_termios.c_oflag = 0; smd_tty_init()
211 smd_tty_driver->init_termios.c_cflag = B38400 | CS8 | CREAD; smd_tty_init()
212 smd_tty_driver->init_termios.c_lflag = 0; smd_tty_init()
213 smd_tty_driver->flags = TTY_DRIVER_RESET_TERMIOS | smd_tty_init()
215 tty_set_operations(smd_tty_driver, &smd_tty_ops); smd_tty_init()
217 ret = tty_register_driver(smd_tty_driver); smd_tty_init()
225 tty_port_register_device(port, smd_tty_driver, smd_tty_init()

Completed in 25 milliseconds