/device/linaro/bootloader/edk2/EmbeddedPkg/Library/NullDmaLib/ |
NullDmaLib.c | 29 @param HostAddress The system memory address to map to the DMA controller.
33 access the hosts HostAddress.
37 @retval EFI_UNSUPPORTED The HostAddress cannot be mapped as a common buffer.
47 IN VOID *HostAddress,
53 *DeviceAddress = (PHYSICAL_ADDRESS)(UINTN)HostAddress;
85 @param HostAddress A pointer to store the base system memory address of the
100 OUT VOID **HostAddress
103 if (HostAddress == NULL) {
113 *HostAddress = AllocatePages (Pages);
115 *HostAddress = AllocateRuntimePages (Pages); [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/Library/ |
DmaLib.h | 69 @param HostAddress The system memory address to map to the DMA controller.
73 access the hosts HostAddress.
77 @retval EFI_UNSUPPORTED The HostAddress cannot be mapped as a common buffer.
87 IN VOID *HostAddress,
120 @param HostAddress A pointer to store the base system memory address of the
135 OUT VOID **HostAddress
143 @param HostAddress The base system memory address of the allocated range.
146 @retval EFI_INVALID_PARAMETER The memory range specified by HostAddress and Pages
154 IN VOID *HostAddress
|
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmDmaLib/ |
ArmDmaLib.c | 29 EFI_PHYSICAL_ADDRESS HostAddress;
43 IN PHYSICAL_ADDRESS HostAddress
46 return HostAddress + PcdGet64 (PcdArmDmaDeviceOffset);
55 @param HostAddress The system memory address to map to the DMA controller.
59 access the hosts HostAddress.
63 @retval EFI_UNSUPPORTED The HostAddress cannot be mapped as a common buffer.
73 IN VOID *HostAddress,
84 if (HostAddress == NULL || NumberOfBytes == NULL || DeviceAddress == NULL || Mapping == NULL ) {
99 *DeviceAddress = HostToDeviceAddress (ConvertToPhysicalAddress (HostAddress));
107 if ((((UINTN)HostAddress & (mCpu->DmaBufferAlignment - 1)) != 0) || [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/DeviceIo/ |
DeviceIo.h | 81 IN EFI_PHYSICAL_ADDRESS * HostAddress,
101 IN OUT EFI_PHYSICAL_ADDRESS * HostAddress
115 IN EFI_PHYSICAL_ADDRESS HostAddress
|
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Protocol/ |
UfsHostController.h | 78 @param HostAddress The system memory address to map to the UFS controller.
82 access the hosts HostAddress.
86 @retval EFI_UNSUPPORTED The HostAddress cannot be mapped as a common buffer.
97 IN VOID *HostAddress,
129 @param HostAddress A pointer to store the base system memory address of the
147 OUT VOID **HostAddress,
156 @param HostAddress The base system memory address of the allocated range.
159 @retval EFI_INVALID_PARAMETER The memory range specified by HostAddress and Pages
168 IN VOID *HostAddress
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
DeviceIo.h | 136 @param HostAddress The system memory address to map to the device.
140 hosts HostAddress.
145 @retval EFI_UNSUPPORTED The HostAddress cannot be mapped as a common buffer.
146 @retval EFI_INVALID_PARAMETER The Operation or HostAddress is undefined.
155 IN EFI_PHYSICAL_ADDRESS *HostAddress,
186 @param HostAddress A pointer to store the base address of the allocated range.
191 @retval EFI_UNSUPPORTED The requested HostAddress is not supported on
202 IN OUT EFI_PHYSICAL_ADDRESS *HostAddress
225 @param HostAddress The base address of the range to free.
230 @retval EFI_INVALID_PARAMETER HostAddress is not page aligned or Pages is invalid. [all...] |
PciRootBridgeIo.h | 222 @param HostAddress The system memory address to map to the PCI controller.
226 access the hosts HostAddress.
230 @retval EFI_UNSUPPORTED The HostAddress cannot be mapped as a common buffer.
241 IN VOID *HostAddress,
274 @param HostAddress A pointer to store the base system memory address of the
292 IN OUT VOID **HostAddress,
301 @param HostAddress The base system memory address of the allocated range.
304 @retval EFI_INVALID_PARAMETER The memory range specified by HostAddress and Pages
313 IN VOID *HostAddress
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
UsbHcMem.h | 112 @param HostAddress The system memory address to map to the PCI controller.
114 use to access the hosts HostAddress.
125 OUT VOID **HostAddress,
132 @param HostAddress The system memory address to map to the PCI controller.
138 IN VOID *HostAddress,
|
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/ |
DeviceIo.c | 614 IN EFI_PHYSICAL_ADDRESS *HostAddress,
629 HostAddress - The system memory address to map to the device.
633 hosts HostAddress.
639 EFI_INVALID_PARAMETER - The Operation or HostAddress is undefined.
640 EFI_UNSUPPORTED - The HostAddress cannot be mapped as a common buffer.
655 if (((UINTN) (*HostAddress) != (*HostAddress)) && Operation == EfiBusMasterCommonBuffer) {
662 (VOID *) (UINTN) (*HostAddress),
743 EFI_PHYSICAL_ADDRESS HostAddress;
745 HostAddress = *PhysicalAddress; [all...] |
DeviceIo.h | 303 IN EFI_PHYSICAL_ADDRESS *HostAddress,
318 HostAddress - The system memory address to map to the device.
322 hosts HostAddress.
328 EFI_INVALID_PARAMETER - The Operation or HostAddress is undefined.
329 EFI_UNSUPPORTED - The HostAddress cannot be mapped as a common buffer.
368 IN OUT EFI_PHYSICAL_ADDRESS *HostAddress
383 HostAddress - A pointer to store the base address of the allocated range.
424 IN EFI_PHYSICAL_ADDRESS HostAddress
436 HostAddress - The base address of the range to free.
443 EFI_INVALID_PARAMETER - HostAddress is not page aligned or Pages is invalid. [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/ |
NonDiscoverablePciDeviceIo.c | 26 VOID *HostAddress;
565 @param HostAddress The system memory address to map to the PCI controller.
569 access the hosts HostAddress.
573 @retval EFI_UNSUPPORTED The HostAddress cannot be mapped as a common buffer.
585 IN VOID *HostAddress,
596 // If HostAddress exceeds 4 GB, and this device does not support 64-bit DMA
601 (UINTN)HostAddress + *NumberOfBytes > SIZE_4GB) {
616 MapInfo->HostAddress = HostAddress;
633 gBS->CopyMem ((VOID *)(UINTN)MapInfo->AllocAddress, HostAddress,
[all...] |
NonDiscoverablePciDeviceIo.h | 54 VOID *HostAddress;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/IsaIo/ |
IsaIo.h | 128 IN VOID *HostAddress,
148 OUT VOID **HostAddress,
157 IN VOID *HostAddress
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/ |
InternalIsaIo.h | 112 @param HostAddress The system memory address to map to the device.
116 to access the hosts HostAddress.
120 @retval EFI_INVALID_PARAMETER The Operation or HostAddress is undefined.
121 @retval EFI_UNSUPPORTED The HostAddress can not be mapped as a common buffer.
132 IN VOID *HostAddress,
292 @param[out] HostAddress A pointer to store the base address of the allocated range.
296 @retval EFI_INVALID_PARAMETER Type is invalid or MemoryType is invalid or HostAddress is NULL
298 by HostAddress, Pages, and Type is not available for common buffer use.
308 OUT VOID **HostAddress,
317 @param[in] HostAddress The base address of the allocated range. [all...] |
IsaIo.c | 371 (VOID *) (UINTN) IsaMapInfo->HostAddress,
711 @param HostAddress The system memory address to map to the device.
715 to access the hosts HostAddress.
719 @retval EFI_INVALID_PARAMETER The Operation or HostAddress is undefined.
720 @retval EFI_UNSUPPORTED The HostAddress can not be mapped as a common buffer.
730 IN VOID *HostAddress,
748 (NULL == HostAddress) ||
778 // Map the HostAddress to a DeviceAddress.
780 PhysicalAddress = (EFI_PHYSICAL_ADDRESS) (UINTN) HostAddress;
810 IsaMapInfo->HostAddress = PhysicalAddress; [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/ |
IsaIo.h | 112 @param HostAddress The system memory address to map to the device.
116 to access the hosts HostAddress.
120 @retval EFI_INVALID_PARAMETER The Operation or HostAddress is undefined.
121 @retval EFI_UNSUPPORTED The HostAddress can not be mapped as a common buffer.
132 IN VOID *HostAddress,
292 @param[out] HostAddress A pointer to store the base address of the allocated range.
296 @retval EFI_INVALID_PARAMETER Type is invalid or MemoryType is invalid or HostAddress is NULL
298 by HostAddress, Pages, and Type is not available for common buffer use.
308 OUT VOID **HostAddress,
317 @param[in] HostAddress The base address of the allocated range. [all...] |
IsaIo.c | 774 (VOID *) (UINTN) IsaMapInfo->HostAddress,
[all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Include/Protocol/ |
IsaIo.h | 209 @param[in] HostAddress The system memory address to map to the device.
213 device to use to access the hosts HostAddress.
220 @retval EFI_INVALID_PARAMETER The HostAddress is undefined.
221 @retval EFI_UNSUPPORTED The HostAddress can not be mapped as a common buffer.
233 IN VOID *HostAddress,
268 @param[out] HostAddress A pointer to store the base address of the allocated range.
274 @retval EFI_INVALID_PARAMETER HostAddress is NULL.
276 @retval EFI_UNSUPPORTED The memory range specified by HostAddress, Pages,
288 OUT VOID **HostAddress,
297 @param[in] HostAddress The base address of the previously allocated common buffer. [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/VirtualEhciPciIo/ |
VirtualEhciPciIo.c | 27 EFI_PHYSICAL_ADDRESS HostAddress;
355 IN VOID *HostAddress,
366 if (HostAddress == NULL || NumberOfBytes == NULL || DeviceAddress == NULL || Mapping == NULL) {
374 *DeviceAddress = ConvertToPhysicalAddress (HostAddress);
384 if ((((UINTN)HostAddress & (EFI_PAGE_SIZE - 1)) != 0) ||
408 CopyMem (Buffer, HostAddress, *NumberOfBytes);
425 Map->HostAddress = (UINTN)HostAddress;
449 CopyMem ((VOID *)(UINTN)Map->HostAddress, (VOID *)(UINTN)Map->DeviceAddress, Map->NumberOfBytes);
462 gCpu->FlushDataCache (gCpu, Map->HostAddress, Map->NumberOfBytes, EfiCpuFlushTypeInvalidate); [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/ |
UsbHcMem.h | 175 @param HostAddress The system memory address to map to the PCI controller.
177 use to access the hosts HostAddress.
191 OUT VOID **HostAddress,
200 @param HostAddress The system memory address to map to the PCI controller.
208 IN VOID *HostAddress,
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/DeviceIoOnPciRootBridgeIoThunk/ |
DeviceIoOnPciRootBridgeIoThunk.c | 229 @param HostAddress The system memory address to map to the device.
233 device to use to access the hosts HostAddress.
238 @retval EFI_INVALID_PARAMETER The Operation or HostAddress is undefined.
239 @retval EFI_UNSUPPORTED The HostAddress cannot be mapped as a common
252 IN EFI_PHYSICAL_ADDRESS *HostAddress,
325 @param HostAddress The base address of the range to free.
330 @retval EFI_INVALID_PARAMETER HostAddress is not page aligned or Pages is
339 IN EFI_PHYSICAL_ADDRESS HostAddress
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UfsPciHcDxe/ |
UfsPciHcDxe.c | 104 @param HostAddress The system memory address to map to the UFS controller.
108 access the hosts HostAddress.
112 @retval EFI_UNSUPPORTED The HostAddress cannot be mapped as a common buffer.
123 IN VOID *HostAddress,
133 if ((This == NULL) || (HostAddress == NULL) || (NumberOfBytes == NULL) || (DeviceAddress == NULL) || (Mapping == NULL)) {
140 Status = PciIo->Map (PciIo, (EFI_PCI_IO_PROTOCOL_OPERATION)Operation, HostAddress, NumberOfBytes, DeviceAddress, Mapping);
185 @param HostAddress A pointer to store the base system memory address of the
203 OUT VOID **HostAddress,
211 if ((This == NULL) || (HostAddress == NULL)) {
218 Status = PciIo->AllocateBuffer (PciIo, Type, MemoryType, Pages, HostAddress, Attributes); [all...] |
UfsPciHcDxe.h | 345 @param HostAddress The system memory address to map to the UFS controller.
349 access the hosts HostAddress.
353 @retval EFI_UNSUPPORTED The HostAddress cannot be mapped as a common buffer.
364 IN VOID *HostAddress,
396 @param HostAddress A pointer to store the base system memory address of the
414 OUT VOID **HostAddress,
423 @param HostAddress The base system memory address of the allocated range.
426 @retval EFI_INVALID_PARAMETER The memory range specified by HostAddress and Pages
435 IN VOID *HostAddress
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/PciRootBridgeIo/ |
PciRootBridgeIo.h | 137 IN VOID *HostAddress,
157 IN OUT VOID **HostAddress,
166 IN VOID *HostAddress
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/ |
PciRootBridge.h | 53 EFI_PHYSICAL_ADDRESS HostAddress;
365 @param HostAddress The system memory address to map on the PCI controller.
369 controller to use to access the system memory's HostAddress.
375 @retval EFI_UNSUPPORTED The HostAddress cannot be mapped as a common buffer.
384 IN VOID *HostAddress,
425 @param HostAddress A pointer to store the base system memory address of the
436 @retval EFI_INVALID_PARAMETER HostAddress is NULL.
449 OUT VOID **HostAddress,
461 @param HostAddress - The base system memory address of the
473 OUT VOID *HostAddress
[all...] |