aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx18/cx18-driver.h')
-rw-r--r--drivers/media/video/cx18/cx18-driver.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.h b/drivers/media/video/cx18/cx18-driver.h
index ece4f281ef42..e6f42d0cb2b3 100644
--- a/drivers/media/video/cx18/cx18-driver.h
+++ b/drivers/media/video/cx18/cx18-driver.h
@@ -305,7 +305,7 @@ struct cx18_scb; /* forward reference */
305 305
306 306
307#define CX18_MAX_MDL_ACKS 2 307#define CX18_MAX_MDL_ACKS 2
308#define CX18_MAX_EPU_WORK_ORDERS (CX18_MAX_FW_MDLS_PER_STREAM + 7) 308#define CX18_MAX_IN_WORK_ORDERS (CX18_MAX_FW_MDLS_PER_STREAM + 7)
309/* CPU_DE_RELEASE_MDL can burst CX18_MAX_FW_MDLS_PER_STREAM orders in a group */ 309/* CPU_DE_RELEASE_MDL can burst CX18_MAX_FW_MDLS_PER_STREAM orders in a group */
310 310
311#define CX18_F_EWO_MB_STALE_UPON_RECEIPT 0x1 311#define CX18_F_EWO_MB_STALE_UPON_RECEIPT 0x1
@@ -313,7 +313,7 @@ struct cx18_scb; /* forward reference */
313#define CX18_F_EWO_MB_STALE \ 313#define CX18_F_EWO_MB_STALE \
314 (CX18_F_EWO_MB_STALE_UPON_RECEIPT | CX18_F_EWO_MB_STALE_WHILE_PROC) 314 (CX18_F_EWO_MB_STALE_UPON_RECEIPT | CX18_F_EWO_MB_STALE_WHILE_PROC)
315 315
316struct cx18_epu_work_order { 316struct cx18_in_work_order {
317 struct work_struct work; 317 struct work_struct work;
318 atomic_t pending; 318 atomic_t pending;
319 struct cx18 *cx; 319 struct cx18 *cx;
@@ -568,8 +568,9 @@ struct cx18 {
568 u32 sw2_irq_mask; 568 u32 sw2_irq_mask;
569 u32 hw2_irq_mask; 569 u32 hw2_irq_mask;
570 570
571 struct workqueue_struct *work_queue; 571 struct workqueue_struct *in_work_queue;
572 struct cx18_epu_work_order epu_work_order[CX18_MAX_EPU_WORK_ORDERS]; 572 char in_workq_name[11]; /* "cx18-NN-in" */
573 struct cx18_in_work_order in_work_order[CX18_MAX_IN_WORK_ORDERS];
573 char epu_debug_str[256]; /* CX18_EPU_DEBUG is rare: use shared space */ 574 char epu_debug_str[256]; /* CX18_EPU_DEBUG is rare: use shared space */
574 575
575 /* i2c */ 576 /* i2c */