Home
last modified time | relevance | path

Searched refs:tty_drv (Results 1 – 4 of 4) sorted by relevance

/drivers/tty/serial/
Difx6x60.c80 static struct tty_driver *tty_drv; variable
776 tty_unregister_device(tty_drv, ifx_dev->minor); in ifx_spi_free_port()
804 ifx_dev->tty_dev = tty_register_device(tty_drv, ifx_dev->minor, in ifx_spi_create_port()
1357 tty_unregister_driver(tty_drv); in ifx_spi_exit()
1373 tty_drv = alloc_tty_driver(1); in ifx_spi_init()
1374 if (!tty_drv) { in ifx_spi_init()
1379 tty_drv->driver_name = DRVNAME; in ifx_spi_init()
1380 tty_drv->name = TTYNAME; in ifx_spi_init()
1381 tty_drv->minor_start = IFX_SPI_TTY_ID; in ifx_spi_init()
1382 tty_drv->type = TTY_DRIVER_TYPE_SERIAL; in ifx_spi_init()
[all …]
Dserial_core.c1859 struct tty_driver *tty_drv = match->driver->tty_driver; in serial_match_port() local
1860 dev_t devt = MKDEV(tty_drv->major, tty_drv->minor_start) + in serial_match_port()
/drivers/mmc/card/
Dsdio_uart.c1172 struct tty_driver *tty_drv; in sdio_uart_init() local
1174 sdio_uart_tty_driver = tty_drv = alloc_tty_driver(UART_NR); in sdio_uart_init()
1175 if (!tty_drv) in sdio_uart_init()
1178 tty_drv->driver_name = "sdio_uart"; in sdio_uart_init()
1179 tty_drv->name = "ttySDIO"; in sdio_uart_init()
1180 tty_drv->major = 0; /* dynamically allocated */ in sdio_uart_init()
1181 tty_drv->minor_start = 0; in sdio_uart_init()
1182 tty_drv->type = TTY_DRIVER_TYPE_SERIAL; in sdio_uart_init()
1183 tty_drv->subtype = SERIAL_TYPE_NORMAL; in sdio_uart_init()
1184 tty_drv->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV; in sdio_uart_init()
[all …]
/drivers/net/usb/
Dhso.c407 static struct tty_driver *tty_drv; variable
2287 tty_unregister_device(tty_drv, serial->minor); in hso_serial_common_free()
2313 serial->parent->dev = tty_register_device(tty_drv, minor, in hso_serial_common_create()
2800 tty_unregister_device(tty_drv, serial->minor); in hso_create_mux_serial_device()
3310 tty_drv = alloc_tty_driver(HSO_SERIAL_TTY_MINORS); in hso_init()
3311 if (!tty_drv) in hso_init()
3315 tty_drv->magic = TTY_DRIVER_MAGIC; in hso_init()
3316 tty_drv->driver_name = driver_name; in hso_init()
3317 tty_drv->name = tty_filename; in hso_init()
3321 tty_drv->major = tty_major; in hso_init()
[all …]