linux/drivers/media/i2c/vp27smpx.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * vp27smpx - driver version 0.0.1
 *
 * Copyright (C) 2007 Hans Verkuil <[email protected]>
 *
 * Based on a tvaudio patch from Takahiro Adachi <[email protected]>
 * and Kazuhiko Kawakami <[email protected]>
 */

#include <linux/module.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/ioctl.h>
#include <linux/uaccess.h>
#include <linux/i2c.h>
#include <linux/videodev2.h>
#include <media/v4l2-device.h>

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();


/* ----------------------------------------------------------------------- */

struct vp27smpx_state {};

static inline struct vp27smpx_state *to_state(struct v4l2_subdev *sd)
{}

static void vp27smpx_set_audmode(struct v4l2_subdev *sd, u32 audmode)
{}

static int vp27smpx_s_radio(struct v4l2_subdev *sd)
{}

static int vp27smpx_s_std(struct v4l2_subdev *sd, v4l2_std_id norm)
{}

static int vp27smpx_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt)
{}

static int vp27smpx_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt)
{}

static int vp27smpx_log_status(struct v4l2_subdev *sd)
{}

/* ----------------------------------------------------------------------- */

static const struct v4l2_subdev_core_ops vp27smpx_core_ops =;

static const struct v4l2_subdev_tuner_ops vp27smpx_tuner_ops =;

static const struct v4l2_subdev_video_ops vp27smpx_video_ops =;

static const struct v4l2_subdev_ops vp27smpx_ops =;

/* ----------------------------------------------------------------------- */

/* i2c implementation */

/*
 * Generic i2c probe
 * concerning the addresses: i2c wants 7 bit (without the r/w bit), so '>>1'
 */

static int vp27smpx_probe(struct i2c_client *client)
{}

static void vp27smpx_remove(struct i2c_client *client)
{}

/* ----------------------------------------------------------------------- */

static const struct i2c_device_id vp27smpx_id[] =;
MODULE_DEVICE_TABLE(i2c, vp27smpx_id);

static struct i2c_driver vp27smpx_driver =;

module_i2c_driver();