#include <linux/debugfs.h>
#include <linux/device.h>
#include <linux/xarray.h>
#include <drm/drm_accel.h>
#include <drm/drm_auth.h>
#include <drm/drm_debugfs.h>
#include <drm/drm_drv.h>
#include <drm/drm_file.h>
#include <drm/drm_ioctl.h>
#include <drm/drm_print.h>
DEFINE_XARRAY_ALLOC(…);
static struct dentry *accel_debugfs_root;
static const struct device_type accel_sysfs_device_minor = …;
static char *accel_devnode(const struct device *dev, umode_t *mode)
{ … }
static const struct class accel_class = …;
static int accel_sysfs_init(void)
{ … }
static void accel_sysfs_destroy(void)
{ … }
static int accel_name_info(struct seq_file *m, void *data)
{ … }
static const struct drm_info_list accel_debugfs_list[] = …;
#define ACCEL_DEBUGFS_ENTRIES …
void accel_debugfs_init(struct drm_device *dev)
{ … }
void accel_debugfs_register(struct drm_device *dev)
{ … }
void accel_set_device_instance_params(struct device *kdev, int index)
{ … }
int accel_open(struct inode *inode, struct file *filp)
{ … }
EXPORT_SYMBOL_GPL(…);
static int accel_stub_open(struct inode *inode, struct file *filp)
{ … }
static const struct file_operations accel_stub_fops = …;
void accel_core_exit(void)
{ … }
int __init accel_core_init(void)
{ … }