Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __INCLUDED_TEA6420__ |
| 2 | #define __INCLUDED_TEA6420__ |
| 3 | |
Hans Verkuil | 1b8dac1 | 2009-02-07 11:18:05 -0300 | [diff] [blame] | 4 | /* input pins */ |
| 5 | #define TEA6420_OUTPUT1 1 |
| 6 | #define TEA6420_OUTPUT2 2 |
| 7 | #define TEA6420_OUTPUT3 3 |
| 8 | #define TEA6420_OUTPUT4 4 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | |
Hans Verkuil | 1b8dac1 | 2009-02-07 11:18:05 -0300 | [diff] [blame] | 10 | /* output pins */ |
| 11 | #define TEA6420_INPUT1 1 |
| 12 | #define TEA6420_INPUT2 2 |
| 13 | #define TEA6420_INPUT3 3 |
| 14 | #define TEA6420_INPUT4 4 |
| 15 | #define TEA6420_INPUT5 5 |
| 16 | #define TEA6420_INPUT6 6 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | |
Hans Verkuil | 1b8dac1 | 2009-02-07 11:18:05 -0300 | [diff] [blame] | 18 | /* gain on the output pins, ORed with the output pin */ |
| 19 | #define TEA6420_GAIN0 0x00 |
| 20 | #define TEA6420_GAIN2 0x20 |
| 21 | #define TEA6420_GAIN4 0x40 |
| 22 | #define TEA6420_GAIN6 0x60 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | |
| 24 | #endif |