linux/drivers/media/usb/dvb-usb/digitv.c

// SPDX-License-Identifier: GPL-2.0-only
/* DVB USB compliant linux driver for Nebula Electronics uDigiTV DVB-T USB2.0
 * receiver
 *
 * Copyright (C) 2005 Patrick Boettcher ([email protected])
 *
 * partly based on the SDK published by Nebula Electronics
 *
 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information
 */
#include "digitv.h"

#include "mt352.h"
#include "nxt6000.h"

/* debug */
static int dvb_usb_digitv_debug;
module_param_named(debug,dvb_usb_digitv_debug, int, 0644);
MODULE_PARM_DESC();

DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);

#define deb_rc(args...)

static int digitv_ctrl_msg(struct dvb_usb_device *d,
		u8 cmd, u8 vv, u8 *wbuf, int wlen, u8 *rbuf, int rlen)
{}

/* I2C */
static int digitv_i2c_xfer(struct i2c_adapter *adap,struct i2c_msg msg[],int num)
{}

static u32 digitv_i2c_func(struct i2c_adapter *adapter)
{}

static struct i2c_algorithm digitv_i2c_algo =;

/* Callbacks for DVB USB */
static int digitv_identify_state(struct usb_device *udev,
				 const struct dvb_usb_device_properties *props,
				 const struct dvb_usb_device_description **desc,
				 int *cold)
{}

static int digitv_mt352_demod_init(struct dvb_frontend *fe)
{}

static struct mt352_config digitv_mt352_config =;

static int digitv_nxt6000_tuner_set_params(struct dvb_frontend *fe)
{}

static struct nxt6000_config digitv_nxt6000_config =;

static int digitv_frontend_attach(struct dvb_usb_adapter *adap)
{}

static int digitv_tuner_attach(struct dvb_usb_adapter *adap)
{}

static struct rc_map_table rc_map_digitv_table[] =;

static int digitv_rc_query(struct dvb_usb_device *d, u32 *event, int *state)
{}

/* DVB USB Driver stuff */
static struct dvb_usb_device_properties digitv_properties;

static int digitv_probe(struct usb_interface *intf,
		const struct usb_device_id *id)
{}

enum {};

static struct usb_device_id digitv_table[] =;

MODULE_DEVICE_TABLE (usb, digitv_table);

static struct dvb_usb_device_properties digitv_properties =;

static struct usb_driver digitv_driver =;

module_usb_driver();

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