Searched refs:tty_drv (Results 1 – 8 of 8) sorted by relevance
237 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 …]
374 struct tty_driver *tty_drv; member
1122 struct tty_driver *tty_drv; in sdio_uart_init() local1126 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 …]
49 struct tty_driver *tty_drv; member393 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()
370 static struct tty_driver *tty_drv; variable3244 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 …]
16 struct tty_driver *tty_drv; member112 tty = tty_init_dev(serport->tty_drv, serport->tty_idx); in ttyport_open()294 serport->tty_drv = drv; in serdev_tty_port_register()
294 struct tty_driver *tty_drv; member363 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()
2383 struct tty_driver *tty_drv = match->driver->tty_driver; in serial_match_port() local2384 dev_t devt = MKDEV(tty_drv->major, tty_drv->minor_start) + in serial_match_port()