Lines Matching refs:mTimerConfiguration

229 HPET_TIMER_CONFIGURATION_REGISTER  mTimerConfiguration;
533 if (mTimerConfiguration.Bits.MsiInterruptCapablity != 0 && FeaturePcdGet (PcdHpetMsiEnable)) {
537 mTimerConfiguration.Bits.MsiInterruptEnable = 0;
548 mTimerConfiguration.Bits.InterruptEnable = 0;
549 HpetWrite (HPET_TIMER_CONFIGURATION_OFFSET + mTimerIndex * HPET_TIMER_STRIDE, mTimerConfiguration.Uint64);
579 if (mTimerConfiguration.Bits.MsiInterruptCapablity != 0 && FeaturePcdGet (PcdHpetMsiEnable)) {
590 mTimerConfiguration.Bits.MsiInterruptEnable = 1;
602 mTimerConfiguration.Bits.InterruptEnable = 1;
603 HpetWrite (HPET_TIMER_CONFIGURATION_OFFSET + mTimerIndex * HPET_TIMER_STRIDE, mTimerConfiguration.Uint64);
826 mTimerConfiguration.Uint64 = HpetRead (HPET_TIMER_CONFIGURATION_OFFSET + TimerIndex * HPET_TIMER_STRIDE);
831 if (mTimerConfiguration.Bits.MsiInterruptCapablity != 0) {
843 if (mTimerConfiguration.Bits.InterruptRouteCapability != 0) {
849 mTimerIrq = (UINT32)LowBitSet32 (mTimerConfiguration.Bits.InterruptRouteCapability);
871 mTimerConfiguration.Uint64 = HpetRead (HPET_TIMER_CONFIGURATION_OFFSET + mTimerIndex * HPET_TIMER_STRIDE);
872 mTimerConfiguration.Bits.LevelTriggeredInterrupt = 0;
895 mTimerConfiguration.Uint64 = HpetRead (HPET_TIMER_CONFIGURATION_OFFSET + mTimerIndex * HPET_TIMER_STRIDE);
896 mTimerConfiguration.Bits.LevelTriggeredInterrupt = 1;
897 mTimerConfiguration.Bits.InterruptRoute = mTimerIrq;
906 mTimerConfiguration.Bits.InterruptEnable = 0;
907 mTimerConfiguration.Bits.PeriodicInterruptEnable = 0;
908 mTimerConfiguration.Bits.CounterSizeEnable = 1;
909 HpetWrite (HPET_TIMER_CONFIGURATION_OFFSET + mTimerIndex * HPET_TIMER_STRIDE, mTimerConfiguration.Uint64);
915 mTimerConfiguration.Uint64 = HpetRead (HPET_TIMER_CONFIGURATION_OFFSET + mTimerIndex * HPET_TIMER_STRIDE);
916 if ((mTimerConfiguration.Bits.CounterSizeEnable == 1) && (sizeof (UINTN) == sizeof (UINT64))) {
925 mTimerConfiguration.Bits.CounterSizeEnable = 0;
926 HpetWrite (HPET_TIMER_CONFIGURATION_OFFSET + mTimerIndex * HPET_TIMER_STRIDE, mTimerConfiguration.Uint64);
956 if (mTimerConfiguration.Bits.MsiInterruptCapablity != 0 && FeaturePcdGet (PcdHpetMsiEnable)) {