VirtualBox

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

Last change on this file was 45134, checked in by vboxsync, 12 years ago

Additions/X11: build vboxvideo_drv.so for X.Org Server 1.14.

  • Property svn:eol-style set to native
File size: 1019 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
21#define xf86_tda9850_init tda9850_init
22extern _X_EXPORT Bool tda9850_init(TDA9850Ptr t);
23
24#define xf86_tda9850_setaudio tda9850_setaudio
25extern _X_EXPORT void tda9850_setaudio(TDA9850Ptr t);
26
27#define xf86_tda9850_mute tda9850_mute
28extern _X_EXPORT void tda9850_mute(TDA9850Ptr t, Bool mute);
29
30#define xf86_tda9850_sap_mute tda9850_sap_mute
31extern _X_EXPORT void tda9850_sap_mute(TDA9850Ptr t, Bool sap_mute);
32
33#define xf86_tda9850_getstatus tda9850_getstatus
34extern _X_EXPORT CARD16 tda9850_getstatus(TDA9850Ptr t);
35
36#define TDA9850SymbolsList \
37 "Detect_tda9850", \
38 "tda9850_init", \
39 "tda9850_setaudio", \
40 "tda9850_mute", \
41 "tda9850_sap_mute"
42
43#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