#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/kref.h>
#include <linux/uaccess.h>
#include <linux/usb.h>
#include "as102_drv.h"
#include "as10x_cmd.h"
#include "as102_fe.h"
#include "as102_fw.h"
#include <media/dvbdev.h>
int dual_tuner;
module_param_named(dual_tuner, dual_tuner, int, 0644);
MODULE_PARM_DESC(…) …;
static int fw_upload = …;
module_param_named(fw_upload, fw_upload, int, 0644);
MODULE_PARM_DESC(…) …;
static int pid_filtering;
module_param_named(pid_filtering, pid_filtering, int, 0644);
MODULE_PARM_DESC(…) …;
static int ts_auto_disable;
module_param_named(ts_auto_disable, ts_auto_disable, int, 0644);
MODULE_PARM_DESC(…) …;
int elna_enable = …;
module_param_named(elna_enable, elna_enable, int, 0644);
MODULE_PARM_DESC(…) …;
DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
static void as102_stop_stream(struct as102_dev_t *dev)
{ … }
static int as102_start_stream(struct as102_dev_t *dev)
{ … }
static int as10x_pid_filter(struct as102_dev_t *dev,
int index, u16 pid, int onoff) { … }
static int as102_dvb_dmx_start_feed(struct dvb_demux_feed *dvbdmxfeed)
{ … }
static int as102_dvb_dmx_stop_feed(struct dvb_demux_feed *dvbdmxfeed)
{ … }
static int as102_set_tune(void *priv, struct as10x_tune_args *tune_args)
{ … }
static int as102_get_tps(void *priv, struct as10x_tps *tps)
{ … }
static int as102_get_status(void *priv, struct as10x_tune_status *tstate)
{ … }
static int as102_get_stats(void *priv, struct as10x_demod_stats *demod_stats)
{ … }
static int as102_stream_ctrl(void *priv, int acquire, uint32_t elna_cfg)
{ … }
static const struct as102_fe_ops as102_fe_ops = …;
int as102_dvb_register(struct as102_dev_t *as102_dev)
{ … }
void as102_dvb_unregister(struct as102_dev_t *as102_dev)
{ … }
module_usb_driver(…) …;
MODULE_DESCRIPTION(…);
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;