Last change
on this file since 68495 was 28062, checked in by vboxsync, 15 years ago |
Additions/x11/x11include: header files for building X.Org server 1.8 drivers
|
-
Property svn:eol-style
set to
native
|
File size:
1.4 KB
|
Line | |
---|
1 | #ifndef __TDA9885_H__
|
---|
2 | #define __TDA9885_H__
|
---|
3 |
|
---|
4 | #include "xf86i2c.h"
|
---|
5 |
|
---|
6 | typedef struct {
|
---|
7 | I2CDevRec d;
|
---|
8 |
|
---|
9 | /* write-only parameters */
|
---|
10 | /* B DATA */
|
---|
11 | CARD8 sound_trap;
|
---|
12 | CARD8 auto_mute_fm;
|
---|
13 | CARD8 carrier_mode;
|
---|
14 | CARD8 modulation;
|
---|
15 | CARD8 forced_mute_audio;
|
---|
16 | CARD8 port1;
|
---|
17 | CARD8 port2;
|
---|
18 | /* C DATA */
|
---|
19 | CARD8 top_adjustment;
|
---|
20 | CARD8 deemphasis;
|
---|
21 | CARD8 audio_gain;
|
---|
22 | /* E DATA */
|
---|
23 | CARD8 standard_sound_carrier;
|
---|
24 | CARD8 standard_video_if;
|
---|
25 | CARD8 minimum_gain;
|
---|
26 | CARD8 gating;
|
---|
27 | CARD8 vif_agc;
|
---|
28 | /* read-only values */
|
---|
29 |
|
---|
30 | CARD8 after_reset;
|
---|
31 | CARD8 afc_status;
|
---|
32 | CARD8 vif_level;
|
---|
33 | CARD8 afc_win;
|
---|
34 | CARD8 fm_carrier;
|
---|
35 | } TDA9885Rec, *TDA9885Ptr;
|
---|
36 |
|
---|
37 | #define TDA9885_ADDR_1 0x86
|
---|
38 | #define TDA9885_ADDR_2 0x84
|
---|
39 | #define TDA9885_ADDR_3 0x96
|
---|
40 | #define TDA9885_ADDR_4 0x94
|
---|
41 |
|
---|
42 | #define xf86_Detect_tda9885 Detect_tda9885
|
---|
43 | extern _X_EXPORT TDA9885Ptr Detect_tda9885(I2CBusPtr b, I2CSlaveAddr addr);
|
---|
44 | #define xf86_tda9885_init tda9885_init
|
---|
45 | extern _X_EXPORT Bool tda9885_init(TDA9885Ptr t);
|
---|
46 | #define xf86_tda9885_setparameters tda9885_setparameters
|
---|
47 | extern _X_EXPORT void tda9885_setparameters(TDA9885Ptr t);
|
---|
48 | #define xf86_tda9885_getstatus tda9885_getstatus
|
---|
49 | extern _X_EXPORT void tda9885_getstatus(TDA9885Ptr t);
|
---|
50 | #define xf86_tda9885_dumpstatus tda9885_dumpstatus
|
---|
51 | extern _X_EXPORT void tda9885_dumpstatus(TDA9885Ptr t);
|
---|
52 |
|
---|
53 | #define TDA9885SymbolsList \
|
---|
54 | "Detect_tda9885", \
|
---|
55 | "tda9885_init", \
|
---|
56 | "tda9885_setaudio", \
|
---|
57 | "tda9885_mute"
|
---|
58 |
|
---|
59 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.