VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.6.5/tda9885.h@ 68495

Last change on this file since 68495 was 49174, checked in by vboxsync, 11 years ago

Additions/x11: replace header files for X.Org Server 1.6.0 with those for version 1.6.5 due to an ABI bump in-between.

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1#ifndef __TDA9885_H__
2#define __TDA9885_H__
3
4#include "xf86i2c.h"
5
6typedef 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
42TDA9885Ptr Detect_tda9885(I2CBusPtr b, I2CSlaveAddr addr);
43Bool tda9885_init(TDA9885Ptr t);
44void tda9885_setparameters(TDA9885Ptr t);
45void tda9885_getstatus(TDA9885Ptr t);
46void tda9885_dumpstatus(TDA9885Ptr t);
47
48#define TDA9885SymbolsList \
49 "Detect_tda9885", \
50 "tda9885_init", \
51 "tda9885_setaudio", \
52 "tda9885_mute"
53
54#define xf86_Detect_tda9885 ((TDA9885Ptr (*)(I2CBusPtr, I2CSlaveAddr))LoaderSymbol("Detect_tda9885"))
55#define xf86_tda9885_init ((Bool (*)(TDA9885Ptr))LoaderSymbol("tda9885_init"))
56#define xf86_tda9885_setparameters ((void (*)(TDA9885Ptr))LoaderSymbol("tda9885_setparameters"))
57#define xf86_tda9885_getstatus ((void (*)(TDA9885Ptr))LoaderSymbol("tda9885_getstatus"))
58#define xf86_tda9885_dumpstatus ((void (*)(TDA9885Ptr))LoaderSymbol("tda9885_dumpstatus"))
59
60#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette