Lines Matching refs:myDriverDebugHandle
33 _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 ) in DBG_FUNC()
57 (myDriverDebugHandle.dbg_ev) in DBG_FUNC()
58 (myDriverDebugHandle.id, (unsigned long)msgID, ap) ; in DBG_FUNC()
89 myDriverDebugHandle.Version = DBG_HANDLE_VERSION ; in DBG_FUNC()
90 myDriverDebugHandle.id = -1 ; in DBG_FUNC()
91 myDriverDebugHandle.dbgMask = dbgMask | (DL_EVL | DL_FTL | DL_LOG) ; in DBG_FUNC()
93 memcpy (myDriverDebugHandle.drvName, drvName, in DBG_FUNC()
94 (len < sizeof(myDriverDebugHandle.drvName)) ? in DBG_FUNC()
95 len : sizeof(myDriverDebugHandle.drvName) - 1) ; in DBG_FUNC()
97 memcpy (myDriverDebugHandle.drvTag, drvTag, in DBG_FUNC()
98 (len < sizeof(myDriverDebugHandle.drvTag)) ? in DBG_FUNC()
99 len : sizeof(myDriverDebugHandle.drvTag) - 1) ; in DBG_FUNC()
103 dprintf("\000\377", &myDriverDebugHandle) ; in DBG_FUNC()
104 if ( myDriverDebugHandle.dbg_prt ) in DBG_FUNC()
111 if ( myDriverDebugHandle.dbg_end != NULL in DBG_FUNC()
113 && (myDriverDebugHandle.regTime.LowPart || in DBG_FUNC()
114 myDriverDebugHandle.regTime.HighPart ) ) in DBG_FUNC()
118 myDriverDebugHandle.dbg_end = in DBG_FUNC()
119 ((_OldDbgHandle_ *)&myDriverDebugHandle)->dbg_end ; in DBG_FUNC()
128 myDriverDebugHandle.dbgMask = dbgMask | (DL_EVL | DL_FTL | DL_LOG) ; in DbgSetLevel()
134 if ( myDriverDebugHandle.dbg_end ) in DbgDeregister()
136 (myDriverDebugHandle.dbg_end)(&myDriverDebugHandle) ; in DbgDeregister()
138 memset (&myDriverDebugHandle, 0, sizeof(myDriverDebugHandle)) ; in DbgDeregister()
143 if (myDriverDebugHandle.dbg_end && in xdi_dbg_xlog()
144 (myDriverDebugHandle.dbg_irq || myDriverDebugHandle.dbg_old) && in xdi_dbg_xlog()
145 (myDriverDebugHandle.dbgMask & DL_STAT)) { in xdi_dbg_xlog()
146 if (myDriverDebugHandle.dbg_irq) { in xdi_dbg_xlog()
147 (*(myDriverDebugHandle.dbg_irq))(myDriverDebugHandle.id, in xdi_dbg_xlog()
150 (*(myDriverDebugHandle.dbg_old))(myDriverDebugHandle.id, x, ap); in xdi_dbg_xlog()