summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx18-driver.h
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-11-17 20:48:46 -0500
committerAndy Walls <awalls@radix.net>2008-11-17 20:48:46 -0500
commit79ee5103332e36280ca8ff8426dce1d8cb37df1c (patch)
treeac88913cf10838abfbd51b84fb35118139f9fbad /linux/drivers/media/video/cx18/cx18-driver.h
parent41442c233ecb6016a8d6c73ff23002138488e42b (diff)
downloadmediapointer-dvb-s2-79ee5103332e36280ca8ff8426dce1d8cb37df1c.tar.gz
mediapointer-dvb-s2-79ee5103332e36280ca8ff8426dce1d8cb37df1c.tar.bz2
cx18: Remove unnecessary MMIO accesses in time critical irq handling path
From: Andy Walls <awalls@radix.net> Remove unnecessary MMIO accesses in time critical irq handling path. Also ensured that the mailbox ack field is read in last, so we know for sure if we have a stale mailbox or not on receipt. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-driver.h')
-rw-r--r--linux/drivers/media/video/cx18/cx18-driver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-driver.h b/linux/drivers/media/video/cx18/cx18-driver.h
index 02a82c3b7..cad352aeb 100644
--- a/linux/drivers/media/video/cx18/cx18-driver.h
+++ b/linux/drivers/media/video/cx18/cx18-driver.h
@@ -446,6 +446,10 @@ struct cx18 {
/* when the current DMA is finished this queue is woken up */
wait_queue_head_t dma_waitq;
+ u32 sw1_irq_mask;
+ u32 sw2_irq_mask;
+ u32 hw2_irq_mask;
+
struct cx18_epu_work_order epu_work_order[CX18_MAX_EPU_WORK_ORDERS];
char epu_debug_str[256]; /* CX18_EPU_DEBUG is rare: use shared space */