diff options
Diffstat (limited to 'drivers/media/video/cx23885/cx23885.h')
-rw-r--r-- | drivers/media/video/cx23885/cx23885.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/media/video/cx23885/cx23885.h b/drivers/media/video/cx23885/cx23885.h index 214a55e943b7..86f26947bb78 100644 --- a/drivers/media/video/cx23885/cx23885.h +++ b/drivers/media/video/cx23885/cx23885.h | |||
@@ -76,6 +76,8 @@ | |||
76 | #define CX23885_BOARD_HAUPPAUGE_HVR1255 20 | 76 | #define CX23885_BOARD_HAUPPAUGE_HVR1255 20 |
77 | #define CX23885_BOARD_HAUPPAUGE_HVR1210 21 | 77 | #define CX23885_BOARD_HAUPPAUGE_HVR1210 21 |
78 | #define CX23885_BOARD_MYGICA_X8506 22 | 78 | #define CX23885_BOARD_MYGICA_X8506 22 |
79 | #define CX23885_BOARD_MAGICPRO_PROHDTVE2 23 | ||
80 | #define CX23885_BOARD_HAUPPAUGE_HVR1850 24 | ||
79 | 81 | ||
80 | #define GPIO_0 0x00000001 | 82 | #define GPIO_0 0x00000001 |
81 | #define GPIO_1 0x00000002 | 83 | #define GPIO_1 0x00000002 |
@@ -87,6 +89,12 @@ | |||
87 | #define GPIO_7 0x00000080 | 89 | #define GPIO_7 0x00000080 |
88 | #define GPIO_8 0x00000100 | 90 | #define GPIO_8 0x00000100 |
89 | #define GPIO_9 0x00000200 | 91 | #define GPIO_9 0x00000200 |
92 | #define GPIO_10 0x00000400 | ||
93 | #define GPIO_11 0x00000800 | ||
94 | #define GPIO_12 0x00001000 | ||
95 | #define GPIO_13 0x00002000 | ||
96 | #define GPIO_14 0x00004000 | ||
97 | #define GPIO_15 0x00008000 | ||
90 | 98 | ||
91 | /* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM B/G/H/LC */ | 99 | /* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM B/G/H/LC */ |
92 | #define CX23885_NORMS (\ | 100 | #define CX23885_NORMS (\ |
@@ -331,6 +339,7 @@ struct cx23885_dev { | |||
331 | CX23885_BRIDGE_UNDEFINED = 0, | 339 | CX23885_BRIDGE_UNDEFINED = 0, |
332 | CX23885_BRIDGE_885 = 885, | 340 | CX23885_BRIDGE_885 = 885, |
333 | CX23885_BRIDGE_887 = 887, | 341 | CX23885_BRIDGE_887 = 887, |
342 | CX23885_BRIDGE_888 = 888, | ||
334 | } bridge; | 343 | } bridge; |
335 | 344 | ||
336 | /* Analog video */ | 345 | /* Analog video */ |
@@ -395,7 +404,7 @@ struct sram_channel { | |||
395 | u32 cmds_start; | 404 | u32 cmds_start; |
396 | u32 ctrl_start; | 405 | u32 ctrl_start; |
397 | u32 cdt; | 406 | u32 cdt; |
398 | u32 fifo_start;; | 407 | u32 fifo_start; |
399 | u32 fifo_size; | 408 | u32 fifo_size; |
400 | u32 ptr1_reg; | 409 | u32 ptr1_reg; |
401 | u32 ptr2_reg; | 410 | u32 ptr2_reg; |
@@ -504,6 +513,9 @@ extern void cx23885_417_check_encoder(struct cx23885_dev *dev); | |||
504 | extern void cx23885_mc417_init(struct cx23885_dev *dev); | 513 | extern void cx23885_mc417_init(struct cx23885_dev *dev); |
505 | extern int mc417_memory_read(struct cx23885_dev *dev, u32 address, u32 *value); | 514 | extern int mc417_memory_read(struct cx23885_dev *dev, u32 address, u32 *value); |
506 | extern int mc417_memory_write(struct cx23885_dev *dev, u32 address, u32 value); | 515 | extern int mc417_memory_write(struct cx23885_dev *dev, u32 address, u32 value); |
516 | extern void mc417_gpio_set(struct cx23885_dev *dev, u32 mask); | ||
517 | extern void mc417_gpio_clear(struct cx23885_dev *dev, u32 mask); | ||
518 | extern void mc417_gpio_enable(struct cx23885_dev *dev, u32 mask, int asoutput); | ||
507 | 519 | ||
508 | 520 | ||
509 | /* ----------------------------------------------------------- */ | 521 | /* ----------------------------------------------------------- */ |