#include <linux/clk.h>
#include <linux/component.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include "vc4_drv.h"
#include "vc4_regs.h"
static const struct debugfs_reg32 v3d_regs[] = …;
static int vc4_v3d_debugfs_ident(struct seq_file *m, void *unused)
{ … }
int
vc4_v3d_pm_get(struct vc4_dev *vc4)
{ … }
void
vc4_v3d_pm_put(struct vc4_dev *vc4)
{ … }
static void vc4_v3d_init_hw(struct drm_device *dev)
{ … }
int vc4_v3d_get_bin_slot(struct vc4_dev *vc4)
{ … }
static int bin_bo_alloc(struct vc4_dev *vc4)
{ … }
int vc4_v3d_bin_bo_get(struct vc4_dev *vc4, bool *used)
{ … }
static void bin_bo_release(struct kref *ref)
{ … }
void vc4_v3d_bin_bo_put(struct vc4_dev *vc4)
{ … }
#ifdef CONFIG_PM
static int vc4_v3d_runtime_suspend(struct device *dev)
{ … }
static int vc4_v3d_runtime_resume(struct device *dev)
{ … }
#endif
int vc4_v3d_debugfs_init(struct drm_minor *minor)
{ … }
static int vc4_v3d_bind(struct device *dev, struct device *master, void *data)
{ … }
static void vc4_v3d_unbind(struct device *dev, struct device *master,
void *data)
{ … }
static const struct dev_pm_ops vc4_v3d_pm_ops = …;
static const struct component_ops vc4_v3d_ops = …;
static int vc4_v3d_dev_probe(struct platform_device *pdev)
{ … }
static void vc4_v3d_dev_remove(struct platform_device *pdev)
{ … }
const struct of_device_id vc4_v3d_dt_match[] = …;
struct platform_driver vc4_v3d_driver = …;