Lines Matching defs:files
7 * copy of this software and associated documentation files (the "Software"),
228 * drm_debugfs_create_files - Initialize a given set of debugfs files for DRM
230 * @files: The array of files to create
231 * @count: The number of files given
235 * Create a given set of debugfs files represented by an array of
236 * &struct drm_info_list in the given root directory. These files will be removed
239 void drm_debugfs_create_files(const struct drm_info_list *files, int count,
247 u32 features = files[i].driver_features;
257 tmp->dent = debugfs_create_file(files[i].name,
260 tmp->info_ent = &files[i];
265 int drm_debugfs_remove_files(const struct drm_info_list *files, int count,
271 struct dentry *dent = debugfs_lookup(files[i].name, root);
373 * drm_debugfs_add_files - Add an array of files to the DRM device debugfs file list
375 * @files: The array of files to create
376 * @count: The number of files given
378 * Add a given set of debugfs files represented by an array of
381 void drm_debugfs_add_files(struct drm_device *dev, const struct drm_debugfs_info *files, int count)
386 drm_debugfs_add_file(dev, files[i].name, files[i].show, files[i].data);