Searched refs:RegVal (Results 1 – 4 of 4) sorted by relevance
43 UINT32 RegVal; in EnableDmaChannel() local58 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 …]
27 UINT32 RegVal; in LegacySpiProtect() local29 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()
43 UINT32 RegVal; in WriteFirstFreeSpiProtect() local67 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()173 UINT32 RegVal; in PlatformIsSpiRangeProtected() local186 RegVal = MmioRead32 (PchRootComplexBar + Offset); in PlatformIsSpiRangeProtected()[all …]