Searched refs:RegVal (Results 1 – 8 of 8) sorted by relevance
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/OmapDmaLib/ |
D | OmapDmaLib.c | 43 UINT32 RegVal; in EnableDmaChannel() local 58 RegVal = MmioRead32 (DMA4_CSDP (Channel)); in EnableDmaChannel() 61 RegVal = ((RegVal & ~ 0x3) | DMA4->DataType ); in EnableDmaChannel() 62 RegVal = ((RegVal & ~(0x3 << 7)) | (DMA4->ReadPortAccessType << 7)); in EnableDmaChannel() 63 RegVal = ((RegVal & ~(0x3 << 14)) | (DMA4->WritePortAccessType << 14)); in EnableDmaChannel() 64 RegVal = ((RegVal & ~(0x1 << 21)) | (DMA4->SourceEndiansim << 21)); in EnableDmaChannel() 65 RegVal = ((RegVal & ~(0x1 << 19)) | (DMA4->DestinationEndianism << 19)); in EnableDmaChannel() 66 RegVal = ((RegVal & ~(0x3 << 16)) | (DMA4->WriteMode << 16)); in EnableDmaChannel() 67 RegVal = ((RegVal & ~(0x1 << 6)) | (DMA4->SourcePacked << 6)); in EnableDmaChannel() 68 RegVal = ((RegVal & ~(0x1 << 13)) | (DMA4->DestinationPacked << 13)); in EnableDmaChannel() [all …]
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformConfig/ |
D | PlatformConfigPei.c | 27 UINT32 RegVal; in LegacySpiProtect() local 29 RegVal = PcdGet32 (PcdLegacyProtectedBIOSRange0Pei); in LegacySpiProtect() 30 if (RegVal != 0) { in LegacySpiProtect() 32 RegVal, in LegacySpiProtect() 37 RegVal = PcdGet32 (PcdLegacyProtectedBIOSRange1Pei); in LegacySpiProtect() 38 if (RegVal != 0) { in LegacySpiProtect() 40 RegVal, in LegacySpiProtect() 45 RegVal = PcdGet32 (PcdLegacyProtectedBIOSRange2Pei); in LegacySpiProtect() 46 if (RegVal != 0) { in LegacySpiProtect() 48 RegVal, in LegacySpiProtect()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/EbcDebugger/ |
D | EdbCmdRegister.c | 39 UINT64 RegVal; in DebuggerRegister() local 89 RegVal = LXtoi (RegValStr); in DebuggerRegister() 95 SystemContext.SystemContextEbc->R0 = RegVal; in DebuggerRegister() 97 SystemContext.SystemContextEbc->R1 = RegVal; in DebuggerRegister() 99 SystemContext.SystemContextEbc->R2 = RegVal; in DebuggerRegister() 101 SystemContext.SystemContextEbc->R3 = RegVal; in DebuggerRegister() 103 SystemContext.SystemContextEbc->R4 = RegVal; in DebuggerRegister() 105 SystemContext.SystemContextEbc->R5 = RegVal; in DebuggerRegister() 107 SystemContext.SystemContextEbc->R6 = RegVal; in DebuggerRegister() 109 SystemContext.SystemContextEbc->R7 = RegVal; in DebuggerRegister() [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/StyxSataPlatformDxe/ |
D | InitController.c | 70 UINT32 RegVal; in InitializeSataPorts() local 83 RegVal = MmioRead32(AhciBaseAddr + PortRegAddr); in InitializeSataPorts() 85 RegVal |= EFI_AHCI_PORT_CMD_CPD; in InitializeSataPorts() 87 RegVal &= ~EFI_AHCI_PORT_CMD_CPD; in InitializeSataPorts() 89 RegVal |= EFI_AHCI_PORT_CMD_MPSP; in InitializeSataPorts() 91 RegVal &= ~EFI_AHCI_PORT_CMD_MPSP; in InitializeSataPorts() 92 RegVal |= EFI_AHCI_PORT_CMD_HPCP; in InitializeSataPorts() 93 MmioWrite32(AhciBaseAddr + PortRegAddr, RegVal); in InitializeSataPorts()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformHelperLib/ |
D | PlatformHelperLib.c | 43 UINT32 RegVal; in WriteFirstFreeSpiProtect() local 67 RegVal = BaseAddress + StepLen - 1; in WriteFirstFreeSpiProtect() 68 RegVal &= 0x00FFF000; // Set EDS Protected Range Limit (PRL). in WriteFirstFreeSpiProtect() 69 RegVal |= ((BaseAddress >> 12) & 0xfff); // or in EDS Protected Range Base (PRB). in WriteFirstFreeSpiProtect() 71 RegVal = DirectValue; in WriteFirstFreeSpiProtect() 76 RegVal |= B_QNC_RCRB_SPIPBRn_WPE; in WriteFirstFreeSpiProtect() 77 MmioWrite32 (PchRootComplexBar + Offset, RegVal); in WriteFirstFreeSpiProtect() 78 if (RegVal == MmioRead32 (PchRootComplexBar + Offset)) { in WriteFirstFreeSpiProtect() 146 UINT32 RegVal; in PlatformIsSpiRangeProtected() local 159 RegVal = MmioRead32 (PchRootComplexBar + Offset); in PlatformIsSpiRangeProtected() [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/Pp2Dxe/ |
D | Mvpp2Lib.c | 2852 UINT32 RegVal = 0; in Mvpp2BmPoolCtrl() local 2853 RegVal = Mvpp2Read (Priv, MVPP2_BM_POOL_CTRL_REG(Pool)); in Mvpp2BmPoolCtrl() 2857 RegVal |= MVPP2_BM_START_MASK; in Mvpp2BmPoolCtrl() 2861 RegVal |= MVPP2_BM_STOP_MASK; in Mvpp2BmPoolCtrl() 2867 Mvpp2Write (Priv, MVPP2_BM_POOL_CTRL_REG(Pool), RegVal); in Mvpp2BmPoolCtrl() 3171 UINT32 RegVal; in Mvpp2TxqDrainSet() local 3175 RegVal = Mvpp2Read (Port->Priv, MVPP2_TXQ_PREF_BUF_REG); in Mvpp2TxqDrainSet() 3178 RegVal |= MVPP2_TXQ_DRAIN_EN_MASK; in Mvpp2TxqDrainSet() 3180 RegVal &= ~MVPP2_TXQ_DRAIN_EN_MASK; in Mvpp2TxqDrainSet() 3183 Mvpp2Write (Port->Priv, MVPP2_TXQ_PREF_BUF_REG, RegVal); in Mvpp2TxqDrainSet() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/ |
D | EhciReg.c | 594 UINT32 RegVal; in EhcInitHC() local 634 RegVal = EhcReadOpReg(Ehc, (UINT32)(EHC_PORT_STAT_OFFSET + (4 * Index))); in EhcInitHC() 635 RegVal &= ~PORTSC_CHANGE_MASK; in EhcInitHC() 636 RegVal |= PORTSC_POWER; in EhcInitHC() 637 EhcWriteOpReg (Ehc, (UINT32) (EHC_PORT_STAT_OFFSET + (4 * Index)), RegVal); in EhcInitHC()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/ |
D | EhcPeim.c | 416 UINT32 RegVal; in EhcPowerOnAllPorts() local 424 RegVal = EhcReadOpReg(Ehc, EHC_PORT_STAT_OFFSET + 4 * Index); in EhcPowerOnAllPorts() 425 RegVal &= ~PORTSC_CHANGE_MASK; in EhcPowerOnAllPorts() 426 RegVal |= PORTSC_POWER; in EhcPowerOnAllPorts() 427 EhcWriteOpReg (Ehc, EHC_PORT_STAT_OFFSET + 4 * Index, RegVal); in EhcPowerOnAllPorts()
|