Home
last modified time | relevance | path

Searched refs:serial_driver (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/arch/xtensa/platforms/iss/
Dconsole.c36 static struct tty_driver *serial_driver; variable
164 serial_driver = driver; in rs_init()
172 tty_unregister_driver(serial_driver); in rs_exit()
173 tty_driver_kref_put(serial_driver); in rs_exit()
203 return serial_driver; in iss_console_device()
/linux-6.1.9/drivers/tty/serial/8250/
D8250_parisc.c115 static struct parisc_driver serial_driver __refdata = {
124 register_parisc_driver(&serial_driver); in probe_serial_gsc()
/linux-6.1.9/drivers/char/pcmcia/
Dsynclink_cs.c461 static struct tty_driver *serial_driver; variable
2712 tty_dev = tty_port_register_device(&info->port, serial_driver, info->line, in mgslpc_add_device()
2744 tty_unregister_device(serial_driver, info->line); in mgslpc_remove_device()
2809 serial_driver = tty_alloc_driver(MAX_DEVICE_COUNT, in synclink_cs_init()
2812 if (IS_ERR(serial_driver)) { in synclink_cs_init()
2813 rc = PTR_ERR(serial_driver); in synclink_cs_init()
2818 serial_driver->driver_name = "synclink_cs"; in synclink_cs_init()
2819 serial_driver->name = "ttySLP"; in synclink_cs_init()
2820 serial_driver->major = ttymajor; in synclink_cs_init()
2821 serial_driver->minor_start = 64; in synclink_cs_init()
[all …]
/linux-6.1.9/drivers/tty/
Dsynclink_gt.c137 static struct tty_driver *serial_driver; variable
3587 tty_port_register_device(&info->port, serial_driver, info->line, in device_init()
3641 if (serial_driver) { in slgt_cleanup()
3643 tty_unregister_device(serial_driver, info->line); in slgt_cleanup()
3644 tty_unregister_driver(serial_driver); in slgt_cleanup()
3645 tty_driver_kref_put(serial_driver); in slgt_cleanup()
3684 serial_driver = tty_alloc_driver(MAX_DEVICES, TTY_DRIVER_REAL_RAW | in slgt_init()
3686 if (IS_ERR(serial_driver)) { in slgt_init()
3688 return PTR_ERR(serial_driver); in slgt_init()
3693 serial_driver->driver_name = slgt_driver_name; in slgt_init()
[all …]
Damiserial.c87 static struct tty_driver *serial_driver; variable
1557 serial_driver = driver; in amiga_serial_probe()
1575 tty_unregister_driver(serial_driver); in amiga_serial_remove()
1576 tty_driver_kref_put(serial_driver); in amiga_serial_remove()
1635 return serial_driver; in serial_console_device()