#include "dvb_usb.h"
#include "m88ds3103.h"
#include "ts2020.h"
#include "sp2.h"
#include "si2168.h"
#include "si2157.h"
#define DVBSKY_MSG_DELAY …
#define DVBSKY_BUF_LEN …
static int dvb_usb_dvbsky_disable_rc;
module_param_named(disable_rc, dvb_usb_dvbsky_disable_rc, int, 0644);
MODULE_PARM_DESC(…) …;
DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
struct dvbsky_state { … };
static int dvbsky_usb_generic_rw(struct dvb_usb_device *d,
u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
{ … }
static int dvbsky_stream_ctrl(struct dvb_usb_device *d, u8 onoff)
{ … }
static int dvbsky_streaming_ctrl(struct dvb_frontend *fe, int onoff)
{ … }
static int dvbsky_gpio_ctrl(struct dvb_usb_device *d, u8 gport, u8 value)
{ … }
static int dvbsky_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[],
int num)
{ … }
static u32 dvbsky_i2c_func(struct i2c_adapter *adapter)
{ … }
static struct i2c_algorithm dvbsky_i2c_algo = …;
#if IS_ENABLED(CONFIG_RC_CORE)
static int dvbsky_rc_query(struct dvb_usb_device *d)
{ … }
static int dvbsky_get_rc_config(struct dvb_usb_device *d, struct dvb_usb_rc *rc)
{ … }
#else
#define dvbsky_get_rc_config …
#endif
static int dvbsky_usb_set_voltage(struct dvb_frontend *fe,
enum fe_sec_voltage voltage)
{ … }
static int dvbsky_read_mac_addr(struct dvb_usb_adapter *adap, u8 mac[6])
{ … }
static int dvbsky_usb_read_status(struct dvb_frontend *fe,
enum fe_status *status)
{ … }
static int dvbsky_s960_attach(struct dvb_usb_adapter *adap)
{ … }
static int dvbsky_usb_ci_set_voltage(struct dvb_frontend *fe,
enum fe_sec_voltage voltage)
{ … }
static int dvbsky_ci_ctrl(void *priv, u8 read, int addr,
u8 data, int *mem)
{ … }
static int dvbsky_s960c_attach(struct dvb_usb_adapter *adap)
{ … }
static int dvbsky_t680c_attach(struct dvb_usb_adapter *adap)
{ … }
static int dvbsky_t330_attach(struct dvb_usb_adapter *adap)
{ … }
static int dvbsky_mygica_t230c_attach(struct dvb_usb_adapter *adap)
{ … }
static int dvbsky_identify_state(struct dvb_usb_device *d, const char **name)
{ … }
static int dvbsky_init(struct dvb_usb_device *d)
{ … }
static int dvbsky_frontend_detach(struct dvb_usb_adapter *adap)
{ … }
static struct dvb_usb_device_properties dvbsky_s960_props = …;
static struct dvb_usb_device_properties dvbsky_s960c_props = …;
static struct dvb_usb_device_properties dvbsky_t680c_props = …;
static struct dvb_usb_device_properties dvbsky_t330_props = …;
static struct dvb_usb_device_properties mygica_t230c_props = …;
static const struct usb_device_id dvbsky_id_table[] = …;
MODULE_DEVICE_TABLE(usb, dvbsky_id_table);
static struct usb_driver dvbsky_usb_driver = …;
module_usb_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;