]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - include/media/audiochip.h
Merge linux-2.6 with linux-acpi-2.6
[karo-tx-linux.git] / include / media / audiochip.h
1 /*
2  * $Id: audiochip.h,v 1.5 2005/06/16 22:59:16 hhackmann Exp $
3  */
4
5 #ifndef AUDIOCHIP_H
6 #define AUDIOCHIP_H
7
8 /* ---------------------------------------------------------------------- */
9
10 /* v4l device was opened in Radio mode */
11 #define AUDC_SET_RADIO        _IO('m',2)
12 /* select from TV,radio,extern,MUTE */
13 #define AUDC_SET_INPUT        _IOW('m',17,int)
14
15 /* audio inputs */
16 #define AUDIO_TUNER        0x00
17 #define AUDIO_RADIO        0x01
18 #define AUDIO_EXTERN       0x02
19 #define AUDIO_INTERN       0x03
20 #define AUDIO_OFF          0x04
21 #define AUDIO_ON           0x05
22 #define AUDIO_EXTERN_1     AUDIO_EXTERN
23 #define AUDIO_EXTERN_2     0x06
24 #define AUDIO_MUTE         0x80
25 #define AUDIO_UNMUTE       0x81
26
27 /* all the stuff below is obsolete and just here for reference.  I'll
28  * remove it once the driver is tested and works fine.
29  *
30  * Instead creating alot of tiny API's for all kinds of different
31  * chips, we'll just pass throuth the v4l ioctl structs (v4l2 not
32  * yet...).  It is a bit less flexible, but most/all used i2c chips
33  * make sense in v4l context only.  So I think that's acceptable...
34  */
35
36 /* misc stuff to pass around config info to i2c chips */
37 #define AUDC_CONFIG_PINNACLE  _IOW('m',32,int)
38 #endif /* AUDIOCHIP_H */