Lines Matching full:minor
52 struct drm_minor *minor = node->minor; in accel_name_info() local
53 struct drm_device *dev = minor->dev; in accel_name_info()
95 struct drm_minor *minor = dev->accel; in accel_debugfs_register() local
97 minor->debugfs_root = dev->debugfs_root; in accel_debugfs_register()
100 dev->debugfs_root, minor); in accel_debugfs_register()
106 * @index: The minor's index
109 * the device's minor number. In addition, it sets the class and type of the
133 struct drm_minor *minor; in accel_open() local
136 minor = drm_minor_acquire(&accel_minors_xa, iminor(inode)); in accel_open()
137 if (IS_ERR(minor)) in accel_open()
138 return PTR_ERR(minor); in accel_open()
140 dev = minor->dev; in accel_open()
147 retcode = drm_open_helper(filp, minor); in accel_open()
155 drm_minor_release(minor); in accel_open()
163 struct drm_minor *minor; in accel_stub_open() local
166 minor = drm_minor_acquire(&accel_minors_xa, iminor(inode)); in accel_stub_open()
167 if (IS_ERR(minor)) in accel_stub_open()
168 return PTR_ERR(minor); in accel_stub_open()
170 new_fops = fops_get(minor->dev->driver->fops); in accel_stub_open()
183 drm_minor_release(minor); in accel_stub_open()