Home
last modified time | relevance | path

Searched refs:Dcr (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/UefiCpuPkg/Library/BaseXApicLib/
DBaseXApicLib.c715 LOCAL_APIC_DCR Dcr; in InitializeApicTimer() local
734 Dcr.Uint32 = ReadLocalApicReg (XAPIC_TIMER_DIVIDE_CONFIGURATION_OFFSET); in InitializeApicTimer()
735 Dcr.Bits.DivideValue1 = (Divisor & 0x3); in InitializeApicTimer()
736 Dcr.Bits.DivideValue2 = (Divisor >> 2); in InitializeApicTimer()
737 WriteLocalApicReg (XAPIC_TIMER_DIVIDE_CONFIGURATION_OFFSET, Dcr.Uint32); in InitializeApicTimer()
772 LOCAL_APIC_DCR Dcr; in GetApicTimerState() local
783 Dcr.Uint32 = ReadLocalApicReg (XAPIC_TIMER_DIVIDE_CONFIGURATION_OFFSET); in GetApicTimerState()
784 Divisor = Dcr.Bits.DivideValue1 | (Dcr.Bits.DivideValue2 << 2); in GetApicTimerState()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/BaseXApicX2ApicLib/
DBaseXApicX2ApicLib.c810 LOCAL_APIC_DCR Dcr; in InitializeApicTimer() local
829 Dcr.Uint32 = ReadLocalApicReg (XAPIC_TIMER_DIVIDE_CONFIGURATION_OFFSET); in InitializeApicTimer()
830 Dcr.Bits.DivideValue1 = (Divisor & 0x3); in InitializeApicTimer()
831 Dcr.Bits.DivideValue2 = (Divisor >> 2); in InitializeApicTimer()
832 WriteLocalApicReg (XAPIC_TIMER_DIVIDE_CONFIGURATION_OFFSET, Dcr.Uint32); in InitializeApicTimer()
867 LOCAL_APIC_DCR Dcr; in GetApicTimerState() local
878 Dcr.Uint32 = ReadLocalApicReg (XAPIC_TIMER_DIVIDE_CONFIGURATION_OFFSET); in GetApicTimerState()
879 Divisor = Dcr.Bits.DivideValue1 | (Dcr.Bits.DivideValue2 << 2); in GetApicTimerState()