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

// SPDX-License-Identifier: GPL-2.0-or-later
/*
    Driver for ST STV0299 demodulator

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


    Philips SU1278/SH

    Copyright (C) 2002 by Peter Schildmann <[email protected]>


    LG TDQF-S001F

    Copyright (C) 2002 Felix Domke <[email protected]>
		     & Andreas Oberritter <[email protected]>


    Support for Samsung TBMU24112IMB used on Technisat SkyStar2 rev. 2.6B

    Copyright (C) 2003 Vadim Catana <[email protected]>:

    Support for Philips SU1278 on Technotrend hardware

    Copyright (C) 2004 Andrew de Quincey <[email protected]>


*/

#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/ktime.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <asm/div64.h>

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

struct stv0299_state {};

#define STATUS_BER
#define STATUS_UCBLOCKS

static int debug;
static int debug_legacy_dish_switch;
#define dprintk(args...)


static int stv0299_writeregI (struct stv0299_state* state, u8 reg, u8 data)
{}

static int stv0299_write(struct dvb_frontend* fe, const u8 buf[], int len)
{}

static u8 stv0299_readreg (struct stv0299_state* state, u8 reg)
{}

static int stv0299_readregs (struct stv0299_state* state, u8 reg1, u8 *b, u8 len)
{}

static int stv0299_set_FEC(struct stv0299_state *state, enum fe_code_rate fec)
{}

static enum fe_code_rate stv0299_get_fec(struct stv0299_state *state)
{}

static int stv0299_wait_diseqc_fifo (struct stv0299_state* state, int timeout)
{}

static int stv0299_wait_diseqc_idle (struct stv0299_state* state, int timeout)
{}

static int stv0299_set_symbolrate (struct dvb_frontend* fe, u32 srate)
{}

static int stv0299_get_symbolrate (struct stv0299_state* state)
{}

static int stv0299_send_diseqc_msg (struct dvb_frontend* fe,
				    struct dvb_diseqc_master_cmd *m)
{}

static int stv0299_send_diseqc_burst(struct dvb_frontend *fe,
				     enum fe_sec_mini_cmd burst)
{}

static int stv0299_set_tone(struct dvb_frontend *fe,
			    enum fe_sec_tone_mode tone)
{}

static int stv0299_set_voltage(struct dvb_frontend *fe,
			       enum fe_sec_voltage voltage)
{}

static int stv0299_send_legacy_dish_cmd (struct dvb_frontend* fe, unsigned long cmd)
{}

static int stv0299_init (struct dvb_frontend* fe)
{}

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

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

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

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

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

static int stv0299_set_frontend(struct dvb_frontend *fe)
{}

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

static int stv0299_sleep(struct dvb_frontend* fe)
{}

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

static int stv0299_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* fesettings)
{}

static void stv0299_release(struct dvb_frontend* fe)
{}

static const struct dvb_frontend_ops stv0299_ops;

struct dvb_frontend* stv0299_attach(const struct stv0299_config* config,
				    struct i2c_adapter* i2c)
{}

static const struct dvb_frontend_ops stv0299_ops =;

module_param(debug_legacy_dish_switch, int, 0444);
MODULE_PARM_DESC();

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

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

EXPORT_SYMBOL_GPL();