13 #ifndef NDEBUG_USBHUB_IOCTL
15 #define DPRINT_IOCTL(fmt, ...) do { \
16 if (DbgPrint("(%s:%d) " fmt, __RELFILE__, __LINE__, ##__VA_ARGS__)) \
17 DbgPrint("(%s:%d) DbgPrint() failed!\n", __RELFILE__, __LINE__); \
23 #define DPRINT_IOCTL __noop
25 #define DPRINT_IOCTL(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
30 #ifndef NDEBUG_USBHUB_POWER
32 #define DPRINT_PWR(fmt, ...) do { \
33 if (DbgPrint("(%s:%d) " fmt, __RELFILE__, __LINE__, ##__VA_ARGS__)) \
34 DbgPrint("(%s:%d) DbgPrint() failed!\n", __RELFILE__, __LINE__); \
40 #define DPRINT_PWR __noop
42 #define DPRINT_PWR(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
47 #ifndef NDEBUG_USBHUB_PNP
49 #define DPRINT_PNP(fmt, ...) do { \
50 if (DbgPrint("(%s:%d) " fmt, __RELFILE__, __LINE__, ##__VA_ARGS__)) \
51 DbgPrint("(%s:%d) DbgPrint() failed!\n", __RELFILE__, __LINE__); \
57 #define DPRINT_PNP __noop
59 #define DPRINT_PNP(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
64 #ifndef NDEBUG_USBHUB_SCE
66 #define DPRINT_SCE(fmt, ...) do { \
67 if (DbgPrint("(%s:%d) " fmt, __RELFILE__, __LINE__, ##__VA_ARGS__)) \
68 DbgPrint("(%s:%d) DbgPrint() failed!\n", __RELFILE__, __LINE__); \
74 #define DPRINT_SCE __noop
76 #define DPRINT_SCE(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
81 #ifndef NDEBUG_USBHUB_ENUM
83 #define DPRINT_ENUM(fmt, ...) do { \
84 if (DbgPrint("(%s:%d) " fmt, __RELFILE__, __LINE__, ##__VA_ARGS__)) \
85 DbgPrint("(%s:%d) DbgPrint() failed!\n", __RELFILE__, __LINE__); \
91 #define DPRINT_ENUM __noop
93 #define DPRINT_ENUM(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
101 #define DPRINT_IOCTL __noop
102 #define DPRINT_PWR __noop
103 #define DPRINT_PNP __noop
104 #define DPRINT_SCE __noop
105 #define DPRINT_ENUM __noop
107 #define DPRINT_IOCTL(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
108 #define DPRINT_PWR(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
109 #define DPRINT_PNP(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
110 #define DPRINT_SCE(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
111 #define DPRINT_ENUM(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)