Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/bcm-vk/
H A Dbcm_vk_tty.c237 tty_drv = tty_alloc_driver in bcm_vk_tty_init()
240 if (IS_ERR(tty_drv)) in bcm_vk_tty_init()
241 return PTR_ERR(tty_drv); in bcm_vk_tty_init()
244 vk->tty_drv = tty_drv; in bcm_vk_tty_init()
249 if (!tty_drv->name) { in bcm_vk_tty_init()
270 tty_drv, i, dev, vk, in bcm_vk_tty_init()
294 kfree(tty_drv->name); in bcm_vk_tty_init()
295 tty_drv->name = NULL; in bcm_vk_tty_init()
310 vk->tty_drv, in bcm_vk_tty_exit()
316 kfree(vk->tty_drv->name); in bcm_vk_tty_exit()
[all …]
H A Dbcm_vk.h374 struct tty_driver *tty_drv; member
/openbmc/linux/drivers/mmc/core/
H A Dsdio_uart.c1122 struct tty_driver *tty_drv; in sdio_uart_init() local
1126 if (IS_ERR(tty_drv)) in sdio_uart_init()
1127 return PTR_ERR(tty_drv); in sdio_uart_init()
1129 tty_drv->driver_name = "sdio_uart"; in sdio_uart_init()
1130 tty_drv->name = "ttySDIO"; in sdio_uart_init()
1132 tty_drv->minor_start = 0; in sdio_uart_init()
1134 tty_drv->subtype = SERIAL_TYPE_NORMAL; in sdio_uart_init()
1137 tty_drv->init_termios.c_ispeed = 4800; in sdio_uart_init()
1141 ret = tty_register_driver(tty_drv); in sdio_uart_init()
1152 tty_unregister_driver(tty_drv); in sdio_uart_init()
[all …]
/openbmc/linux/drivers/ipack/devices/
H A Dipoctal.c49 struct tty_driver *tty_drv; member
393 ipoctal->tty_drv = drv; in ipoctal_inst_slot()
722 tty_unregister_device(ipoctal->tty_drv, i); in __ipoctal_remove()
727 tty_unregister_driver(ipoctal->tty_drv); in __ipoctal_remove()
728 kfree(ipoctal->tty_drv->name); in __ipoctal_remove()
729 tty_driver_kref_put(ipoctal->tty_drv); in __ipoctal_remove()
/openbmc/linux/drivers/net/usb/
H A Dhso.c370 static struct tty_driver *tty_drv; variable
3244 if (IS_ERR(tty_drv)) in hso_init()
3245 return PTR_ERR(tty_drv); in hso_init()
3248 tty_drv->driver_name = driver_name; in hso_init()
3249 tty_drv->name = tty_filename; in hso_init()
3253 tty_drv->major = tty_major; in hso_init()
3255 tty_drv->minor_start = 0; in hso_init()
3280 tty_unregister_driver(tty_drv); in hso_init()
3282 tty_driver_kref_put(tty_drv); in hso_init()
3290 tty_unregister_driver(tty_drv); in hso_exit()
[all …]
/openbmc/linux/drivers/tty/serdev/
H A Dserdev-ttyport.c16 struct tty_driver *tty_drv; member
112 tty = tty_init_dev(serport->tty_drv, serport->tty_idx); in ttyport_open()
294 serport->tty_drv = drv; in serdev_tty_port_register()
/openbmc/linux/drivers/tty/
H A 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()
1039 mips_ejtag_fdc_con.tty_drv = NULL; in mips_ejtag_fdc_tty_probe()
/openbmc/linux/drivers/tty/serial/
H A Dserial_core.c2383 struct tty_driver *tty_drv = match->driver->tty_driver; in serial_match_port() local
2384 dev_t devt = MKDEV(tty_drv->major, tty_drv->minor_start) + in serial_match_port()