Test initialisation of MUIA_List_AdjustWidth and MUIA_List_AdjustHeight, and
[AROS.git] / arch / arm-native / soc / broadcom / 2708 / hidd / i2c / i2c-bcm2708.h
blob54613fa3ec60a9d5df435cdbdce527e33120a0c3
1 /*
2 Copyright © 2010-2015, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef I2C_BCM2708_H
7 #define I2C_BCM2708_H
9 #include <exec/types.h>
10 #include <exec/libraries.h>
11 #include <exec/execbase.h>
12 #include <exec/nodes.h>
13 #include <exec/lists.h>
15 #include <dos/bptr.h>
17 #include <oop/oop.h>
19 #include <aros/arossupportbase.h>
20 #include <exec/execbase.h>
22 #include <hardware/bcm2708.h>
24 struct i2cbcm2708base {
25 struct Library i2c_LibNode;
26 OOP_Class * i2c_DrvClass;
29 #define METHOD(base, id, name) \
30 base ## __ ## id ## __ ## name (OOP_Class *cl, OOP_Object *o, struct p ## id ## _ ## name *msg)
32 #define METHOD_NAME(base, id, name) \
33 base ## __ ## id ## __ ## name
35 #define METHOD_NAME_S(base, id, name) \
36 # base "__" # id "__" # name
38 #define BASE(lib) ((struct pcibase*)(lib))
40 #endif /* I2C_BCM2708_H */