/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseCacheMaintenanceLib/ |
H A D | EbcCache.c | 45 Invalidates the instruction cache lines specified by Address and Length. If
46 Address is not aligned on a cache line boundary, then entire instruction
47 cache line containing Address is invalidated. If Address + Length is not
49 containing Address + Length -1 is invalidated. This function may choose to
52 lines are invalidated. Address is returned.
54 If Length is greater than (MAX_ADDRESS - Address + 1), then ASSERT().
56 @param Address The base address of the instruction cache lines to
58 Address is a physical address. If the CPU is in a virtual
59 addressing mode, then Address i 68 InvalidateInstructionCacheRange( IN VOID *Address, IN UINTN Length ) argument 123 WriteBackInvalidateDataCacheRange( IN VOID *Address, IN UINTN Length ) argument 177 WriteBackDataCacheRange( IN VOID *Address, IN UINTN Length ) argument 234 InvalidateDataCacheRange( IN VOID *Address, IN UINTN Length ) argument [all...] |
H A D | IpfCache.c | 46 Invalidates the instruction cache lines specified by Address and Length. If
47 Address is not aligned on a cache line boundary, then entire instruction
48 cache line containing Address is invalidated. If Address + Length is not
50 containing Address + Length -1 is invalidated. This function may choose to
53 lines are invalidated. Address is returned.
55 If Length is greater than (MAX_ADDRESS - Address + 1), then ASSERT().
57 @param Address The base address of the instruction cache lines to
59 Address is a physical address. If the CPU is in a virtual
60 addressing mode, then Address i 69 InvalidateInstructionCacheRange( IN VOID *Address, IN UINTN Length ) argument 124 WriteBackInvalidateDataCacheRange( IN VOID *Address, IN UINTN Length ) argument 180 WriteBackDataCacheRange( IN VOID *Address, IN UINTN Length ) argument 239 InvalidateDataCacheRange( IN VOID *Address, IN UINTN Length ) argument [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/ |
H A D | IoLibIpf.c | 47 UINT64 Address;
local 52 Address = MAP_PORT_BASE_TO_MEM (Port);
53 Address += PcdGet64(PcdIoBlockBaseAddressForIpf);
55 return MmioRead8 (Address);
76 UINT64 Address;
local 81 Address = MAP_PORT_BASE_TO_MEM (Port);
82 Address += PcdGet64(PcdIoBlockBaseAddressForIpf);
84 return MmioRead16 (Address);
105 UINT64 Address;
local 110 Address 160 UINT64 Address; local 191 UINT64 Address; local 222 UINT64 Address; local 391 MmioWrite8( IN UINT64 Address, IN UINT8 Data ) argument 420 MmioWrite16( IN UINT64 Address, IN UINT16 Data ) argument 449 MmioWrite32( IN UINT64 Address, IN UINT32 Data ) argument 478 MmioWrite64( IN UINT64 Address, IN UINT64 Data ) argument [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/BaseCacheMaintenanceLib/ |
H A D | EbcCache.c | 35 Invalidates the instruction cache lines specified by Address and Length. If
36 Address is not aligned on a cache line boundary, then entire instruction
37 cache line containing Address is invalidated. If Address + Length is not
39 containing Address + Length -1 is invalidated. This function may choose to
42 lines are invalidated. Address is returned.
44 If Length is greater than (MAX_ADDRESS - Address + 1), then ASSERT().
46 @param Address The base address of the instruction cache lines to
48 Address is a physical address. If the CPU is in a virtual
49 addressing mode, then Address i 58 InvalidateInstructionCacheRange( IN VOID *Address, IN UINTN Length ) argument 113 WriteBackInvalidateDataCacheRange( IN VOID *Address, IN UINTN Length ) argument 167 WriteBackDataCacheRange( IN VOID *Address, IN UINTN Length ) argument 224 InvalidateDataCacheRange( IN VOID *Address, IN UINTN Length ) argument [all...] |
H A D | X86Cache.c | 37 Invalidates the instruction cache lines specified by Address and Length. If
38 Address is not aligned on a cache line boundary, then entire instruction
39 cache line containing Address is invalidated. If Address + Length is not
41 containing Address + Length -1 is invalidated. This function may choose to
44 lines are invalidated. Address is returned.
46 If Length is greater than (MAX_ADDRESS - Address + 1), then ASSERT().
48 @param Address The base address of the instruction cache lines to
50 Address is a physical address. If the CPU is in a virtual
51 addressing mode, then Address i 60 InvalidateInstructionCacheRange( IN VOID *Address, IN UINTN Length ) argument 120 WriteBackInvalidateDataCacheRange( IN VOID *Address, IN UINTN Length ) argument 211 WriteBackDataCacheRange( IN VOID *Address, IN UINTN Length ) argument 268 InvalidateDataCacheRange( IN VOID *Address, IN UINTN Length ) argument [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ipf/ |
H A D | FlushCacheRange.c | 22 Flushes the cache lines specified by Address and Length. If Address is not aligned
23 on a cache line boundary, then entire cache line containing Address is flushed.
24 If Address + Length is not aligned on a cache line boundary, then the entire cache
25 line containing Address + Length - 1 is flushed. This function may choose to flush
27 Length is 0, the no cache lines are flushed. Address is returned.
30 If Length is greater than (MAX_ADDRESS - Address + 1), then ASSERT().
32 @param Address The base address of the instruction lines to invalidate. If
33 the CPU is in a physical addressing mode, then Address is a
35 then Address i 44 AsmFlushCacheRange( IN VOID *Address, IN UINTN Length ) argument [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/I2CLibPei/ |
H A D | I2CIoLibPei.c | 22 Reads the 8-bit MMIO register specified by Address. The 8-bit read value is
28 @param Address The MMIO register to read.
36 IN UINTN Address
41 Value = *(volatile UINT8*)Address;
48 Reads the 16-bit MMIO register specified by Address. The 16-bit read value is
53 If Address is not aligned on a 16-bit boundary, then ASSERT().
55 @param Address The MMIO register to read.
63 IN UINTN Address
68 ASSERT ((Address & 1) == 0);
69 Value = *(volatile UINT16*)Address;
91 I2CLibPeiMmioWrite16( IN UINTN Address, IN UINT16 Value ) argument 148 I2CLibPeiMmioWrite32( IN UINTN Address, IN UINT32 Value ) argument 176 I2CLibPeiMmioOr32( IN UINTN Address, IN UINT32 OrData ) argument [all...] |
H A D | I2CIoLibPei.h | 24 Reads the 8-bit MMIO register specified by Address. The 8-bit read value is
30 @param Address The MMIO register to read.
39 IN UINTN Address
46 Reads the 16-bit MMIO register specified by Address. The 16-bit read value is
51 If Address is not aligned on a 16-bit boundary, then ASSERT().
53 @param Address The MMIO register to read.
61 IN UINTN Address
68 Writes the 16-bit MMIO register specified by Address with the value specified
73 If Address is not aligned on a 16-bit boundary, then ASSERT().
75 @param Address Th [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/BaseIoLibIntrinsic/ |
H A D | IoLib.c | 73 Reads the 8-bit MMIO register specified by Address. The 8-bit read value is
79 @param Address The MMIO register to read.
87 IN UINTN Address
93 Value = *(volatile UINT8*)Address;
102 Writes the 8-bit MMIO register specified by Address with the value specified
108 @param Address The MMIO register to write.
117 IN UINTN Address,
122 *(volatile UINT8*)Address = Value;
131 Reads the 16-bit MMIO register specified by Address. The 16-bit read value is
136 If Address i 116 MmioWrite8( IN UINTN Address, IN UINT8 Value ) argument 178 MmioWrite16( IN UINTN Address, IN UINT16 Value ) argument 242 MmioWrite32( IN UINTN Address, IN UINT32 Value ) argument 304 MmioWrite64( IN UINTN Address, IN UINT64 Value ) argument [all...] |
H A D | IoLibIpf.c | 39 UINTN Address;
local 42 Address = MAP_PORT_BASE_TO_MEM (Port);
49 Address += IoBlockBaseAddress;
51 return Address;
257 Reads the 8-bit MMIO register specified by Address. The 8-bit read value is
263 @param Address The MMIO register to read.
271 IN UINTN Address
276 Address |= BIT63;
279 Data = *((volatile UINT8 *) Address);
288 Reads the 16-bit MMIO register specified by Address 414 MmioWrite8( IN UINTN Address, IN UINT8 Value ) argument 446 MmioWrite16( IN UINTN Address, IN UINT16 Value ) argument 483 MmioWrite32( IN UINTN Address, IN UINT32 Value ) argument 518 MmioWrite64( IN UINTN Address, IN UINT64 Value ) argument [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/ |
H A D | Io.c | 28 IN UINT64 Address
36 Address - IO address to read
46 EfiIoRead (EfiCpuIoWidthUint8, Address, 1, &Buffer);
52 IN UINT64 Address
60 Address - IO address to read
70 EfiIoRead (EfiCpuIoWidthUint16, Address, 1, &Buffer);
76 IN UINT64 Address
84 Address - IO address to read
94 EfiIoRead (EfiCpuIoWidthUint32, Address, 1, &Buffer);
100 IN UINT64 Address,
99 IoWrite8( IN UINT64 Address, IN UINT8 Data ) argument 121 IoWrite16( IN UINT64 Address, IN UINT16 Data ) argument 143 IoWrite32( IN UINT64 Address, IN UINT32 Data ) argument 261 MemWrite8( IN UINT64 Address, IN UINT8 Data ) argument 283 MemWrite16( IN UINT64 Address, IN UINT16 Data ) argument 305 MemWrite32( IN UINT64 Address, IN UINT32 Data ) argument 327 MemWrite64( IN UINT64 Address, IN UINT64 Data ) argument [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/Include/ |
H A D | SimpleCpuIoLib.h | 30 IN UINT64 Address
35 IN UINT64 Address
40 IN UINT64 Address
45 IN UINT64 Address,
51 IN UINT64 Address,
57 IN UINT64 Address,
63 IN UINT64 Address
68 IN UINT64 Address
73 IN UINT64 Address,
79 IN UINT64 Address,
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciCf8Lib/ |
H A D | PciLib.c | 33 // PCI Library formatted address CF8 Formatted Address
68 Reads and returns the 8-bit PCI configuration register specified by Address.
72 If Address > 0x0FFFFFFF, then ASSERT().
73 If the register specified by Address >= 0x100, then ASSERT().
75 @param Address Address that encodes the PCI Bus, Device, Function and
84 IN UINTN Address
87 ASSERT_INVALID_PCI_ADDRESS (Address, 0);
88 IoWrite32 (PCI_CONFIGURATION_ADDRESS_PORT, PCI_TO_CF8_ADDRESS (Address));
89 return IoRead8 (PCI_CONFIGURATION_DATA_PORT + (UINT16)(Address 111 PciCf8Write8( IN UINTN Address, IN UINT8 Value ) argument 147 PciCf8Or8( IN UINTN Address, IN UINT8 OrData ) argument 183 PciCf8And8( IN UINTN Address, IN UINT8 AndData ) argument 221 PciCf8AndThenOr8( IN UINTN Address, IN UINT8 AndData, IN UINT8 OrData ) argument 260 PciCf8BitFieldRead8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 301 PciCf8BitFieldWrite8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 Value ) argument 347 PciCf8BitFieldOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 OrData ) argument 393 PciCf8BitFieldAnd8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData ) argument 442 PciCf8BitFieldAndThenOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData, IN UINT8 OrData ) argument 509 PciCf8Write16( IN UINTN Address, IN UINT16 Value ) argument 546 PciCf8Or16( IN UINTN Address, IN UINT16 OrData ) argument 583 PciCf8And16( IN UINTN Address, IN UINT16 AndData ) argument 622 PciCf8AndThenOr16( IN UINTN Address, IN UINT16 AndData, IN UINT16 OrData ) argument 662 PciCf8BitFieldRead16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 704 PciCf8BitFieldWrite16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 Value ) argument 751 PciCf8BitFieldOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 OrData ) argument 798 PciCf8BitFieldAnd16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData ) argument 848 PciCf8BitFieldAndThenOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData, IN UINT16 OrData ) argument 915 PciCf8Write32( IN UINTN Address, IN UINT32 Value ) argument 952 PciCf8Or32( IN UINTN Address, IN UINT32 OrData ) argument 989 PciCf8And32( IN UINTN Address, IN UINT32 AndData ) argument 1028 PciCf8AndThenOr32( IN UINTN Address, IN UINT32 AndData, IN UINT32 OrData ) argument 1068 PciCf8BitFieldRead32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 1110 PciCf8BitFieldWrite32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 Value ) argument 1157 PciCf8BitFieldOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 OrData ) argument 1204 PciCf8BitFieldAnd32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData ) argument 1254 PciCf8BitFieldAndThenOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData, IN UINT32 OrData ) argument [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibCf8/ |
H A D | PciLib.c | 28 Reads and returns the 8-bit PCI configuration register specified by Address.
32 If Address > 0x0FFFFFFF, then ASSERT().
34 @param Address Address that encodes the PCI Bus, Device, Function and
43 IN UINTN Address
46 return PciCf8Read8 (Address);
52 Writes the 8-bit PCI configuration register specified by Address with the
56 If Address > 0x0FFFFFFF, then ASSERT().
58 @param Address Address tha 67 PciWrite8( IN UINTN Address, IN UINT8 Data ) argument 97 PciOr8( IN UINTN Address, IN UINT8 OrData ) argument 127 PciAnd8( IN UINTN Address, IN UINT8 AndData ) argument 159 PciAndThenOr8( IN UINTN Address, IN UINT8 AndData, IN UINT8 OrData ) argument 191 PciBitFieldRead8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 225 PciBitFieldWrite8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 Value ) argument 263 PciBitFieldOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 OrData ) argument 301 PciBitFieldAnd8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData ) argument 342 PciBitFieldAndThenOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData, IN UINT8 OrData ) argument 395 PciWrite16( IN UINTN Address, IN UINT16 Data ) argument 425 PciOr16( IN UINTN Address, IN UINT16 OrData ) argument 455 PciAnd16( IN UINTN Address, IN UINT16 AndData ) argument 487 PciAndThenOr16( IN UINTN Address, IN UINT16 AndData, IN UINT16 OrData ) argument 519 PciBitFieldRead16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 553 PciBitFieldWrite16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 Value ) argument 591 PciBitFieldOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 OrData ) argument 629 PciBitFieldAnd16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData ) argument 670 PciBitFieldAndThenOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData, IN UINT16 OrData ) argument 723 PciWrite32( IN UINTN Address, IN UINT32 Data ) argument 753 PciOr32( IN UINTN Address, IN UINT32 OrData ) argument 783 PciAnd32( IN UINTN Address, IN UINT32 AndData ) argument 815 PciAndThenOr32( IN UINTN Address, IN UINT32 AndData, IN UINT32 OrData ) argument 847 PciBitFieldRead32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 881 PciBitFieldWrite32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 Value ) argument 919 PciBitFieldOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 OrData ) argument 957 PciBitFieldAnd32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData ) argument 998 PciBitFieldAndThenOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData, IN UINT32 OrData ) argument [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibPciExpress/ |
H A D | PciLib.c | 28 Reads and returns the 8-bit PCI configuration register specified by Address.
32 If Address > 0x0FFFFFFF, then ASSERT().
34 @param Address Address that encodes the PCI Bus, Device, Function and
43 IN UINTN Address
46 return PciExpressRead8 (Address);
52 Writes the 8-bit PCI configuration register specified by Address with the
56 If Address > 0x0FFFFFFF, then ASSERT().
58 @param Address Address tha 67 PciWrite8( IN UINTN Address, IN UINT8 Data ) argument 97 PciOr8( IN UINTN Address, IN UINT8 OrData ) argument 127 PciAnd8( IN UINTN Address, IN UINT8 AndData ) argument 159 PciAndThenOr8( IN UINTN Address, IN UINT8 AndData, IN UINT8 OrData ) argument 191 PciBitFieldRead8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 225 PciBitFieldWrite8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 Value ) argument 263 PciBitFieldOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 OrData ) argument 301 PciBitFieldAnd8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData ) argument 342 PciBitFieldAndThenOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData, IN UINT8 OrData ) argument 395 PciWrite16( IN UINTN Address, IN UINT16 Data ) argument 425 PciOr16( IN UINTN Address, IN UINT16 OrData ) argument 455 PciAnd16( IN UINTN Address, IN UINT16 AndData ) argument 487 PciAndThenOr16( IN UINTN Address, IN UINT16 AndData, IN UINT16 OrData ) argument 519 PciBitFieldRead16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 553 PciBitFieldWrite16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 Value ) argument 591 PciBitFieldOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 OrData ) argument 629 PciBitFieldAnd16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData ) argument 670 PciBitFieldAndThenOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData, IN UINT16 OrData ) argument 723 PciWrite32( IN UINTN Address, IN UINT32 Data ) argument 753 PciOr32( IN UINTN Address, IN UINT32 OrData ) argument 783 PciAnd32( IN UINTN Address, IN UINT32 AndData ) argument 815 PciAndThenOr32( IN UINTN Address, IN UINT32 AndData, IN UINT32 OrData ) argument 847 PciBitFieldRead32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 881 PciBitFieldWrite32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 Value ) argument 919 PciBitFieldOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 OrData ) argument 957 PciBitFieldAnd32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData ) argument 998 PciBitFieldAndThenOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData, IN UINT32 OrData ) argument [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/DxePciLibEsal/ |
H A D | PciLib.c | 36 Converts a PCI Library Address to a ESAL PCI Service Address.
37 Based on SAL Spec 3.2, there are two SAL PCI Address:
56 @param A The PCI Library Address to convert.
59 #define CONVERT_PCI_LIB_ADDRESS_TO_PCI_ESAL_ADDRESS0(Address) ((((Address) >> 4) & 0x00ffff00) | ((Address) & 0xff))
60 #define CONVERT_PCI_LIB_ADDRESS_TO_PCI_ESAL_ADDRESS1(Address) (Address)
63 Check a PCI Library Address i 83 DxePciLibEsalReadWorker( IN UINTN Address, IN UINTN Width ) argument 139 DxePciLibEsalWriteWorker( IN UINTN Address, IN UINTN Width, IN UINT32 Data ) argument 248 PciWrite8( IN UINTN Address, IN UINT8 Data ) argument 280 PciOr8( IN UINTN Address, IN UINT8 OrData ) argument 310 PciAnd8( IN UINTN Address, IN UINT8 AndData ) argument 342 PciAndThenOr8( IN UINTN Address, IN UINT8 AndData, IN UINT8 OrData ) argument 374 PciBitFieldRead8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 409 PciBitFieldWrite8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 Value ) argument 451 PciBitFieldOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 OrData ) argument 493 PciBitFieldAnd8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData ) argument 539 PciBitFieldAndThenOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData, IN UINT8 OrData ) argument 599 PciWrite16( IN UINTN Address, IN UINT16 Data ) argument 632 PciOr16( IN UINTN Address, IN UINT16 OrData ) argument 663 PciAnd16( IN UINTN Address, IN UINT16 AndData ) argument 696 PciAndThenOr16( IN UINTN Address, IN UINT16 AndData, IN UINT16 OrData ) argument 729 PciBitFieldRead16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 765 PciBitFieldWrite16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 Value ) argument 808 PciBitFieldOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 OrData ) argument 851 PciBitFieldAnd16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData ) argument 898 PciBitFieldAndThenOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData, IN UINT16 OrData ) argument 958 PciWrite32( IN UINTN Address, IN UINT32 Data ) argument 991 PciOr32( IN UINTN Address, IN UINT32 OrData ) argument 1022 PciAnd32( IN UINTN Address, IN UINT32 AndData ) argument 1055 PciAndThenOr32( IN UINTN Address, IN UINT32 AndData, IN UINT32 OrData ) argument 1088 PciBitFieldRead32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 1124 PciBitFieldWrite32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 Value ) argument 1167 PciBitFieldOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 OrData ) argument 1210 PciBitFieldAnd32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData ) argument 1257 PciBitFieldAndThenOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData, IN UINT32 OrData ) argument [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/DxePciSegmentLibEsal/ |
H A D | PciLib.c | 36 Converts a PCI Library Address to a ESAL PCI Service Address.
37 Based on SAL Spec 3.2, there are two SAL PCI Address:
56 @param A The PCI Library Address to convert.
59 #define CONVERT_PCI_SEGMENT_LIB_ADDRESS_TO_PCI_ESAL_ADDRESS0(Address) (((Address >> 8) & 0xff000000) | (((Address) >> 4) & 0x00ffff00) | ((Address) & 0xff))
60 #define CONVERT_PCI_SEGMENT_LIB_ADDRESS_TO_PCI_ESAL_ADDRESS1(Address) (((Address >> 83 DxePciSegmentLibEsalReadWorker( IN UINT64 Address, IN UINTN Width ) argument 139 DxePciSegmentLibEsalWriteWorker( IN UINT64 Address, IN UINTN Width, IN UINT32 Data ) argument 220 PciSegmentWrite8( IN UINT64 Address, IN UINT8 Data ) argument 252 PciSegmentOr8( IN UINT64 Address, IN UINT8 OrData ) argument 282 PciSegmentAnd8( IN UINT64 Address, IN UINT8 AndData ) argument 314 PciSegmentAndThenOr8( IN UINT64 Address, IN UINT8 AndData, IN UINT8 OrData ) argument 346 PciSegmentBitFieldRead8( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit ) argument 381 PciSegmentBitFieldWrite8( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 Value ) argument 423 PciSegmentBitFieldOr8( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 OrData ) argument 465 PciSegmentBitFieldAnd8( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData ) argument 511 PciSegmentBitFieldAndThenOr8( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData, IN UINT8 OrData ) argument 569 PciSegmentWrite16( IN UINT64 Address, IN UINT16 Data ) argument 601 PciSegmentOr16( IN UINT64 Address, IN UINT16 OrData ) argument 631 PciSegmentAnd16( IN UINT64 Address, IN UINT16 AndData ) argument 663 PciSegmentAndThenOr16( IN UINT64 Address, IN UINT16 AndData, IN UINT16 OrData ) argument 695 PciSegmentBitFieldRead16( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit ) argument 730 PciSegmentBitFieldWrite16( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 Value ) argument 772 PciSegmentBitFieldOr16( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 OrData ) argument 814 PciSegmentBitFieldAnd16( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData ) argument 860 PciSegmentBitFieldAndThenOr16( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData, IN UINT16 OrData ) argument 918 PciSegmentWrite32( IN UINT64 Address, IN UINT32 Data ) argument 950 PciSegmentOr32( IN UINT64 Address, IN UINT32 OrData ) argument 980 PciSegmentAnd32( IN UINT64 Address, IN UINT32 AndData ) argument 1012 PciSegmentAndThenOr32( IN UINT64 Address, IN UINT32 AndData, IN UINT32 OrData ) argument 1044 PciSegmentBitFieldRead32( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit ) argument 1079 PciSegmentBitFieldWrite32( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 Value ) argument 1121 PciSegmentBitFieldOr32( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 OrData ) argument 1163 PciSegmentBitFieldAnd32( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData ) argument 1209 PciSegmentBitFieldAndThenOr32( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData, IN UINT32 OrData ) argument [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/BaseS3PciLib/ |
H A D | S3PciLib.c | 27 #define PCILIB_TO_COMMON_ADDRESS(Address) \
28 ((UINT64) ((((UINTN) ((Address>>20) & 0xff)) << 24) + (((UINTN) ((Address>>15) & 0x1f)) << 16) + (((UINTN) ((Address>>12) & 0x07)) << 8) + ((UINTN) (Address & 0xfff ))))
39 @param Address Address that encodes the PCI Bus, Device, Function and
47 IN UINTN Address,
55 PCILIB_TO_COMMON_ADDRESS(Address),
70 @param Address Addres 45 InternalSavePciWriteValueToBootScript( IN S3_BOOT_SCRIPT_LIB_WIDTH Width, IN UINTN Address, IN VOID *Buffer ) argument 78 InternalSavePciWrite8ValueToBootScript( IN UINTN Address, IN UINT8 Value ) argument 132 S3PciWrite8( IN UINTN Address, IN UINT8 Value ) argument 162 S3PciOr8( IN UINTN Address, IN UINT8 OrData ) argument 192 S3PciAnd8( IN UINTN Address, IN UINT8 AndData ) argument 225 S3PciAndThenOr8( IN UINTN Address, IN UINT8 AndData, IN UINT8 OrData ) argument 258 S3PciBitFieldRead8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 294 S3PciBitFieldWrite8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 Value ) argument 334 S3PciBitFieldOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 OrData ) argument 374 S3PciBitFieldAnd8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData ) argument 417 S3PciBitFieldAndThenOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData, IN UINT8 OrData ) argument 444 InternalSavePciWrite16ValueToBootScript( IN UINTN Address, IN UINT16 Value ) argument 500 S3PciWrite16( IN UINTN Address, IN UINT16 Value ) argument 531 S3PciOr16( IN UINTN Address, IN UINT16 OrData ) argument 562 S3PciAnd16( IN UINTN Address, IN UINT16 AndData ) argument 596 S3PciAndThenOr16( IN UINTN Address, IN UINT16 AndData, IN UINT16 OrData ) argument 630 S3PciBitFieldRead16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 667 S3PciBitFieldWrite16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 Value ) argument 708 S3PciBitFieldOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 OrData ) argument 749 S3PciBitFieldAnd16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData ) argument 793 S3PciBitFieldAndThenOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData, IN UINT16 OrData ) argument 820 InternalSavePciWrite32ValueToBootScript( IN UINTN Address, IN UINT32 Value ) argument 876 S3PciWrite32( IN UINTN Address, IN UINT32 Value ) argument 907 S3PciOr32( IN UINTN Address, IN UINT32 OrData ) argument 938 S3PciAnd32( IN UINTN Address, IN UINT32 AndData ) argument 972 S3PciAndThenOr32( IN UINTN Address, IN UINT32 AndData, IN UINT32 OrData ) argument 1006 S3PciBitFieldRead32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 1043 S3PciBitFieldWrite32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 Value ) argument 1084 S3PciBitFieldOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 OrData ) argument 1125 S3PciBitFieldAnd32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData ) argument 1169 S3PciBitFieldAndThenOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData, IN UINT32 OrData ) argument [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/PeiPciSegmentLibPciCfg2/ |
H A D | PciSegmentLib.c | 52 @param Address The address that encodes the PCI Segment, Bus, Device,
60 IN UINT64 Address
70 SegmentNumber = BitFieldRead64 (Address, 32, 63);
93 It reads and returns the PCI configuration register specified by Address,
96 @param Address The address that encodes the PCI Bus, Device, Function and
105 IN UINT64 Address,
113 PciCfg2Ppi = InternalGetPciCfg2Ppi (Address);
114 PciCfg2Address = PCI_TO_PCICFG2_ADDRESS (Address);
130 It writes the PCI configuration register specified by Address with the
134 @param Address Th 104 PeiPciSegmentLibPciCfg2ReadWorker( IN UINT64 Address, IN EFI_PEI_PCI_CFG_PPI_WIDTH Width ) argument 143 PeiPciSegmentLibPciCfg2WriteWorker( IN UINT64 Address, IN EFI_PEI_PCI_CFG_PPI_WIDTH Width, IN UINT32 Data ) argument 234 PciSegmentWrite8( IN UINT64 Address, IN UINT8 Value ) argument 263 PciSegmentOr8( IN UINT64 Address, IN UINT8 OrData ) argument 289 PciSegmentAnd8( IN UINT64 Address, IN UINT8 AndData ) argument 319 PciSegmentAndThenOr8( IN UINT64 Address, IN UINT8 AndData, IN UINT8 OrData ) argument 351 PciSegmentBitFieldRead8( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit ) argument 386 PciSegmentBitFieldWrite8( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 Value ) argument 428 PciSegmentBitFieldOr8( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 OrData ) argument 470 PciSegmentBitFieldAnd8( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData ) argument 516 PciSegmentBitFieldAndThenOr8( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData, IN UINT8 OrData ) argument 572 PciSegmentWrite16( IN UINT64 Address, IN UINT16 Value ) argument 605 PciSegmentOr16( IN UINT64 Address, IN UINT16 OrData ) argument 633 PciSegmentAnd16( IN UINT64 Address, IN UINT16 AndData ) argument 664 PciSegmentAndThenOr16( IN UINT64 Address, IN UINT16 AndData, IN UINT16 OrData ) argument 697 PciSegmentBitFieldRead16( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit ) argument 733 PciSegmentBitFieldWrite16( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 Value ) argument 770 PciSegmentBitFieldOr16( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 OrData ) argument 813 PciSegmentBitFieldAnd16( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData ) argument 859 PciSegmentBitFieldAndThenOr16( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData, IN UINT16 OrData ) argument 917 PciSegmentWrite32( IN UINT64 Address, IN UINT32 Value ) argument 947 PciSegmentOr32( IN UINT64 Address, IN UINT32 OrData ) argument 976 PciSegmentAnd32( IN UINT64 Address, IN UINT32 AndData ) argument 1008 PciSegmentAndThenOr32( IN UINT64 Address, IN UINT32 AndData, IN UINT32 OrData ) argument 1041 PciSegmentBitFieldRead32( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit ) argument 1077 PciSegmentBitFieldWrite32( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 Value ) argument 1119 PciSegmentBitFieldOr32( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 OrData ) argument 1161 PciSegmentBitFieldAnd32( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData ) argument 1207 PciSegmentBitFieldAndThenOr32( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData, IN UINT32 OrData ) argument [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/PeiPciLibPciCfg2/ |
H A D | PciLib.c | 51 It reads and returns the PCI configuration register specified by Address,
54 @param Address The address that encodes the PCI Bus, Device, Function and
63 IN UINTN Address,
76 PciCfg2Address = PCI_TO_PCICFG2_ADDRESS (Address);
92 It writes the PCI configuration register specified by Address with the
96 @param Address The address that encodes the PCI Bus, Device, Function and
106 IN UINTN Address,
119 PciCfg2Address = PCI_TO_PCICFG2_ADDRESS (Address);
135 Registers the PCI device specified by Address so all the PCI configuration registers
138 If Address > 62 PeiPciLibPciCfg2ReadWorker( IN UINTN Address, IN EFI_PEI_PCI_CFG_PPI_WIDTH Width ) argument 105 PeiPciLibPciCfg2WriteWorker( IN UINTN Address, IN EFI_PEI_PCI_CFG_PPI_WIDTH Width, IN UINT32 Data ) argument 206 PciWrite8( IN UINTN Address, IN UINT8 Value ) argument 238 PciOr8( IN UINTN Address, IN UINT8 OrData ) argument 268 PciAnd8( IN UINTN Address, IN UINT8 AndData ) argument 300 PciAndThenOr8( IN UINTN Address, IN UINT8 AndData, IN UINT8 OrData ) argument 332 PciBitFieldRead8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 367 PciBitFieldWrite8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 Value ) argument 409 PciBitFieldOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 OrData ) argument 451 PciBitFieldAnd8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData ) argument 497 PciBitFieldAndThenOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData, IN UINT8 OrData ) argument 557 PciWrite16( IN UINTN Address, IN UINT16 Value ) argument 590 PciOr16( IN UINTN Address, IN UINT16 OrData ) argument 621 PciAnd16( IN UINTN Address, IN UINT16 AndData ) argument 654 PciAndThenOr16( IN UINTN Address, IN UINT16 AndData, IN UINT16 OrData ) argument 687 PciBitFieldRead16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 723 PciBitFieldWrite16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 Value ) argument 766 PciBitFieldOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 OrData ) argument 809 PciBitFieldAnd16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData ) argument 856 PciBitFieldAndThenOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData, IN UINT16 OrData ) argument 916 PciWrite32( IN UINTN Address, IN UINT32 Value ) argument 949 PciOr32( IN UINTN Address, IN UINT32 OrData ) argument 980 PciAnd32( IN UINTN Address, IN UINT32 AndData ) argument 1013 PciAndThenOr32( IN UINTN Address, IN UINT32 AndData, IN UINT32 OrData ) argument 1046 PciBitFieldRead32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 1082 PciBitFieldWrite32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 Value ) argument 1125 PciBitFieldOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 OrData ) argument 1168 PciBitFieldAnd32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData ) argument 1215 PciBitFieldAndThenOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData, IN UINT32 OrData ) argument [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/SmmPciLibPciRootBridgeIo/ |
H A D | PciLib.c | 81 It reads and returns the PCI configuration register specified by Address,
84 @param Address The address that encodes the PCI Bus, Device, Function and
93 IN UINTN Address,
102 PCI_TO_PCI_ROOT_BRIDGE_IO_ADDRESS (Address),
114 It writes the PCI configuration register specified by Address with the
118 @param Address The address that encodes the PCI Bus, Device, Function and
128 IN UINTN Address,
136 PCI_TO_PCI_ROOT_BRIDGE_IO_ADDRESS (Address),
147 Registers the PCI device specified by Address so all the PCI configuration registers
150 If Address > 92 SmmPciLibPciRootBridgeIoReadWorker( IN UINTN Address, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width ) argument 127 SmmPciLibPciRootBridgeIoWriteWorker( IN UINTN Address, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT32 Data ) argument 218 PciWrite8( IN UINTN Address, IN UINT8 Value ) argument 250 PciOr8( IN UINTN Address, IN UINT8 OrData ) argument 280 PciAnd8( IN UINTN Address, IN UINT8 AndData ) argument 312 PciAndThenOr8( IN UINTN Address, IN UINT8 AndData, IN UINT8 OrData ) argument 344 PciBitFieldRead8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 379 PciBitFieldWrite8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 Value ) argument 421 PciBitFieldOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 OrData ) argument 463 PciBitFieldAnd8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData ) argument 509 PciBitFieldAndThenOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData, IN UINT8 OrData ) argument 569 PciWrite16( IN UINTN Address, IN UINT16 Value ) argument 602 PciOr16( IN UINTN Address, IN UINT16 OrData ) argument 633 PciAnd16( IN UINTN Address, IN UINT16 AndData ) argument 666 PciAndThenOr16( IN UINTN Address, IN UINT16 AndData, IN UINT16 OrData ) argument 699 PciBitFieldRead16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 735 PciBitFieldWrite16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 Value ) argument 778 PciBitFieldOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 OrData ) argument 821 PciBitFieldAnd16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData ) argument 868 PciBitFieldAndThenOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData, IN UINT16 OrData ) argument 928 PciWrite32( IN UINTN Address, IN UINT32 Value ) argument 961 PciOr32( IN UINTN Address, IN UINT32 OrData ) argument 992 PciAnd32( IN UINTN Address, IN UINT32 AndData ) argument 1025 PciAndThenOr32( IN UINTN Address, IN UINT32 AndData, IN UINT32 OrData ) argument 1058 PciBitFieldRead32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 1094 PciBitFieldWrite32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 Value ) argument 1137 PciBitFieldOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 OrData ) argument 1180 PciBitFieldAnd32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData ) argument 1227 PciBitFieldAndThenOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData, IN UINT32 OrData ) argument [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/UefiPciLibPciRootBridgeIo/ |
H A D | PciLib.c | 83 It reads and returns the PCI configuration register specified by Address,
86 @param Address The address that encodes the PCI Bus, Device, Function and
95 IN UINTN Address,
104 PCI_TO_PCI_ROOT_BRIDGE_IO_ADDRESS (Address),
116 It writes the PCI configuration register specified by Address with the
120 @param Address The address that encodes the PCI Bus, Device, Function and
130 IN UINTN Address,
138 PCI_TO_PCI_ROOT_BRIDGE_IO_ADDRESS (Address),
149 Registers the PCI device specified by Address so all the PCI configuration registers
152 If Address > 94 DxePciLibPciRootBridgeIoReadWorker( IN UINTN Address, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width ) argument 129 DxePciLibPciRootBridgeIoWriteWorker( IN UINTN Address, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT32 Data ) argument 220 PciWrite8( IN UINTN Address, IN UINT8 Value ) argument 252 PciOr8( IN UINTN Address, IN UINT8 OrData ) argument 282 PciAnd8( IN UINTN Address, IN UINT8 AndData ) argument 314 PciAndThenOr8( IN UINTN Address, IN UINT8 AndData, IN UINT8 OrData ) argument 346 PciBitFieldRead8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 381 PciBitFieldWrite8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 Value ) argument 423 PciBitFieldOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 OrData ) argument 465 PciBitFieldAnd8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData ) argument 511 PciBitFieldAndThenOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData, IN UINT8 OrData ) argument 571 PciWrite16( IN UINTN Address, IN UINT16 Value ) argument 604 PciOr16( IN UINTN Address, IN UINT16 OrData ) argument 635 PciAnd16( IN UINTN Address, IN UINT16 AndData ) argument 668 PciAndThenOr16( IN UINTN Address, IN UINT16 AndData, IN UINT16 OrData ) argument 701 PciBitFieldRead16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 737 PciBitFieldWrite16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 Value ) argument 780 PciBitFieldOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 OrData ) argument 823 PciBitFieldAnd16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData ) argument 870 PciBitFieldAndThenOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData, IN UINT16 OrData ) argument 930 PciWrite32( IN UINTN Address, IN UINT32 Value ) argument 963 PciOr32( IN UINTN Address, IN UINT32 OrData ) argument 994 PciAnd32( IN UINTN Address, IN UINT32 AndData ) argument 1027 PciAndThenOr32( IN UINTN Address, IN UINT32 AndData, IN UINT32 OrData ) argument 1060 PciBitFieldRead32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 1096 PciBitFieldWrite32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 Value ) argument 1139 PciBitFieldOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 OrData ) argument 1182 PciBitFieldAnd32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData ) argument 1229 PciBitFieldAndThenOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData, IN UINT32 OrData ) argument [all...] |
/device/linaro/bootloader/edk2/OvmfPkg/Library/DxePciLibI440FxQ35/ |
H A D | PciLib.c | 51 Registers the PCI device specified by Address so all the PCI configuration registers
54 If Address > 0x0FFFFFFF, then ASSERT().
56 @param Address The address that encodes the PCI Bus, Device, Function and
71 IN UINTN Address
75 PciExpressRegisterForRuntimeAccess (Address) :
76 PciCf8RegisterForRuntimeAccess (Address);
82 Reads and returns the 8-bit PCI configuration register specified by Address.
86 If Address > 0x0FFFFFFF, then ASSERT().
88 @param Address The address that encodes the PCI Bus, Device, Function and
97 IN UINTN Address
123 PciWrite8( IN UINTN Address, IN UINT8 Value ) argument 155 PciOr8( IN UINTN Address, IN UINT8 OrData ) argument 187 PciAnd8( IN UINTN Address, IN UINT8 AndData ) argument 221 PciAndThenOr8( IN UINTN Address, IN UINT8 AndData, IN UINT8 OrData ) argument 255 PciBitFieldRead8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 292 PciBitFieldWrite8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 Value ) argument 333 PciBitFieldOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 OrData ) argument 374 PciBitFieldAnd8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData ) argument 419 PciBitFieldAndThenOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData, IN UINT8 OrData ) argument 478 PciWrite16( IN UINTN Address, IN UINT16 Value ) argument 511 PciOr16( IN UINTN Address, IN UINT16 OrData ) argument 544 PciAnd16( IN UINTN Address, IN UINT16 AndData ) argument 579 PciAndThenOr16( IN UINTN Address, IN UINT16 AndData, IN UINT16 OrData ) argument 614 PciBitFieldRead16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 652 PciBitFieldWrite16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 Value ) argument 694 PciBitFieldOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 OrData ) argument 736 PciBitFieldAnd16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData ) argument 782 PciBitFieldAndThenOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData, IN UINT16 OrData ) argument 841 PciWrite32( IN UINTN Address, IN UINT32 Value ) argument 874 PciOr32( IN UINTN Address, IN UINT32 OrData ) argument 907 PciAnd32( IN UINTN Address, IN UINT32 AndData ) argument 942 PciAndThenOr32( IN UINTN Address, IN UINT32 AndData, IN UINT32 OrData ) argument 977 PciBitFieldRead32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 1015 PciBitFieldWrite32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 Value ) argument 1057 PciBitFieldOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 OrData ) argument 1099 PciBitFieldAnd32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData ) argument 1145 PciBitFieldAndThenOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData, IN UINT32 OrData ) argument [all...] |
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/BaseCachingPciExpressLib/ |
H A D | PciExpressLib.c | 43 Registers the PCI device specified by Address so all the PCI configuration
47 If Address > 0x0FFFFFFF, then ASSERT().
49 @param Address The address that encodes the PCI Bus, Device, Function and
64 IN UINTN Address
67 ASSERT_INVALID_PCI_ADDRESS (Address);
101 Reads and returns the 8-bit PCI configuration register specified by Address.
105 If Address > 0x0FFFFFFF, then ASSERT().
107 @param Address The address that encodes the PCI Bus, Device, Function and
116 IN UINTN Address
119 ASSERT_INVALID_PCI_ADDRESS (Address);
141 PciExpressWrite8( IN UINTN Address, IN UINT8 Value ) argument 172 PciExpressOr8( IN UINTN Address, IN UINT8 OrData ) argument 203 PciExpressAnd8( IN UINTN Address, IN UINT8 AndData ) argument 236 PciExpressAndThenOr8( IN UINTN Address, IN UINT8 AndData, IN UINT8 OrData ) argument 273 PciExpressBitFieldRead8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 313 PciExpressBitFieldWrite8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 Value ) argument 358 PciExpressBitFieldOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 OrData ) argument 403 PciExpressBitFieldAnd8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData ) argument 452 PciExpressBitFieldAndThenOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData, IN UINT8 OrData ) argument 515 PciExpressWrite16( IN UINTN Address, IN UINT16 Value ) argument 547 PciExpressOr16( IN UINTN Address, IN UINT16 OrData ) argument 579 PciExpressAnd16( IN UINTN Address, IN UINT16 AndData ) argument 613 PciExpressAndThenOr16( IN UINTN Address, IN UINT16 AndData, IN UINT16 OrData ) argument 651 PciExpressBitFieldRead16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 692 PciExpressBitFieldWrite16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 Value ) argument 738 PciExpressBitFieldOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 OrData ) argument 784 PciExpressBitFieldAnd16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData ) argument 834 PciExpressBitFieldAndThenOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData, IN UINT16 OrData ) argument 897 PciExpressWrite32( IN UINTN Address, IN UINT32 Value ) argument 929 PciExpressOr32( IN UINTN Address, IN UINT32 OrData ) argument 961 PciExpressAnd32( IN UINTN Address, IN UINT32 AndData ) argument 995 PciExpressAndThenOr32( IN UINTN Address, IN UINT32 AndData, IN UINT32 OrData ) argument 1033 PciExpressBitFieldRead32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 1074 PciExpressBitFieldWrite32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 Value ) argument 1120 PciExpressBitFieldOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 OrData ) argument 1166 PciExpressBitFieldAnd32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData ) argument 1216 PciExpressBitFieldAndThenOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData, IN UINT32 OrData ) argument [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/BasePciExpressLib/ |
H A D | PciExpressLib.c | 43 Registers the PCI device specified by Address so all the PCI configuration
47 If Address > 0x0FFFFFFF, then ASSERT().
49 @param Address The address that encodes the PCI Bus, Device, Function and
64 IN UINTN Address
67 ASSERT_INVALID_PCI_ADDRESS (Address);
74 This internal functions retrieves PCI Express Base Address via a PCD entry
91 Reads and returns the 8-bit PCI configuration register specified by Address.
95 If Address > 0x0FFFFFFF, then ASSERT().
97 @param Address The address that encodes the PCI Bus, Device, Function and
106 IN UINTN Address
131 PciExpressWrite8( IN UINTN Address, IN UINT8 Value ) argument 162 PciExpressOr8( IN UINTN Address, IN UINT8 OrData ) argument 193 PciExpressAnd8( IN UINTN Address, IN UINT8 AndData ) argument 226 PciExpressAndThenOr8( IN UINTN Address, IN UINT8 AndData, IN UINT8 OrData ) argument 263 PciExpressBitFieldRead8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 303 PciExpressBitFieldWrite8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 Value ) argument 348 PciExpressBitFieldOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 OrData ) argument 393 PciExpressBitFieldAnd8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData ) argument 442 PciExpressBitFieldAndThenOr8( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData, IN UINT8 OrData ) argument 505 PciExpressWrite16( IN UINTN Address, IN UINT16 Value ) argument 537 PciExpressOr16( IN UINTN Address, IN UINT16 OrData ) argument 569 PciExpressAnd16( IN UINTN Address, IN UINT16 AndData ) argument 603 PciExpressAndThenOr16( IN UINTN Address, IN UINT16 AndData, IN UINT16 OrData ) argument 641 PciExpressBitFieldRead16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 682 PciExpressBitFieldWrite16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 Value ) argument 728 PciExpressBitFieldOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 OrData ) argument 774 PciExpressBitFieldAnd16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData ) argument 824 PciExpressBitFieldAndThenOr16( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData, IN UINT16 OrData ) argument 887 PciExpressWrite32( IN UINTN Address, IN UINT32 Value ) argument 919 PciExpressOr32( IN UINTN Address, IN UINT32 OrData ) argument 951 PciExpressAnd32( IN UINTN Address, IN UINT32 AndData ) argument 985 PciExpressAndThenOr32( IN UINTN Address, IN UINT32 AndData, IN UINT32 OrData ) argument 1023 PciExpressBitFieldRead32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit ) argument 1064 PciExpressBitFieldWrite32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 Value ) argument 1110 PciExpressBitFieldOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 OrData ) argument 1156 PciExpressBitFieldAnd32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData ) argument 1206 PciExpressBitFieldAndThenOr32( IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData, IN UINT32 OrData ) argument [all...] |