Searched refs:cdevs (Results 1 – 4 of 4) sorted by relevance
3215 driver->cdevs[index] = cdev_alloc(); in tty_cdev_add()3216 if (!driver->cdevs[index]) in tty_cdev_add()3218 driver->cdevs[index]->ops = &tty_fops; in tty_cdev_add()3219 driver->cdevs[index]->owner = driver->owner; in tty_cdev_add()3220 err = cdev_add(driver->cdevs[index], dev, count); in tty_cdev_add()3222 kobject_put(&driver->cdevs[index]->kobj); in tty_cdev_add()3330 cdev_del(driver->cdevs[index]); in tty_register_device_attr()3331 driver->cdevs[index] = NULL; in tty_register_device_attr()3353 cdev_del(driver->cdevs[index]); in tty_unregister_device()3354 driver->cdevs[index] = NULL; in tty_unregister_device()[all …]
71 struct cdev *cdevs[2]; /* Auto-rewind and non-rewind devices */ member
2280 cd0 = STm->cdevs[0];2281 cd1 = STm->cdevs[1];2285 STm->cdevs[0] = cd0;2286 STm->cdevs[1] = cd1;4086 STm->cdevs[rew] = cdev; in create_one_cdev()4112 cdev_del(STm->cdevs[rew]); in create_one_cdev()4114 STm->cdevs[rew] = NULL; in create_one_cdev()4142 if (STm->cdevs[rew]) in remove_cdevs()4143 cdev_del(STm->cdevs[rew]); in remove_cdevs()
299 struct cdev **cdevs; member