| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0+ */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * V4L2 Image Converter Subdev for Freescale i.MX5/6 SOC |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2016 Mentor Graphics Inc. |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 8 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 9 | | - * (at your option) any later version. |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | #ifndef _IMX_IC_H |
|---|
| 12 | 8 | #define _IMX_IC_H |
|---|
| .. | .. |
|---|
| 14 | 10 | #include <media/v4l2-subdev.h> |
|---|
| 15 | 11 | |
|---|
| 16 | 12 | struct imx_ic_priv { |
|---|
| 17 | | - struct device *dev; |
|---|
| 13 | + struct device *ipu_dev; |
|---|
| 14 | + struct ipu_soc *ipu; |
|---|
| 18 | 15 | struct v4l2_subdev sd; |
|---|
| 19 | | - int ipu_id; |
|---|
| 20 | 16 | int task_id; |
|---|
| 21 | | - void *prp_priv; |
|---|
| 22 | 17 | void *task_priv; |
|---|
| 23 | 18 | }; |
|---|
| 24 | 19 | |
|---|
| .. | .. |
|---|
| 33 | 28 | |
|---|
| 34 | 29 | extern struct imx_ic_ops imx_ic_prp_ops; |
|---|
| 35 | 30 | extern struct imx_ic_ops imx_ic_prpencvf_ops; |
|---|
| 36 | | -extern struct imx_ic_ops imx_ic_pp_ops; |
|---|
| 37 | 31 | |
|---|
| 38 | 32 | #endif |
|---|