linux/drivers/media/dvb-frontends/tda10021.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
    TDA10021  - Single Chip Cable Channel Receiver driver module
	       used on the Siemens DVB-C cards

    Copyright (C) 1999 Convergence Integrated Media GmbH <[email protected]>
    Copyright (C) 2004 Markus Schulz <[email protected]>
		   Support for TDA10021

*/

#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/slab.h>

#include <media/dvb_frontend.h>
#include "tda1002x.h"


struct tda10021_state {};


#if 0
#define dprintk
#else
#define dprintk(x...)
#endif

static int verbose;

#define XIN

#define FIN

static int tda10021_inittab_size =;
static u8 tda10021_inittab[0x40]=;

static int _tda10021_writereg (struct tda10021_state* state, u8 reg, u8 data)
{}

static u8 tda10021_readreg (struct tda10021_state* state, u8 reg)
{}

//get access to tuner
static int lock_tuner(struct tda10021_state* state)
{}

//release access from tuner
static int unlock_tuner(struct tda10021_state* state)
{}

static int tda10021_setup_reg0(struct tda10021_state *state, u8 reg0,
			       enum fe_spectral_inversion inversion)
{}

static int tda10021_set_symbolrate (struct tda10021_state* state, u32 symbolrate)
{}

static int tda10021_init (struct dvb_frontend *fe)
{}

struct qam_params {};

static int tda10021_set_parameters(struct dvb_frontend *fe)
{}

static int tda10021_read_status(struct dvb_frontend *fe,
				enum fe_status *status)
{}

static int tda10021_read_ber(struct dvb_frontend* fe, u32* ber)
{}

static int tda10021_read_signal_strength(struct dvb_frontend* fe, u16* strength)
{}

static int tda10021_read_snr(struct dvb_frontend* fe, u16* snr)
{}

static int tda10021_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks)
{}

static int tda10021_get_frontend(struct dvb_frontend *fe,
				 struct dtv_frontend_properties *p)
{}

static int tda10021_i2c_gate_ctrl(struct dvb_frontend* fe, int enable)
{}

static int tda10021_sleep(struct dvb_frontend* fe)
{}

static void tda10021_release(struct dvb_frontend* fe)
{}

static const struct dvb_frontend_ops tda10021_ops;

struct dvb_frontend* tda10021_attach(const struct tda1002x_config* config,
				     struct i2c_adapter* i2c,
				     u8 pwm)
{}

static const struct dvb_frontend_ops tda10021_ops =;

module_param(verbose, int, 0644);
MODULE_PARM_DESC();

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

EXPORT_SYMBOL_GPL();