Lines Matching refs:cy_serial_driver
133 static struct tty_driver *cy_serial_driver; variable
3343 cy_serial_driver, j, NULL); in cy_detect_isa()
3860 cy_serial_driver, i, &pdev->dev); in cy_pci_probe()
3910 tty_unregister_device(cy_serial_driver, i); in cy_pci_remove()
4019 cy_serial_driver = alloc_tty_driver(NR_PORTS); in cy_init()
4020 if (!cy_serial_driver) in cy_init()
4027 cy_serial_driver->driver_name = "cyclades"; in cy_init()
4028 cy_serial_driver->name = "ttyC"; in cy_init()
4029 cy_serial_driver->major = CYCLADES_MAJOR; in cy_init()
4030 cy_serial_driver->minor_start = 0; in cy_init()
4031 cy_serial_driver->type = TTY_DRIVER_TYPE_SERIAL; in cy_init()
4032 cy_serial_driver->subtype = SERIAL_TYPE_NORMAL; in cy_init()
4033 cy_serial_driver->init_termios = tty_std_termios; in cy_init()
4034 cy_serial_driver->init_termios.c_cflag = in cy_init()
4036 cy_serial_driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV; in cy_init()
4037 tty_set_operations(cy_serial_driver, &cy_ops); in cy_init()
4039 retval = tty_register_driver(cy_serial_driver); in cy_init()
4059 tty_unregister_driver(cy_serial_driver); in cy_init()
4066 put_tty_driver(cy_serial_driver); in cy_init()
4080 e1 = tty_unregister_driver(cy_serial_driver); in cy_cleanup_module()
4105 tty_unregister_device(cy_serial_driver, e1); in cy_cleanup_module()
4110 put_tty_driver(cy_serial_driver); in cy_cleanup_module()