#include <media/drv-intf/saa7146_vv.h>
static int vbi_pixel_to_capture = …;
static int vbi_workaround(struct saa7146_dev *dev)
{ … }
static void saa7146_set_vbi_capture(struct saa7146_dev *dev, struct saa7146_buf *buf, struct saa7146_buf *next)
{ … }
static int buffer_activate(struct saa7146_dev *dev,
struct saa7146_buf *buf,
struct saa7146_buf *next)
{ … }
static int queue_setup(struct vb2_queue *q,
unsigned int *num_buffers, unsigned int *num_planes,
unsigned int sizes[], struct device *alloc_devs[])
{ … }
static void buf_queue(struct vb2_buffer *vb)
{ … }
static int buf_init(struct vb2_buffer *vb)
{ … }
static int buf_prepare(struct vb2_buffer *vb)
{ … }
static void buf_cleanup(struct vb2_buffer *vb)
{ … }
static void return_buffers(struct vb2_queue *q, int state)
{ … }
static void vbi_stop(struct saa7146_dev *dev)
{ … }
static void vbi_read_timeout(struct timer_list *t)
{ … }
static int vbi_begin(struct saa7146_dev *dev)
{ … }
static int start_streaming(struct vb2_queue *q, unsigned int count)
{ … }
static void stop_streaming(struct vb2_queue *q)
{ … }
const struct vb2_ops vbi_qops = …;
static void vbi_init(struct saa7146_dev *dev, struct saa7146_vv *vv)
{ … }
static void vbi_irq_done(struct saa7146_dev *dev, unsigned long status)
{ … }
const struct saa7146_use_ops saa7146_vbi_uops = …;