#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>
static unsigned int ts_debug;
module_param(ts_debug, int, 0644);
MODULE_PARM_DESC(…) …;
#define ts_dbg(fmt, arg...) …
static int buffer_activate(struct saa7134_dev *dev,
struct saa7134_buf *buf,
struct saa7134_buf *next)
{ … }
int saa7134_ts_buffer_init(struct vb2_buffer *vb2)
{ … }
EXPORT_SYMBOL_GPL(…);
int saa7134_ts_buffer_prepare(struct vb2_buffer *vb2)
{ … }
EXPORT_SYMBOL_GPL(…);
int saa7134_ts_queue_setup(struct vb2_queue *q,
unsigned int *nbuffers, unsigned int *nplanes,
unsigned int sizes[], struct device *alloc_devs[])
{ … }
EXPORT_SYMBOL_GPL(…);
int saa7134_ts_start_streaming(struct vb2_queue *vq, unsigned int count)
{ … }
EXPORT_SYMBOL_GPL(…);
void saa7134_ts_stop_streaming(struct vb2_queue *vq)
{ … }
EXPORT_SYMBOL_GPL(…);
struct vb2_ops saa7134_ts_qops = …;
EXPORT_SYMBOL_GPL(…);
static unsigned int tsbufs = …;
module_param(tsbufs, int, 0444);
MODULE_PARM_DESC(…) …;
static unsigned int ts_nr_packets = …;
module_param(ts_nr_packets, int, 0444);
MODULE_PARM_DESC(…) …;
int saa7134_ts_init_hw(struct saa7134_dev *dev)
{ … }
int saa7134_ts_init1(struct saa7134_dev *dev)
{ … }
int saa7134_ts_stop(struct saa7134_dev *dev)
{ … }
int saa7134_ts_start(struct saa7134_dev *dev)
{ … }
int saa7134_ts_fini(struct saa7134_dev *dev)
{ … }
void saa7134_irq_ts_done(struct saa7134_dev *dev, unsigned long status)
{ … }