Searched refs:serial_driver (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/arch/xtensa/platforms/iss/ |
D | console.c | 34 static struct tty_driver *serial_driver; variable 173 serial_driver = alloc_tty_driver(SERIAL_MAX_NUM_LINES); in rs_init() 179 serial_driver->driver_name = "iss_serial"; in rs_init() 180 serial_driver->name = "ttyS"; in rs_init() 181 serial_driver->major = TTY_MAJOR; in rs_init() 182 serial_driver->minor_start = 64; in rs_init() 183 serial_driver->type = TTY_DRIVER_TYPE_SERIAL; in rs_init() 184 serial_driver->subtype = SERIAL_TYPE_NORMAL; in rs_init() 185 serial_driver->init_termios = tty_std_termios; in rs_init() 186 serial_driver->init_termios.c_cflag = in rs_init() [all …]
|
/Linux-v5.10/drivers/tty/ |
D | amiserial.c | 38 tty->name, (info->tport.flags), serial_driver->refcount,info->count,tty->count,s) 105 static struct tty_driver *serial_driver; variable 1540 serial_driver = alloc_tty_driver(NR_PORTS); in amiga_serial_probe() 1541 if (!serial_driver) in amiga_serial_probe() 1548 serial_driver->driver_name = "amiserial"; in amiga_serial_probe() 1549 serial_driver->name = "ttyS"; in amiga_serial_probe() 1550 serial_driver->major = TTY_MAJOR; in amiga_serial_probe() 1551 serial_driver->minor_start = 64; in amiga_serial_probe() 1552 serial_driver->type = TTY_DRIVER_TYPE_SERIAL; in amiga_serial_probe() 1553 serial_driver->subtype = SERIAL_TYPE_NORMAL; in amiga_serial_probe() [all …]
|
D | synclink_gt.c | 138 static struct tty_driver *serial_driver; variable 3659 tty_port_register_device(&info->port, serial_driver, info->line, in device_init() 3714 if (serial_driver) { in slgt_cleanup() 3716 tty_unregister_device(serial_driver, info->line); in slgt_cleanup() 3717 rc = tty_unregister_driver(serial_driver); in slgt_cleanup() 3720 put_tty_driver(serial_driver); in slgt_cleanup() 3759 serial_driver = alloc_tty_driver(MAX_DEVICES); in slgt_init() 3760 if (!serial_driver) { in slgt_init() 3767 serial_driver->driver_name = slgt_driver_name; in slgt_init() 3768 serial_driver->name = tty_dev_prefix; in slgt_init() [all …]
|
D | synclinkmp.c | 498 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 …]
|
D | synclink.c | 901 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 …]
|
/Linux-v5.10/drivers/tty/serial/8250/ |
D | 8250_gsc.c | 115 static struct parisc_driver serial_driver __refdata = { 124 register_parisc_driver(&serial_driver); in probe_serial_gsc()
|
/Linux-v5.10/drivers/char/pcmcia/ |
D | synclink_cs.c | 461 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 …]
|