#define pr_fmt(fmt) …
#define DEBUG_VARIABLE …
#include <media/drv-intf/saa7146_vv.h>
#include <linux/module.h>
#include <linux/kernel.h>
static int debug;
module_param(debug, int, 0);
MODULE_PARM_DESC(…) …;
static int hexium_num;
#define HEXIUM_HV_PCI6_ORION …
#define HEXIUM_ORION_1SVHS_3BNC …
#define HEXIUM_ORION_4BNC …
#define HEXIUM_STD …
#define HEXIUM_INPUTS …
static struct v4l2_input hexium_inputs[HEXIUM_INPUTS] = …;
#define HEXIUM_AUDIOS …
struct hexium_data
{ … };
struct hexium
{ … };
static u8 hexium_saa7110[53]= …;
static struct { … } hexium_input_select[] = …;
static struct saa7146_standard hexium_standards[] = …;
static int hexium_probe(struct saa7146_dev *dev)
{ … }
static int hexium_init_done(struct saa7146_dev *dev)
{ … }
static int hexium_set_input(struct hexium *hexium, int input)
{ … }
static int vidioc_enum_input(struct file *file, void *fh, struct v4l2_input *i)
{ … }
static int vidioc_g_input(struct file *file, void *fh, unsigned int *input)
{ … }
static int vidioc_s_input(struct file *file, void *fh, unsigned int input)
{ … }
static struct saa7146_ext_vv vv_data;
static int hexium_attach(struct saa7146_dev *dev, struct saa7146_pci_extension_data *info)
{ … }
static int hexium_detach(struct saa7146_dev *dev)
{ … }
static int std_callback(struct saa7146_dev *dev, struct saa7146_standard *std)
{ … }
static struct saa7146_extension extension;
static struct saa7146_pci_extension_data hexium_hv_pci6 = …;
static struct saa7146_pci_extension_data hexium_orion_1svhs_3bnc = …;
static struct saa7146_pci_extension_data hexium_orion_4bnc = …;
static const struct pci_device_id pci_tbl[] = …;
MODULE_DEVICE_TABLE(pci, pci_tbl);
static struct saa7146_ext_vv vv_data = …;
static struct saa7146_extension extension = …;
static int __init hexium_init_module(void)
{ … }
static void __exit hexium_cleanup_module(void)
{ … }
module_init(…) …;
module_exit(hexium_cleanup_module);
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;