summaryrefslogtreecommitdiff
path: root/drivers/media/video/cx18/cx23418.h
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-12-15 00:26:25 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 11:39:09 (GMT)
commitfd6b9c978dc3447b9b4677d8949ef3ea7f946abc (patch)
treed51f63f2f2b19b14e12d5e847b0357de39296cb1 /drivers/media/video/cx18/cx23418.h
parent50b86bac6ae6dda00faa14f7d73ae2412eacc240 (diff)
downloadlinux-fsl-qoriq-fd6b9c978dc3447b9b4677d8949ef3ea7f946abc.tar.xz
V4L/DVB (9895): cx18: Refine the firmware load and firmware startup process
Refine the firmware load and firmware startup process. Significant changes are to ensure the SCB and IPC area are correct before starting up the firmware, and letting the CPU firmware start up the APU firmware for us. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx23418.h')
-rw-r--r--drivers/media/video/cx18/cx23418.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/cx18/cx23418.h b/drivers/media/video/cx18/cx23418.h
index 668f968..601f3a2 100644
--- a/drivers/media/video/cx18/cx23418.h
+++ b/drivers/media/video/cx18/cx23418.h
@@ -44,6 +44,7 @@
/* All commands for CPU have the following mask set */
#define CPU_CMD_MASK 0x20000000
+#define CPU_CMD_MASK_DEBUG (CPU_CMD_MASK | 0x00000000)
#define CPU_CMD_MASK_ACK (CPU_CMD_MASK | 0x80000000)
#define CPU_CMD_MASK_CAPTURE (CPU_CMD_MASK | 0x00020000)
#define CPU_CMD_MASK_TS (CPU_CMD_MASK | 0x00040000)
@@ -71,6 +72,11 @@
0/zero/NULL means "I have nothing to say" */
#define CX18_EPU_DEBUG (EPU_CMD_MASK_DEBUG | 0x0003)
+/* Reads memory/registers (32-bit)
+ IN[0] - Address
+ OUT[1] - Value */
+#define CX18_CPU_DEBUG_PEEK32 (CPU_CMD_MASK_DEBUG | 0x0003)
+
/* Description: This command starts streaming with the set channel type
IN[0] - Task handle. Handle of the task to start
ReturnCode - One of the ERR_CAPTURE_... */