Lines Matching refs:HWREG
157 HWREG(ulBase + TIMER_O_CTL) |= ulTimer & (TIMER_CTL_TAEN | TIMER_CTL_TBEN); in TimerEnable()
186 HWREG(ulBase + TIMER_O_CTL) &= ~(ulTimer & in TimerDisable()
277 HWREG(ulBase + TIMER_O_CTL) &= ~(TIMER_CTL_TAEN | TIMER_CTL_TBEN); in TimerConfigure()
282 HWREG(ulBase + TIMER_O_CFG) = ulConfig >> 24; in TimerConfigure()
288 HWREG(ulBase + TIMER_O_TAMR) = (ulConfig & 255) | TIMER_TAMR_TAPWMIE; in TimerConfigure()
289 HWREG(ulBase + TIMER_O_TBMR) = in TimerConfigure()
324 HWREG(ulBase + TIMER_O_CTL) = (bInvert ? in TimerControlLevel()
325 (HWREG(ulBase + TIMER_O_CTL) | ulTimer) : in TimerControlLevel()
326 (HWREG(ulBase + TIMER_O_CTL) & ~(ulTimer))); in TimerControlLevel()
361 HWREG(ulBase + TIMER_O_CTL) = (bEnable ? in TimerControlTrigger()
362 (HWREG(ulBase + TIMER_O_CTL) | ulTimer) : in TimerControlTrigger()
363 (HWREG(ulBase + TIMER_O_CTL) & ~(ulTimer))); in TimerControlTrigger()
398 HWREG(ulBase + TIMER_O_CTL) = ((HWREG(ulBase + TIMER_O_CTL) & ~ulTimer) | in TimerControlEvent()
434 HWREG(ulBase + TIMER_O_CTL) = (bStall ? in TimerControlStall()
435 (HWREG(ulBase + TIMER_O_CTL) | ulTimer) : in TimerControlStall()
436 (HWREG(ulBase + TIMER_O_CTL) & ~(ulTimer))); in TimerControlStall()
477 HWREG(ulBase + TIMER_O_TAMR) |= TIMER_TAMR_TAWOT; in TimerControlWaitOnTrigger()
481 HWREG(ulBase + TIMER_O_TAMR) &= ~(TIMER_TAMR_TAWOT); in TimerControlWaitOnTrigger()
492 HWREG(ulBase + TIMER_O_TBMR) |= TIMER_TBMR_TBWOT; in TimerControlWaitOnTrigger()
496 HWREG(ulBase + TIMER_O_TBMR) &= ~(TIMER_TBMR_TBWOT); in TimerControlWaitOnTrigger()
524 HWREG(ulBase + TIMER_O_CTL) |= TIMER_CTL_RTCEN; in TimerRTCEnable()
549 HWREG(ulBase + TIMER_O_CTL) &= ~(TIMER_CTL_RTCEN); in TimerRTCDisable()
593 HWREG(ulBase + TIMER_O_TAPR) = ulValue; in TimerPrescaleSet()
601 HWREG(ulBase + TIMER_O_TBPR) = ulValue; in TimerPrescaleSet()
639 return((ulTimer == TIMER_A) ? HWREG(ulBase + TIMER_O_TAPR) : in TimerPrescaleGet()
640 HWREG(ulBase + TIMER_O_TBPR)); in TimerPrescaleGet()
685 HWREG(ulBase + TIMER_O_TAPMR) = ulValue; in TimerPrescaleMatchSet()
693 HWREG(ulBase + TIMER_O_TBPMR) = ulValue; in TimerPrescaleMatchSet()
732 return((ulTimer == TIMER_A) ? HWREG(ulBase + TIMER_O_TAPMR) : in TimerPrescaleMatchGet()
733 HWREG(ulBase + TIMER_O_TBPMR)); in TimerPrescaleMatchGet()
772 HWREG(ulBase + TIMER_O_TAILR) = ulValue; in TimerLoadSet()
780 HWREG(ulBase + TIMER_O_TBILR) = ulValue; in TimerLoadSet()
815 return((ulTimer == TIMER_A) ? HWREG(ulBase + TIMER_O_TAILR) : in TimerLoadGet()
816 HWREG(ulBase + TIMER_O_TBILR)); in TimerLoadGet()
845 HWREG(ulBase + TIMER_O_TBILR) = ullValue >> 32; in TimerLoadSet64()
846 HWREG(ulBase + TIMER_O_TAILR) = ullValue & 0xffffffff; in TimerLoadSet64()
880 ulHigh1 = HWREG(ulBase + TIMER_O_TBILR); in TimerLoadGet64()
881 ulLow = HWREG(ulBase + TIMER_O_TAILR); in TimerLoadGet64()
882 ulHigh2 = HWREG(ulBase + TIMER_O_TBILR); in TimerLoadGet64()
922 return((ulTimer == TIMER_A) ? HWREG(ulBase + TIMER_O_TAR) : in TimerValueGet()
923 HWREG(ulBase + TIMER_O_TBR)); in TimerValueGet()
956 ulHigh1 = HWREG(ulBase + TIMER_O_TBR); in TimerValueGet64()
957 ulLow = HWREG(ulBase + TIMER_O_TAR); in TimerValueGet64()
958 ulHigh2 = HWREG(ulBase + TIMER_O_TBR); in TimerValueGet64()
1007 HWREG(ulBase + TIMER_O_TAMATCHR) = ulValue; in TimerMatchSet()
1015 HWREG(ulBase + TIMER_O_TBMATCHR) = ulValue; in TimerMatchSet()
1049 return((ulTimer == TIMER_A) ? HWREG(ulBase + TIMER_O_TAMATCHR) : in TimerMatchGet()
1050 HWREG(ulBase + TIMER_O_TBMATCHR)); in TimerMatchGet()
1080 HWREG(ulBase + TIMER_O_TBMATCHR) = ullValue >> 32; in TimerMatchSet64()
1081 HWREG(ulBase + TIMER_O_TAMATCHR) = ullValue & 0xffffffff; in TimerMatchSet64()
1114 ulHigh1 = HWREG(ulBase + TIMER_O_TBMATCHR); in TimerMatchGet64()
1115 ulLow = HWREG(ulBase + TIMER_O_TAMATCHR); in TimerMatchGet64()
1116 ulHigh2 = HWREG(ulBase + TIMER_O_TBMATCHR); in TimerMatchGet64()
1299 HWREG(ulBase + TIMER_O_IMR) |= ulIntFlags; in TimerIntEnable()
1330 HWREG(ulBase + TIMER_O_IMR) &= ~(ulIntFlags); in TimerIntDisable()
1361 return(bMasked ? HWREG(ulBase + TIMER_O_MIS) : in TimerIntStatus()
1362 HWREG(ulBase + TIMER_O_RIS)); in TimerIntStatus()
1402 HWREG(ulBase + TIMER_O_ICR) = ulIntFlags; in TimerIntClear()
1463 HWREG(ulBase + TIMER_O_SYNC) = ulTimers; in TimerSynchronize()
1491 HWREG(ulBase + TIMER_O_CTL) = TIMER_RV_CTL; in TimerQuiesce()
1496 HWREG(ulBase + TIMER_O_IMR) = TIMER_RV_IMR; in TimerQuiesce()
1501 HWREG(ulBase + TIMER_O_ICR) = 0xFFFFFFFF; in TimerQuiesce()
1512 HWREG(ulBase + TIMER_O_CFG) = TIMER_RV_CFG; in TimerQuiesce()
1513 HWREG(ulBase + TIMER_O_TAMR) = TIMER_RV_TAMR; in TimerQuiesce()
1514 HWREG(ulBase + TIMER_O_TBMR) = TIMER_RV_TBMR; in TimerQuiesce()
1515 HWREG(ulBase + TIMER_O_RIS) = TIMER_RV_RIS; in TimerQuiesce()
1516 HWREG(ulBase + TIMER_O_MIS) = TIMER_RV_MIS; in TimerQuiesce()
1517 HWREG(ulBase + TIMER_O_TAILR) = TIMER_RV_TAILR; in TimerQuiesce()
1518 HWREG(ulBase + TIMER_O_TBILR) = TIMER_RV_TBILR; in TimerQuiesce()
1519 HWREG(ulBase + TIMER_O_TAMATCHR) = TIMER_RV_TAMATCHR; in TimerQuiesce()
1520 HWREG(ulBase + TIMER_O_TBMATCHR) = TIMER_RV_TBMATCHR; in TimerQuiesce()
1521 HWREG(ulBase + TIMER_O_TAPR) = TIMER_RV_TAPR; in TimerQuiesce()
1522 HWREG(ulBase + TIMER_O_TBPR) = TIMER_RV_TBPR; in TimerQuiesce()
1523 HWREG(ulBase + TIMER_O_TAPMR) = TIMER_RV_TAPMR; in TimerQuiesce()
1524 HWREG(ulBase + TIMER_O_TBPMR) = TIMER_RV_TBPMR; in TimerQuiesce()
1525 HWREG(ulBase + TIMER_O_TAR) = TIMER_RV_TAR; in TimerQuiesce()
1526 HWREG(ulBase + TIMER_O_TBR) = TIMER_RV_TBR; in TimerQuiesce()