#include <linux/platform_device.h>
#include "imx-media.h"
#define MAX_INTERNAL_PADS …
#define MAX_INTERNAL_LINKS …
struct internal_subdev;
struct internal_link { … };
struct internal_pad { … };
struct internal_subdev { … };
static const struct internal_subdev int_subdev[NUM_IPU_SUBDEVS] = …;
static int create_internal_link(struct imx_media_dev *imxmd,
struct v4l2_subdev *src,
struct v4l2_subdev *sink,
const struct internal_link *link)
{ … }
static int create_ipu_internal_links(struct imx_media_dev *imxmd,
const struct internal_subdev *intsd,
struct v4l2_subdev *sd,
int ipu_id)
{ … }
int imx_media_register_ipu_internal_subdevs(struct imx_media_dev *imxmd,
struct v4l2_subdev *csi)
{ … }
void imx_media_unregister_ipu_internal_subdevs(struct imx_media_dev *imxmd)
{ … }