#include <linux/io.h>
#include <linux/iommu.h>
#include <linux/of.h>
#include <linux/of_graph.h>
#include <linux/of_reserved_mem.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/dma-mapping.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <drm/drm_print.h>
#include "komeda_dev.h"
static int komeda_register_show(struct seq_file *sf, void *x)
{ … }
DEFINE_SHOW_ATTRIBUTE(…);
static void komeda_debugfs_init(struct komeda_dev *mdev)
{ … }
static ssize_t
core_id_show(struct device *dev, struct device_attribute *attr, char *buf)
{ … }
static DEVICE_ATTR_RO(core_id);
static ssize_t
config_id_show(struct device *dev, struct device_attribute *attr, char *buf)
{ … }
static DEVICE_ATTR_RO(config_id);
static ssize_t
aclk_hz_show(struct device *dev, struct device_attribute *attr, char *buf)
{ … }
static DEVICE_ATTR_RO(aclk_hz);
static struct attribute *komeda_sysfs_entries[] = …;
static struct attribute_group komeda_sysfs_attr_group = …;
static int komeda_parse_pipe_dt(struct komeda_pipeline *pipe)
{ … }
static int komeda_parse_dt(struct device *dev, struct komeda_dev *mdev)
{ … }
struct komeda_dev *komeda_dev_create(struct device *dev)
{ … }
void komeda_dev_destroy(struct komeda_dev *mdev)
{ … }
int komeda_dev_resume(struct komeda_dev *mdev)
{ … }
int komeda_dev_suspend(struct komeda_dev *mdev)
{ … }