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

/linux-4.1.27/drivers/tty/
H A Dn_gsm.c280 static struct tty_driver *gsm_tty_driver; variable in typeref:struct:tty_driver
2245 tty_register_device(gsm_tty_driver, base + i, NULL); gsmld_attach_gsm()
2266 tty_unregister_device(gsm_tty_driver, base + i); gsmld_detach_gsm()
3218 gsm_tty_driver = alloc_tty_driver(256); gsm_init()
3219 if (!gsm_tty_driver) { gsm_init()
3224 gsm_tty_driver->driver_name = "gsmtty"; gsm_init()
3225 gsm_tty_driver->name = "gsmtty"; gsm_init()
3226 gsm_tty_driver->major = 0; /* Dynamic */ gsm_init()
3227 gsm_tty_driver->minor_start = 0; gsm_init()
3228 gsm_tty_driver->type = TTY_DRIVER_TYPE_SERIAL; gsm_init()
3229 gsm_tty_driver->subtype = SERIAL_TYPE_NORMAL; gsm_init()
3230 gsm_tty_driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV gsm_init()
3232 gsm_tty_driver->init_termios = tty_std_termios; gsm_init()
3234 gsm_tty_driver->init_termios.c_lflag &= ~ECHO; gsm_init()
3235 tty_set_operations(gsm_tty_driver, &gsmtty_ops); gsm_init()
3239 if (tty_register_driver(gsm_tty_driver)) { gsm_init()
3240 put_tty_driver(gsm_tty_driver); gsm_init()
3246 gsm_tty_driver->major, gsm_tty_driver->minor_start); gsm_init()
3256 tty_unregister_driver(gsm_tty_driver); gsm_exit()
3257 put_tty_driver(gsm_tty_driver); gsm_exit()

Completed in 64 milliseconds