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

// SPDX-License-Identifier: GPL-2.0-or-later
/*
    hexium_gemini.c - v4l2 driver for Hexium Gemini 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_GEMINI
#define HEXIUM_GEMINI_DUAL

#define HEXIUM_STD
#define HEXIUM_INPUTS
static struct v4l2_input hexium_inputs[HEXIUM_INPUTS] =;

#define HEXIUM_AUDIOS

struct hexium_data
{};

#define HEXIUM_GEMINI_V_1_0
#define HEXIUM_GEMINI_DUAL_V_1_0

struct hexium
{};

/* Samsung KS0127B decoder default registers */
static u8 hexium_ks0127b[0x100]=;

static struct hexium_data hexium_pal[] =;

static struct hexium_data hexium_ntsc[] =;

static struct hexium_data hexium_secam[] =;

static struct hexium_data hexium_input_select[] =;

/* fixme: h_offset = 0 for Hexium Gemini *Dual*, which
   are currently *not* supported*/
static struct saa7146_standard hexium_standards[] =;

/* 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 hexium_set_standard(struct hexium *hexium, struct hexium_data *vdec)
{}

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 hexium_extension;

static struct saa7146_pci_extension_data hexium_gemini_4bnc =;

static struct saa7146_pci_extension_data hexium_gemini_dual_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 hexium_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();