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

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Frontend driver for mobile DVB-T demodulator DiBcom 3000M-B
 * DiBcom (http://www.dibcom.fr/)
 *
 * Copyright (C) 2004-5 Patrick Boettcher ([email protected])
 *
 * based on GPL code from DibCom, which has
 *
 * Copyright (C) 2004 Amaury Demol for DiBcom
 *
 * Acknowledgements
 *
 *  Amaury Demol from DiBcom for providing specs and driver
 *  sources, on which this driver (and the dvb-dibusb) are based.
 *
 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information
 */

#define pr_fmt(fmt)

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/string.h>
#include <linux/slab.h>

#include <media/dvb_frontend.h>

#include "dib3000.h"
#include "dib3000mb_priv.h"

/* Version information */
#define DRIVER_VERSION
#define DRIVER_DESC
#define DRIVER_AUTHOR

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

#define deb_info(args...)
#define deb_i2c(args...)
#define deb_srch(args...)
#define deb_info(args...)
#define deb_xfer(args...)
#define deb_setf(args...)
#define deb_getf(args...)

static int dib3000_read_reg(struct dib3000_state *state, u16 reg)
{}

static int dib3000_write_reg(struct dib3000_state *state, u16 reg, u16 val)
{}

static int dib3000_search_status(u16 irq,u16 lock)
{}

/* for auto search */
static u16 dib3000_seq[2][2][2] =/* fft,gua,   inv   */
	{};

static int dib3000mb_get_frontend(struct dvb_frontend* fe,
				  struct dtv_frontend_properties *c);

static int dib3000mb_set_frontend(struct dvb_frontend *fe, int tuner)
{}

static int dib3000mb_fe_init(struct dvb_frontend* fe, int mobile_mode)
{}

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

static int dib3000mb_read_status(struct dvb_frontend *fe,
				 enum fe_status *stat)
{}

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

/* see dib3000-watch dvb-apps for exact calcuations of signal_strength and snr */
static int dib3000mb_read_signal_strength(struct dvb_frontend* fe, u16 *strength)
{}

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

static int dib3000mb_read_unc_blocks(struct dvb_frontend* fe, u32 *unc)
{}

static int dib3000mb_sleep(struct dvb_frontend* fe)
{}

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

static int dib3000mb_fe_init_nonmobile(struct dvb_frontend* fe)
{}

static int dib3000mb_set_frontend_and_tuner(struct dvb_frontend *fe)
{}

static void dib3000mb_release(struct dvb_frontend* fe)
{}

/* pid filter and transfer stuff */
static int dib3000mb_pid_control(struct dvb_frontend *fe,int index, int pid,int onoff)
{}

static int dib3000mb_fifo_control(struct dvb_frontend *fe, int onoff)
{}

static int dib3000mb_pid_parse(struct dvb_frontend *fe, int onoff)
{}

static int dib3000mb_tuner_pass_ctrl(struct dvb_frontend *fe, int onoff, u8 pll_addr)
{}

static const struct dvb_frontend_ops dib3000mb_ops;

struct dvb_frontend* dib3000mb_attach(const struct dib3000_config* config,
				      struct i2c_adapter* i2c, struct dib_fe_xfer_ops *xfer_ops)
{}

static const struct dvb_frontend_ops dib3000mb_ops =;

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

EXPORT_SYMBOL_GPL();