diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/media/audiochip.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/media/audiochip.h')
-rw-r--r-- | include/media/audiochip.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/include/media/audiochip.h b/include/media/audiochip.h new file mode 100644 index 000000000000..d3e9e30608dc --- /dev/null +++ b/include/media/audiochip.h | |||
@@ -0,0 +1,35 @@ | |||
1 | #ifndef AUDIOCHIP_H | ||
2 | #define AUDIOCHIP_H | ||
3 | |||
4 | /* ---------------------------------------------------------------------- */ | ||
5 | |||
6 | /* v4l device was opened in Radio mode */ | ||
7 | #define AUDC_SET_RADIO _IO('m',2) | ||
8 | /* select from TV,radio,extern,MUTE */ | ||
9 | #define AUDC_SET_INPUT _IOW('m',17,int) | ||
10 | |||
11 | /* audio inputs */ | ||
12 | #define AUDIO_TUNER 0x00 | ||
13 | #define AUDIO_RADIO 0x01 | ||
14 | #define AUDIO_EXTERN 0x02 | ||
15 | #define AUDIO_INTERN 0x03 | ||
16 | #define AUDIO_OFF 0x04 | ||
17 | #define AUDIO_ON 0x05 | ||
18 | #define AUDIO_EXTERN_1 AUDIO_EXTERN | ||
19 | #define AUDIO_EXTERN_2 0x06 | ||
20 | #define AUDIO_MUTE 0x80 | ||
21 | #define AUDIO_UNMUTE 0x81 | ||
22 | |||
23 | /* all the stuff below is obsolete and just here for reference. I'll | ||
24 | * remove it once the driver is tested and works fine. | ||
25 | * | ||
26 | * Instead creating alot of tiny API's for all kinds of different | ||
27 | * chips, we'll just pass throuth the v4l ioctl structs (v4l2 not | ||
28 | * yet...). It is a bit less flexible, but most/all used i2c chips | ||
29 | * make sense in v4l context only. So I think that's acceptable... | ||
30 | */ | ||
31 | |||
32 | /* misc stuff to pass around config info to i2c chips */ | ||
33 | #define AUDC_CONFIG_PINNACLE _IOW('m',32,int) | ||
34 | |||
35 | #endif /* AUDIOCHIP_H */ | ||