Searched refs:tty_dev (Results 1 – 5 of 5) sorted by relevance
64 if (!cs->tty_dev) in gigaset_free_dev_sysfs()68 device_remove_file(cs->tty_dev, &dev_attr_cidmode); in gigaset_free_dev_sysfs()74 if (!cs->tty_dev) in gigaset_init_dev_sysfs()78 if (device_create_file(cs->tty_dev, &dev_attr_cidmode)) in gigaset_init_dev_sysfs()
507 cs->tty_dev = tty_port_register_device(&cs->port, drv->tty, in gigaset_if_init()510 if (!IS_ERR(cs->tty_dev)) in gigaset_if_init()511 dev_set_drvdata(cs->tty_dev, cs); in gigaset_if_init()514 cs->tty_dev = NULL; in gigaset_if_init()529 cs->tty_dev = NULL; in gigaset_if_free()
409 struct device *tty_dev; member
702 cs->tty_dev = NULL; in gigaset_initcs()
2683 struct device *tty_dev; in mgslpc_add_device() local2720 tty_dev = tty_port_register_device(&info->port, serial_driver, info->line, in mgslpc_add_device()2722 if (IS_ERR(tty_dev)) { in mgslpc_add_device()2723 ret = PTR_ERR(tty_dev); in mgslpc_add_device()