linux/drivers/media/pci/saa7146/hexium_orion.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
    hexium_orion.c - v4l2 driver for the Hexium Orion frame grabber cards

    Visit http://www.mihu.de/linux/saa7146/ and follow the link
    to "hexium" for further details about this card.

    Copyright (C) 2003 Michael Hunold <[email protected]>

*/

#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();

/* global variables */
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
{};

/* Philips SAA7110 decoder default registers */
static u8 hexium_saa7110[53]=;

static struct {} hexium_input_select[] =;

static struct saa7146_standard hexium_standards[] =;

/* this is only called for old HV-PCI6/Orion cards
   without eeprom */
static int hexium_probe(struct saa7146_dev *dev)
{}

/* bring hardware to a sane state. this has to be done, just in case someone
   wants to capture from this device before it has been properly initialized.
   the capture engine would badly fail, because no valid signal arrives on the
   saa7146, thus leading to timeouts and stuff. */
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;

/* this function only gets called when the probing was successful */
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();