linux/drivers/staging/media/imx/imx-media-internal-sd.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * Media driver for Freescale i.MX5/6 SOC
 *
 * Adds the IPU internal subdevices and the media links between them.
 *
 * Copyright (c) 2016 Mentor Graphics Inc.
 */
#include <linux/platform_device.h>
#include "imx-media.h"

/* max pads per internal-sd */
#define MAX_INTERNAL_PADS
/* max links per internal-sd pad */
#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)
{}