summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx23418.h
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-12-14 19:26:25 -0500
committerAndy Walls <awalls@radix.net>2008-12-14 19:26:25 -0500
commit75cb6237407f2d533da57987203cfc43c221e380 (patch)
tree2e582562b324ab8ebfb292bb65b0d55c4ab94b44 /linux/drivers/media/video/cx18/cx23418.h
parent4a31b6de97b5e45eaff001a1e7a813964660f436 (diff)
downloadmediapointer-dvb-s2-75cb6237407f2d533da57987203cfc43c221e380.tar.gz
mediapointer-dvb-s2-75cb6237407f2d533da57987203cfc43c221e380.tar.bz2
cx18: Refine the firmware load and firmware startup process
From: Andy Walls <awalls@radix.net> 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. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx23418.h')
-rw-r--r--linux/drivers/media/video/cx18/cx23418.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx18/cx23418.h b/linux/drivers/media/video/cx18/cx23418.h
index 668f968d7..601f3a2ab 100644
--- a/linux/drivers/media/video/cx18/cx23418.h
+++ b/linux/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_... */