Lines Matching refs:ulBase
69 WatchdogRunning(unsigned long ulBase) in WatchdogRunning() argument
74 ASSERT((ulBase == WDT_BASE)); in WatchdogRunning()
79 return(HWREG(ulBase + WDT_O_CTL) & WDT_CTL_INTEN); in WatchdogRunning()
99 WatchdogEnable(unsigned long ulBase) in WatchdogEnable() argument
104 ASSERT((ulBase == WDT_BASE)); in WatchdogEnable()
109 HWREG(ulBase + WDT_O_CTL) |= WDT_CTL_INTEN; in WatchdogEnable()
124 WatchdogLock(unsigned long ulBase) in WatchdogLock() argument
129 ASSERT((ulBase == WDT_BASE)); in WatchdogLock()
135 HWREG(ulBase + WDT_O_LOCK) = WDT_LOCK_LOCKED; in WatchdogLock()
150 WatchdogUnlock(unsigned long ulBase) in WatchdogUnlock() argument
155 ASSERT((ulBase == WDT_BASE)); in WatchdogUnlock()
160 HWREG(ulBase + WDT_O_LOCK) = WDT_LOCK_UNLOCK; in WatchdogUnlock()
176 WatchdogLockState(unsigned long ulBase) in WatchdogLockState() argument
181 ASSERT((ulBase == WDT_BASE)); in WatchdogLockState()
186 return((HWREG(ulBase + WDT_O_LOCK) == WDT_LOCK_LOCKED) ? true : false); in WatchdogLockState()
211 WatchdogReloadSet(unsigned long ulBase, unsigned long ulLoadVal) in WatchdogReloadSet() argument
216 ASSERT((ulBase == WDT_BASE)); in WatchdogReloadSet()
221 HWREG(ulBase + WDT_O_LOAD) = ulLoadVal; in WatchdogReloadSet()
239 WatchdogReloadGet(unsigned long ulBase) in WatchdogReloadGet() argument
244 ASSERT((ulBase == WDT_BASE)); in WatchdogReloadGet()
249 return(HWREG(ulBase + WDT_O_LOAD)); in WatchdogReloadGet()
264 WatchdogValueGet(unsigned long ulBase) in WatchdogValueGet() argument
269 ASSERT((ulBase == WDT_BASE)); in WatchdogValueGet()
274 return(HWREG(ulBase + WDT_O_VALUE)); in WatchdogValueGet()
302 WatchdogIntRegister(unsigned long ulBase, void (*pfnHandler)(void)) in WatchdogIntRegister() argument
307 ASSERT((ulBase == WDT_BASE)); in WatchdogIntRegister()
339 WatchdogIntUnregister(unsigned long ulBase) in WatchdogIntUnregister() argument
344 ASSERT((ulBase == WDT_BASE)); in WatchdogIntUnregister()
373 WatchdogIntStatus(unsigned long ulBase, tBoolean bMasked) in WatchdogIntStatus() argument
378 ASSERT((ulBase == WDT_BASE)); in WatchdogIntStatus()
386 return(HWREG(ulBase + WDT_O_MIS)); in WatchdogIntStatus()
390 return(HWREG(ulBase + WDT_O_RIS)); in WatchdogIntStatus()
416 WatchdogIntClear(unsigned long ulBase) in WatchdogIntClear() argument
421 ASSERT((ulBase == WDT_BASE)); in WatchdogIntClear()
426 HWREG(ulBase + WDT_O_ICR) = WDT_INT_TIMEOUT; in WatchdogIntClear()
447 WatchdogStallEnable(unsigned long ulBase) in WatchdogStallEnable() argument
452 ASSERT((ulBase == WDT_BASE)); in WatchdogStallEnable()
457 HWREG(ulBase + WDT_O_TEST) |= WDT_TEST_STALL; in WatchdogStallEnable()
474 WatchdogStallDisable(unsigned long ulBase) in WatchdogStallDisable() argument
479 ASSERT((ulBase == WDT_BASE)); in WatchdogStallDisable()
484 HWREG(ulBase + WDT_O_TEST) &= ~(WDT_TEST_STALL); in WatchdogStallDisable()