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

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Linux-DVB Driver for DiBcom's DiB0070 base-band RF Tuner.
 *
 * Copyright (C) 2005-9 DiBcom (http://www.dibcom.fr/)
 *
 * This code is more or less generated from another driver, please
 * excuse some codingstyle oddities.
 */

#define pr_fmt(fmt)

#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/mutex.h>

#include <media/dvb_frontend.h>

#include "dib0070.h"
#include "dibx000_common.h"

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

#define dprintk(fmt, arg...)

#define DIB0070_P1D
#define DIB0070_P1F
#define DIB0070_P1G
#define DIB0070S_P1A

struct dib0070_state {};

static u16 dib0070_read_reg(struct dib0070_state *state, u8 reg)
{}

static int dib0070_write_reg(struct dib0070_state *state, u8 reg, u16 val)
{}

#define HARD_RESET(state)

static int dib0070_set_bandwidth(struct dvb_frontend *fe)
	{}

static int dib0070_captrim(struct dib0070_state *state, enum frontend_tune_state *tune_state)
{}

static int dib0070_set_ctrl_lo5(struct dvb_frontend *fe, u8 vco_bias_trim, u8 hf_div_trim, u8 cp_current, u8 third_order_filt)
{}

void dib0070_ctrl_agc_filter(struct dvb_frontend *fe, u8 open)
{}

EXPORT_SYMBOL();
struct dib0070_tuning {};

struct dib0070_lna_match {};

static const struct dib0070_tuning dib0070s_tuning_table[] =;

static const struct dib0070_tuning dib0070_tuning_table[] =;

static const struct dib0070_lna_match dib0070_lna_flip_chip[] =;

static const struct dib0070_lna_match dib0070_lna[] =;

#define LPF
static int dib0070_tune_digital(struct dvb_frontend *fe)
{}


static int dib0070_tune(struct dvb_frontend *fe)
{}

static int dib0070_wakeup(struct dvb_frontend *fe)
{}

static int dib0070_sleep(struct dvb_frontend *fe)
{}

u8 dib0070_get_rf_output(struct dvb_frontend *fe)
{}
EXPORT_SYMBOL();

int dib0070_set_rf_output(struct dvb_frontend *fe, u8 no)
{}
EXPORT_SYMBOL();

static const u16 dib0070_p1f_defaults[] =;

static u16 dib0070_read_wbd_offset(struct dib0070_state *state, u8 gain)
{}

static void dib0070_wbd_offset_calibration(struct dib0070_state *state)
{}

u16 dib0070_wbd_offset(struct dvb_frontend *fe)
{}
EXPORT_SYMBOL();

#define pgm_read_word(w)
static int dib0070_reset(struct dvb_frontend *fe)
{}

static int dib0070_get_frequency(struct dvb_frontend *fe, u32 *frequency)
{}

static void dib0070_release(struct dvb_frontend *fe)
{}

static const struct dvb_tuner_ops dib0070_ops =;

struct dvb_frontend *dib0070_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct dib0070_config *cfg)
{}
EXPORT_SYMBOL_GPL();

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