summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/msp3400.h
blob: d70a954e13aaa48d67c41adab9c6010443b6ef2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef MSP3400_H
#define MSP3400_H

/* ---------------------------------------------------------------------- */

struct msp_dfpreg {
    int reg;
    int value;
};

struct msp_matrix {
  int input;
  int output;
};

#define MSP_SET_DFPREG     _IOW('m',15,struct msp_dfpreg)
#define MSP_GET_DFPREG     _IOW('m',16,struct msp_dfpreg)

/* ioctl for MSP_SET_MATRIX will have to be registered */
#define MSP_SET_MATRIX     _IOW('m',17,struct msp_matrix)

#define SCART_MASK    0
#define SCART_IN1     1
#define SCART_IN2     2
#define SCART_IN1_DA  3
#define SCART_IN2_DA  4
#define SCART_IN3     5
#define SCART_IN4     6
#define SCART_MONO    7
#define SCART_MUTE    8

#define SCART_DSP_IN  0
#define SCART1_OUT    1
#define SCART2_OUT    2

#endif /* MSP3400_H */