#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/pm.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-ctrls.h>
#include <media/v4l2-mem2mem.h>
#include "cedrus.h"
#include "cedrus_video.h"
#include "cedrus_dec.h"
#include "cedrus_hw.h"
static int cedrus_try_ctrl(struct v4l2_ctrl *ctrl)
{ … }
static const struct v4l2_ctrl_ops cedrus_ctrl_ops = …;
static const struct cedrus_control cedrus_controls[] = …;
#define CEDRUS_CONTROLS_COUNT …
void *cedrus_find_control_data(struct cedrus_ctx *ctx, u32 id)
{ … }
u32 cedrus_get_num_of_controls(struct cedrus_ctx *ctx, u32 id)
{ … }
static int cedrus_init_ctrls(struct cedrus_dev *dev, struct cedrus_ctx *ctx)
{ … }
static int cedrus_request_validate(struct media_request *req)
{ … }
static int cedrus_open(struct file *file)
{ … }
static int cedrus_release(struct file *file)
{ … }
static const struct v4l2_file_operations cedrus_fops = …;
static const struct video_device cedrus_video_device = …;
static const struct v4l2_m2m_ops cedrus_m2m_ops = …;
static const struct media_device_ops cedrus_m2m_media_ops = …;
static int cedrus_probe(struct platform_device *pdev)
{ … }
static void cedrus_remove(struct platform_device *pdev)
{ … }
static const struct cedrus_variant sun4i_a10_cedrus_variant = …;
static const struct cedrus_variant sun5i_a13_cedrus_variant = …;
static const struct cedrus_variant sun7i_a20_cedrus_variant = …;
static const struct cedrus_variant sun8i_a33_cedrus_variant = …;
static const struct cedrus_variant sun8i_h3_cedrus_variant = …;
static const struct cedrus_variant sun8i_v3s_cedrus_variant = …;
static const struct cedrus_variant sun8i_r40_cedrus_variant = …;
static const struct cedrus_variant sun20i_d1_cedrus_variant = …;
static const struct cedrus_variant sun50i_a64_cedrus_variant = …;
static const struct cedrus_variant sun50i_h5_cedrus_variant = …;
static const struct cedrus_variant sun50i_h6_cedrus_variant = …;
static const struct of_device_id cedrus_dt_match[] = …;
MODULE_DEVICE_TABLE(of, cedrus_dt_match);
static const struct dev_pm_ops cedrus_dev_pm_ops = …;
static struct platform_driver cedrus_driver = …;
module_platform_driver(…) …;
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;