/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
H A D | HwIoDebug.c | 48 UINTN Width;
local 57 Width = WidthFromCommandName (Argv[0], 1);
59 if (Width == 1) {
61 } else if (Width == 2) {
63 } else if (Width == 4) {
99 UINTN Width;
local 109 Width = WidthFromCommandName (Argv[0], 1);
111 if (Width == 1) {
113 } else if (Width == 2) {
115 } else if (Width [all...] |
/device/linaro/bootloader/edk2/Nt32Pkg/CpuRuntimeDxe/ |
H A D | CpuIo.c | 33 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
44 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
58 Width of the Memory Access
69 EFI_INVALID_PARAMETER - Width is invalid for this EFI System.
71 EFI_UNSUPPORTED - The Buffer is not aligned for the given Width.
72 EFI_UNSUPPORTED - The address range specified by Address, Width,
84 if ((Width < 0) || (Width >= EfiCpuIoWidthMaximum)) {
88 Status = CpuIoCheckAddressRange (Width, Address, Count, Buffer, IA32_MAX_MEM_ADDRESS);
103 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
42 CpuMemoryServiceRead( IN EFI_CPU_IO2_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 101 CpuMemoryServiceWrite( IN EFI_CPU_IO2_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 159 CpuIoServiceRead( IN EFI_CPU_IO2_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 UserAddress, IN UINTN Count, IN OUT VOID *UserBuffer ) argument 220 CpuIoServiceWrite( IN EFI_CPU_IO2_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 UserAddress, IN UINTN Count, IN OUT VOID *UserBuffer ) argument 285 CpuIoCheckAddressRange( IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN VOID *Buffer, IN UINT64 Limit ) argument [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/ |
H A D | DxeCpuIoLibInternal.h | 31 Reads the I/O port specified by Port with registers width specified by Width.
37 @param Width The width of the I/O operation.
46 IN EFI_CPU_IO_PROTOCOL_WIDTH Width
52 Writes the I/O port specified by Port with registers width and value specified by Width
58 @param Width The width of the I/O operation.
68 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
75 Reads the MMIO registers specified by Address with registers width specified by Width.
81 @param Width The width of the I/O operation.
90 IN EFI_CPU_IO_PROTOCOL_WIDTH Width
96 Writes the MMIO registers specified by Address with registers width and value specified by Width
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ia32/ |
H A D | IoLib.c | 30 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
41 Width - Width of read transaction, and repeat operation to use
44 Buffer - Buffer to read data into. size is Width * Count
51 return gCpuIo->Io.Read (gCpuIo, Width, Address, Count, Buffer);
56 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
67 Width - Width of write transaction, and repeat operation to use
70 Buffer - Buffer to write data from. size is Width * Count
77 return gCpuIo->Io.Write (gCpuIo, Width, Addres 29 EfiIoRead( IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 55 EfiIoWrite( IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 81 EfiMemRead( IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 107 EfiMemWrite( IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/X64/ |
H A D | IoLib.c | 30 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
41 Width - Width of read transaction, and repeat operation to use
44 Buffer - Buffer to read data into. size is Width * Count
51 return gCpuIo->Io.Read (gCpuIo, Width, Address, Count, Buffer);
56 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
67 Width - Width of write transaction, and repeat operation to use
70 Buffer - Buffer to write data from. size is Width * Count
77 return gCpuIo->Io.Write (gCpuIo, Width, Addres 29 EfiIoRead( IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 55 EfiIoWrite( IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 81 EfiMemRead( IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 107 EfiMemWrite( IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuIo2Smm/ |
H A D | CpuIo2Smm.c | 50 @param[in] Width Signifies the width of the I/O operations.
60 @retval EFI_INVALID_PARAMETER Width or Count, or both, were invalid.
66 IN EFI_SMM_IO_WIDTH Width,
83 // Check to see if Width is in the valid range
85 if ((UINT32)Width > SMM_IO_UINT64) {
90 // Check to see if Width is in the valid range for I/O Port operations
92 if (!MmioOperation && (Width == SMM_IO_UINT64)) {
117 MaxCount = RShiftU64 (Limit, Width);
121 if (Address > LShiftU64 (MaxCount - Count + 1, Width)) {
129 if ((Address & (UINT64)(mStride[Width] 64 CpuIoCheckParameter( IN BOOLEAN MmioOperation, IN EFI_SMM_IO_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN VOID *Buffer ) argument 161 CpuMemoryServiceRead( IN CONST EFI_SMM_CPU_IO2_PROTOCOL *This, IN EFI_SMM_IO_WIDTH Width, IN UINT64 Address, IN UINTN Count, OUT VOID *Buffer ) argument 221 CpuMemoryServiceWrite( IN CONST EFI_SMM_CPU_IO2_PROTOCOL *This, IN EFI_SMM_IO_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN VOID *Buffer ) argument 281 CpuIoServiceRead( IN CONST EFI_SMM_CPU_IO2_PROTOCOL *This, IN EFI_SMM_IO_WIDTH Width, IN UINT64 Address, IN UINTN Count, OUT VOID *Buffer ) argument 340 CpuIoServiceWrite( IN CONST EFI_SMM_CPU_IO2_PROTOCOL *This, IN EFI_SMM_IO_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ |
H A D | ValueToString.c | 33 IN UINTN Width
49 Width - Width of hex value.
73 if (Width > CHARACTER_NUMBER_FOR_VALUE - 1) {
74 Width = CHARACTER_NUMBER_FOR_VALUE - 1;
92 for (; Index < Width; Index++) {
100 if (Width > 0 && (UINTN) (TempStr - TempBuffer) > Width) {
101 TempStr = TempBuffer + Width;
119 IN UINTN Width
[all...] |
H A D | Misc.c | 110 IN UINT8 Width,
123 Width - Width of write operation
144 Width,
162 Status = RootBridgeIo->Io.Write (RootBridgeIo, Width, Address, Count, Buffer);
171 IN UINT8 Width,
184 Width - Width of read operation
205 Width,
223 Status = RootBridgeIo->Io.Read (RootBridgeIo, Width, Addres 109 EfiCommonIoWrite( IN UINT8 Width, IN UINTN Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 170 EfiCommonIoRead( IN UINT8 Width, IN UINTN Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 231 EfiCommonPciWrite( IN UINT8 Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 308 EfiCommonPciRead( IN UINT8 Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/ |
H A D | EfiScriptLib.h | 59 IN EFI_BOOT_SCRIPT_WIDTH Width,
74 Width - The width of the I/O operations.
95 IN EFI_BOOT_SCRIPT_WIDTH Width,
110 Width - The width of the I/O operations.
131 IN EFI_BOOT_SCRIPT_WIDTH Width,
146 Width - The width of the memory operations.
167 IN EFI_BOOT_SCRIPT_WIDTH Width,
182 Width - The width of the memory operations.
203 IN EFI_BOOT_SCRIPT_WIDTH Width,
219 Width [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/CpuIoDxe/ |
H A D | CpuIo.c | 82 @param[in] Width Signifies the width of the I/O or Memory operation.
85 bytes moved is Width size * Count, starting at Address.
90 @retval EFI_INVALID_PARAMETER Width is invalid for this PI system.
92 @retval EFI_UNSUPPORTED The Buffer is not aligned for the given Width.
93 @retval EFI_UNSUPPORTED The address range specified by Address, Width,
100 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
117 // Check to see if Width is in the valid range
119 if ((UINT32)Width >= EfiCpuIoWidthMaximum) {
127 if (Width >= EfiCpuIoWidthFifoUint8 && Width < 98 CpuIoCheckParameter( IN BOOLEAN MmioOperation, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN VOID *Buffer ) argument 228 CpuMemoryServiceRead( IN EFI_CPU_IO_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, OUT VOID *Buffer ) argument 308 CpuMemoryServiceWrite( IN EFI_CPU_IO_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN VOID *Buffer ) argument 388 CpuIoServiceRead( IN EFI_CPU_IO_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, OUT VOID *Buffer ) argument 467 CpuIoServiceWrite( IN EFI_CPU_IO_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuIo2Dxe/ |
H A D | CpuIo2Dxe.c | 82 @param[in] Width Signifies the width of the I/O or Memory operation.
85 bytes moved is Width size * Count, starting at Address.
90 @retval EFI_INVALID_PARAMETER Width is invalid for this PI system.
92 @retval EFI_UNSUPPORTED The Buffer is not aligned for the given Width.
93 @retval EFI_UNSUPPORTED The address range specified by Address, Width,
100 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
117 // Check to see if Width is in the valid range
119 if ((UINT32)Width >= EfiCpuIoWidthMaximum) {
127 if (Width >= EfiCpuIoWidthFifoUint8 && Width < 98 CpuIoCheckParameter( IN BOOLEAN MmioOperation, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN VOID *Buffer ) argument 228 CpuMemoryServiceRead( IN EFI_CPU_IO2_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, OUT VOID *Buffer ) argument 308 CpuMemoryServiceWrite( IN EFI_CPU_IO2_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN VOID *Buffer ) argument 388 CpuIoServiceRead( IN EFI_CPU_IO2_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, OUT VOID *Buffer ) argument 467 CpuIoServiceWrite( IN EFI_CPU_IO2_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PiDxeS3BootScriptLib/ |
H A D | BootScriptInternalFormat.h | 43 UINT32 Width;
member in struct:__anon6288 49 UINT32 Width;
member in struct:__anon6289 57 UINT32 Width;
member in struct:__anon6290 64 UINT32 Width;
member in struct:__anon6291 72 UINT32 Width;
member in struct:__anon6292 79 UINT32 Width;
member in struct:__anon6293 87 UINT32 Width;
member in struct:__anon6294 96 UINT32 Width;
member in struct:__anon6295 103 UINT32 Width;
member in struct:__anon6296 138 UINT32 Width;
member in struct:__anon6301 154 UINT32 Width; member in struct:__anon6303 162 UINT32 Width; member in struct:__anon6304 170 UINT32 Width; member in struct:__anon6305 [all...] |
/device/linaro/bootloader/edk2/EmulatorPkg/CpuRuntimeDxe/ |
H A D | CpuIo.c | 40 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
51 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
65 Width of the Memory Access
76 EFI_INVALID_PARAMETER - Width is invalid for this EFI System.
78 EFI_UNSUPPORTED - The Buffer is not aligned for the given Width.
79 EFI_UNSUPPORTED - The address range specified by Address, Width,
90 Status = CpuIoCheckAddressRange (Width, Address, Count, Buffer, IA32_MAX_MEM_ADDRESS);
105 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
119 Width of the Memory Access
129 EFI_INVALID_PARAMETER - Width i 49 CpuMemoryServiceRead( IN EFI_CPU_IO2_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 103 CpuMemoryServiceWrite( IN EFI_CPU_IO2_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 156 CpuIoServiceRead( IN EFI_CPU_IO2_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 UserAddress, IN UINTN Count, IN OUT VOID *UserBuffer ) argument 214 CpuIoServiceWrite( IN EFI_CPU_IO2_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 UserAddress, IN UINTN Count, IN OUT VOID *UserBuffer ) argument 296 CpuIoCheckAddressRange( IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN VOID *Buffer, IN UINT64 Limit ) argument [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/DxeIoLibCpuIo/ |
H A D | DxeCpuIoLibInternal.h | 37 Reads the I/O port specified by Port with registers width specified by Width.
43 @param Width The width of the I/O operation.
52 IN EFI_CPU_IO_PROTOCOL_WIDTH Width
58 Writes the I/O port specified by Port with registers width and value specified by Width
64 @param Width The width of the I/O operation.
74 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
81 Reads the MMIO registers specified by Address with registers width specified by Width.
87 @param Width The width of the I/O operation.
96 IN EFI_CPU_IO_PROTOCOL_WIDTH Width
102 Writes the MMIO registers specified by Address with registers width and value specified by Width
[all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/DxeIoLibCpuIo2/ |
H A D | DxeCpuIo2LibInternal.h | 31 Reads the I/O port specified by Port with registers width specified by Width.
37 @param Width The width of the I/O operation.
46 IN EFI_CPU_IO_PROTOCOL_WIDTH Width
52 Writes the I/O port specified by Port with registers width and value specified by Width
58 @param Width The width of the I/O operation.
68 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
75 Reads the MMIO registers specified by Address with registers width specified by Width.
81 @param Width The width of the I/O operation.
90 IN EFI_CPU_IO_PROTOCOL_WIDTH Width
96 Writes the MMIO registers specified by Address with registers width and value specified by Width
[all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/SmmIoLibSmmCpuIo2/ |
H A D | SmmCpuIoLibInternal.h | 33 Reads the I/O port specified by Port with registers width specified by Width.
39 @param Width The width of the I/O operation.
48 IN EFI_SMM_IO_WIDTH Width
54 Writes the I/O port specified by Port with registers width and value specified by Width
60 @param Width The width of the I/O operation.
70 IN EFI_SMM_IO_WIDTH Width,
77 Reads the MMIO registers specified by Address with registers width specified by Width.
83 @param Width The width of the I/O operation.
92 IN EFI_SMM_IO_WIDTH Width
98 Writes the MMIO registers specified by Address with registers width and value specified by Width
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/CpuIo2OnCpuIoThunk/ |
H A D | CpuIo2OnCpuIoThunk.c | 37 @param[in] Width Signifies the width of the memory operation.
40 is Width size * Count, starting at Address.
44 @retval EFI_INVALID_PARAMETER Width is invalid for this EFI system. Or Buffer is NULL.
45 @retval EFI_UNSUPPORTED The Buffer is not aligned for the given Width.
46 Or,The address range specified by Address, Width, and Count is not valid for this EFI system.
53 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
61 Width,
72 @param[in] Width Signifies the width of the memory operation.
75 is Width size * Count, starting at Address.
79 @retval EFI_INVALID_PARAMETER Width i 51 CpuMemoryServiceRead( IN EFI_CPU_IO2_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 86 CpuMemoryServiceWrite( IN EFI_CPU_IO2_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 122 CpuIoServiceRead( IN EFI_CPU_IO2_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 158 CpuIoServiceWrite( IN EFI_CPU_IO2_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiLib/ |
H A D | Console.c | 27 UINT32 Width;
member in struct:__anon4925 245 return Item->Width;
270 UINTN Width;
local 278 Width = GetGlyphWidth (*String);
279 if (Width == 0) {
283 Length += Width;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/ |
H A D | PciIo.c | 70 @param Width Signifies the width of the memory or I/O operations.
74 @retval EFI_INVALID_PARAMETER Invalid Width/BarIndex or Bar type.
83 IN IN EFI_PCI_IO_PROTOCOL_WIDTH Width,
88 if ((UINT32)Width >= EfiPciIoWidthMaximum) {
108 // If Width is EfiPciIoWidthFifoUintX then convert to EfiPciIoWidthUintX
109 // If Width is EfiPciIoWidthFillUintX then convert to EfiPciIoWidthUintX
111 if (Width >= EfiPciIoWidthFifoUint8 && Width <= EfiPciIoWidthFifoUint64) {
115 Width = (EFI_PCI_IO_PROTOCOL_WIDTH) (Width 79 PciIoVerifyBarAccess( IN PCI_IO_DEVICE *PciIoDevice, IN UINT8 BarIndex, IN PCI_BAR_TYPE Type, IN IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN IN UINTN Count, IN UINT64 *Offset ) argument 140 PciIoVerifyConfigAccess( IN PCI_IO_DEVICE *PciIoDevice, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINTN Count, IN UINT64 *Offset ) argument 202 PciIoPollMem( IN EFI_PCI_IO_PROTOCOL *This, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINT8 BarIndex, IN UINT64 Offset, IN UINT64 Mask, IN UINT64 Value, IN UINT64 Delay, OUT UINT64 *Result ) argument 309 PciIoPollIo( IN EFI_PCI_IO_PROTOCOL *This, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINT8 BarIndex, IN UINT64 Offset, IN UINT64 Mask, IN UINT64 Value, IN UINT64 Delay, OUT UINT64 *Result ) argument 410 PciIoMemRead( IN EFI_PCI_IO_PROTOCOL *This, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINT8 BarIndex, IN UINT64 Offset, IN UINTN Count, IN OUT VOID *Buffer ) argument 489 PciIoMemWrite( IN EFI_PCI_IO_PROTOCOL *This, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINT8 BarIndex, IN UINT64 Offset, IN UINTN Count, IN OUT VOID *Buffer ) argument 567 PciIoIoRead( IN EFI_PCI_IO_PROTOCOL *This, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINT8 BarIndex, IN UINT64 Offset, IN UINTN Count, IN OUT VOID *Buffer ) argument 645 PciIoIoWrite( IN EFI_PCI_IO_PROTOCOL *This, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINT8 BarIndex, IN UINT64 Offset, IN UINTN Count, IN OUT VOID *Buffer ) argument 721 PciIoConfigRead( IN EFI_PCI_IO_PROTOCOL *This, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINT32 Offset, IN UINTN Count, IN OUT VOID *Buffer ) argument 790 PciIoConfigWrite( IN EFI_PCI_IO_PROTOCOL *This, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINT32 Offset, IN UINTN Count, IN OUT VOID *Buffer ) argument 869 PciIoCopyMem( IN EFI_PCI_IO_PROTOCOL *This, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINT8 DestBarIndex, IN UINT64 DestOffset, IN UINT8 SrcBarIndex, IN UINT64 SrcOffset, IN UINTN Count ) argument [all...] |
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/Ipf/ |
H A D | PcatIo.c | 55 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width,
84 if ((UINT32)Width >= EfiPciWidthMaximum) {
88 if ((Width & 0x03) == EfiPciWidthUint64) {
92 AlignMask = (1 << (Width & 0x03)) - 1;
97 InStride = 1 << (Width & 0x03);
99 if (Width >=EfiPciWidthFifoUint8 && Width <= EfiPciWidthFifoUint64) {
102 if (Width >=EfiPciWidthFillUint8 && Width <= EfiPciWidthFillUint64) {
105 Width 53 PcatRootBridgeIoIoRead( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 UserAddress, IN UINTN Count, IN OUT VOID *UserBuffer ) argument 157 PcatRootBridgeIoIoWrite( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 UserAddress, IN UINTN Count, IN OUT VOID *UserBuffer ) argument 311 PcatRootBridgeIoPciRW( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN BOOLEAN Write, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 UserAddress, IN UINTN Count, IN OUT UINT8 *UserBuffer ) argument [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/PciEmulation/ |
H A D | PciRootBridgeIo.c | 33 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width,
46 Width = (EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) (Width & 0x03);
47 Stride = (UINTN)1 << Width;
54 switch (Width) {
81 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width,
94 @param Width Signifies the width of the memory operations.
109 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width,
130 AlignMask = (1 << (Width & 0x03)) - 1;
138 switch (Width) {
32 PciRootBridgeIoMemRW( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINTN Count, IN BOOLEAN InStrideFlag, IN PTR In, IN BOOLEAN OutStrideFlag, OUT PTR Out ) argument 78 PciRootBridgeIoPciRW( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN BOOLEAN Write, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 UserAddress, IN UINTN Count, IN OUT VOID *UserBuffer ) argument 107 PciRootBridgeIoMemRead( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 183 PciRootBridgeIoMemWrite( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 257 PciRootBridgeIoPciRead( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 291 PciRootBridgeIoPciWrite( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ |
H A D | PciRootBridgeIo.c | 33 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width,
45 Width = (EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) (Width & 0x03);
46 Stride = (UINTN)1 << Width;
53 switch (Width) {
80 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width,
93 @param Width Signifies the width of the memory operations.
108 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width,
129 AlignMask = (1 << (Width & 0x03)) - 1;
137 switch (Width) {
32 PciRootBridgeIoMemRW( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINTN Count, IN BOOLEAN InStrideFlag, IN PTR In, IN BOOLEAN OutStrideFlag, OUT PTR Out ) argument 77 PciRootBridgeIoPciRW( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN BOOLEAN Write, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 UserAddress, IN UINTN Count, IN OUT VOID *UserBuffer ) argument 106 PciRootBridgeIoMemRead( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 180 PciRootBridgeIoMemWrite( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 254 PciRootBridgeIoPciRead( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 286 PciRootBridgeIoPciWrite( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/Omap35xxPkg/PciEmulation/ |
H A D | PciRootBridgeIo.c | 33 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width,
46 Width = (EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) (Width & 0x03);
47 Stride = (UINTN)1 << Width;
54 switch (Width) {
81 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width,
94 @param Width Signifies the width of the memory operations.
109 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width,
130 AlignMask = (1 << (Width & 0x03)) - 1;
138 switch (Width) {
32 PciRootBridgeIoMemRW( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINTN Count, IN BOOLEAN InStrideFlag, IN PTR In, IN BOOLEAN OutStrideFlag, OUT PTR Out ) argument 78 PciRootBridgeIoPciRW( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN BOOLEAN Write, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 UserAddress, IN UINTN Count, IN OUT VOID *UserBuffer ) argument 107 PciRootBridgeIoMemRead( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 183 PciRootBridgeIoMemWrite( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 257 PciRootBridgeIoPciRead( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument 291 PciRootBridgeIoPciWrite( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/BootScriptSaveDxe/ |
H A D | ScriptSave.c | 49 S3_BOOT_SCRIPT_LIB_WIDTH Width;
54 Width = VA_ARG (Marker, S3_BOOT_SCRIPT_LIB_WIDTH);
59 return S3BootScriptSaveIoWrite (Width, Address, Count, Buffer);
77 S3_BOOT_SCRIPT_LIB_WIDTH Width;
82 Width = VA_ARG (Marker, S3_BOOT_SCRIPT_LIB_WIDTH);
87 return S3BootScriptSaveIoReadWrite (Width, Address, Data, DataMask);
105 S3_BOOT_SCRIPT_LIB_WIDTH Width;
110 Width = VA_ARG (Marker, S3_BOOT_SCRIPT_LIB_WIDTH);
115 return S3BootScriptSaveMemWrite (Width, Address, Count, Buffer);
133 S3_BOOT_SCRIPT_LIB_WIDTH Width;
40 S3_BOOT_SCRIPT_LIB_WIDTH Width; local 68 S3_BOOT_SCRIPT_LIB_WIDTH Width; local 96 S3_BOOT_SCRIPT_LIB_WIDTH Width; local 124 S3_BOOT_SCRIPT_LIB_WIDTH Width; local 152 S3_BOOT_SCRIPT_LIB_WIDTH Width; local 180 S3_BOOT_SCRIPT_LIB_WIDTH Width; local 208 S3_BOOT_SCRIPT_LIB_WIDTH Width; local 238 S3_BOOT_SCRIPT_LIB_WIDTH Width; local 346 S3_BOOT_SCRIPT_LIB_WIDTH Width; local [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/PciCfgOnPciCfg2Thunk/ |
H A D | PciCfgOnPciCfg2Thunk.c | 44 @param Width The width of the access. Enumerated in bytes.
66 IN EFI_PEI_PCI_CFG_PPI_WIDTH Width,
78 @param Width The width of the access. Enumerated in bytes.
100 IN EFI_PEI_PCI_CFG_PPI_WIDTH Width,
113 @param Width The width of the access. Enumerated in bytes. Type
119 The size of the value is determined by Width.
122 The size of the value is determined by Width.
138 IN EFI_PEI_PCI_CFG_PPI_WIDTH Width,
189 @param Width The width of the access. Enumerated in bytes.
211 IN EFI_PEI_PCI_CFG_PPI_WIDTH Width,
208 PciCfgRead( IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_PCI_CFG_PPI *This, IN EFI_PEI_PCI_CFG_PPI_WIDTH Width, IN UINT64 Address, IN OUT VOID *Buffer ) argument 250 PciCfgWrite( IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_PCI_CFG_PPI *This, IN EFI_PEI_PCI_CFG_PPI_WIDTH Width, IN UINT64 Address, IN OUT VOID *Buffer ) argument 295 PciCfgModify( IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_PCI_CFG_PPI *This, IN EFI_PEI_PCI_CFG_PPI_WIDTH Width, IN UINT64 Address, IN UINTN SetBits, IN UINTN ClearBits ) argument [all...] |