aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-12-19 17:09:38 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 13:52:37 -0800
commite0ca0595885e2e324eefe4f32cde6d65e61e6e28 (patch)
treec53676354254656be8d1f197f5d8f88526355b7b /drivers/staging
parentbd5cd82dc6148aa8f655620e6f3bf62e5e320078 (diff)
Staging: epl: run Lindent on *.h files
It's a start, still a mess... Cc: Daniel Krueger <daniel.krueger@systec-electronic.com> Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/epl/Benchmark.h326
-rw-r--r--drivers/staging/epl/Debug.h986
-rw-r--r--drivers/staging/epl/EdrvFec.h24
-rw-r--r--drivers/staging/epl/EdrvFec5282.h191
-rw-r--r--drivers/staging/epl/EdrvSim.h11
-rw-r--r--drivers/staging/epl/Epl.h319
-rw-r--r--drivers/staging/epl/EplAmi.h126
-rw-r--r--drivers/staging/epl/EplApiLinux.h88
-rw-r--r--drivers/staging/epl/EplCfg.h13
-rw-r--r--drivers/staging/epl/EplDef.h183
-rw-r--r--drivers/staging/epl/EplDll.h199
-rw-r--r--drivers/staging/epl/EplDllCal.h24
-rw-r--r--drivers/staging/epl/EplErrDef.h274
-rw-r--r--drivers/staging/epl/EplEvent.h304
-rw-r--r--drivers/staging/epl/EplFrame.h386
-rw-r--r--drivers/staging/epl/EplInc.h219
-rw-r--r--drivers/staging/epl/EplInstDef.h221
-rw-r--r--drivers/staging/epl/EplLed.h20
-rw-r--r--drivers/staging/epl/EplNmt.h224
-rw-r--r--drivers/staging/epl/EplObd.h416
-rw-r--r--drivers/staging/epl/EplObdMacro.h424
-rw-r--r--drivers/staging/epl/EplObjDef.h100
-rw-r--r--drivers/staging/epl/EplPdo.h41
-rw-r--r--drivers/staging/epl/EplSdo.h166
-rw-r--r--drivers/staging/epl/EplSdoAc.h2
-rw-r--r--drivers/staging/epl/EplTarget.h205
-rw-r--r--drivers/staging/epl/EplTimer.h46
-rw-r--r--drivers/staging/epl/EplVersion.h6
-rw-r--r--drivers/staging/epl/SharedBuff.h157
-rw-r--r--drivers/staging/epl/ShbIpc.h75
-rw-r--r--drivers/staging/epl/ShbLinuxKernel.h8
-rw-r--r--drivers/staging/epl/SocketLinuxKernel.h15
-rw-r--r--drivers/staging/epl/edrv.h90
-rw-r--r--drivers/staging/epl/global.h1771
-rw-r--r--drivers/staging/epl/proc_fs.h7
35 files changed, 3608 insertions, 4059 deletions
diff --git a/drivers/staging/epl/Benchmark.h b/drivers/staging/epl/Benchmark.h
index 681c1d9e323..62dee3b1437 100644
--- a/drivers/staging/epl/Benchmark.h
+++ b/drivers/staging/epl/Benchmark.h
@@ -73,31 +73,30 @@
#include "global.h"
-
#if (TARGET_SYSTEM == _NO_OS_) && (DEV_SYSTEM == _DEV_GNU_CF548X_)
- #include "common.h"
+#include "common.h"
#elif (TARGET_SYSTEM == _LINUX_) && defined(__KERNEL__)
// #include <linux/config.h>
- #include <linux/kernel.h>
+#include <linux/kernel.h>
- #ifdef CONFIG_COLDFIRE
- #include <asm/coldfire.h>
- #include <asm/m5485gpio.h>
+#ifdef CONFIG_COLDFIRE
+#include <asm/coldfire.h>
+#include <asm/m5485gpio.h>
- #define BENCHMARK_SET(x) MCF_GPIO_PODR_PCIBG |= (1 << (x)) // (x+1)
- #define BENCHMARK_RESET(x) MCF_GPIO_PODR_PCIBG &= ~(1 << (x)) // (x+1)
- #define BENCHMARK_TOGGLE(x) MCF_GPIO_PODR_PCIBR ^= (1 << (x - 5))
- #else
- #undef BENCHMARK_MODULES
- #define BENCHMARK_MODULES 0x00000000
- #endif
+#define BENCHMARK_SET(x) MCF_GPIO_PODR_PCIBG |= (1 << (x)) // (x+1)
+#define BENCHMARK_RESET(x) MCF_GPIO_PODR_PCIBG &= ~(1 << (x)) // (x+1)
+#define BENCHMARK_TOGGLE(x) MCF_GPIO_PODR_PCIBR ^= (1 << (x - 5))
+#else
+#undef BENCHMARK_MODULES
+#define BENCHMARK_MODULES 0x00000000
+#endif
#else
// disable Benchmarking
- #undef BENCHMARK_MODULES
- #define BENCHMARK_MODULES 0x00000000
+#undef BENCHMARK_MODULES
+#define BENCHMARK_MODULES 0x00000000
#endif
/***************************************************************************/
@@ -149,295 +148,290 @@
#define BENCHMARK_MOD_31 0x40000000
#define BENCHMARK_MOD_32 0x80000000
-
#if (BENCHMARK_MODULES & BENCHMARK_MOD_01)
- #define BENCHMARK_MOD_01_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_01_RESET(x) BENCHMARK_RESET(x)
- #define BENCHMARK_MOD_01_TOGGLE(x) BENCHMARK_TOGGLE(x)
+#define BENCHMARK_MOD_01_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_01_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_01_TOGGLE(x) BENCHMARK_TOGGLE(x)
#else
- #define BENCHMARK_MOD_01_SET(x)
- #define BENCHMARK_MOD_01_RESET(x)
- #define BENCHMARK_MOD_01_TOGGLE(x)
+#define BENCHMARK_MOD_01_SET(x)
+#define BENCHMARK_MOD_01_RESET(x)
+#define BENCHMARK_MOD_01_TOGGLE(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_02)
- #define BENCHMARK_MOD_02_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_02_RESET(x) BENCHMARK_RESET(x)
- #define BENCHMARK_MOD_02_TOGGLE(x) BENCHMARK_TOGGLE(x)
+#define BENCHMARK_MOD_02_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_02_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_02_TOGGLE(x) BENCHMARK_TOGGLE(x)
#else
- #define BENCHMARK_MOD_02_SET(x)
- #define BENCHMARK_MOD_02_RESET(x)
- #define BENCHMARK_MOD_02_TOGGLE(x)
+#define BENCHMARK_MOD_02_SET(x)
+#define BENCHMARK_MOD_02_RESET(x)
+#define BENCHMARK_MOD_02_TOGGLE(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_03)
- #define BENCHMARK_MOD_03_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_03_RESET(x) BENCHMARK_RESET(x)
- #define BENCHMARK_MOD_03_TOGGLE(x) BENCHMARK_TOGGLE(x)
+#define BENCHMARK_MOD_03_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_03_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_03_TOGGLE(x) BENCHMARK_TOGGLE(x)
#else
- #define BENCHMARK_MOD_03_SET(x)
- #define BENCHMARK_MOD_03_RESET(x)
- #define BENCHMARK_MOD_03_TOGGLE(x)
+#define BENCHMARK_MOD_03_SET(x)
+#define BENCHMARK_MOD_03_RESET(x)
+#define BENCHMARK_MOD_03_TOGGLE(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_04)
- #define BENCHMARK_MOD_04_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_04_RESET(x) BENCHMARK_RESET(x)
- #define BENCHMARK_MOD_04_TOGGLE(x) BENCHMARK_TOGGLE(x)
+#define BENCHMARK_MOD_04_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_04_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_04_TOGGLE(x) BENCHMARK_TOGGLE(x)
#else
- #define BENCHMARK_MOD_04_SET(x)
- #define BENCHMARK_MOD_04_RESET(x)
- #define BENCHMARK_MOD_04_TOGGLE(x)
+#define BENCHMARK_MOD_04_SET(x)
+#define BENCHMARK_MOD_04_RESET(x)
+#define BENCHMARK_MOD_04_TOGGLE(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_05)
- #define BENCHMARK_MOD_05_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_05_RESET(x) BENCHMARK_RESET(x)
- #define BENCHMARK_MOD_05_TOGGLE(x) BENCHMARK_TOGGLE(x)
+#define BENCHMARK_MOD_05_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_05_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_05_TOGGLE(x) BENCHMARK_TOGGLE(x)
#else
- #define BENCHMARK_MOD_05_SET(x)
- #define BENCHMARK_MOD_05_RESET(x)
- #define BENCHMARK_MOD_05_TOGGLE(x)
+#define BENCHMARK_MOD_05_SET(x)
+#define BENCHMARK_MOD_05_RESET(x)
+#define BENCHMARK_MOD_05_TOGGLE(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_06)
- #define BENCHMARK_MOD_06_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_06_RESET(x) BENCHMARK_RESET(x)
- #define BENCHMARK_MOD_06_TOGGLE(x) BENCHMARK_TOGGLE(x)
+#define BENCHMARK_MOD_06_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_06_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_06_TOGGLE(x) BENCHMARK_TOGGLE(x)
#else
- #define BENCHMARK_MOD_06_SET(x)
- #define BENCHMARK_MOD_06_RESET(x)
- #define BENCHMARK_MOD_06_TOGGLE(x)
+#define BENCHMARK_MOD_06_SET(x)
+#define BENCHMARK_MOD_06_RESET(x)
+#define BENCHMARK_MOD_06_TOGGLE(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_07)
- #define BENCHMARK_MOD_07_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_07_RESET(x) BENCHMARK_RESET(x)
- #define BENCHMARK_MOD_07_TOGGLE(x) BENCHMARK_TOGGLE(x)
+#define BENCHMARK_MOD_07_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_07_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_07_TOGGLE(x) BENCHMARK_TOGGLE(x)
#else
- #define BENCHMARK_MOD_07_SET(x)
- #define BENCHMARK_MOD_07_RESET(x)
- #define BENCHMARK_MOD_07_TOGGLE(x)
+#define BENCHMARK_MOD_07_SET(x)
+#define BENCHMARK_MOD_07_RESET(x)
+#define BENCHMARK_MOD_07_TOGGLE(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_08)
- #define BENCHMARK_MOD_08_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_08_RESET(x) BENCHMARK_RESET(x)
- #define BENCHMARK_MOD_08_TOGGLE(x) BENCHMARK_TOGGLE(x)
+#define BENCHMARK_MOD_08_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_08_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_08_TOGGLE(x) BENCHMARK_TOGGLE(x)
#else
- #define BENCHMARK_MOD_08_SET(x)
- #define BENCHMARK_MOD_08_RESET(x)
- #define BENCHMARK_MOD_08_TOGGLE(x)
+#define BENCHMARK_MOD_08_SET(x)
+#define BENCHMARK_MOD_08_RESET(x)
+#define BENCHMARK_MOD_08_TOGGLE(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_09)
- #define BENCHMARK_MOD_09_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_09_RESET(x) BENCHMARK_RESET(x)
- #define BENCHMARK_MOD_09_TOGGLE(x) BENCHMARK_TOGGLE(x)
+#define BENCHMARK_MOD_09_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_09_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_09_TOGGLE(x) BENCHMARK_TOGGLE(x)
#else
- #define BENCHMARK_MOD_09_SET(x)
- #define BENCHMARK_MOD_09_RESET(x)
- #define BENCHMARK_MOD_09_TOGGLE(x)
+#define BENCHMARK_MOD_09_SET(x)
+#define BENCHMARK_MOD_09_RESET(x)
+#define BENCHMARK_MOD_09_TOGGLE(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_10)
- #define BENCHMARK_MOD_10_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_10_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_10_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_10_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_10_SET(x)
- #define BENCHMARK_MOD_10_RESET(x)
+#define BENCHMARK_MOD_10_SET(x)
+#define BENCHMARK_MOD_10_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_11)
- #define BENCHMARK_MOD_11_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_11_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_11_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_11_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_11_SET(x)
- #define BENCHMARK_MOD_11_RESET(x)
+#define BENCHMARK_MOD_11_SET(x)
+#define BENCHMARK_MOD_11_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_12)
- #define BENCHMARK_MOD_12_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_12_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_12_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_12_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_12_SET(x)
- #define BENCHMARK_MOD_12_RESET(x)
+#define BENCHMARK_MOD_12_SET(x)
+#define BENCHMARK_MOD_12_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_13)
- #define BENCHMARK_MOD_13_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_13_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_13_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_13_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_13_SET(x)
- #define BENCHMARK_MOD_13_RESET(x)
+#define BENCHMARK_MOD_13_SET(x)
+#define BENCHMARK_MOD_13_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_14)
- #define BENCHMARK_MOD_14_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_14_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_14_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_14_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_14_SET(x)
- #define BENCHMARK_MOD_14_RESET(x)
+#define BENCHMARK_MOD_14_SET(x)
+#define BENCHMARK_MOD_14_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_15)
- #define BENCHMARK_MOD_15_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_15_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_15_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_15_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_15_SET(x)
- #define BENCHMARK_MOD_15_RESET(x)
+#define BENCHMARK_MOD_15_SET(x)
+#define BENCHMARK_MOD_15_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_16)
- #define BENCHMARK_MOD_16_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_16_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_16_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_16_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_16_SET(x)
- #define BENCHMARK_MOD_16_RESET(x)
+#define BENCHMARK_MOD_16_SET(x)
+#define BENCHMARK_MOD_16_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_17)
- #define BENCHMARK_MOD_17_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_17_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_17_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_17_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_17_SET(x)
- #define BENCHMARK_MOD_17_RESET(x)
+#define BENCHMARK_MOD_17_SET(x)
+#define BENCHMARK_MOD_17_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_18)
- #define BENCHMARK_MOD_18_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_18_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_18_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_18_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_18_SET(x)
- #define BENCHMARK_MOD_18_RESET(x)
+#define BENCHMARK_MOD_18_SET(x)
+#define BENCHMARK_MOD_18_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_19)
- #define BENCHMARK_MOD_19_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_19_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_19_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_19_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_19_SET(x)
- #define BENCHMARK_MOD_19_RESET(x)
+#define BENCHMARK_MOD_19_SET(x)
+#define BENCHMARK_MOD_19_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_20)
- #define BENCHMARK_MOD_20_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_20_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_20_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_20_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_20_SET(x)
- #define BENCHMARK_MOD_20_RESET(x)
+#define BENCHMARK_MOD_20_SET(x)
+#define BENCHMARK_MOD_20_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_21)
- #define BENCHMARK_MOD_21_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_21_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_21_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_21_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_21_SET(x)
- #define BENCHMARK_MOD_21_RESET(x)
+#define BENCHMARK_MOD_21_SET(x)
+#define BENCHMARK_MOD_21_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_22)
- #define BENCHMARK_MOD_22_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_22_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_22_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_22_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_22_SET(x)
- #define BENCHMARK_MOD_22_RESET(x)
+#define BENCHMARK_MOD_22_SET(x)
+#define BENCHMARK_MOD_22_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_23)
- #define BENCHMARK_MOD_23_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_23_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_23_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_23_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_23_SET(x)
- #define BENCHMARK_MOD_23_RESET(x)
+#define BENCHMARK_MOD_23_SET(x)
+#define BENCHMARK_MOD_23_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_24)
- #define BENCHMARK_MOD_24_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_24_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_24_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_24_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_24_SET(x)
- #define BENCHMARK_MOD_24_RESET(x)
+#define BENCHMARK_MOD_24_SET(x)
+#define BENCHMARK_MOD_24_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_25)
- #define BENCHMARK_MOD_25_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_25_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_25_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_25_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_25_SET(x)
- #define BENCHMARK_MOD_25_RESET(x)
+#define BENCHMARK_MOD_25_SET(x)
+#define BENCHMARK_MOD_25_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_26)
- #define BENCHMARK_MOD_26_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_26_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_26_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_26_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_26_SET(x)
- #define BENCHMARK_MOD_26_RESET(x)
+#define BENCHMARK_MOD_26_SET(x)
+#define BENCHMARK_MOD_26_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_27)
- #define BENCHMARK_MOD_27_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_27_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_27_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_27_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_27_SET(x)
- #define BENCHMARK_MOD_27_RESET(x)
+#define BENCHMARK_MOD_27_SET(x)
+#define BENCHMARK_MOD_27_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_28)
- #define BENCHMARK_MOD_28_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_28_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_28_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_28_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_28_SET(x)
- #define BENCHMARK_MOD_28_RESET(x)
+#define BENCHMARK_MOD_28_SET(x)
+#define BENCHMARK_MOD_28_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_29)
- #define BENCHMARK_MOD_29_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_29_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_29_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_29_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_29_SET(x)
- #define BENCHMARK_MOD_29_RESET(x)
+#define BENCHMARK_MOD_29_SET(x)
+#define BENCHMARK_MOD_29_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_30)
- #define BENCHMARK_MOD_30_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_30_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_30_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_30_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_30_SET(x)
- #define BENCHMARK_MOD_30_RESET(x)
+#define BENCHMARK_MOD_30_SET(x)
+#define BENCHMARK_MOD_30_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_31)
- #define BENCHMARK_MOD_31_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_31_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_31_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_31_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_31_SET(x)
- #define BENCHMARK_MOD_31_RESET(x)
+#define BENCHMARK_MOD_31_SET(x)
+#define BENCHMARK_MOD_31_RESET(x)
#endif
#if (BENCHMARK_MODULES & BENCHMARK_MOD_32)
- #define BENCHMARK_MOD_32_SET(x) BENCHMARK_SET(x)
- #define BENCHMARK_MOD_32_RESET(x) BENCHMARK_RESET(x)
+#define BENCHMARK_MOD_32_SET(x) BENCHMARK_SET(x)
+#define BENCHMARK_MOD_32_RESET(x) BENCHMARK_RESET(x)
#else
- #define BENCHMARK_MOD_32_SET(x)
- #define BENCHMARK_MOD_32_RESET(x)
+#define BENCHMARK_MOD_32_SET(x)
+#define BENCHMARK_MOD_32_RESET(x)
#endif
-
//---------------------------------------------------------------------------
// modul global types
//---------------------------------------------------------------------------
-
//---------------------------------------------------------------------------
// local vars
//---------------------------------------------------------------------------
-
//---------------------------------------------------------------------------
// local function prototypes
//---------------------------------------------------------------------------
-
#endif // _BENCHMARK_H_
diff --git a/drivers/staging/epl/Debug.h b/drivers/staging/epl/Debug.h
index f804e2fda9e..05de9d541fd 100644
--- a/drivers/staging/epl/Debug.h
+++ b/drivers/staging/epl/Debug.h
@@ -71,7 +71,6 @@
#include "global.h"
-
/***************************************************************************/
/* */
/* */
@@ -122,30 +121,24 @@
#define DEBUG_LVL_ERROR 0x40000000
#define DEBUG_LVL_ALWAYS 0x80000000
-
//---------------------------------------------------------------------------
// global types
//---------------------------------------------------------------------------
-
//---------------------------------------------------------------------------
// global vars
//---------------------------------------------------------------------------
-
//---------------------------------------------------------------------------
// global function prototypes
//---------------------------------------------------------------------------
-
//---------------------------------------------------------------------------
// global macros
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// this macro defines a version string
-#define MAKE_VERSION_STRING(product,appname,verstr,author) \
- "§prd§:" product ",§app§:" appname ",§ver§:" verstr ",§dat§:" __DATE__ ",§aut§:" author
//---------------------------------------------------------------------------
@@ -159,18 +152,16 @@
prefix "Version: " verstr "\n" \
prefix "***************************************************\n\n"
-
//---------------------------------------------------------------------------
// The default debug-level is: ERROR and ALWAYS.
// You can define an other debug-level in project settings.
#ifndef DEF_DEBUG_LVL
- #define DEF_DEBUG_LVL (DEBUG_LVL_ALWAYS | DEBUG_LVL_ERROR)
+#define DEF_DEBUG_LVL (DEBUG_LVL_ALWAYS | DEBUG_LVL_ERROR)
#endif
#ifndef DEBUG_GLB_LVL
- #define DEBUG_GLB_LVL() (DEF_DEBUG_LVL)
+#define DEBUG_GLB_LVL() (DEF_DEBUG_LVL)
#endif
-
//---------------------------------------------------------------------------
#if (DEV_SYSTEM == _DEV_WIN32_) && defined (TRACE_MSG)
@@ -182,12 +173,12 @@
//
// Example: DEBUG_TRACE1(DEBUG_LVL_30 | DEBUG_LVL_02, "Hello %d", bCount);
- #define DEBUG_TRACE0(lvl,str) TraceLvl((lvl),str)
- #define DEBUG_TRACE1(lvl,str,p1) TraceLvl((lvl),str,p1)
- #define DEBUG_TRACE2(lvl,str,p1,p2) TraceLvl((lvl),str,p1,p2)
- #define DEBUG_TRACE3(lvl,str,p1,p2,p3) TraceLvl((lvl),str,p1,p2,p3)
- #define DEBUG_TRACE4(lvl,str,p1,p2,p3,p4) TraceLvl((lvl),str,p1,p2,p3,p4)
- #define DEBUG_GLB_LVL() dwDebugLevel_g
+#define DEBUG_TRACE0(lvl,str) TraceLvl((lvl),str)
+#define DEBUG_TRACE1(lvl,str,p1) TraceLvl((lvl),str,p1)
+#define DEBUG_TRACE2(lvl,str,p1,p2) TraceLvl((lvl),str,p1,p2)
+#define DEBUG_TRACE3(lvl,str,p1,p2,p3) TraceLvl((lvl),str,p1,p2,p3)
+#define DEBUG_TRACE4(lvl,str,p1,p2,p3,p4) TraceLvl((lvl),str,p1,p2,p3,p4)
+#define DEBUG_GLB_LVL() dwDebugLevel_g
#else
@@ -198,462 +189,461 @@
//
// Example: DEBUG_TRACE1(DEBUG_LVL_ERROR, "error code %d", dwRet);
- #if (DEBUG_GLB_LVL() & DEBUG_LVL_ALWAYS)
- #define DEBUG_LVL_ALWAYS_TRACE0(str) TRACE0(str)
- #define DEBUG_LVL_ALWAYS_TRACE1(str,p1) TRACE1(str,p1)
- #define DEBUG_LVL_ALWAYS_TRACE2(str,p1,p2) TRACE2(str,p1,p2)
- #define DEBUG_LVL_ALWAYS_TRACE3(str,p1,p2,p3) TRACE3(str,p1,p2,p3)
- #define DEBUG_LVL_ALWAYS_TRACE4(str,p1,p2,p3,p4) TRACE4(str,p1,p2,p3,p4)
- #else
- #define DEBUG_LVL_ALWAYS_TRACE0(str)
- #define DEBUG_LVL_ALWAYS_TRACE1(str,p1)
- #define DEBUG_LVL_ALWAYS_TRACE2(str,p1,p2)
- #define DEBUG_LVL_ALWAYS_TRACE3(str,p1,p2,p3)
- #define DEBUG_LVL_ALWAYS_TRACE4(str,p1,p2,p3,p4)
- #endif
-
- #if (DEBUG_GLB_LVL() & DEBUG_LVL_ERROR)
- #define DEBUG_LVL_ERROR_TRACE0(str) TRACE0(str)
- #define DEBUG_LVL_ERROR_TRACE1(str,p1) TRACE1(str,p1)
- #define DEBUG_LVL_ERROR_TRACE2(str,p1,p2) TRACE2(str,p1,p2)
- #define DEBUG_LVL_ERROR_TRACE3(str,p1,p2,p3) TRACE3(str,p1,p2,p3)
- #define DEBUG_LVL_ERROR_TRACE4(str,p1,p2,p3,p4) TRACE4(str,p1,p2,p3,p4)
- #else
- #define DEBUG_LVL_ERROR_TRACE0(str)
- #define DEBUG_LVL_ERROR_TRACE1(str,p1)
- #define DEBUG_LVL_ERROR_TRACE2(str,p1,p2)
- #define DEBUG_LVL_ERROR_TRACE3(str,p1,p2,p3)
- #define DEBUG_LVL_ERROR_TRACE4(str,p1,p2,p3,p4)
- #endif
-
- #if (DEBUG_GLB_LVL() & DEBUG_LVL_ASSERT)
- #define DEBUG_LVL_ASSERT_TRACE0(str) TRACE0(str)
- #define DEBUG_LVL_ASSERT_TRACE1(str,p1) TRACE1(str,p1)
- #define DEBUG_LVL_ASSERT_TRACE2(str,p1,p2) TRACE2(str,p1,p2)
- #define DEBUG_LVL_ASSERT_TRACE3(str,p1,p2,p3) TRACE3(str,p1,p2,p3)
- #define DEBUG_LVL_ASSERT_TRACE4(str,p1,p2,p3,p4) TRACE4(str,p1,p2,p3,p4)
- #else
- #define DEBUG_LVL_ASSERT_TRACE0(str)
- #define DEBUG_LVL_ASSERT_TRACE1(str,p1)
- #define DEBUG_LVL_ASSERT_TRACE2(str,p1,p2)
- #define DEBUG_LVL_ASSERT_TRACE3(str,p1,p2,p3)
- #define DEBUG_LVL_ASSERT_TRACE4(str,p1,p2,p3,p4)
- #endif
-
- #if (DEBUG_GLB_LVL() & DEBUG_LVL_29)
- #define DEBUG_LVL_29_TRACE0(str) TRACE0(str)
- #define DEBUG_LVL_29_TRACE1(str,p1) TRACE1(str,p1)
- #define DEBUG_LVL_29_TRACE2(str,p1,p2) TRACE2(str,p1,p2)
- #define DEBUG_LVL_29_TRACE3(str,p1,p2,p3) TRACE3(str,p1,p2,p3)
- #define DEBUG_LVL_29_TRACE4(str,p1,p2,p3,p4) TRACE4(str,p1,p2,p3,p4)
- #else
- #define DEBUG_LVL_29_TRACE0(str)
- #define DEBUG_LVL_29_TRACE1(str,p1)
- #define DEBUG_LVL_29_TRACE2(str,p1,p2)
- #define DEBUG_LVL_29_TRACE3(str,p1,p2,p3)
- #define DEBUG_LVL_29_TRACE4(str,p1,p2,p3,p4)
- #endif
-
- #if (DEBUG_GLB_LVL() & DEBUG_LVL_28)
- #define DEBUG_LVL_28_TRACE0(str) TRACE0(str)
- #define DEBUG_LVL_28_TRACE1(str,p1) TRACE1(str,p1)
- #define DEBUG_LVL_28_TRACE2(str,p1,p2) TRACE2(str,p1,p2)
- #define DEBUG_LVL_28_TRACE3(str,p1,p2,p3) TRACE3(str,p1,p2,p3)
- #define DEBUG_LVL_28_TRACE4(str,p1,p2,p3,p4) TRACE4(str,p1,p2,p3,p4)
- #else
- #define DEBUG_LVL_28_TRACE0(str)
- #define DEBUG_LVL_28_TRACE1(str,p1)
- #define DEBUG_LVL_28_TRACE2(str,p1,p2)
- #define DEBUG_LVL_28_TRACE3(str,p1,p2,p3)
- #define DEBUG_LVL_28_TRACE4(str,p1,p2,p3,p4)
- #endif
-
- #if (DEBUG_GLB_LVL() & DEBUG_LVL_27)
- #define DEBUG_LVL_27_TRACE0(str) TRACE0(str)
- #define DEBUG_LVL_27_TRACE1(str,p1) TRACE1(str,p1)
- #define DEBUG_LVL_27_TRACE2(str,p1,p2) TRACE2(str,p1,p2)
- #define DEBUG_LVL_27_TRACE3(str,p1,p2,p3) TRACE3(str,p1,p2,p3)
- #define DEBUG_LVL_27_TRACE4(str,p1,p2,p3,p4) TRACE4(str,p1,p2,p3,p4)
- #else
- #define DEBUG_LVL_27_TRACE0(str)
- #define DEBUG_LVL_27_TRACE1(str,p1)
- #define DEBUG_LVL_27_TRACE2(str,p1,p2)
- #define DEBUG_LVL_27_TRACE3(str,p1,p2,p3)
- #define DEBUG_LVL_27_TRACE4(str,p1,p2,p3,p4)
- #endif
-
- #if (DEBUG_GLB_LVL() & DEBUG_LVL_26)
- #define DEBUG_LVL_26_TRACE0(str) TRACE0(str)
- #define DEBUG_LVL_26_TRACE1(str,p1) TRACE1(str,p1)
- #define DEBUG_LVL_26_TRACE2(str,p1,p2) TRACE2(str,p1,p2)
- #define DEBUG_LVL_26_TRACE3(str,p1,p2,p3) TRACE3(str,p1,p2,p3)
- #define DEBUG_LVL_26_TRACE4(str,p1,p2,p3,p4) TRACE4(str,p1,p2,p3,p4)
- #else
- #define DEBUG_LVL_26_TRACE0(str)
- #define DEBUG_LVL_26_TRACE1(str,p1)
- #define DEBUG_LVL_26_TRACE2(str,p1,p2)
- #define DEBUG_LVL_26_TRACE3(str,p1,p2,p3)
- #define DEBUG_LVL_26_TRACE4(str,p1,p2,p3,p4)
- #endif
-
- #if (DEBUG_GLB_LVL() & DEBUG_LVL_25)
- #define DEBUG_LVL_25_TRACE0(str) TRACE0(str)
- #define DEBUG_LVL_25_TRACE1(str,p1) TRACE1(str,p1)
- #define DEBUG_LVL_25_TRACE2(str,p1,p2) TRACE2(str,p1,p2)
- #define DEBUG_LVL_25_TRACE3(str,p1,p2,p3) TRACE3(str,p1,p2,p3)
- #define DEBUG_LVL_25_TRACE4(str,p1,p2,p3,p4) TRACE4(str,p1,p2,p3,p4)
- #else
- #define DEBUG_LVL_25_TRACE0(str)
- #define DEBUG_LVL_25_TRACE1(str,p1)
- #define DEBUG_LVL_25_TRACE2(str,p1,p2)
- #define DEBUG_LVL_25_TRACE3(str,p1,p2,p3)
- #define DEBUG_LVL_25_TRACE4(str,p1,p2,p3,p4)
- #endif
-
- #if (DEBUG_GLB_LVL() & DEBUG_LVL_24)
- #define DEBUG_LVL_24_TRACE0(str) TRACE0(str)
- #define DEBUG_LVL_24_TRACE1(str,p1) TRACE1(str,p1)
- #define DEBUG_LVL_24_TRACE2(str,p1,p2) TRACE2(str,p1,p2)
- #define DEBUG_LVL_24_TRACE3(str,p1,p2,p3) TRACE3(str,p1,p2,p3)
- #define DEBUG_LVL_24_TRACE4(str,p1,p2,p3,p4) TRACE4(str,p1,p2,p3,p4)
- #else
- #define DEBUG_LVL_24_TRACE0(str)
- #define DEBUG_LVL_24_TRACE1(str,