#include <linux/clk.h>
#include <linux/module.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/remoteproc.h>
#include <linux/remoteproc/mtk_scp.h>
#include <media/videobuf2-dma-contig.h>
#include "mtk-mdp3-core.h"
#include "mtk-mdp3-cfg.h"
#include "mtk-mdp3-m2m.h"
static const struct of_device_id mdp_of_ids[] = …;
MODULE_DEVICE_TABLE(of, mdp_of_ids);
static struct platform_device *__get_pdev_by_id(struct platform_device *pdev,
struct platform_device *from,
enum mdp_infra_id id)
{ … }
struct platform_device *mdp_get_plat_device(struct platform_device *pdev)
{ … }
EXPORT_SYMBOL_GPL(…);
int mdp_vpu_get_locked(struct mdp_dev *mdp)
{ … }
void mdp_vpu_put_locked(struct mdp_dev *mdp)
{ … }
void mdp_video_device_release(struct video_device *vdev)
{ … }
static int mdp_mm_subsys_deploy(struct mdp_dev *mdp, enum mdp_infra_id id)
{ … }
static int mdp_probe(struct platform_device *pdev)
{ … }
static void mdp_remove(struct platform_device *pdev)
{ … }
static int __maybe_unused mdp_suspend(struct device *dev)
{ … }
static int __maybe_unused mdp_resume(struct device *dev)
{ … }
static const struct dev_pm_ops mdp_pm_ops = …;
static struct platform_driver mdp_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;