Home
last modified time | relevance | path

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

/drivers/mmc/card/
Dsdio_uart.c1156 struct tty_driver *tty_drv; in sdio_uart_init() local
1158 sdio_uart_tty_driver = tty_drv = alloc_tty_driver(UART_NR); in sdio_uart_init()
1159 if (!tty_drv) in sdio_uart_init()
1162 tty_drv->driver_name = "sdio_uart"; in sdio_uart_init()
1163 tty_drv->name = "ttySDIO"; in sdio_uart_init()
1164 tty_drv->major = 0; /* dynamically allocated */ in sdio_uart_init()
1165 tty_drv->minor_start = 0; in sdio_uart_init()
1166 tty_drv->type = TTY_DRIVER_TYPE_SERIAL; in sdio_uart_init()
1167 tty_drv->subtype = SERIAL_TYPE_NORMAL; in sdio_uart_init()
1168 tty_drv->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV; in sdio_uart_init()
[all …]
/drivers/tty/serial/
Difx6x60.c87 static struct tty_driver *tty_drv; variable
813 tty_unregister_device(tty_drv, ifx_dev->minor); in ifx_spi_free_port()
842 ifx_dev->tty_dev = tty_port_register_device(pport, tty_drv, in ifx_spi_create_port()
1382 tty_unregister_driver(tty_drv); in ifx_spi_exit()
1383 put_tty_driver(tty_drv); in ifx_spi_exit()
1400 tty_drv = alloc_tty_driver(1); in ifx_spi_init()
1401 if (!tty_drv) { in ifx_spi_init()
1406 tty_drv->driver_name = DRVNAME; in ifx_spi_init()
1407 tty_drv->name = TTYNAME; in ifx_spi_init()
1408 tty_drv->minor_start = IFX_SPI_TTY_ID; in ifx_spi_init()
[all …]
Dserial_core.c1923 struct tty_driver *tty_drv = match->driver->tty_driver; in serial_match_port() local
1924 dev_t devt = MKDEV(tty_drv->major, tty_drv->minor_start) + in serial_match_port()
/drivers/net/usb/
Dhso.c399 static struct tty_driver *tty_drv; variable
2254 tty_unregister_device(tty_drv, serial->minor); in hso_serial_common_free()
2283 serial->parent->dev = tty_port_register_device(&serial->port, tty_drv, in hso_serial_common_create()
2761 tty_unregister_device(tty_drv, serial->minor); in hso_create_mux_serial_device()
3264 tty_drv = alloc_tty_driver(HSO_SERIAL_TTY_MINORS); in hso_init()
3265 if (!tty_drv) in hso_init()
3269 tty_drv->driver_name = driver_name; in hso_init()
3270 tty_drv->name = tty_filename; in hso_init()
3274 tty_drv->major = tty_major; in hso_init()
3276 tty_drv->minor_start = 0; in hso_init()
[all …]
/drivers/ipack/devices/
Dipoctal.c53 struct tty_driver *tty_drv; member
370 ipoctal->tty_drv = tty; in ipoctal_inst_slot()
682 tty_unregister_device(ipoctal->tty_drv, i); in __ipoctal_remove()
687 tty_unregister_driver(ipoctal->tty_drv); in __ipoctal_remove()
688 put_tty_driver(ipoctal->tty_drv); in __ipoctal_remove()