linux/drivers/media/radio/radio-isa.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Framework for ISA radio drivers.
 * This takes care of all the V4L2 scaffolding, allowing the ISA drivers
 * to concentrate on the actual hardware operation.
 *
 * Copyright (C) 2012 Hans Verkuil <[email protected]>
 */

#include <linux/module.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/videodev2.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-fh.h>
#include <media/v4l2-ctrls.h>
#include <media/v4l2-event.h>

#include "radio-isa.h"

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();

#define FREQ_LOW
#define FREQ_HIGH

static int radio_isa_querycap(struct file *file, void  *priv,
					struct v4l2_capability *v)
{}

static int radio_isa_g_tuner(struct file *file, void *priv,
				struct v4l2_tuner *v)
{}

static int radio_isa_s_tuner(struct file *file, void *priv,
				const struct v4l2_tuner *v)
{}

static int radio_isa_s_frequency(struct file *file, void *priv,
				const struct v4l2_frequency *f)
{}

static int radio_isa_g_frequency(struct file *file, void *priv,
				struct v4l2_frequency *f)
{}

static int radio_isa_s_ctrl(struct v4l2_ctrl *ctrl)
{}

static int radio_isa_log_status(struct file *file, void *priv)
{}

static const struct v4l2_ctrl_ops radio_isa_ctrl_ops =;

static const struct v4l2_file_operations radio_isa_fops =;

static const struct v4l2_ioctl_ops radio_isa_ioctl_ops =;

int radio_isa_match(struct device *pdev, unsigned int dev)
{}
EXPORT_SYMBOL_GPL();

static bool radio_isa_valid_io(const struct radio_isa_driver *drv, int io)
{}

static struct radio_isa_card *radio_isa_alloc(struct radio_isa_driver *drv,
				struct device *pdev)
{}

static int radio_isa_common_probe(struct radio_isa_card *isa,
				  struct device *pdev,
				  int radio_nr, unsigned region_size)
{}

static void radio_isa_common_remove(struct radio_isa_card *isa,
				    unsigned region_size)
{}

int radio_isa_probe(struct device *pdev, unsigned int dev)
{}
EXPORT_SYMBOL_GPL();

void radio_isa_remove(struct device *pdev, unsigned int dev)
{}
EXPORT_SYMBOL_GPL();

#ifdef CONFIG_PNP
int radio_isa_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id)
{}
EXPORT_SYMBOL_GPL();

void radio_isa_pnp_remove(struct pnp_dev *dev)
{}
EXPORT_SYMBOL_GPL();
#endif