/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/SerialPortLib/ |
D | SerialPortLib.c | 135 IN UINTN NumberOfBytes in UARTDbgOut() 145 Result = NumberOfBytes; in UARTDbgOut() 147 while (NumberOfBytes--) { in UARTDbgOut() 171 IN UINTN NumberOfBytes in SerialPortWrite() 175 UARTDbgOut (Buffer, NumberOfBytes); in SerialPortWrite() 198 IN UINTN NumberOfBytes in UARTDbgIn() 208 Result = NumberOfBytes; in UARTDbgIn() 210 while (NumberOfBytes--) { in UARTDbgIn() 235 IN UINTN NumberOfBytes in SerialPortRead() 239 UARTDbgIn (Buffer, NumberOfBytes); in SerialPortRead()
|
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmDmaLib/ |
D | ArmDmaLib.c | 31 UINTN NumberOfBytes; member 74 IN OUT UINTN *NumberOfBytes, in DmaMap() argument 84 if (HostAddress == NULL || NumberOfBytes == NULL || DeviceAddress == NULL || Mapping == NULL ) { in DmaMap() 108 ((*NumberOfBytes & (mCpu->DmaBufferAlignment - 1)) != 0)) { in DmaMap() 136 Status = DmaAllocateBuffer (EfiBootServicesData, EFI_SIZE_TO_PAGES (*NumberOfBytes), &Buffer); in DmaMap() 142 CopyMem (Buffer, HostAddress, *NumberOfBytes); in DmaMap() 171 mCpu->FlushDataCache (mCpu, (UINTN)HostAddress, *NumberOfBytes, in DmaMap() 176 Map->NumberOfBytes = *NumberOfBytes; in DmaMap() 226 Map->NumberOfBytes); in DmaUnmap() 229 DmaFreeBuffer (EFI_SIZE_TO_PAGES (Map->NumberOfBytes), Map->BufferAddress); in DmaUnmap() [all …]
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/ |
D | DxeEmuStdErrSerialPortLib.c | 66 IN UINTN NumberOfBytes in SerialPortWrite() argument 70 return NumberOfBytes; in SerialPortWrite() 73 return gEmuThunk->WriteStdErr (Buffer, NumberOfBytes); in SerialPortWrite() 97 IN UINTN NumberOfBytes in SerialPortRead() argument
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/ |
D | IsaIo.c | 373 IsaMapInfo->NumberOfBytes in IsaIoUnmap() 731 IN OUT UINTN *NumberOfBytes, in IsaIoMapOnlySupportSlaveReadWrite() argument 749 (NULL == NumberOfBytes) || in IsaIoMapOnlySupportSlaveReadWrite() 781 if ((PhysicalAddress + *NumberOfBytes) > ISA_MAX_MEMORY_ADDRESS) { in IsaIoMapOnlySupportSlaveReadWrite() 796 *NumberOfBytes = 0; in IsaIoMapOnlySupportSlaveReadWrite() 808 IsaMapInfo->NumberOfBytes = *NumberOfBytes; in IsaIoMapOnlySupportSlaveReadWrite() 809 IsaMapInfo->NumberOfPages = EFI_SIZE_TO_PAGES (*NumberOfBytes); in IsaIoMapOnlySupportSlaveReadWrite() 824 *NumberOfBytes = 0; in IsaIoMapOnlySupportSlaveReadWrite() 837 IsaMapInfo->NumberOfBytes in IsaIoMapOnlySupportSlaveReadWrite() 871 if (*NumberOfBytes > MaxNumberOfBytes) { in IsaIoMapOnlySupportSlaveReadWrite() [all …]
|
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/SerialPortLib/ |
D | SerialPortLib.c | 57 IN UINTN NumberOfBytes in SerialPortWrite() argument 64 for (Count = 0; Count < NumberOfBytes; Count++, Buffer++) { in SerialPortWrite() 69 return NumberOfBytes; in SerialPortWrite() 87 IN UINTN NumberOfBytes in SerialPortRead() argument 94 for (Count = 0; Count < NumberOfBytes; Count++, Buffer++) { in SerialPortRead() 99 return NumberOfBytes; in SerialPortRead()
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/XenConsoleSerialPortLib/ |
D | XenConsoleSerialPortLib.c | 102 IN UINTN NumberOfBytes in SerialPortWrite() argument 110 if (NumberOfBytes == 0) { in SerialPortWrite() 125 while (Sent < NumberOfBytes && ((Producer - Consumer) < sizeof (mXenConsoleInterface->out))) in SerialPortWrite() 134 } while (Sent < NumberOfBytes); in SerialPortWrite() 158 IN UINTN NumberOfBytes in SerialPortRead() argument 166 if (NumberOfBytes == 0) { in SerialPortRead() 180 while (Received < NumberOfBytes && Consumer < Producer) in SerialPortRead()
|
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/ |
D | DebugCommunicationLibSerialPort.c | 100 IN UINTN NumberOfBytes, in DebugPortReadBuffer() argument 104 if (NumberOfBytes != 1 || Buffer == NULL || Timeout != 0) { in DebugPortReadBuffer() 133 IN UINTN NumberOfBytes in DebugPortWriteBuffer() argument 136 return SerialPortWrite (Buffer, NumberOfBytes); in DebugPortWriteBuffer()
|
/device/linaro/bootloader/edk2/ArmPkg/Library/SemiHostingSerialPortLib/ |
D | SerialPortLib.c | 60 IN UINTN NumberOfBytes in SerialPortWrite() argument 68 while (SourceIndex < NumberOfBytes) in SerialPortWrite() 101 return NumberOfBytes; in SerialPortWrite() 119 IN UINTN NumberOfBytes in SerialPortRead() argument
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeEmuSerialPortLib/ |
D | DxeEmuSerialPortLib.c | 66 IN UINTN NumberOfBytes in SerialPortWrite() argument 69 return gEmuThunk->WriteStdOut (Buffer, NumberOfBytes); in SerialPortWrite() 93 IN UINTN NumberOfBytes in SerialPortRead() argument 96 return gEmuThunk->ReadStdIn (Buffer, NumberOfBytes); in SerialPortRead()
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/Dw8250SerialPortLib/ |
D | Dw8250SerialPortLib.c | 83 IN UINTN NumberOfBytes in SerialPortWrite() argument 92 Result = NumberOfBytes; in SerialPortWrite() 94 while (NumberOfBytes--) { in SerialPortWrite() 119 IN UINTN NumberOfBytes in SerialPortRead() argument 130 while (NumberOfBytes--) { in SerialPortRead()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/ |
D | IsaIo.c | 776 IsaMapInfo->NumberOfBytes in IsaIoUnmap() 1071 IN OUT UINTN *NumberOfBytes, in IsaIoMapOnlySupportSlaveReadWrite() argument 1089 (NULL == NumberOfBytes) || in IsaIoMapOnlySupportSlaveReadWrite() 1121 if ((PhysicalAddress + *NumberOfBytes) > BASE_16MB) { in IsaIoMapOnlySupportSlaveReadWrite() 1136 *NumberOfBytes = 0; in IsaIoMapOnlySupportSlaveReadWrite() 1148 IsaMapInfo->NumberOfBytes = *NumberOfBytes; in IsaIoMapOnlySupportSlaveReadWrite() 1149 IsaMapInfo->NumberOfPages = EFI_SIZE_TO_PAGES (*NumberOfBytes); in IsaIoMapOnlySupportSlaveReadWrite() 1164 *NumberOfBytes = 0; in IsaIoMapOnlySupportSlaveReadWrite() 1177 IsaMapInfo->NumberOfBytes in IsaIoMapOnlySupportSlaveReadWrite() 1211 if (*NumberOfBytes > MaxNumberOfBytes) { in IsaIoMapOnlySupportSlaveReadWrite() [all …]
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/PeiEmuSerialPortLib/ |
D | PeiEmuSerialPortLib.c | 69 IN UINTN NumberOfBytes in SerialPortWrite() argument 87 return Thunk->WriteStdErr (Buffer, NumberOfBytes); in SerialPortWrite() 114 IN UINTN NumberOfBytes in SerialPortRead() argument
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/PL011SerialPortLib/ |
D | PL011SerialPortLib.c | 75 IN UINTN NumberOfBytes in SerialPortWrite() argument 78 return PL011UartWrite ((UINTN)FixedPcdGet64 (PcdSerialRegisterBase), Buffer, NumberOfBytes); in SerialPortWrite() 95 IN UINTN NumberOfBytes in SerialPortRead() argument 98 return PL011UartRead ((UINTN)FixedPcdGet64 (PcdSerialRegisterBase), Buffer, NumberOfBytes); in SerialPortRead()
|
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/FdtPL011SerialPortLib/ |
D | FdtPL011SerialPortLib.c | 108 IN UINTN NumberOfBytes in SerialPortWrite() argument 112 return PL011UartWrite (mSerialBaseAddress, Buffer, NumberOfBytes); in SerialPortWrite() 131 IN UINTN NumberOfBytes in SerialPortRead() argument 135 return PL011UartRead (mSerialBaseAddress, Buffer, NumberOfBytes); in SerialPortRead()
|
D | EarlyFdtPL011SerialPortLib.c | 145 IN UINTN NumberOfBytes in SerialPortWrite() argument 152 return PL011UartWrite ((UINTN)SerialRegisterBase, Buffer, NumberOfBytes); in SerialPortWrite() 171 IN UINTN NumberOfBytes in SerialPortRead() argument
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/Dw8250SerialPortRuntimeLib/ |
D | Dw8250SerialPortRuntimeLib.c | 137 IN UINTN NumberOfBytes in SerialPortWrite() argument 146 Result = NumberOfBytes; in SerialPortWrite() 148 while (NumberOfBytes--) { in SerialPortWrite() 173 IN UINTN NumberOfBytes in SerialPortRead() argument 184 while (NumberOfBytes--) { in SerialPortRead()
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/VirtualEhciPciIo/ |
D | VirtualEhciPciIo.c | 29 UINTN NumberOfBytes; member 356 IN OUT UINTN *NumberOfBytes, in EhciPciIoMap() argument 366 if (HostAddress == NULL || NumberOfBytes == NULL || DeviceAddress == NULL || Mapping == NULL) { in EhciPciIoMap() 385 ((*NumberOfBytes % EFI_PAGE_SIZE) != 0)) { in EhciPciIoMap() 402 Buffer = UncachedAllocatePages(EFI_SIZE_TO_PAGES (*NumberOfBytes)); in EhciPciIoMap() 408 CopyMem (Buffer, HostAddress, *NumberOfBytes); in EhciPciIoMap() 417 gCpu->FlushDataCache (gCpu, *DeviceAddress, *NumberOfBytes, EfiCpuFlushTypeWriteBackInvalidate); in EhciPciIoMap() 419 …emorySpaceAttributes (*DeviceAddress & ~(BASE_4KB - 1), ALIGN_VALUE (*NumberOfBytes, BASE_4KB), EF… in EhciPciIoMap() 427 Map->NumberOfBytes = *NumberOfBytes; in EhciPciIoMap() 449 … CopyMem ((VOID *)(UINTN)Map->HostAddress, (VOID *)(UINTN)Map->DeviceAddress, Map->NumberOfBytes); in EhciPciIoUnmap() [all …]
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/PL011Uart/ |
D | PL011Uart.c | 413 IN UINTN NumberOfBytes in PL011UartWrite() argument 416 UINT8* CONST Final = &Buffer[NumberOfBytes]; in PL011UartWrite() 425 return NumberOfBytes; in PL011UartWrite() 443 IN UINTN NumberOfBytes in PL011UartRead() argument 448 for (Count = 0; Count < NumberOfBytes; Count++, Buffer++) { in PL011UartRead() 453 return NumberOfBytes; in PL011UartRead()
|
/device/linaro/bootloader/edk2/PcAtChipsetPkg/Library/SerialIoLib/ |
D | SerialPortLib.c | 134 IN UINTN NumberOfBytes in SerialPortWrite() argument 144 Result = NumberOfBytes; in SerialPortWrite() 146 while ((NumberOfBytes--) != 0) { in SerialPortWrite() 175 IN UINTN NumberOfBytes in SerialPortRead() argument 185 Result = NumberOfBytes; in SerialPortRead() 187 while ((NumberOfBytes--) != 0) { in SerialPortRead()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/ |
D | NonDiscoverablePciDeviceIo.c | 28 UINTN NumberOfBytes; member 586 IN OUT UINTN *NumberOfBytes, in CoherentPciIoMap() argument 601 (UINTN)HostAddress + *NumberOfBytes > SIZE_4GB) { in CoherentPciIoMap() 618 MapInfo->NumberOfBytes = *NumberOfBytes; in CoherentPciIoMap() 621 EFI_SIZE_TO_PAGES (MapInfo->NumberOfBytes), in CoherentPciIoMap() 634 *NumberOfBytes); in CoherentPciIoMap() 668 MapInfo->NumberOfBytes); in CoherentPciIoUnmap() 671 EFI_SIZE_TO_PAGES (MapInfo->NumberOfBytes)); in CoherentPciIoUnmap() 980 IN OUT UINTN *NumberOfBytes, in NonCoherentPciIoMap() argument 1000 MapInfo->NumberOfBytes = *NumberOfBytes; in NonCoherentPciIoMap() [all …]
|
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
D | EmuThunk.c | 47 IN UINTN NumberOfBytes in SecWriteStdErr() argument 52 Return = write (STDERR_FILENO, (const void *)Buffer, (size_t)NumberOfBytes); in SecWriteStdErr() 81 IN UINTN NumberOfBytes in SecWriteStdOut() argument 86 Return = write (STDOUT_FILENO, (const void *)Buffer, (size_t)NumberOfBytes); in SecWriteStdOut() 94 IN UINTN NumberOfBytes in SecReadStdIn() argument 99 Return = read (STDIN_FILENO, Buffer, (size_t)NumberOfBytes); in SecReadStdIn()
|
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Include/Library/ |
D | DebugCommunicationLib.h | 102 IN UINTN NumberOfBytes, 129 IN UINTN NumberOfBytes
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | SerialPortLib.h | 60 IN UINTN NumberOfBytes 84 IN UINTN NumberOfBytes
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseSerialPortLibNull/ |
D | BaseSerialPortLibNull.c | 60 IN UINTN NumberOfBytes in SerialPortWrite() argument 87 IN UINTN NumberOfBytes in SerialPortRead() argument
|
/device/linaro/bootloader/edk2/EmulatorPkg/Include/Protocol/ |
D | EmuThunk.h | 51 IN UINTN NumberOfBytes 64 IN UINTN NumberOfBytes 71 IN UINTN NumberOfBytes
|