Lines Matching defs:index
110 * @index: The minor's index
116 void accel_set_device_instance_params(struct device *kdev, int index)
118 kdev->devt = MKDEV(ACCEL_MAJOR, index);
145 * @index: The minor id to remove.
150 void accel_minor_remove(int index)
155 idr_remove(&accel_minors_idr, index);
162 * @index: The minor id to replace.
166 * NULL, we need to explicitly pass the index.
170 void accel_minor_replace(struct drm_minor *minor, int index)
175 idr_replace(&accel_minors_idr, minor, index);