Lines Matching refs:char_device
816 * urd->char_device is used as indication that the online function has
882 if (urd->char_device) {
891 urd->char_device = cdev_alloc();
892 if (!urd->char_device) {
897 urd->char_device->ops = &ur_fops;
898 urd->char_device->owner = ur_fops.owner;
900 rc = cdev_add(urd->char_device, MKDEV(major, minor), 1);
916 urd->char_device->dev, NULL, "%s", node_id);
927 cdev_del(urd->char_device);
928 urd->char_device = NULL;
946 if (!urd->char_device) {
961 device_destroy(vmur_class, urd->char_device->dev);
962 cdev_del(urd->char_device);
963 urd->char_device = NULL;