Home
last modified time | relevance | path

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

/drivers/misc/bcm-vk/
Dbcm_vk_tty.c235 struct tty_driver *tty_drv; in bcm_vk_tty_init() local
238 tty_drv = tty_alloc_driver in bcm_vk_tty_init()
241 if (IS_ERR(tty_drv)) in bcm_vk_tty_init()
242 return PTR_ERR(tty_drv); in bcm_vk_tty_init()
245 vk->tty_drv = tty_drv; in bcm_vk_tty_init()
248 tty_drv->driver_name = KBUILD_MODNAME; in bcm_vk_tty_init()
249 tty_drv->name = kstrdup(name, GFP_KERNEL); in bcm_vk_tty_init()
250 if (!tty_drv->name) { in bcm_vk_tty_init()
254 tty_drv->type = TTY_DRIVER_TYPE_SERIAL; in bcm_vk_tty_init()
255 tty_drv->subtype = SERIAL_TYPE_NORMAL; in bcm_vk_tty_init()
[all …]
Dbcm_vk.h374 struct tty_driver *tty_drv; member
/drivers/mmc/core/
Dsdio_uart.c1136 struct tty_driver *tty_drv; in sdio_uart_init() local
1138 sdio_uart_tty_driver = tty_drv = tty_alloc_driver(UART_NR, in sdio_uart_init()
1140 if (IS_ERR(tty_drv)) in sdio_uart_init()
1141 return PTR_ERR(tty_drv); in sdio_uart_init()
1143 tty_drv->driver_name = "sdio_uart"; in sdio_uart_init()
1144 tty_drv->name = "ttySDIO"; in sdio_uart_init()
1145 tty_drv->major = 0; /* dynamically allocated */ in sdio_uart_init()
1146 tty_drv->minor_start = 0; in sdio_uart_init()
1147 tty_drv->type = TTY_DRIVER_TYPE_SERIAL; in sdio_uart_init()
1148 tty_drv->subtype = SERIAL_TYPE_NORMAL; in sdio_uart_init()
[all …]
/drivers/ipack/devices/
Dipoctal.c49 struct tty_driver *tty_drv; member
393 ipoctal->tty_drv = tty; in ipoctal_inst_slot()
723 tty_unregister_device(ipoctal->tty_drv, i); in __ipoctal_remove()
728 tty_unregister_driver(ipoctal->tty_drv); in __ipoctal_remove()
729 kfree(ipoctal->tty_drv->name); in __ipoctal_remove()
730 tty_driver_kref_put(ipoctal->tty_drv); in __ipoctal_remove()
/drivers/net/usb/
Dhso.c370 static struct tty_driver *tty_drv; variable
2229 tty_unregister_device(tty_drv, serial->minor); in hso_serial_tty_unregister()
2263 tty_drv, serial->minor, &serial->parent->interface->dev, in hso_serial_common_create()
3247 tty_drv = tty_alloc_driver(HSO_SERIAL_TTY_MINORS, TTY_DRIVER_REAL_RAW | in hso_init()
3249 if (IS_ERR(tty_drv)) in hso_init()
3250 return PTR_ERR(tty_drv); in hso_init()
3253 tty_drv->driver_name = driver_name; in hso_init()
3254 tty_drv->name = tty_filename; in hso_init()
3258 tty_drv->major = tty_major; in hso_init()
3260 tty_drv->minor_start = 0; in hso_init()
[all …]
/drivers/tty/serdev/
Dserdev-ttyport.c16 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()
/drivers/tty/
Dmips_ejtag_fdc.c294 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()
/drivers/tty/serial/
Dserial_core.c2188 struct tty_driver *tty_drv = match->driver->tty_driver; in serial_match_port() local
2189 dev_t devt = MKDEV(tty_drv->major, tty_drv->minor_start) + in serial_match_port()