linux/drivers/media/test-drivers/vimc/vimc-lens.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * vimc-lens.c Virtual Media Controller Driver
 * Copyright (C) 2022 Google, Inc
 * Author: [email protected] (Yunke Cao)
 */

#include <media/v4l2-ctrls.h>
#include <media/v4l2-event.h>
#include <media/v4l2-subdev.h>

#include "vimc-common.h"

#define VIMC_LENS_MAX_FOCUS_POS
#define VIMC_LENS_MAX_FOCUS_STEP

struct vimc_lens_device {};

static const struct v4l2_subdev_core_ops vimc_lens_core_ops =;

static const struct v4l2_subdev_ops vimc_lens_ops =;

static int vimc_lens_s_ctrl(struct v4l2_ctrl *ctrl)
{}

static const struct v4l2_ctrl_ops vimc_lens_ctrl_ops =;

static struct vimc_ent_device *vimc_lens_add(struct vimc_device *vimc,
					     const char *vcfg_name)
{}

static void vimc_lens_release(struct vimc_ent_device *ved)
{}

const struct vimc_ent_type vimc_lens_type =;