VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.15.0/uda1380.h@ 78293

Last change on this file since 78293 was 50218, checked in by vboxsync, 11 years ago

Additions/x11: added headers for X.Org Server 1.15.

  • Property svn:eol-style set to native
File size: 3.0 KB
Line 
1/*************************************************************************************
2 * Copyright (C) 2005 Bogdan D. [email protected]
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a copy of this
5 * software and associated documentation files (the "Software"), to deal in the Software
6 * without restriction, including without limitation the rights to use, copy, modify,
7 * merge, publish, distribute, sublicense, and/or sell copies of the Software,
8 * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9 *
10 * The above copyright notice and this permission notice shall be included in all copies or
11 * substantial portions of the Software.
12 *
13 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
14 * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
15 * AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM,
16 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
18 *
19 * Except as contained in this notice, the name of the author shall not be used in advertising or
20 * otherwise to promote the sale, use or other dealings in this Software without prior written
21 * authorization from the author.
22 *
23 * Revision 1.3 2005/09/24 21:56:00 bogdand
24 * Changed the license to a X/MIT one
25 *
26 * Revision 1.2 2005/07/01 22:43:11 daniels
27 * Change all misc.h and os.h references to <X11/foo.h>.
28 *
29 *
30 ************************************************************************************/
31
32#ifndef __UDA1380_H__
33#define __UDA1380_H__
34
35#include "xf86i2c.h"
36
37typedef struct {
38 I2CDevRec d;
39
40 CARD16 analog_mixer_settings; /* register 0x03 */
41
42} UDA1380Rec, *UDA1380Ptr;
43
44#define UDA1380_ADDR_1 0x30
45#define UDA1380_ADDR_2 0x34
46
47#define xf86_Detect_uda1380 Detect_uda1380
48extern _X_EXPORT UDA1380Ptr Detect_uda1380(I2CBusPtr b, I2CSlaveAddr addr);
49
50#define xf86_uda1380_init uda1380_init
51extern _X_EXPORT Bool uda1380_init(UDA1380Ptr t);
52
53#define xf86_uda1380_shutdown uda1380_shutdown
54extern _X_EXPORT void uda1380_shutdown(UDA1380Ptr t);
55
56#define xf86_uda1380_setvolume uda1380_setvolume
57extern _X_EXPORT void uda1380_setvolume(UDA1380Ptr t, INT32);
58
59#define xf86_uda1380_mute uda1380_mute
60extern _X_EXPORT void uda1380_mute(UDA1380Ptr t, Bool);
61
62#define xf86_uda1380_setparameters uda1380_setparameters
63extern _X_EXPORT void uda1380_setparameters(UDA1380Ptr t);
64
65#define xf86_uda1380_getstatus uda1380_getstatus
66extern _X_EXPORT void uda1380_getstatus(UDA1380Ptr t);
67
68#define xf86_uda1380_dumpstatus uda1380_dumpstatus
69extern _X_EXPORT void uda1380_dumpstatus(UDA1380Ptr t);
70
71#define UDA1380SymbolsList \
72 "Detect_uda1380", \
73 "uda1380_init", \
74 "uda1380_shutdown", \
75 "uda1380_setvolume", \
76 "uda1380_mute", \
77 "uda1380_setparameters", \
78 "uda1380_getstatus", \
79 "uda1380_dumpstatus"
80
81#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