linux/drivers/media/common/tveeprom.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * tveeprom - eeprom decoder for tvcard configuration eeproms
 *
 * Data and decoding routines shamelessly borrowed from bttv-cards.c
 * eeprom access routine shamelessly borrowed from bttv-if.c
 * which are:

    Copyright (C) 1996,97,98 Ralph  Metzler ([email protected])
			   & Marcus Metzler ([email protected])
    (c) 1999-2001 Gerd Knorr <[email protected]>

 * Adjustments to fit a more general model and all bugs:

	Copyright (C) 2003 John Klar <linpvr at projectplasma.com>

 */

#define pr_fmt(fmt)

#include <linux/module.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/videodev2.h>
#include <linux/i2c.h>

#include <media/tuner.h>
#include <media/tveeprom.h>
#include <media/v4l2-common.h>

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

#define STRM(array, i)


/*
 * The Hauppauge eeprom uses an 8bit field to determine which
 * tuner formats the tuner supports.
 */
static const struct {} hauppauge_tuner_fmt[] =;

/* This is the full list of possible tuners. Many thanks to Hauppauge for
   supplying this information. Note that many tuners where only used for
   testing and never made it to the outside world. So you will only see
   a subset in actual produced cards. */
static const struct {} hauppauge_tuner[] =;

/* Use TVEEPROM_AUDPROC_INTERNAL for those audio 'chips' that are
 * internal to a video chip, i.e. not a separate audio chip. */
static const struct {} audio_ic[] =;

/* This list is supplied by Hauppauge. Thanks! */
static const char *decoderIC[] =;

static int hasRadioTuner(int tunerType)
{}

void tveeprom_hauppauge_analog(struct tveeprom *tvee,
			       unsigned char *eeprom_data)
{}
EXPORT_SYMBOL();

/* ----------------------------------------------------------------------- */
/* generic helper functions                                                */

int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len)
{}
EXPORT_SYMBOL();