aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-dvb.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-dvb.h')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-dvb.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-dvb.h b/drivers/media/video/pvrusb2/pvrusb2-dvb.h
index 98728d44a4b6..651324ffab3d 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-dvb.h
+++ b/drivers/media/video/pvrusb2/pvrusb2-dvb.h
@@ -7,8 +7,11 @@
7#include "dmxdev.h" 7#include "dmxdev.h"
8#include "pvrusb2-context.h" 8#include "pvrusb2-context.h"
9 9
10#define PVR2_DVB_BUFFER_COUNT 32
11#define PVR2_DVB_BUFFER_SIZE PAGE_ALIGN(0x4000)
12
10struct pvr2_dvb_adapter { 13struct pvr2_dvb_adapter {
11 struct pvr2_context *pvr; 14 struct pvr2_channel channel;
12 15
13 struct dvb_adapter dvb_adap; 16 struct dvb_adapter dvb_adap;
14 struct dmxdev dmxdev; 17 struct dmxdev dmxdev;
@@ -23,6 +26,11 @@ struct pvr2_dvb_adapter {
23 struct mutex lock; 26 struct mutex lock;
24 27
25 unsigned int digital_up:1; 28 unsigned int digital_up:1;
29 unsigned int stream_run:1;
30 unsigned int init:1;
31
32 wait_queue_head_t buffer_wait_data;
33 char *buffer_storage[PVR2_DVB_BUFFER_COUNT];
26}; 34};
27 35
28struct pvr2_dvb_props { 36struct pvr2_dvb_props {