diff options
Diffstat (limited to 'drivers/media/video/msp3400.h')
-rw-r--r-- | drivers/media/video/msp3400.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/drivers/media/video/msp3400.h b/drivers/media/video/msp3400.h new file mode 100644 index 000000000000..d70a954e13aa --- /dev/null +++ b/drivers/media/video/msp3400.h | |||
@@ -0,0 +1,36 @@ | |||
1 | #ifndef MSP3400_H | ||
2 | #define MSP3400_H | ||
3 | |||
4 | /* ---------------------------------------------------------------------- */ | ||
5 | |||
6 | struct msp_dfpreg { | ||
7 | int reg; | ||
8 | int value; | ||
9 | }; | ||
10 | |||
11 | struct msp_matrix { | ||
12 | int input; | ||
13 | int output; | ||
14 | }; | ||
15 | |||
16 | #define MSP_SET_DFPREG _IOW('m',15,struct msp_dfpreg) | ||
17 | #define MSP_GET_DFPREG _IOW('m',16,struct msp_dfpreg) | ||
18 | |||
19 | /* ioctl for MSP_SET_MATRIX will have to be registered */ | ||
20 | #define MSP_SET_MATRIX _IOW('m',17,struct msp_matrix) | ||
21 | |||
22 | #define SCART_MASK 0 | ||
23 | #define SCART_IN1 1 | ||
24 | #define SCART_IN2 2 | ||
25 | #define SCART_IN1_DA 3 | ||
26 | #define SCART_IN2_DA 4 | ||
27 | #define SCART_IN3 5 | ||
28 | #define SCART_IN4 6 | ||
29 | #define SCART_MONO 7 | ||
30 | #define SCART_MUTE 8 | ||
31 | |||
32 | #define SCART_DSP_IN 0 | ||
33 | #define SCART1_OUT 1 | ||
34 | #define SCART2_OUT 2 | ||
35 | |||
36 | #endif /* MSP3400_H */ | ||