#include "vp702x.h"
#include <linux/mutex.h>
int dvb_usb_vp702x_debug;
module_param_named(debug,dvb_usb_vp702x_debug, int, 0644);
MODULE_PARM_DESC(…) …;
DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
struct vp702x_adapter_state { … };
static int vp702x_usb_in_op_unlocked(struct dvb_usb_device *d, u8 req,
u16 value, u16 index, u8 *b, int blen)
{ … }
int vp702x_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value,
u16 index, u8 *b, int blen)
{ … }
static int vp702x_usb_out_op_unlocked(struct dvb_usb_device *d, u8 req,
u16 value, u16 index, u8 *b, int blen)
{ … }
static int vp702x_usb_out_op(struct dvb_usb_device *d, u8 req, u16 value,
u16 index, u8 *b, int blen)
{ … }
int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec)
{ … }
static int vp702x_usb_inout_cmd(struct dvb_usb_device *d, u8 cmd, u8 *o,
int olen, u8 *i, int ilen, int msec)
{ … }
static int vp702x_set_pld_mode(struct dvb_usb_adapter *adap, u8 bypass)
{ … }
static int vp702x_set_pld_state(struct dvb_usb_adapter *adap, u8 state)
{ … }
static int vp702x_set_pid(struct dvb_usb_adapter *adap, u16 pid, u8 id, int onoff)
{ … }
static int vp702x_init_pid_filter(struct dvb_usb_adapter *adap)
{ … }
static int vp702x_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
{ … }
static struct rc_map_table rc_map_vp702x_table[] = …;
static int vp702x_rc_query(struct dvb_usb_device *d, u32 *event, int *state)
{ … }
static int vp702x_read_mac_addr(struct dvb_usb_device *d,u8 mac[6])
{ … }
static int vp702x_frontend_attach(struct dvb_usb_adapter *adap)
{ … }
static struct dvb_usb_device_properties vp702x_properties;
static int vp702x_usb_probe(struct usb_interface *intf,
const struct usb_device_id *id)
{ … }
static void vp702x_usb_disconnect(struct usb_interface *intf)
{ … }
enum { … };
static struct usb_device_id vp702x_usb_table[] = …;
MODULE_DEVICE_TABLE(usb, vp702x_usb_table);
static struct dvb_usb_device_properties vp702x_properties = …;
static struct usb_driver vp702x_usb_driver = …;
module_usb_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_VERSION(…) …;
MODULE_LICENSE(…) …;