diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88.h')
-rw-r--r-- | drivers/media/video/cx88/cx88.h | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/drivers/media/video/cx88/cx88.h b/drivers/media/video/cx88/cx88.h index 326a25f147f6..dc7bc35f18f4 100644 --- a/drivers/media/video/cx88/cx88.h +++ b/drivers/media/video/cx88/cx88.h | |||
@@ -25,9 +25,11 @@ | |||
25 | #include <linux/videodev2.h> | 25 | #include <linux/videodev2.h> |
26 | #include <linux/kdev_t.h> | 26 | #include <linux/kdev_t.h> |
27 | 27 | ||
28 | #include <media/v4l2-common.h> | ||
28 | #include <media/tuner.h> | 29 | #include <media/tuner.h> |
29 | #include <media/tveeprom.h> | 30 | #include <media/tveeprom.h> |
30 | #include <media/video-buf.h> | 31 | #include <media/video-buf.h> |
32 | #include <media/cx2341x.h> | ||
31 | #include <media/video-buf-dvb.h> | 33 | #include <media/video-buf-dvb.h> |
32 | 34 | ||
33 | #include "btcx-risc.h" | 35 | #include "btcx-risc.h" |
@@ -35,7 +37,7 @@ | |||
35 | 37 | ||
36 | #include <linux/version.h> | 38 | #include <linux/version.h> |
37 | #include <linux/mutex.h> | 39 | #include <linux/mutex.h> |
38 | #define CX88_VERSION_CODE KERNEL_VERSION(0,0,5) | 40 | #define CX88_VERSION_CODE KERNEL_VERSION(0,0,6) |
39 | 41 | ||
40 | #ifndef TRUE | 42 | #ifndef TRUE |
41 | # define TRUE (1==1) | 43 | # define TRUE (1==1) |
@@ -189,6 +191,11 @@ extern struct sram_channel cx88_sram_channels[]; | |||
189 | #define CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL 44 | 191 | #define CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL 44 |
190 | #define CX88_BOARD_KWORLD_HARDWARE_MPEG_TV_XPERT 45 | 192 | #define CX88_BOARD_KWORLD_HARDWARE_MPEG_TV_XPERT 45 |
191 | #define CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_HYBRID 46 | 193 | #define CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_HYBRID 46 |
194 | #define CX88_BOARD_PCHDTV_HD5500 47 | ||
195 | #define CX88_BOARD_KWORLD_MCE200_DELUXE 48 | ||
196 | #define CX88_BOARD_PIXELVIEW_PLAYTV_P7000 49 | ||
197 | #define CX88_BOARD_NPGTECH_REALTV_TOP10FM 50 | ||
198 | #define CX88_BOARD_WINFAST_DTV2000H 51 | ||
192 | 199 | ||
193 | enum cx88_itype { | 200 | enum cx88_itype { |
194 | CX88_VMUX_COMPOSITE1 = 1, | 201 | CX88_VMUX_COMPOSITE1 = 1, |
@@ -296,6 +303,7 @@ struct cx88_core { | |||
296 | /* config info -- dvb */ | 303 | /* config info -- dvb */ |
297 | struct dvb_pll_desc *pll_desc; | 304 | struct dvb_pll_desc *pll_desc; |
298 | unsigned int pll_addr; | 305 | unsigned int pll_addr; |
306 | int (*prev_set_voltage)(struct dvb_frontend* fe, fe_sec_voltage_t voltage); | ||
299 | 307 | ||
300 | /* state info */ | 308 | /* state info */ |
301 | struct task_struct *kthread; | 309 | struct task_struct *kthread; |
@@ -391,14 +399,6 @@ struct cx8802_suspend_state { | |||
391 | int disabled; | 399 | int disabled; |
392 | }; | 400 | }; |
393 | 401 | ||
394 | /* TODO: move this to struct v4l2_mpeg_compression ? */ | ||
395 | struct blackbird_dnr { | ||
396 | u32 mode; | ||
397 | u32 type; | ||
398 | u32 spatial; | ||
399 | u32 temporal; | ||
400 | }; | ||
401 | |||
402 | struct cx8802_dev { | 402 | struct cx8802_dev { |
403 | struct cx88_core *core; | 403 | struct cx88_core *core; |
404 | spinlock_t slock; | 404 | spinlock_t slock; |
@@ -432,8 +432,7 @@ struct cx8802_dev { | |||
432 | unsigned char ts_gen_cntrl; | 432 | unsigned char ts_gen_cntrl; |
433 | 433 | ||
434 | /* mpeg params */ | 434 | /* mpeg params */ |
435 | struct v4l2_mpeg_compression params; | 435 | struct cx2341x_mpeg_params params; |
436 | struct blackbird_dnr dnr_params; | ||
437 | }; | 436 | }; |
438 | 437 | ||
439 | /* ----------------------------------------------------------- */ | 438 | /* ----------------------------------------------------------- */ |
@@ -598,10 +597,6 @@ extern int cx88_do_ioctl(struct inode *inode, struct file *file, int radio, | |||
598 | extern int (*cx88_ioctl_hook)(struct inode *inode, struct file *file, | 597 | extern int (*cx88_ioctl_hook)(struct inode *inode, struct file *file, |
599 | unsigned int cmd, void *arg); | 598 | unsigned int cmd, void *arg); |
600 | extern unsigned int (*cx88_ioctl_translator)(unsigned int cmd); | 599 | extern unsigned int (*cx88_ioctl_translator)(unsigned int cmd); |
601 | void blackbird_set_params(struct cx8802_dev *dev, | ||
602 | struct v4l2_mpeg_compression *params); | ||
603 | void blackbird_set_dnr_params(struct cx8802_dev *dev, | ||
604 | struct blackbird_dnr* dnr_params); | ||
605 | 600 | ||
606 | /* | 601 | /* |
607 | * Local variables: | 602 | * Local variables: |