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

// SPDX-License-Identifier: GPL-2.0-or-later
/*
    Conexant 22702 DVB OFDM demodulator driver

    based on:
	Alps TDMB7 DVB OFDM demodulator driver

    Copyright (C) 2001-2002 Convergence Integrated Media GmbH
	  Holger Waechtler <[email protected]>

    Copyright (C) 2004 Steven Toth <[email protected]>


*/

#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <media/dvb_frontend.h>
#include "cx22702.h"

struct cx22702_state {};

static int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC();

#define dprintk

/* Register values to initialise the demod */
static const u8 init_tab[] =;

static int cx22702_writereg(struct cx22702_state *state, u8 reg, u8 data)
{}

static u8 cx22702_readreg(struct cx22702_state *state, u8 reg)
{}

static int cx22702_set_inversion(struct cx22702_state *state, int inversion)
{}

/* Retrieve the demod settings */
static int cx22702_get_tps(struct cx22702_state *state,
			   struct dtv_frontend_properties *p)
{}

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

/* Talk to the demod, set the FEC, GUARD, QAM settings etc */
static int cx22702_set_tps(struct dvb_frontend *fe)
{}

/* Reset the demod hardware and reset all of the configuration registers
   to a default state. */
static int cx22702_init(struct dvb_frontend *fe)
{}

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

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

static int cx22702_read_signal_strength(struct dvb_frontend *fe,
	u16 *signal_strength)
{}

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

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

static int cx22702_get_frontend(struct dvb_frontend *fe,
				struct dtv_frontend_properties *c)
{}

static int cx22702_get_tune_settings(struct dvb_frontend *fe,
	struct dvb_frontend_tune_settings *tune)
{}

static void cx22702_release(struct dvb_frontend *fe)
{}

static const struct dvb_frontend_ops cx22702_ops;

struct dvb_frontend *cx22702_attach(const struct cx22702_config *config,
	struct i2c_adapter *i2c)
{}
EXPORT_SYMBOL_GPL();

static const struct dvb_frontend_ops cx22702_ops =;

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