Lines Matching refs:acm_tty_driver
49 static struct tty_driver *acm_tty_driver; variable
1512 tty_dev = tty_port_register_device(&acm->port, acm_tty_driver, minor, in acm_probe()
1598 tty_unregister_device(acm_tty_driver, acm->minor); in acm_disconnect()
2072 acm_tty_driver = tty_alloc_driver(ACM_TTY_MINORS, TTY_DRIVER_REAL_RAW | in acm_init()
2074 if (IS_ERR(acm_tty_driver)) in acm_init()
2075 return PTR_ERR(acm_tty_driver); in acm_init()
2076 acm_tty_driver->driver_name = "acm", in acm_init()
2077 acm_tty_driver->name = "ttyACM", in acm_init()
2078 acm_tty_driver->major = ACM_TTY_MAJOR, in acm_init()
2079 acm_tty_driver->minor_start = 0, in acm_init()
2080 acm_tty_driver->type = TTY_DRIVER_TYPE_SERIAL, in acm_init()
2081 acm_tty_driver->subtype = SERIAL_TYPE_NORMAL, in acm_init()
2082 acm_tty_driver->init_termios = tty_std_termios; in acm_init()
2083 acm_tty_driver->init_termios.c_cflag = B9600 | CS8 | CREAD | in acm_init()
2085 tty_set_operations(acm_tty_driver, &acm_ops); in acm_init()
2087 retval = tty_register_driver(acm_tty_driver); in acm_init()
2089 tty_driver_kref_put(acm_tty_driver); in acm_init()
2095 tty_unregister_driver(acm_tty_driver); in acm_init()
2096 tty_driver_kref_put(acm_tty_driver); in acm_init()
2108 tty_unregister_driver(acm_tty_driver); in acm_exit()
2109 tty_driver_kref_put(acm_tty_driver); in acm_exit()