/device/linaro/bootloader/edk2/PcAtChipsetPkg/Library/SerialIoLib/ |
D | SerialPortLib.c | 291 UINT8 Msr; in SerialPortGetControl() local 300 Msr = IoRead8 ((UINT16) gUartBase + MSR_OFFSET); in SerialPortGetControl() 302 if ((Msr & MSR_CTS) == MSR_CTS) { in SerialPortGetControl() 306 if ((Msr & MSR_DSR) == MSR_DSR) { in SerialPortGetControl() 310 if ((Msr & MSR_RI) == MSR_RI) { in SerialPortGetControl() 314 if ((Msr & MSR_DCD) == MSR_DCD) { in SerialPortGetControl()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciSioSerialDxe/ |
D | SerialIo.c | 307 SERIAL_PORT_MSR Msr; in SerialReceiveTransmit() local 410 Msr.Data = READ_MSR (SerialDevice); in SerialReceiveTransmit() 411 … while ((Msr.Bits.Dcd == 1) && ((Msr.Bits.Cts == 0) ^ FeaturePcdGet(PcdSerialUseHalfHandshake))) { in SerialReceiveTransmit() 418 Msr.Data = READ_MSR (SerialDevice); in SerialReceiveTransmit() 421 … if ((Msr.Bits.Dcd == 0) || ((Msr.Bits.Cts == 1) ^ FeaturePcdGet(PcdSerialUseHalfHandshake))) { in SerialReceiveTransmit() 909 SERIAL_PORT_MSR Msr; in SerialGetControl() local 922 Msr.Data = READ_MSR (SerialDevice); in SerialGetControl() 924 if (Msr.Bits.Cts == 1) { in SerialGetControl() 928 if (Msr.Bits.Dsr == 1) { in SerialGetControl() 932 if (Msr.Bits.Ri == 1) { in SerialGetControl() [all …]
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Library/ |
D | MtrrLib.h | 66 UINT32 Msr; member 78 UINT32 Msr; member
|
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Library/BaseCacheLib/ |
D | CacheLib.c | 72 UINT32 Msr; member 338 TempQword = (AsmReadMsr64 (mFixedMtrrTable[MsrNum].Msr) & (~ClearMask)) | OrMask; in ProgramFixedMtrr() 339 AsmWriteMsr64 (mFixedMtrrTable[MsrNum].Msr, TempQword); in ProgramFixedMtrr() 611 AsmWriteMsr64 (mFixedMtrrTable[Index].Msr, 0); in ResetCacheAttributes()
|
/device/linaro/bootloader/edk2/IntelFspPkg/Library/BaseCacheLib/ |
D | CacheLib.c | 72 UINT32 Msr; member 338 TempQword = (AsmReadMsr64 (mFixedMtrrTable[MsrNum].Msr) & (~ClearMask)) | OrMask; in ProgramFixedMtrr() 339 AsmWriteMsr64 (mFixedMtrrTable[MsrNum].Msr, TempQword); in ProgramFixedMtrr() 611 AsmWriteMsr64 (mFixedMtrrTable[Index].Msr, 0); in ResetCacheAttributes()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/ |
D | Serial.c | 966 SERIAL_PORT_MSR Msr; in IsaSerialReceiveTransmit() local 1069 Msr.Data = READ_MSR (SerialDevice->IsaIo, SerialDevice->BaseAddress); in IsaSerialReceiveTransmit() 1070 …while ((Msr.Bits.Dcd == 1) && ((Msr.Bits.Cts == 0) ^ FeaturePcdGet(PcdIsaBusSerialUseHalfHandshake… in IsaSerialReceiveTransmit() 1077 Msr.Data = READ_MSR (SerialDevice->IsaIo, SerialDevice->BaseAddress); in IsaSerialReceiveTransmit() 1080 …if ((Msr.Bits.Dcd == 0) || ((Msr.Bits.Cts == 1) ^ FeaturePcdGet(PcdIsaBusSerialUseHalfHandshake)))… in IsaSerialReceiveTransmit() 1655 SERIAL_PORT_MSR Msr; in IsaSerialGetControl() local 1668 Msr.Data = READ_MSR (SerialDevice->IsaIo, SerialDevice->BaseAddress); in IsaSerialGetControl() 1670 if (Msr.Bits.Cts == 1) { in IsaSerialGetControl() 1674 if (Msr.Bits.Dsr == 1) { in IsaSerialGetControl() 1678 if (Msr.Bits.Ri == 1) { in IsaSerialGetControl() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BaseSerialPortLib16550/ |
D | BaseSerialPortLib16550.c | 839 UINT8 Msr; in SerialPortGetControl() local 853 Msr = SerialPortReadRegister (SerialRegisterBase, R_UART_MSR); in SerialPortGetControl() 855 if ((Msr & B_UART_MSR_CTS) == B_UART_MSR_CTS) { in SerialPortGetControl() 859 if ((Msr & B_UART_MSR_DSR) == B_UART_MSR_DSR) { in SerialPortGetControl() 863 if ((Msr & B_UART_MSR_RI) == B_UART_MSR_RI) { in SerialPortGetControl() 867 if ((Msr & B_UART_MSR_DCD) == B_UART_MSR_DCD) { in SerialPortGetControl()
|
/device/linaro/bootloader/edk2/CorebootModulePkg/Library/BaseSerialPortLib16550/ |
D | BaseSerialPortLib16550.c | 840 UINT8 Msr; in SerialPortGetControl() local 854 Msr = SerialPortReadRegister (SerialRegisterBase, R_UART_MSR); in SerialPortGetControl() 856 if ((Msr & B_UART_MSR_CTS) == B_UART_MSR_CTS) { in SerialPortGetControl() 860 if ((Msr & B_UART_MSR_DSR) == B_UART_MSR_DSR) { in SerialPortGetControl() 864 if ((Msr & B_UART_MSR_RI) == B_UART_MSR_RI) { in SerialPortGetControl() 868 if ((Msr & B_UART_MSR_DCD) == B_UART_MSR_DCD) { in SerialPortGetControl()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/ |
D | AcpiCpuData.h | 22 Msr, enumerator
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
D | CpuS3.c | 133 (SPIN_LOCK *)((UINTN)mSmmCpuSemaphores.SemaphoreMsr.Msr + Index * mSemaphoreSize); in InitMsrSpinLockByIndex() 151 mSmmCpuSemaphores.SemaphoreMsr.Msr = in InitMsrSpinLockByIndex() 153 ASSERT (mSmmCpuSemaphores.SemaphoreMsr.Msr != NULL); in InitMsrSpinLockByIndex() 164 (SPIN_LOCK *)((UINTN)mSmmCpuSemaphores.SemaphoreMsr.Msr + in InitMsrSpinLockByIndex() 280 case Msr: in SetProcessorRegister() 837 if ((RegisterTableEntry->RegisterType == Msr) && (RegisterTableEntry->ValidBitLength < 64)) { in CopyRegisterTable()
|
D | PiSmmCpuDxeSmm.h | 387 SPIN_LOCK *Msr; member
|
D | MpService.c | 1296 mSmmCpuSemaphores.SemaphoreMsr.Msr = (SPIN_LOCK *)SemaphoreAddr; in InitializeSmmCpuSemaphores()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/ |
D | SmmStm.c | 556 if (Resource->Msr.MsrIndex != Record->Msr.MsrIndex) { in HandleSingleResource() 559 Record->Msr.ReadMask |= Resource->Msr.ReadMask; in HandleSingleResource() 560 Record->Msr.WriteMask |= Resource->Msr.WriteMask; in HandleSingleResource()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Register/ |
D | StmResourceDescriptor.h | 219 STM_RSC_MSR_DESC Msr; member
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/Guid/ |
D | PlatformCpuInfo.h | 189 EFI_MSR_FEATURES Msr;
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/ |
D | MtrrLib.c | 346 MtrrRegisterRead (mMtrrLibFixedMtrrTable[Index].Msr); in MtrrGetFixedMtrrWorker() 562 VariableMtrr[Index].Msr = (UINT32)Index; in MtrrGetMemoryAttributeInVariableMtrrWorker() 1184 TempQword = MtrrRegisterRead (mMtrrLibFixedMtrrTable[Index].Msr); in MtrrGetMemoryAttributeByAddressWorker() 1546 WorkingFixedSettings.Mtrr[MsrNum] = MtrrRegisterRead (mMtrrLibFixedMtrrTable[MsrNum].Msr); in MtrrSetMemoryAttributeWorker() 1770 mMtrrLibFixedMtrrTable[Index].Msr, in MtrrSetMemoryAttributeWorker() 1969 mMtrrLibFixedMtrrTable[Index].Msr, in MtrrSetFixedMtrrWorker()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/MtrrLib/ |
D | MtrrLib.c | 348 AsmReadMsr64 (mMtrrLibFixedMtrrTable[Index].Msr); in MtrrGetFixedMtrrWorker() 586 VariableMtrr[Index].Msr = (UINT32)Index; in MtrrGetMemoryAttributeInVariableMtrrWorker() 1208 TempQword = AsmReadMsr64 (mMtrrLibFixedMtrrTable[Index].Msr); in MtrrGetMemoryAttributeByAddressWorker() 1571 WorkingFixedSettings.Mtrr[MsrNum] = AsmReadMsr64 (mMtrrLibFixedMtrrTable[MsrNum].Msr); in MtrrSetMemoryAttributeWorker() 1795 mMtrrLibFixedMtrrTable[Index].Msr, in MtrrSetMemoryAttributeWorker() 1994 mMtrrLibFixedMtrrTable[Index].Msr, in MtrrSetFixedMtrrWorker()
|
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/ |
D | FtdiUsbSerialDriver.c | 181 UINT8 Msr; in SetStatusInternal() local 183 Msr = (StatusBuffer[0] & MSR_MASK); in SetStatusInternal() 197 if ((Msr & CTS_MASK) == CTS_MASK) { in SetStatusInternal() 200 if ((Msr & DSR_MASK) == DSR_MASK) { in SetStatusInternal() 203 if ((Msr & RI_MASK) == RI_MASK) { in SetStatusInternal() 206 if ((Msr & SD_MASK) == SD_MASK) { in SetStatusInternal()
|