VirtualBox

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

Last change on this file since 81043 was 43272, checked in by vboxsync, 12 years ago

Additions/x11: more original X server headers.

  • Property svn:eol-style set to native
File size: 1.2 KB
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
18TDA9850Ptr Detect_tda9850(I2CBusPtr b, I2CSlaveAddr addr);
19Bool tda9850_init(TDA9850Ptr t);
20void tda9850_setaudio(TDA9850Ptr t);
21void tda9850_mute(TDA9850Ptr t, Bool mute);
22void tda9850_sap_mute(TDA9850Ptr t, Bool sap_mute);
23CARD16 tda9850_getstatus(TDA9850Ptr t);
24
25#define TDA9850SymbolsList \
26 "Detect_tda9850", \
27 "tda9850_init", \
28 "tda9850_setaudio", \
29 "tda9850_mute", \
30 "tda9850_sap_mute"
31
32#define xf86_Detect_tda9850 ((TDA9850Ptr (*)(I2CBusPtr, I2CSlaveAddr))LoaderSymbol("Detect_tda9850"))
33#define xf86_tda9850_init ((Bool (*)(TDA9850Ptr))LoaderSymbol("tda9850_init"))
34#define xf86_tda9850_setaudio ((void (*)(TDA9850Ptr))LoaderSymbol("tda9850_setaudio"))
35#define xf86_tda9850_mute ((void (*)(TDA9850Ptr, Bool))LoaderSymbol("tda9850_mute"))
36#define xf86_tda9850_sap_mute ((void (*)(TDA9850Ptr, Bool))LoaderSymbol("tda9850_sap_mute"))
37#define xf86_tda9850_getstatus ((CARD16 (*)(TDA9850Ptr))LoaderSymbol("tda9850_getstatus"))
38
39#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