Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame^] | 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 */ |