VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.10.0/tda9850.h

Last change on this file was 36308, checked in by vboxsync, 14 years ago

fix OSE

  • Property svn:eol-style set to native
File size: 998 bytes
Line 
1#ifndef __TDA9850_H__
2#define __TDA9850_H__
3
4#include "xf86i2c.h"
5
6typedef struct {
7 I2CDevRec d;
8
9 int mux;
10 int stereo;
11 int sap;
12 Bool mute;
13 Bool sap_mute;
14 } TDA9850Rec, *TDA9850Ptr;
15
16#define TDA9850_ADDR_1 0xB4
17
18#define xf86_Detect_tda9850 Detect_tda9850
19extern _X_EXPORT TDA9850Ptr Detect_tda9850(I2CBusPtr b, I2CSlaveAddr addr);
20#define xf86_tda9850_init tda9850_init
21extern _X_EXPORT Bool tda9850_init(TDA9850Ptr t);
22#define xf86_tda9850_setaudio tda9850_setaudio
23extern _X_EXPORT void tda9850_setaudio(TDA9850Ptr t);
24#define xf86_tda9850_mute tda9850_mute
25extern _X_EXPORT void tda9850_mute(TDA9850Ptr t, Bool mute);
26#define xf86_tda9850_sap_mute tda9850_sap_mute
27extern _X_EXPORT void tda9850_sap_mute(TDA9850Ptr t, Bool sap_mute);
28#define xf86_tda9850_getstatus tda9850_getstatus
29extern _X_EXPORT CARD16 tda9850_getstatus(TDA9850Ptr t);
30
31#define TDA9850SymbolsList \
32 "Detect_tda9850", \
33 "tda9850_init", \
34 "tda9850_setaudio", \
35 "tda9850_mute", \
36 "tda9850_sap_mute"
37
38#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