#include <media/v4l2-ctrls.h>
#include <media/v4l2-event.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-mc.h>
#include "imx-media.h"
static inline struct imx_media_dev *notifier2dev(struct v4l2_async_notifier *n)
{ … }
static void imx_media_create_csi2_links(struct imx_media_dev *imxmd)
{ … }
static int imx_media_add_vdev_to_pad(struct imx_media_dev *imxmd,
struct imx_media_video_dev *vdev,
struct media_pad *srcpad)
{ … }
static int imx_media_alloc_pad_vdev_lists(struct imx_media_dev *imxmd)
{ … }
static int imx_media_create_pad_vdev_lists(struct imx_media_dev *imxmd)
{ … }
int imx_media_probe_complete(struct v4l2_async_notifier *notifier)
{ … }
EXPORT_SYMBOL_GPL(…);
static int imx_media_inherit_controls(struct imx_media_dev *imxmd,
struct video_device *vfd,
struct media_entity *entity)
{ … }
static int imx_media_link_notify(struct media_link *link, u32 flags,
unsigned int notification)
{ … }
static void imx_media_notify(struct v4l2_subdev *sd, unsigned int notification,
void *arg)
{ … }
static const struct v4l2_async_notifier_operations imx_media_notifier_ops = …;
static const struct media_device_ops imx_media_md_ops = …;
struct imx_media_dev *imx_media_dev_init(struct device *dev,
const struct media_device_ops *ops)
{ … }
EXPORT_SYMBOL_GPL(…);
int imx_media_dev_notifier_register(struct imx_media_dev *imxmd,
const struct v4l2_async_notifier_operations *ops)
{ … }
EXPORT_SYMBOL_GPL(…);