summaryrefslogtreecommitdiff
path: root/drivers/media/video/saa7164/saa7164-reg.h
diff options
context:
space:
mode:
authorSteven Toth <stoth@kernellabs.com>2010-07-31 23:08:52 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 13:55:08 +0400
commite48836b8bd7252b3a53eaa355c10322b3f5d236b (patch)
tree1707a6c612ea296f3fe2d94cf57ac3e5fbe157fd /drivers/media/video/saa7164/saa7164-reg.h
parente8ce2f21665442a29a2b2d1b25197b05405a7216 (diff)
downloadlinux-e48836b8bd7252b3a53eaa355c10322b3f5d236b.tar.xz
[media] saa7164: add firmware debug message collection and procfs changes
Check for PROCFS and dynamically adjust code. Cache some PCIe values in the device context. Provide a mechanism to collect the debug messages coming from the firmware. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164/saa7164-reg.h')
-rw-r--r--drivers/media/video/saa7164/saa7164-reg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/saa7164/saa7164-reg.h b/drivers/media/video/saa7164/saa7164-reg.h
index b950f41c5c5e..153da76e8575 100644
--- a/drivers/media/video/saa7164/saa7164-reg.h
+++ b/drivers/media/video/saa7164/saa7164-reg.h
@@ -213,3 +213,6 @@
#define EU_AUDIO_FORMAT_CONTROL 0x0C
#define EU_AUDIO_BIT_RATE_CONTROL 0x0D
+/* Firmware Debugging */
+#define SET_DEBUG_LEVEL_CONTROL 0x0B
+#define GET_DEBUG_DATA_CONTROL 0x0C