summaryrefslogtreecommitdiff
path: root/drivers/media/pci/bt8xx/bt848.h
diff options
context:
space:
mode:
authorDeborah Brouwer <deborah.brouwer@collabora.com>2023-07-14 19:16:09 -0700
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-08-14 20:27:59 +0200
commitb7ec3212a73abc987e8f33aa42988e6c39c38c92 (patch)
tree1623b4c773dce986894e7d8d02edaa9f6158bdba /drivers/media/pci/bt8xx/bt848.h
parentf5f17f0cb5abefc7e0341d3257a8b9fc39f81700 (diff)
media: bttv: convert to vb2
Convert this driver from the old videobuf framework to videobuf2. Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/pci/bt8xx/bt848.h')
-rw-r--r--drivers/media/pci/bt8xx/bt848.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/pci/bt8xx/bt848.h b/drivers/media/pci/bt8xx/bt848.h
index 16999e717d18..c8a0e1ab001f 100644
--- a/drivers/media/pci/bt8xx/bt848.h
+++ b/drivers/media/pci/bt8xx/bt848.h
@@ -231,7 +231,15 @@
#define BT848_INT_ETBF (1<<23)
+#define BT848_RISC_VIDEO 1
+#define BT848_RISC_TOP 2
+#define BT848_RISC_VBI 4
+
#define BT848_INT_RISCS (0xf<<28)
+#define BT848_INT_RISCS_VIDEO (BT848_RISC_VIDEO << 28)
+#define BT848_INT_RISCS_TOP (BT848_RISC_TOP << 28)
+#define BT848_INT_RISCS_VBI (BT848_RISC_VBI << 28)
+
#define BT848_INT_RISC_EN (1<<27)
#define BT848_INT_RACK (1<<25)
#define BT848_INT_FIELD (1<<24)