Home
last modified time | relevance | path

Searched refs:RegVal (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/Omap35xxPkg/Library/OmapDmaLib/
DOmapDmaLib.c43 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/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Library/OmapDmaLib/
DOmapDmaLib.c43 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/
DPlatformConfigPei.c27 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/QuarkPlatformPkg/Library/PlatformHelperLib/
DPlatformHelperLib.c43 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()
173 UINT32 RegVal; in PlatformIsSpiRangeProtected() local
186 RegVal = MmioRead32 (PchRootComplexBar + Offset); in PlatformIsSpiRangeProtected()
[all …]