Searched refs:tty_drv (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/tty/serial/ |
D | ifx6x60.c | 73 static struct tty_driver *tty_drv; variable 802 tty_unregister_device(tty_drv, ifx_dev->minor); in ifx_spi_free_port() 831 ifx_dev->tty_dev = tty_port_register_device(pport, tty_drv, in ifx_spi_create_port() 1318 tty_unregister_driver(tty_drv); in ifx_spi_exit() 1319 put_tty_driver(tty_drv); in ifx_spi_exit() 1335 tty_drv = alloc_tty_driver(1); in ifx_spi_init() 1336 if (!tty_drv) { in ifx_spi_init() 1341 tty_drv->driver_name = DRVNAME; in ifx_spi_init() 1342 tty_drv->name = TTYNAME; in ifx_spi_init() 1343 tty_drv->minor_start = IFX_SPI_TTY_ID; in ifx_spi_init() [all …]
|
D | serial_core.c | 2217 struct tty_driver *tty_drv = match->driver->tty_driver; in serial_match_port() local 2218 dev_t devt = MKDEV(tty_drv->major, tty_drv->minor_start) + in serial_match_port()
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
D | sdio_uart.c | 1136 struct tty_driver *tty_drv; in sdio_uart_init() local 1138 sdio_uart_tty_driver = tty_drv = alloc_tty_driver(UART_NR); in sdio_uart_init() 1139 if (!tty_drv) in sdio_uart_init() 1142 tty_drv->driver_name = "sdio_uart"; in sdio_uart_init() 1143 tty_drv->name = "ttySDIO"; in sdio_uart_init() 1144 tty_drv->major = 0; /* dynamically allocated */ in sdio_uart_init() 1145 tty_drv->minor_start = 0; in sdio_uart_init() 1146 tty_drv->type = TTY_DRIVER_TYPE_SERIAL; in sdio_uart_init() 1147 tty_drv->subtype = SERIAL_TYPE_NORMAL; in sdio_uart_init() 1148 tty_drv->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV; in sdio_uart_init() [all …]
|
/kernel/linux/linux-5.10/drivers/ipack/devices/ |
D | ipoctal.c | 51 struct tty_driver *tty_drv; member 396 ipoctal->tty_drv = tty; in ipoctal_inst_slot() 727 tty_unregister_device(ipoctal->tty_drv, i); in __ipoctal_remove() 732 tty_unregister_driver(ipoctal->tty_drv); in __ipoctal_remove() 733 kfree(ipoctal->tty_drv->name); in __ipoctal_remove() 734 put_tty_driver(ipoctal->tty_drv); in __ipoctal_remove()
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
D | hso.c | 370 static struct tty_driver *tty_drv; variable 2231 tty_unregister_device(tty_drv, serial->minor); in hso_serial_tty_unregister() 2265 tty_drv, serial->minor, &serial->parent->interface->dev, in hso_serial_common_create() 3250 tty_drv = alloc_tty_driver(HSO_SERIAL_TTY_MINORS); in hso_init() 3251 if (!tty_drv) in hso_init() 3255 tty_drv->driver_name = driver_name; in hso_init() 3256 tty_drv->name = tty_filename; in hso_init() 3260 tty_drv->major = tty_major; in hso_init() 3262 tty_drv->minor_start = 0; in hso_init() 3263 tty_drv->type = TTY_DRIVER_TYPE_SERIAL; in hso_init() [all …]
|
/kernel/linux/linux-5.10/drivers/tty/serdev/ |
D | serdev-ttyport.c | 16 struct tty_driver *tty_drv; member 112 tty = tty_init_dev(serport->tty_drv, serport->tty_idx); in ttyport_open() 282 serport->tty_drv = drv; in serdev_tty_port_register()
|
/kernel/linux/linux-5.10/drivers/tty/ |
D | mips_ejtag_fdc.c | 294 struct tty_driver *tty_drv; member 363 return cons->tty_drv; in mips_ejtag_fdc_console_device() 955 mips_ejtag_fdc_con.tty_drv = driver; in mips_ejtag_fdc_tty_probe() 1040 mips_ejtag_fdc_con.tty_drv = NULL; in mips_ejtag_fdc_tty_probe()
|