0001
0002
0003
0004
0005
0006
0007 #ifndef _IMX_IC_H
0008 #define _IMX_IC_H
0009
0010 #include <media/v4l2-subdev.h>
0011
0012 struct imx_ic_priv {
0013 struct device *ipu_dev;
0014 struct ipu_soc *ipu;
0015 struct v4l2_subdev sd;
0016 int task_id;
0017 void *task_priv;
0018 };
0019
0020 struct imx_ic_ops {
0021 const struct v4l2_subdev_ops *subdev_ops;
0022 const struct v4l2_subdev_internal_ops *internal_ops;
0023 const struct media_entity_operations *entity_ops;
0024
0025 int (*init)(struct imx_ic_priv *ic_priv);
0026 void (*remove)(struct imx_ic_priv *ic_priv);
0027 };
0028
0029 extern struct imx_ic_ops imx_ic_prp_ops;
0030 extern struct imx_ic_ops imx_ic_prpencvf_ops;
0031
0032 #endif