// SPDX-License-Identifier: GPL-2.0+ // // em28xx-vbi.c - VBI driver for em28xx // // Copyright (C) 2009 Devin Heitmueller <[email protected]> // // This work was sponsored by EyeMagnet Limited. #include "em28xx.h" #include <linux/kernel.h> #include <linux/module.h> #include <linux/hardirq.h> #include <linux/init.h> #include <linux/usb.h> #include "em28xx-v4l.h" /* ------------------------------------------------------------------ */ static int vbi_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, unsigned int *nplanes, unsigned int sizes[], struct device *alloc_devs[]) { … } static int vbi_buffer_prepare(struct vb2_buffer *vb) { … } static void vbi_buffer_queue(struct vb2_buffer *vb) { … } const struct vb2_ops em28xx_vbi_qops = …;