#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/of_reserved_mem.h>
#include <linux/dma-mapping.h>
#include <linux/interrupt.h>
#include <linux/clk.h>
#include <linux/pm_runtime.h>
#include <linux/regmap.h>
#include <linux/reset.h>
#include <linux/soc/sunxi/sunxi_sram.h>
#include <media/videobuf2-core.h>
#include <media/v4l2-mem2mem.h>
#include "cedrus.h"
#include "cedrus_hw.h"
#include "cedrus_regs.h"
int cedrus_engine_enable(struct cedrus_ctx *ctx)
{ … }
void cedrus_engine_disable(struct cedrus_dev *dev)
{ … }
void cedrus_dst_format_set(struct cedrus_dev *dev,
struct v4l2_pix_format *fmt)
{ … }
static irqreturn_t cedrus_irq(int irq, void *data)
{ … }
void cedrus_watchdog(struct work_struct *work)
{ … }
int cedrus_hw_suspend(struct device *device)
{ … }
int cedrus_hw_resume(struct device *device)
{ … }
int cedrus_hw_probe(struct cedrus_dev *dev)
{ … }
void cedrus_hw_remove(struct cedrus_dev *dev)
{ … }