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

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * DVB USB Linux driver for AME DTV-5100 USB2.0 DVB-T
 *
 * Copyright (C) 2008  Antoine Jacquet <[email protected]>
 * http://royale.zerezo.com/dtv5100/
 *
 * Inspired by gl861.c and au6610.c drivers
 */

#include "dtv5100.h"
#include "zl10353.h"
#include "qt1010.h"

/* debug */
static int dvb_usb_dtv5100_debug;
module_param_named(debug, dvb_usb_dtv5100_debug, int, 0644);
MODULE_PARM_DESC();
DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);

struct dtv5100_state {};

static int dtv5100_i2c_msg(struct dvb_usb_device *d, u8 addr,
			   u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
{}

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

static u32 dtv5100_i2c_func(struct i2c_adapter *adapter)
{}

static struct i2c_algorithm dtv5100_i2c_algo =;

/* Callbacks for DVB USB */
static struct zl10353_config dtv5100_zl10353_config =;

static int dtv5100_frontend_attach(struct dvb_usb_adapter *adap)
{}

static struct qt1010_config dtv5100_qt1010_config =;

static int dtv5100_tuner_attach(struct dvb_usb_adapter *adap)
{}

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

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

enum {};

static struct usb_device_id dtv5100_table[] =;

MODULE_DEVICE_TABLE(usb, dtv5100_table);

static struct dvb_usb_device_properties dtv5100_properties =;

static struct usb_driver dtv5100_driver =;

module_usb_driver();

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