Searched refs:myDriverDebugHandle (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/isdn/hardware/eicon/
H A Ddebuglib.c33 _DbgHandle_ myDriverDebugHandle = { 0 /*!Registered*/, DBG_HANDLE_VERSION }; variable
40 if (myDriverDebugHandle.dbg_prt) \
42 (myDriverDebugHandle.dbg_prt) \
43 (myDriverDebugHandle.id, DLI_##name, format, ap); \
55 if (myDriverDebugHandle.dbg_ev) DBG_FUNC()
57 (myDriverDebugHandle.dbg_ev) DBG_FUNC()
58 (myDriverDebugHandle.id, (unsigned long)msgID, ap); DBG_FUNC()
83 * deregister (if already registered) and zero out myDriverDebugHandle DBG_FUNC()
89 myDriverDebugHandle.Version = DBG_HANDLE_VERSION; DBG_FUNC()
90 myDriverDebugHandle.id = -1; DBG_FUNC()
91 myDriverDebugHandle.dbgMask = dbgMask | (DL_EVL | DL_FTL | DL_LOG); DBG_FUNC()
93 memcpy(myDriverDebugHandle.drvName, drvName, DBG_FUNC()
94 (len < sizeof(myDriverDebugHandle.drvName)) ? DBG_FUNC()
95 len : sizeof(myDriverDebugHandle.drvName) - 1); DBG_FUNC()
97 memcpy(myDriverDebugHandle.drvTag, drvTag, DBG_FUNC()
98 (len < sizeof(myDriverDebugHandle.drvTag)) ? DBG_FUNC()
99 len : sizeof(myDriverDebugHandle.drvTag) - 1); DBG_FUNC()
103 dprintf("\000\377", &myDriverDebugHandle); DBG_FUNC()
104 if (myDriverDebugHandle.dbg_prt) DBG_FUNC()
111 if (myDriverDebugHandle.dbg_end != NULL DBG_FUNC()
113 && (myDriverDebugHandle.regTime.LowPart || DBG_FUNC()
114 myDriverDebugHandle.regTime.HighPart)) DBG_FUNC()
118 myDriverDebugHandle.dbg_end = DBG_FUNC()
119 ((_OldDbgHandle_ *)&myDriverDebugHandle)->dbg_end; DBG_FUNC()
128 myDriverDebugHandle.dbgMask = dbgMask | (DL_EVL | DL_FTL | DL_LOG); DbgSetLevel()
134 if (myDriverDebugHandle.dbg_end) DbgDeregister()
136 (myDriverDebugHandle.dbg_end)(&myDriverDebugHandle); DbgDeregister()
138 memset(&myDriverDebugHandle, 0, sizeof(myDriverDebugHandle)); DbgDeregister()
143 if (myDriverDebugHandle.dbg_end && xdi_dbg_xlog()
144 (myDriverDebugHandle.dbg_irq || myDriverDebugHandle.dbg_old) && xdi_dbg_xlog()
145 (myDriverDebugHandle.dbgMask & DL_STAT)) { xdi_dbg_xlog()
146 if (myDriverDebugHandle.dbg_irq) { xdi_dbg_xlog()
147 (*(myDriverDebugHandle.dbg_irq))(myDriverDebugHandle.id, xdi_dbg_xlog()
150 (*(myDriverDebugHandle.dbg_old))(myDriverDebugHandle.id, x, ap); xdi_dbg_xlog()
H A Dcapifunc.c71 if (myDriverDebugHandle.dbgMask & DL_XLOG) { xlog()
73 if (myDriverDebugHandle.dbg_irq) { xlog()
74 myDriverDebugHandle.dbg_irq(myDriverDebugHandle.id, xlog()
76 } else if (myDriverDebugHandle.dbg_old) { xlog()
77 myDriverDebugHandle.dbg_old(myDriverDebugHandle.id, xlog()
308 if (myDriverDebugHandle.dbgMask & DL_XLOG) { sendf()
314 if (myDriverDebugHandle.dbgMask & DL_BLK) sendf()
318 if (myDriverDebugHandle.dbgMask & DL_BLK) { sendf()
323 if (!(myDriverDebugHandle.dbgMask & DL_PRV0)) sendf()
921 if (myDriverDebugHandle.dbgMask & DL_BLK) diva_send_message()
928 if (myDriverDebugHandle.dbgMask & DL_BLK) diva_send_message()
958 if ((myDriverDebugHandle.dbgMask & DL_BLK) diva_send_message()
959 && (myDriverDebugHandle.dbgMask & DL_XLOG)) { diva_send_message()
967 if (!(myDriverDebugHandle.dbgMask & DL_PRV0)) diva_send_message()
H A Ddebuglib.h164 { if ((myDriverDebugHandle.dbgMask) & (unsigned long)DL_##func) \
166 if ((myDriverDebugHandle.dbgMask) & DL_TO_KERNEL) \
175 { if ((myDriverDebugHandle.dbgMask) & (unsigned long)DL_##func) \
184 { if ((myDriverDebugHandle.dbgMask) & (unsigned long)DL_EVL) \
261 extern _DbgHandle_ myDriverDebugHandle;

Completed in 115 milliseconds