#include "saa7134.h"
#include "saa7134-reg.h"
#include <linux/init.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <media/v4l2-common.h>
#include <media/v4l2-event.h>
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
static unsigned int empress_nr[] = …;
module_param_array(…);
MODULE_PARM_DESC(…) …;
static int start_streaming(struct vb2_queue *vq, unsigned int count)
{ … }
static void stop_streaming(struct vb2_queue *vq)
{ … }
static const struct vb2_ops saa7134_empress_qops = …;
static int empress_enum_fmt_vid_cap(struct file *file, void *priv,
struct v4l2_fmtdesc *f)
{ … }
static int empress_g_fmt_vid_cap(struct file *file, void *priv,
struct v4l2_format *f)
{ … }
static int empress_s_fmt_vid_cap(struct file *file, void *priv,
struct v4l2_format *f)
{ … }
static int empress_try_fmt_vid_cap(struct file *file, void *priv,
struct v4l2_format *f)
{ … }
static const struct v4l2_file_operations ts_fops = …;
static const struct v4l2_ioctl_ops ts_ioctl_ops = …;
static const struct video_device saa7134_empress_template = …;
static void empress_signal_update(struct work_struct *work)
{ … }
static void empress_signal_change(struct saa7134_dev *dev)
{ … }
static bool empress_ctrl_filter(const struct v4l2_ctrl *ctrl)
{ … }
static int empress_init(struct saa7134_dev *dev)
{ … }
static int empress_fini(struct saa7134_dev *dev)
{ … }
static struct saa7134_mpeg_ops empress_ops = …;
static int __init empress_register(void)
{ … }
static void __exit empress_unregister(void)
{ … }
module_init(…) …;
module_exit(empress_unregister);