linux/drivers/media/common/saa7146/saa7146_fops.c

// SPDX-License-Identifier: GPL-2.0-only
#define pr_fmt(fmt)

#include <media/drv-intf/saa7146_vv.h>
#include <linux/module.h>

/****************************************************************************/
/* resource management functions, shamelessly stolen from saa7134 driver */

int saa7146_res_get(struct saa7146_dev *dev, unsigned int bit)
{}

void saa7146_res_free(struct saa7146_dev *dev, unsigned int bits)
{}


/********************************************************************************/
/* common buffer functions */

int saa7146_buffer_queue(struct saa7146_dev *dev,
			 struct saa7146_dmaqueue *q,
			 struct saa7146_buf *buf)
{}

void saa7146_buffer_finish(struct saa7146_dev *dev,
			   struct saa7146_dmaqueue *q,
			   int state)
{}

void saa7146_buffer_next(struct saa7146_dev *dev,
			 struct saa7146_dmaqueue *q, int vbi)
{}

void saa7146_buffer_timeout(struct timer_list *t)
{}

/********************************************************************************/
/* file operations */

static ssize_t fops_write(struct file *file, const char __user *data, size_t count, loff_t *ppos)
{}

static const struct v4l2_file_operations video_fops =;

static void vv_callback(struct saa7146_dev *dev, unsigned long status)
{}

static const struct v4l2_ctrl_ops saa7146_ctrl_ops =;

int saa7146_vv_init(struct saa7146_dev* dev, struct saa7146_ext_vv *ext_vv)
{}
EXPORT_SYMBOL_GPL();

int saa7146_vv_release(struct saa7146_dev* dev)
{}
EXPORT_SYMBOL_GPL();

int saa7146_register_device(struct video_device *vfd, struct saa7146_dev *dev,
			    char *name, int type)
{}
EXPORT_SYMBOL_GPL();

int saa7146_unregister_device(struct video_device *vfd, struct saa7146_dev *dev)
{}
EXPORT_SYMBOL_GPL();

static int __init saa7146_vv_init_module(void)
{}


static void __exit saa7146_vv_cleanup_module(void)
{}

module_init();
module_exit(saa7146_vv_cleanup_module);

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