#include <linux/clk.h>
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/workqueue.h>
#include "mtk_mdp_core.h"
#include "mtk_mdp_m2m.h"
#include "mtk_vpu.h"
int mtk_mdp_dbg_level;
EXPORT_SYMBOL(…);
module_param(mtk_mdp_dbg_level, int, 0644);
static const struct of_device_id mtk_mdp_comp_dt_ids[] __maybe_unused = …;
static const struct of_device_id mtk_mdp_of_ids[] = …;
MODULE_DEVICE_TABLE(of, mtk_mdp_of_ids);
static void mtk_mdp_clock_on(struct mtk_mdp_dev *mdp)
{ … }
static void mtk_mdp_clock_off(struct mtk_mdp_dev *mdp)
{ … }
static void mtk_mdp_wdt_worker(struct work_struct *work)
{ … }
static void mtk_mdp_reset_handler(void *priv)
{ … }
void mtk_mdp_register_component(struct mtk_mdp_dev *mdp,
struct mtk_mdp_comp *comp)
{ … }
void mtk_mdp_unregister_component(struct mtk_mdp_dev *mdp,
struct mtk_mdp_comp *comp)
{ … }
static int mtk_mdp_probe(struct platform_device *pdev)
{ … }
static void mtk_mdp_remove(struct platform_device *pdev)
{ … }
static int __maybe_unused mtk_mdp_pm_suspend(struct device *dev)
{ … }
static int __maybe_unused mtk_mdp_pm_resume(struct device *dev)
{ … }
static int __maybe_unused mtk_mdp_suspend(struct device *dev)
{ … }
static int __maybe_unused mtk_mdp_resume(struct device *dev)
{ … }
static const struct dev_pm_ops mtk_mdp_pm_ops = …;
static struct platform_driver mtk_mdp_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;