Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/xtensa/platforms/iss/
Dconsole.c34 static struct tty_driver *serial_driver; variable
173 serial_driver = alloc_tty_driver(SERIAL_MAX_NUM_LINES); in rs_init()
174 if (!serial_driver) in rs_init()
183 serial_driver->driver_name = "iss_serial"; in rs_init()
184 serial_driver->name = "ttyS"; in rs_init()
185 serial_driver->major = TTY_MAJOR; in rs_init()
186 serial_driver->minor_start = 64; in rs_init()
187 serial_driver->type = TTY_DRIVER_TYPE_SERIAL; in rs_init()
188 serial_driver->subtype = SERIAL_TYPE_NORMAL; in rs_init()
189 serial_driver->init_termios = tty_std_termios; in rs_init()
[all …]
/kernel/linux/linux-5.10/drivers/tty/
Damiserial.c38 tty->name, (info->tport.flags), serial_driver->refcount,info->count,tty->count,s)
105 static struct tty_driver *serial_driver; variable
1541 serial_driver = alloc_tty_driver(NR_PORTS); in amiga_serial_probe()
1542 if (!serial_driver) in amiga_serial_probe()
1549 serial_driver->driver_name = "amiserial"; in amiga_serial_probe()
1550 serial_driver->name = "ttyS"; in amiga_serial_probe()
1551 serial_driver->major = TTY_MAJOR; in amiga_serial_probe()
1552 serial_driver->minor_start = 64; in amiga_serial_probe()
1553 serial_driver->type = TTY_DRIVER_TYPE_SERIAL; in amiga_serial_probe()
1554 serial_driver->subtype = SERIAL_TYPE_NORMAL; in amiga_serial_probe()
[all …]
Dsynclink_gt.c138 static struct tty_driver *serial_driver; variable
3604 tty_port_register_device(&info->port, serial_driver, info->line, in device_init()
3659 if (serial_driver) { in slgt_cleanup()
3661 tty_unregister_device(serial_driver, info->line); in slgt_cleanup()
3662 rc = tty_unregister_driver(serial_driver); in slgt_cleanup()
3665 put_tty_driver(serial_driver); in slgt_cleanup()
3704 serial_driver = alloc_tty_driver(MAX_DEVICES); in slgt_init()
3705 if (!serial_driver) { in slgt_init()
3712 serial_driver->driver_name = slgt_driver_name; in slgt_init()
3713 serial_driver->name = tty_dev_prefix; in slgt_init()
[all …]
Dsynclinkmp.c498 static struct tty_driver *serial_driver; variable
3897 if (serial_driver) { in synclinkmp_cleanup()
3898 rc = tty_unregister_driver(serial_driver); in synclinkmp_cleanup()
3902 put_tty_driver(serial_driver); in synclinkmp_cleanup()
3953 serial_driver = alloc_tty_driver(128); in synclinkmp_init()
3954 if (!serial_driver) { in synclinkmp_init()
3961 serial_driver->driver_name = "synclinkmp"; in synclinkmp_init()
3962 serial_driver->name = "ttySLM"; in synclinkmp_init()
3963 serial_driver->major = ttymajor; in synclinkmp_init()
3964 serial_driver->minor_start = 64; in synclinkmp_init()
[all …]
Dsynclink.c901 static struct tty_driver *serial_driver; variable
4210 serial_driver = alloc_tty_driver(128); in mgsl_init_tty()
4211 if (!serial_driver) in mgsl_init_tty()
4214 serial_driver->driver_name = "synclink"; in mgsl_init_tty()
4215 serial_driver->name = "ttySL"; in mgsl_init_tty()
4216 serial_driver->major = ttymajor; in mgsl_init_tty()
4217 serial_driver->minor_start = 64; in mgsl_init_tty()
4218 serial_driver->type = TTY_DRIVER_TYPE_SERIAL; in mgsl_init_tty()
4219 serial_driver->subtype = SERIAL_TYPE_NORMAL; in mgsl_init_tty()
4220 serial_driver->init_termios = tty_std_termios; in mgsl_init_tty()
[all …]
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_gsc.c115 static struct parisc_driver serial_driver __refdata = {
124 register_parisc_driver(&serial_driver); in probe_serial_gsc()
/kernel/linux/linux-5.10/drivers/char/pcmcia/
Dsynclink_cs.c461 static struct tty_driver *serial_driver; variable
2719 tty_dev = tty_port_register_device(&info->port, serial_driver, info->line, in mgslpc_add_device()
2751 tty_unregister_device(serial_driver, info->line); in mgslpc_remove_device()
2816 serial_driver = tty_alloc_driver(MAX_DEVICE_COUNT, in synclink_cs_init()
2819 if (IS_ERR(serial_driver)) { in synclink_cs_init()
2820 rc = PTR_ERR(serial_driver); in synclink_cs_init()
2825 serial_driver->driver_name = "synclink_cs"; in synclink_cs_init()
2826 serial_driver->name = "ttySLP"; in synclink_cs_init()
2827 serial_driver->major = ttymajor; in synclink_cs_init()
2828 serial_driver->minor_start = 64; in synclink_cs_init()
[all …]