Lines Matching refs:char_device
64 tcd->char_device = cdev_alloc();
65 if (!tcd->char_device) {
70 tcd->char_device->owner = fops->owner;
71 tcd->char_device->ops = fops;
73 rc = cdev_add(tcd->char_device, dev, 1);
78 tcd->char_device->dev, NULL,
94 device_destroy(tape_class, tcd->char_device->dev);
97 cdev_del(tcd->char_device);
110 device_destroy(tape_class, tcd->char_device->dev);
111 cdev_del(tcd->char_device);