Lines Matching refs:Bits
84 return (UINTN)(LShiftU64 ((UINT64) ApicBaseMsr.Bits.ApicBaseHi, 32)) + in GetLocalApicBaseAddress()
85 (((UINTN)ApicBaseMsr.Bits.ApicBase) << 12); in GetLocalApicBaseAddress()
115 ApicBaseMsr.Bits.ApicBase = (UINT32) (BaseAddress >> 12); in SetLocalApicBaseAddress()
116 ApicBaseMsr.Bits.ApicBaseHi = (UINT32) (RShiftU64((UINT64) BaseAddress, 32)); in SetLocalApicBaseAddress()
255 } while (IcrLowReg.Bits.DeliveryStatus != 0); in SendIpi()
268 } while (IcrLowReg.Bits.DeliveryStatus != 0); in SendIpi()
318 ASSERT (ApicBaseMsr.Bits.EN != 0); in GetApicMode()
319 if (ApicBaseMsr.Bits.EXTD != 0) { in GetApicMode()
360 ApicBaseMsr.Bits.EXTD = 1; in SetApicMode()
374 ApicBaseMsr.Bits.EXTD = 0; in SetApicMode()
375 ApicBaseMsr.Bits.EN = 0; in SetApicMode()
377 ApicBaseMsr.Bits.EN = 1; in SetApicMode()
485 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_FIXED; in SendFixedIpi()
486 IcrLow.Bits.Level = 1; in SendFixedIpi()
487 IcrLow.Bits.Vector = Vector; in SendFixedIpi()
507 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_FIXED; in SendFixedIpiAllExcludingSelf()
508 IcrLow.Bits.Level = 1; in SendFixedIpiAllExcludingSelf()
509 IcrLow.Bits.DestinationShorthand = LOCAL_APIC_DESTINATION_SHORTHAND_ALL_EXCLUDING_SELF; in SendFixedIpiAllExcludingSelf()
510 IcrLow.Bits.Vector = Vector; in SendFixedIpiAllExcludingSelf()
530 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_SMI; in SendSmiIpi()
531 IcrLow.Bits.Level = 1; in SendSmiIpi()
549 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_SMI; in SendSmiIpiAllExcludingSelf()
550 IcrLow.Bits.Level = 1; in SendSmiIpiAllExcludingSelf()
551 IcrLow.Bits.DestinationShorthand = LOCAL_APIC_DESTINATION_SHORTHAND_ALL_EXCLUDING_SELF; in SendSmiIpiAllExcludingSelf()
571 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_INIT; in SendInitIpi()
572 IcrLow.Bits.Level = 1; in SendInitIpi()
590 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_INIT; in SendInitIpiAllExcludingSelf()
591 IcrLow.Bits.Level = 1; in SendInitIpiAllExcludingSelf()
592 IcrLow.Bits.DestinationShorthand = LOCAL_APIC_DESTINATION_SHORTHAND_ALL_EXCLUDING_SELF; in SendInitIpiAllExcludingSelf()
623 IcrLow.Bits.Vector = (StartupRoutine >> 12); in SendInitSipiSipi()
624 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_STARTUP; in SendInitSipiSipi()
625 IcrLow.Bits.Level = 1; in SendInitSipiSipi()
656 IcrLow.Bits.Vector = (StartupRoutine >> 12); in SendInitSipiSipiAllExcludingSelf()
657 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_STARTUP; in SendInitSipiSipiAllExcludingSelf()
658 IcrLow.Bits.Level = 1; in SendInitSipiSipiAllExcludingSelf()
659 IcrLow.Bits.DestinationShorthand = LOCAL_APIC_DESTINATION_SHORTHAND_ALL_EXCLUDING_SELF; in SendInitSipiSipiAllExcludingSelf()
686 if (Svr.Bits.SoftwareEnable == 0) { in InitializeLocalApicSoftwareEnable()
687 Svr.Bits.SoftwareEnable = 1; in InitializeLocalApicSoftwareEnable()
691 if (Svr.Bits.SoftwareEnable == 1) { in InitializeLocalApicSoftwareEnable()
692 Svr.Bits.SoftwareEnable = 0; in InitializeLocalApicSoftwareEnable()
719 Svr.Bits.SpuriousVector = 0xf; in ProgramVirtualWireMode()
720 Svr.Bits.SoftwareEnable = 1; in ProgramVirtualWireMode()
727 Lint.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_EXTINT; in ProgramVirtualWireMode()
728 Lint.Bits.InputPinPolarity = 0; in ProgramVirtualWireMode()
729 Lint.Bits.TriggerMode = 0; in ProgramVirtualWireMode()
730 Lint.Bits.Mask = 0; in ProgramVirtualWireMode()
737 Lint.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_NMI; in ProgramVirtualWireMode()
738 Lint.Bits.InputPinPolarity = 0; in ProgramVirtualWireMode()
739 Lint.Bits.TriggerMode = 0; in ProgramVirtualWireMode()
740 Lint.Bits.Mask = 0; in ProgramVirtualWireMode()
758 LvtLint.Bits.Mask = 1; in DisableLvtInterrupts()
762 LvtLint.Bits.Mask = 1; in DisableLvtInterrupts()
834 Dcr.Bits.DivideValue1 = (Divisor & 0x3); in InitializeApicTimer()
835 Dcr.Bits.DivideValue2 = (Divisor >> 2); in InitializeApicTimer()
844 LvtTimer.Bits.TimerMode = 1; in InitializeApicTimer()
846 LvtTimer.Bits.TimerMode = 0; in InitializeApicTimer()
848 LvtTimer.Bits.Mask = 0; in InitializeApicTimer()
849 LvtTimer.Bits.Vector = Vector; in InitializeApicTimer()
883 Divisor = Dcr.Bits.DivideValue1 | (Dcr.Bits.DivideValue2 << 2); in GetApicTimerState()
891 if (LvtTimer.Bits.TimerMode == 1) { in GetApicTimerState()
898 *Vector = (UINT8) LvtTimer.Bits.Vector; in GetApicTimerState()
915 LvtTimer.Bits.Mask = 0; in EnableApicTimerInterrupt()
931 LvtTimer.Bits.Mask = 1; in DisableApicTimerInterrupt()
950 return (BOOLEAN)(LvtTimer.Bits.Mask == 0); in GetApicTimerInterruptState()
984 MsiAddress.Bits.BaseAddress = 0xFEE; in GetApicMsiAddress()
985 MsiAddress.Bits.DestinationId = GetApicId (); in GetApicMsiAddress()
1032 MsiData.Bits.Vector = Vector; in GetApicMsiValue()
1033 MsiData.Bits.DeliveryMode = (UINT32)DeliveryMode; in GetApicMsiValue()
1035 MsiData.Bits.TriggerMode = 1; in GetApicMsiValue()
1037 MsiData.Bits.Level = 1; in GetApicMsiValue()
1083 if (VersionInfoEdx.Bits.HTT == 0) { in GetProcessorLocationByApicId()
1134 LevelType = ExtendedTopologyEcx.Bits.LevelType; in GetProcessorLocationByApicId()
1136 ThreadBits = ExtendedTopologyEax.Bits.ApicIdShift; in GetProcessorLocationByApicId()
1152 LevelType = ExtendedTopologyEcx.Bits.LevelType; in GetProcessorLocationByApicId()
1154 CoreBits = ExtendedTopologyEax.Bits.ApicIdShift - ThreadBits; in GetProcessorLocationByApicId()
1164 MaxLogicProcessorsPerPackage = VersionInfoEbx.Bits.MaximumAddressableIdsForLogicalProcessors; in GetProcessorLocationByApicId()
1167 MaxCoresPerPackage = CacheParamsEax.Bits.MaximumAddressableIdsForLogicalProcessors + 1; in GetProcessorLocationByApicId()