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

// SPDX-License-Identifier: GPL-2.0-or-later
/*
    Driver for Zarlink VP310/MT312/ZL10313 Satellite Channel Decoder

    Copyright (C) 2003 Andreas Oberritter <[email protected]>
    Copyright (C) 2008 Matthias Schwarzott <[email protected]>


    References:
    http://products.zarlink.com/product_profiles/MT312.htm
    http://products.zarlink.com/product_profiles/SL1935.htm
*/

#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 "mt312_priv.h"
#include "mt312.h"

/* Max transfer size done by I2C transfer functions */
#define MAX_XFER_SIZE

struct mt312_state {};

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

#define MT312_PLL_CLK
#define MT312_PLL_CLK_10_111

static int mt312_read(struct mt312_state *state, const enum mt312_reg_addr reg,
		      u8 *buf, const size_t count)
{}

static int mt312_write(struct mt312_state *state, const enum mt312_reg_addr reg,
		       const u8 *src, const size_t count)
{}

static inline int mt312_readreg(struct mt312_state *state,
				const enum mt312_reg_addr reg, u8 *val)
{}

static inline int mt312_writereg(struct mt312_state *state,
				 const enum mt312_reg_addr reg, const u8 val)
{}

static int mt312_reset(struct mt312_state *state, const u8 full)
{}

static int mt312_get_inversion(struct mt312_state *state,
			       enum fe_spectral_inversion *i)
{}

static int mt312_get_symbol_rate(struct mt312_state *state, u32 *sr)
{}

static int mt312_get_code_rate(struct mt312_state *state, enum fe_code_rate *cr)
{}

static int mt312_initfe(struct dvb_frontend *fe)
{}

static int mt312_send_master_cmd(struct dvb_frontend *fe,
				 struct dvb_diseqc_master_cmd *c)
{}

static int mt312_send_burst(struct dvb_frontend *fe,
			    const enum fe_sec_mini_cmd c)
{}

static int mt312_set_tone(struct dvb_frontend *fe,
			  const enum fe_sec_tone_mode t)
{}

static int mt312_set_voltage(struct dvb_frontend *fe,
			     const enum fe_sec_voltage v)
{}

static int mt312_read_status(struct dvb_frontend *fe, enum fe_status *s)
{}

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

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

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

static int mt312_read_ucblocks(struct dvb_frontend *fe, u32 *ubc)
{}

static int mt312_set_frontend(struct dvb_frontend *fe)
{}

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

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

static int mt312_sleep(struct dvb_frontend *fe)
{}

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

static void mt312_release(struct dvb_frontend *fe)
{}

#define MT312_SYS_CLK
static const struct dvb_frontend_ops mt312_ops =;

struct dvb_frontend *mt312_attach(const struct mt312_config *config,
					struct i2c_adapter *i2c)
{}
EXPORT_SYMBOL_GPL();

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

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