Lines Matching refs:dcssblk_root_dev
101 static struct device *dcssblk_root_dev; variable
557 if (dev != dcssblk_root_dev) { in dcssblk_add_store()
652 dev_info->dev.parent = dcssblk_root_dev; in dcssblk_add_store()
756 if (dev != dcssblk_root_dev) { in dcssblk_remove_store()
955 rc = dcssblk_add_store(dcssblk_root_dev, NULL, buf, j-i); in dcssblk_check_params()
986 root_device_unregister(dcssblk_root_dev); in dcssblk_exit()
995 dcssblk_root_dev = root_device_register("dcssblk"); in dcssblk_init()
996 if (IS_ERR(dcssblk_root_dev)) in dcssblk_init()
997 return PTR_ERR(dcssblk_root_dev); in dcssblk_init()
998 rc = device_create_file(dcssblk_root_dev, &dev_attr_add); in dcssblk_init()
1001 rc = device_create_file(dcssblk_root_dev, &dev_attr_remove); in dcssblk_init()
1014 root_device_unregister(dcssblk_root_dev); in dcssblk_init()