linux/drivers/media/i2c/tlv320aic23b.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * tlv320aic23b - driver version 0.0.1
 *
 * Copyright (C) 2006 Scott Alfter <[email protected]>
 *
 * Based on wm8775 driver
 *
 * Copyright (C) 2004 Ulf Eklund <ivtv at eklund.to>
 * Copyright (C) 2005 Hans Verkuil <[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>
#include <media/v4l2-ctrls.h>

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


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

struct tlv320aic23b_state {};

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

static inline struct v4l2_subdev *to_sd(struct v4l2_ctrl *ctrl)
{}

static int tlv320aic23b_write(struct v4l2_subdev *sd, int reg, u16 val)
{}

static int tlv320aic23b_s_clock_freq(struct v4l2_subdev *sd, u32 freq)
{}

static int tlv320aic23b_s_ctrl(struct v4l2_ctrl *ctrl)
{}

static int tlv320aic23b_log_status(struct v4l2_subdev *sd)
{}

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

static const struct v4l2_ctrl_ops tlv320aic23b_ctrl_ops =;

static const struct v4l2_subdev_core_ops tlv320aic23b_core_ops =;

static const struct v4l2_subdev_audio_ops tlv320aic23b_audio_ops =;

static const struct v4l2_subdev_ops tlv320aic23b_ops =;

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

/* i2c implementation */

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

static int tlv320aic23b_probe(struct i2c_client *client)
{}

static void tlv320aic23b_remove(struct i2c_client *client)
{}

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

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

static struct i2c_driver tlv320aic23b_driver =;

module_i2c_driver();