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

// SPDX-License-Identifier: GPL-2.0-or-later
/*
    Auvitek AU8522 QAM/8VSB demodulator driver

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


*/

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

static int debug;
static int zv_mode =; /* default to on */

#define dprintk(arg...)

struct mse2snr_tab {};

/* VSB SNR lookup table */
static struct mse2snr_tab vsb_mse2snr_tab[] =;

/* QAM64 SNR lookup table */
static struct mse2snr_tab qam64_mse2snr_tab[] =;

/* QAM256 SNR lookup table */
static struct mse2snr_tab qam256_mse2snr_tab[] =;

static int au8522_mse2snr_lookup(struct mse2snr_tab *tab, int sz, int mse,
				 u16 *snr)
{}

static int au8522_set_if(struct dvb_frontend *fe, enum au8522_if_freq if_freq)
{}

/* VSB Modulation table */
static struct {} VSB_mod_tab[] =;

/* QAM64 Modulation table */
static struct {} QAM64_mod_tab[] =;

/* QAM256 Modulation table */
static struct {} QAM256_mod_tab[] =;

static struct {} QAM256_mod_tab_zv_mode[] =;

static int au8522_enable_modulation(struct dvb_frontend *fe,
				    enum fe_modulation m)
{}

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

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

static int au8522_led_status(struct au8522_state *state, const u16 *snr)
{}

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

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

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

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

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

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

static const struct dvb_frontend_ops au8522_ops;


static void au8522_release(struct dvb_frontend *fe)
{}

struct dvb_frontend *au8522_attach(const struct au8522_config *config,
				   struct i2c_adapter *i2c)
{}
EXPORT_SYMBOL_GPL();

static const struct dvb_frontend_ops au8522_ops =;

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

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

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