Searched refs:char_device (Results 1 - 4 of 4) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/s390/char/
H A Dtape_class.c64 tcd->char_device = cdev_alloc();
65 if (!tcd->char_device) {
70 tcd->char_device->owner = fops->owner;
71 tcd->char_device->ops = fops;
72 tcd->char_device->dev = dev;
74 rc = cdev_add(tcd->char_device, tcd->char_device->dev, 1);
79 tcd->char_device->dev, NULL,
95 device_destroy(tape_class, tcd->char_device->dev);
98 cdev_del(tcd->char_device);
[all...]
H A Dtape_class.h27 struct cdev *char_device; member in struct:tape_class_device
H A Dvmur.h67 struct cdev *char_device; member in struct:urdev
H A Dvmur.c822 * urd->char_device is used as indication that the online function has
888 if (urd->char_device) {
897 urd->char_device = cdev_alloc();
898 if (!urd->char_device) {
903 cdev_init(urd->char_device, &ur_fops);
904 urd->char_device->dev = MKDEV(major, minor);
905 urd->char_device->owner = ur_fops.owner;
907 rc = cdev_add(urd->char_device, urd->char_device->dev, 1);
922 urd->device = device_create(vmur_class, NULL, urd->char_device
[all...]

Completed in 56 milliseconds