Home
last modified time | relevance | path

Searched refs:Address (Results 1 – 25 of 557) sorted by relevance

12345678910>>...23

/device/linaro/bootloader/edk2/MdePkg/Library/BaseS3PciLib/
DS3PciLib.c27 #define PCILIB_TO_COMMON_ADDRESS(Address) \ argument
28 …(UINTN) ((Address>>20) & 0xff)) << 24) + (((UINTN) ((Address>>15) & 0x1f)) << 16) + (((UINTN) ((Ad…
47 IN UINTN Address, in InternalSavePciWriteValueToBootScript() argument
55 PCILIB_TO_COMMON_ADDRESS(Address), in InternalSavePciWriteValueToBootScript()
79 IN UINTN Address, in InternalSavePciWrite8ValueToBootScript() argument
83 InternalSavePciWriteValueToBootScript (S3BootScriptWidthUint8, Address, &Value); in InternalSavePciWrite8ValueToBootScript()
107 IN UINTN Address in S3PciRead8() argument
110 return InternalSavePciWrite8ValueToBootScript (Address, PciRead8 (Address)); in S3PciRead8()
133 IN UINTN Address, in S3PciWrite8() argument
137 return InternalSavePciWrite8ValueToBootScript (Address, PciWrite8 (Address, Value)); in S3PciWrite8()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/
DIoLibIpf.c47 UINT64 Address; in IoRead8() local
52 Address = MAP_PORT_BASE_TO_MEM (Port); in IoRead8()
53 Address += PcdGet64(PcdIoBlockBaseAddressForIpf); in IoRead8()
55 return MmioRead8 (Address); in IoRead8()
76 UINT64 Address; in IoRead16() local
81 Address = MAP_PORT_BASE_TO_MEM (Port); in IoRead16()
82 Address += PcdGet64(PcdIoBlockBaseAddressForIpf); in IoRead16()
84 return MmioRead16 (Address); in IoRead16()
105 UINT64 Address; in IoRead32() local
110 Address = MAP_PORT_BASE_TO_MEM (Port); in IoRead32()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/DxePciLibEsal/
DPciLib.c59 …ine CONVERT_PCI_LIB_ADDRESS_TO_PCI_ESAL_ADDRESS0(Address) ((((Address) >> 4) & 0x00ffff00) | ((Ad… argument
60 #define CONVERT_PCI_LIB_ADDRESS_TO_PCI_ESAL_ADDRESS1(Address) (Address) argument
65 #define IS_PCI_COMPATIBLE_ADDRESS(Address) (((Address) & 0xf00) == 0) argument
84 IN UINTN Address, in DxePciLibEsalReadWorker() argument
90 if (IS_PCI_COMPATIBLE_ADDRESS(Address)) { in DxePciLibEsalReadWorker()
95 CONVERT_PCI_LIB_ADDRESS_TO_PCI_ESAL_ADDRESS0 (Address), in DxePciLibEsalReadWorker()
108 CONVERT_PCI_LIB_ADDRESS_TO_PCI_ESAL_ADDRESS1 (Address), in DxePciLibEsalReadWorker()
140 IN UINTN Address, in DxePciLibEsalWriteWorker() argument
145 if (IS_PCI_COMPATIBLE_ADDRESS(Address)) { in DxePciLibEsalWriteWorker()
150 CONVERT_PCI_LIB_ADDRESS_TO_PCI_ESAL_ADDRESS0 (Address), in DxePciLibEsalWriteWorker()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/DxePciSegmentLibEsal/
DPciLib.c59 …LIB_ADDRESS_TO_PCI_ESAL_ADDRESS0(Address) (((Address >> 8) & 0xff000000) | (((Address) >> 4) & 0x… argument
60 …ERT_PCI_SEGMENT_LIB_ADDRESS_TO_PCI_ESAL_ADDRESS1(Address) (((Address >> 4) & 0xffff0000000) | ((A… argument
65 #define IS_PCI_COMPATIBLE_ADDRESS(Address) (((Address) & 0xf00) == 0) argument
84 IN UINT64 Address, in DxePciSegmentLibEsalReadWorker() argument
90 if (IS_PCI_COMPATIBLE_ADDRESS(Address)) { in DxePciSegmentLibEsalReadWorker()
95 CONVERT_PCI_SEGMENT_LIB_ADDRESS_TO_PCI_ESAL_ADDRESS0 (Address), in DxePciSegmentLibEsalReadWorker()
108 CONVERT_PCI_SEGMENT_LIB_ADDRESS_TO_PCI_ESAL_ADDRESS1 (Address), in DxePciSegmentLibEsalReadWorker()
140 IN UINT64 Address, in DxePciSegmentLibEsalWriteWorker() argument
145 if (IS_PCI_COMPATIBLE_ADDRESS(Address)) { in DxePciSegmentLibEsalWriteWorker()
150 CONVERT_PCI_SEGMENT_LIB_ADDRESS_TO_PCI_ESAL_ADDRESS0 (Address), in DxePciSegmentLibEsalWriteWorker()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciCf8Lib/
DPciLib.c84 IN UINTN Address in PciCf8Read8() argument
87 ASSERT_INVALID_PCI_ADDRESS (Address, 0); in PciCf8Read8()
88 IoWrite32 (PCI_CONFIGURATION_ADDRESS_PORT, PCI_TO_CF8_ADDRESS (Address)); in PciCf8Read8()
89 return IoRead8 (PCI_CONFIGURATION_DATA_PORT + (UINT16)(Address & 3)); in PciCf8Read8()
112 IN UINTN Address, in PciCf8Write8() argument
116 ASSERT_INVALID_PCI_ADDRESS (Address, 0); in PciCf8Write8()
117 IoWrite32 (PCI_CONFIGURATION_ADDRESS_PORT, PCI_TO_CF8_ADDRESS (Address)); in PciCf8Write8()
119 PCI_CONFIGURATION_DATA_PORT + (UINT16)(Address & 3), in PciCf8Write8()
148 IN UINTN Address, in PciCf8Or8() argument
152 ASSERT_INVALID_PCI_ADDRESS (Address, 0); in PciCf8Or8()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/PeiPciSegmentLibPciCfg2/
DPciSegmentLib.c60 IN UINT64 Address in InternalGetPciCfg2Ppi() argument
70 SegmentNumber = BitFieldRead64 (Address, 32, 63); in InternalGetPciCfg2Ppi()
105 IN UINT64 Address, in PeiPciSegmentLibPciCfg2ReadWorker() argument
113 PciCfg2Ppi = InternalGetPciCfg2Ppi (Address); in PeiPciSegmentLibPciCfg2ReadWorker()
114 PciCfg2Address = PCI_TO_PCICFG2_ADDRESS (Address); in PeiPciSegmentLibPciCfg2ReadWorker()
144 IN UINT64 Address, in PeiPciSegmentLibPciCfg2WriteWorker() argument
152 PciCfg2Ppi = InternalGetPciCfg2Ppi (Address); in PeiPciSegmentLibPciCfg2WriteWorker()
153 PciCfg2Address = PCI_TO_PCICFG2_ADDRESS (Address); in PeiPciSegmentLibPciCfg2WriteWorker()
186 IN UINTN Address in PciSegmentRegisterForRuntimeAccess() argument
189 ASSERT_INVALID_PCI_SEGMENT_ADDRESS (Address, 0); in PciSegmentRegisterForRuntimeAccess()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciExpressLib/
DPciLib.c77 IN UINTN Address in PciExpressRead8() argument
80 ASSERT_INVALID_PCI_ADDRESS (Address); in PciExpressRead8()
81 return MmioRead8 ((UINTN) GetPciExpressBaseAddress () + Address); in PciExpressRead8()
103 IN UINTN Address, in PciExpressWrite8() argument
107 ASSERT_INVALID_PCI_ADDRESS (Address); in PciExpressWrite8()
108 return MmioWrite8 ((UINTN) GetPciExpressBaseAddress () + Address, Value); in PciExpressWrite8()
134 IN UINTN Address, in PciExpressOr8() argument
138 ASSERT_INVALID_PCI_ADDRESS (Address); in PciExpressOr8()
139 return MmioOr8 ((UINTN) GetPciExpressBaseAddress () + Address, OrData); in PciExpressOr8()
165 IN UINTN Address, in PciExpressAnd8() argument
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/SmmPciLibPciRootBridgeIo/
DPciLib.c93 IN UINTN Address, in SmmPciLibPciRootBridgeIoReadWorker() argument
102 PCI_TO_PCI_ROOT_BRIDGE_IO_ADDRESS (Address), in SmmPciLibPciRootBridgeIoReadWorker()
128 IN UINTN Address, in SmmPciLibPciRootBridgeIoWriteWorker() argument
136 PCI_TO_PCI_ROOT_BRIDGE_IO_ADDRESS (Address), in SmmPciLibPciRootBridgeIoWriteWorker()
167 IN UINTN Address in PciRegisterForRuntimeAccess() argument
170 ASSERT_INVALID_PCI_ADDRESS (Address, 0); in PciRegisterForRuntimeAccess()
192 IN UINTN Address in PciRead8() argument
195 ASSERT_INVALID_PCI_ADDRESS (Address, 0); in PciRead8()
197 return (UINT8) SmmPciLibPciRootBridgeIoReadWorker (Address, EfiPciWidthUint8); in PciRead8()
219 IN UINTN Address, in PciWrite8() argument
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/UefiPciLibPciRootBridgeIo/
DPciLib.c95 IN UINTN Address, in DxePciLibPciRootBridgeIoReadWorker() argument
104 PCI_TO_PCI_ROOT_BRIDGE_IO_ADDRESS (Address), in DxePciLibPciRootBridgeIoReadWorker()
130 IN UINTN Address, in DxePciLibPciRootBridgeIoWriteWorker() argument
138 PCI_TO_PCI_ROOT_BRIDGE_IO_ADDRESS (Address), in DxePciLibPciRootBridgeIoWriteWorker()
169 IN UINTN Address in PciRegisterForRuntimeAccess() argument
172 ASSERT_INVALID_PCI_ADDRESS (Address, 0); in PciRegisterForRuntimeAccess()
194 IN UINTN Address in PciRead8() argument
197 ASSERT_INVALID_PCI_ADDRESS (Address, 0); in PciRead8()
199 return (UINT8) DxePciLibPciRootBridgeIoReadWorker (Address, EfiPciWidthUint8); in PciRead8()
221 IN UINTN Address, in PciWrite8() argument
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/PeiPciLibPciCfg2/
DPciLib.c63 IN UINTN Address, in PeiPciLibPciCfg2ReadWorker() argument
76 PciCfg2Address = PCI_TO_PCICFG2_ADDRESS (Address); in PeiPciLibPciCfg2ReadWorker()
106 IN UINTN Address, in PeiPciLibPciCfg2WriteWorker() argument
119 PciCfg2Address = PCI_TO_PCICFG2_ADDRESS (Address); in PeiPciLibPciCfg2WriteWorker()
155 IN UINTN Address in PciRegisterForRuntimeAccess() argument
158 ASSERT_INVALID_PCI_ADDRESS (Address, 0); in PciRegisterForRuntimeAccess()
180 IN UINTN Address in PciRead8() argument
183 ASSERT_INVALID_PCI_ADDRESS (Address, 0); in PciRead8()
185 return (UINT8) PeiPciLibPciCfg2ReadWorker (Address, EfiPeiPciCfgWidthUint8); in PciRead8()
207 IN UINTN Address, in PciWrite8() argument
[all …]
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/BaseCachingPciExpressLib/
DPciExpressLib.c64 IN UINTN Address in PciExpressRegisterForRuntimeAccess() argument
67 ASSERT_INVALID_PCI_ADDRESS (Address); in PciExpressRegisterForRuntimeAccess()
116 IN UINTN Address in PciExpressRead8() argument
119 ASSERT_INVALID_PCI_ADDRESS (Address); in PciExpressRead8()
120 return MmioRead8 ((UINTN) GetPciExpressBaseAddress () + Address); in PciExpressRead8()
142 IN UINTN Address, in PciExpressWrite8() argument
146 ASSERT_INVALID_PCI_ADDRESS (Address); in PciExpressWrite8()
147 return MmioWrite8 ((UINTN) GetPciExpressBaseAddress () + Address, Value); in PciExpressWrite8()
173 IN UINTN Address, in PciExpressOr8() argument
177 ASSERT_INVALID_PCI_ADDRESS (Address); in PciExpressOr8()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BasePciExpressLib/
DPciExpressLib.c64 IN UINTN Address in PciExpressRegisterForRuntimeAccess() argument
67 ASSERT_INVALID_PCI_ADDRESS (Address); in PciExpressRegisterForRuntimeAccess()
106 IN UINTN Address in PciExpressRead8() argument
109 ASSERT_INVALID_PCI_ADDRESS (Address); in PciExpressRead8()
110 return MmioRead8 ((UINTN) GetPciExpressBaseAddress () + Address); in PciExpressRead8()
132 IN UINTN Address, in PciExpressWrite8() argument
136 ASSERT_INVALID_PCI_ADDRESS (Address); in PciExpressWrite8()
137 return MmioWrite8 ((UINTN) GetPciExpressBaseAddress () + Address, Value); in PciExpressWrite8()
163 IN UINTN Address, in PciExpressOr8() argument
167 ASSERT_INVALID_PCI_ADDRESS (Address); in PciExpressOr8()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BasePciLibCf8/
DPciLib.c46 IN UINTN Address in PciRegisterForRuntimeAccess() argument
49 return PciCf8RegisterForRuntimeAccess (Address); in PciRegisterForRuntimeAccess()
70 IN UINTN Address in PciRead8() argument
73 return PciCf8Read8 (Address); in PciRead8()
95 IN UINTN Address, in PciWrite8() argument
99 return PciCf8Write8 (Address, Value); in PciWrite8()
125 IN UINTN Address, in PciOr8() argument
129 return PciCf8Or8 (Address, OrData); in PciOr8()
155 IN UINTN Address, in PciAnd8() argument
159 return PciCf8And8 (Address, AndData); in PciAnd8()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BasePciLibPciExpress/
DPciLib.c46 IN UINTN Address in PciRegisterForRuntimeAccess() argument
49 return PciExpressRegisterForRuntimeAccess (Address); in PciRegisterForRuntimeAccess()
70 IN UINTN Address in PciRead8() argument
73 return PciExpressRead8 (Address); in PciRead8()
95 IN UINTN Address, in PciWrite8() argument
99 return PciExpressWrite8 (Address, Value); in PciWrite8()
125 IN UINTN Address, in PciOr8() argument
129 return PciExpressOr8 (Address, OrData); in PciOr8()
155 IN UINTN Address, in PciAnd8() argument
159 return PciExpressAnd8 (Address, AndData); in PciAnd8()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibCf8/
DPciLib.c43 IN UINTN Address in PciRead8() argument
46 return PciCf8Read8 (Address); in PciRead8()
68 IN UINTN Address, in PciWrite8() argument
72 return PciCf8Write8 (Address, Data); in PciWrite8()
98 IN UINTN Address, in PciOr8() argument
102 return PciCf8Or8 (Address, OrData); in PciOr8()
128 IN UINTN Address, in PciAnd8() argument
132 return PciCf8And8 (Address, AndData); in PciAnd8()
160 IN UINTN Address, in PciAndThenOr8() argument
165 return PciCf8AndThenOr8 (Address, AndData, OrData); in PciAndThenOr8()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibPciExpress/
DPciLib.c43 IN UINTN Address in PciRead8() argument
46 return PciExpressRead8 (Address); in PciRead8()
68 IN UINTN Address, in PciWrite8() argument
72 return PciExpressWrite8 (Address, Data); in PciWrite8()
98 IN UINTN Address, in PciOr8() argument
102 return PciExpressOr8 (Address, OrData); in PciOr8()
128 IN UINTN Address, in PciAnd8() argument
132 return PciExpressAnd8 (Address, AndData); in PciAnd8()
160 IN UINTN Address, in PciAndThenOr8() argument
165 return PciExpressAndThenOr8 (Address, AndData, OrData); in PciAndThenOr8()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/
DPciSegmentLib.c142 IN UINT64 Address in PciSegmentLibSearchForRootBridge() argument
153 SegmentNumber = BitFieldRead64 (Address, 32, 63); in PciSegmentLibSearchForRootBridge()
158 BusNumber = BitFieldRead64 (Address, 20, 27); in PciSegmentLibSearchForRootBridge()
183 IN UINT64 Address, in DxePciSegmentLibPciRootBridgeIoReadWorker() argument
190 PciRootBridgeIo = PciSegmentLibSearchForRootBridge (Address); in DxePciSegmentLibPciRootBridgeIoReadWorker()
196 PCI_TO_PCI_ROOT_BRIDGE_IO_ADDRESS (Address), in DxePciSegmentLibPciRootBridgeIoReadWorker()
222 IN UINT64 Address, in DxePciSegmentLibPciRootBridgeIoWriteWorker() argument
229 PciRootBridgeIo = PciSegmentLibSearchForRootBridge (Address); in DxePciSegmentLibPciRootBridgeIoWriteWorker()
235 PCI_TO_PCI_ROOT_BRIDGE_IO_ADDRESS (Address), in DxePciSegmentLibPciRootBridgeIoWriteWorker()
264 IN UINTN Address in PciSegmentRegisterForRuntimeAccess() argument
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/
DIo.c28 IN UINT64 Address in IoRead8() argument
46 EfiIoRead (EfiCpuIoWidthUint8, Address, 1, &Buffer); in IoRead8()
52 IN UINT64 Address in IoRead16() argument
70 EfiIoRead (EfiCpuIoWidthUint16, Address, 1, &Buffer); in IoRead16()
76 IN UINT64 Address in IoRead32() argument
94 EfiIoRead (EfiCpuIoWidthUint32, Address, 1, &Buffer); in IoRead32()
100 IN UINT64 Address, in IoWrite8() argument
117 EfiIoWrite (EfiCpuIoWidthUint8, Address, 1, &Data); in IoWrite8()
122 IN UINT64 Address, in IoWrite16() argument
139 EfiIoWrite (EfiCpuIoWidthUint16, Address, 1, &Data); in IoWrite16()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseIoLibIntrinsic/
DIoLibIpf.c39 UINTN Address; in InternalGetMemoryMapAddress() local
42 Address = MAP_PORT_BASE_TO_MEM (Port); in InternalGetMemoryMapAddress()
49 Address += IoBlockBaseAddress; in InternalGetMemoryMapAddress()
51 return Address; in InternalGetMemoryMapAddress()
271 IN UINTN Address in MmioRead8() argument
276 Address |= BIT63; in MmioRead8()
279 Data = *((volatile UINT8 *) Address); in MmioRead8()
303 IN UINTN Address in MmioRead16() argument
311 ASSERT ((Address & 1) == 0); in MmioRead16()
313 Address |= BIT63; in MmioRead16()
[all …]
DIoLib.c87 IN UINTN Address in MmioRead8() argument
93 Value = *(volatile UINT8*)Address; in MmioRead8()
117 IN UINTN Address, in MmioWrite8() argument
122 *(volatile UINT8*)Address = Value; in MmioWrite8()
146 IN UINTN Address in MmioRead16() argument
151 ASSERT ((Address & 1) == 0); in MmioRead16()
154 Value = *(volatile UINT16*)Address; in MmioRead16()
179 IN UINTN Address, in MmioWrite16() argument
183 ASSERT ((Address & 1) == 0); in MmioWrite16()
186 *(volatile UINT16*)Address = Value; in MmioWrite16()
[all …]
DIoHighLevel.c1210 IN UINTN Address, in MmioOr8() argument
1214 return MmioWrite8 (Address, (UINT8) (MmioRead8 (Address) | OrData)); in MmioOr8()
1238 IN UINTN Address, in MmioAnd8() argument
1242 return MmioWrite8 (Address, (UINT8) (MmioRead8 (Address) & AndData)); in MmioAnd8()
1269 IN UINTN Address, in MmioAndThenOr8() argument
1274 return MmioWrite8 (Address, (UINT8) ((MmioRead8 (Address) & AndData) | OrData)); in MmioAndThenOr8()
1300 IN UINTN Address, in MmioBitFieldRead8() argument
1305 return BitFieldRead8 (MmioRead8 (Address), StartBit, EndBit); in MmioBitFieldRead8()
1334 IN UINTN Address, in MmioBitFieldWrite8() argument
1341 Address, in MmioBitFieldWrite8()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/DxeRuntimePciExpressLib/
DPciExpressLib.c195 IN UINTN Address in GetPciExpressAddress() argument
203 ASSERT (((Address) & ~0xfffffff) == 0); in GetPciExpressAddress()
208 Address += mDxeRuntimePciExpressLibPciExpressBaseAddress; in GetPciExpressAddress()
214 return Address; in GetPciExpressAddress()
220 …ationTable[mDxeRuntimePciExpressLibLastRuntimeRange].PhysicalAddress == (Address & (~0x00000fff)))… in GetPciExpressAddress()
224 …return (Address & 0x00000fff) + mDxeRuntimePciExpressLibRegistrationTable[mDxeRuntimePciExpressLib… in GetPciExpressAddress()
231 …if (mDxeRuntimePciExpressLibRegistrationTable[Index].PhysicalAddress == (Address & (~0x00000fff)))… in GetPciExpressAddress()
239 … return (Address & 0x00000fff) + mDxeRuntimePciExpressLibRegistrationTable[Index].VirtualAddress; in GetPciExpressAddress()
252 return Address; in GetPciExpressAddress()
280 IN UINTN Address in PciExpressRegisterForRuntimeAccess() argument
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/I2CLibPei/
DI2CIoLibPei.c36 IN UINTN Address in I2CLibPeiMmioRead8() argument
41 Value = *(volatile UINT8*)Address; in I2CLibPeiMmioRead8()
63 IN UINTN Address in I2CLibPeiMmioRead16() argument
68 ASSERT ((Address & 1) == 0); in I2CLibPeiMmioRead16()
69 Value = *(volatile UINT16*)Address; in I2CLibPeiMmioRead16()
92 IN UINTN Address, in I2CLibPeiMmioWrite16() argument
96 ASSERT ((Address & 1) == 0); in I2CLibPeiMmioWrite16()
97 *(volatile UINT16*)Address = Value; in I2CLibPeiMmioWrite16()
119 IN UINTN Address in I2CLibPeiMmioRead32() argument
124 ASSERT ((Address & 3) == 0); in I2CLibPeiMmioRead32()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BasePciCf8Lib/
DPciCf8Lib.c88 IN UINTN Address in PciCf8RegisterForRuntimeAccess() argument
91 ASSERT_INVALID_PCI_ADDRESS (Address, 0); in PciCf8RegisterForRuntimeAccess()
114 IN UINTN Address in PciCf8Read8() argument
121 ASSERT_INVALID_PCI_ADDRESS (Address, 0); in PciCf8Read8()
124 IoWrite32 (PCI_CONFIGURATION_ADDRESS_PORT, PCI_TO_CF8_ADDRESS (Address)); in PciCf8Read8()
125 Result = IoRead8 (PCI_CONFIGURATION_DATA_PORT + (UINT16)(Address & 3)); in PciCf8Read8()
151 IN UINTN Address, in PciCf8Write8() argument
159 ASSERT_INVALID_PCI_ADDRESS (Address, 0); in PciCf8Write8()
162 IoWrite32 (PCI_CONFIGURATION_ADDRESS_PORT, PCI_TO_CF8_ADDRESS (Address)); in PciCf8Write8()
164 PCI_CONFIGURATION_DATA_PORT + (UINT16)(Address & 3), in PciCf8Write8()
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuIoPei/
DCpuIoPei.c112 IN UINT64 Address, in CpuIoCheckParameter() argument
167 if (Address > Limit) { in CpuIoCheckParameter()
175 if (Address > LShiftU64 (MaxCount - Count + 1, Width)) { in CpuIoCheckParameter()
207 IN UINT64 Address, in CpuMemoryServiceRead() argument
219 Status = CpuIoCheckParameter (TRUE, Width, Address, Count, Buffer); in CpuMemoryServiceRead()
231 for (Uint8Buffer = Buffer; Count > 0; Address += InStride, Uint8Buffer += OutStride, Count--) { in CpuMemoryServiceRead()
233 *Uint8Buffer = MmioRead8 ((UINTN)Address); in CpuMemoryServiceRead()
236 *((UINT16 *)Uint8Buffer) = MmioRead16 ((UINTN)Address); in CpuMemoryServiceRead()
238 WriteUnaligned16 ((UINT16 *)Uint8Buffer, MmioRead16 ((UINTN)Address)); in CpuMemoryServiceRead()
242 *((UINT32 *)Uint8Buffer) = MmioRead32 ((UINTN)Address); in CpuMemoryServiceRead()
[all …]

12345678910>>...23