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