hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * V4L2 Image Converter Subdev for Freescale i.MX5/6 SOC
 *
 * Copyright (c) 2016 Mentor Graphics Inc.
 */
#ifndef _IMX_IC_H
#define _IMX_IC_H
 
#include <media/v4l2-subdev.h>
 
struct imx_ic_priv {
   struct device *ipu_dev;
   struct ipu_soc *ipu;
   struct v4l2_subdev sd;
   int    task_id;
   void   *task_priv;
};
 
struct imx_ic_ops {
   const struct v4l2_subdev_ops *subdev_ops;
   const struct v4l2_subdev_internal_ops *internal_ops;
   const struct media_entity_operations *entity_ops;
 
   int (*init)(struct imx_ic_priv *ic_priv);
   void (*remove)(struct imx_ic_priv *ic_priv);
};
 
extern struct imx_ic_ops imx_ic_prp_ops;
extern struct imx_ic_ops imx_ic_prpencvf_ops;
 
#endif