Home
last modified time | relevance | path

Searched refs:DataLength (Results 1 – 25 of 158) sorted by relevance

1234567

/device/linaro/bootloader/edk2/BaseTools/Source/C/PyUtility/
DPyUtility.c31 UINTN DataLength; in SaveFileToDisk() local
42 &DataLength in SaveFileToDisk()
62 while (WriteFile(FileHandle, Data, DataLength, &WriteBytes, NULL)) { in SaveFileToDisk()
63 if (DataLength <= WriteBytes) { in SaveFileToDisk()
64 DataLength = 0; in SaveFileToDisk()
69 DataLength -= WriteBytes; in SaveFileToDisk()
72 if (DataLength != 0) { in SaveFileToDisk()
/device/linaro/bootloader/edk2/MdePkg/Library/UefiScsiLib/
DUefiScsiLib.c59 UINT32 *DataLength; member
546 IN OUT UINT32 *DataLength, in ScsiModeSense10Command() argument
559 ASSERT (DataLength != NULL); in ScsiModeSense10Command()
568 CommandPacket.InTransferLength= *DataLength; in ScsiModeSense10Command()
582 Cdb[7] = (UINT8) (*DataLength >> 8); in ScsiModeSense10Command()
583 Cdb[8] = (UINT8) (*DataLength); in ScsiModeSense10Command()
594 *DataLength = CommandPacket.InTransferLength; in ScsiModeSense10Command()
734 IN OUT UINT32 *DataLength, in ScsiReadCapacityCommand() argument
745 ASSERT (DataLength != NULL); in ScsiReadCapacityCommand()
754 CommandPacket.InTransferLength= *DataLength; in ScsiReadCapacityCommand()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/UsbIo/
DUsbIo.h46 IN UINTN DataLength,
62 IN UINTN DataLength OPTIONAL,
72 IN OUT UINTN *DataLength,
84 IN UINTN DataLength OPTIONAL,
95 IN OUT UINTN *DataLength,
106 IN UINTN DataLength,
116 IN UINTN DataLength,
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DUsbIo.h88 IN UINTN DataLength,
128 IN UINTN DataLength OPTIONAL,
169 IN OUT UINTN *DataLength,
215 IN UINTN DataLength OPTIONAL,
254 IN OUT UINTN *DataLength,
290 IN UINTN DataLength,
327 IN UINTN DataLength,
DUsbHostController.h138 IN OUT UINTN *DataLength OPTIONAL,
182 IN OUT UINTN *DataLength,
241 IN UINTN DataLength OPTIONAL,
291 IN OUT UINTN *DataLength,
333 IN UINTN DataLength,
376 IN UINTN DataLength,
DBluetoothHc.h103 IN UINTN DataLength,
130 IN UINTN DataLength,
218 IN UINTN DataLength,
306 IN UINTN DataLength,
DUsb2HostController.h261 IN OUT UINTN *DataLength OPTIONAL,
308 IN OUT UINTN *DataLength,
358 IN UINTN DataLength OPTIONAL,
403 IN OUT UINTN *DataLength,
480 IN UINTN DataLength,
555 IN UINTN DataLength,
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DUefiScsiLib.h409 IN OUT UINT32 *DataLength,
515 IN OUT UINT32 *DataLength,
574 IN OUT UINT32 *DataLength,
634 IN OUT UINT32 *DataLength,
695 IN OUT UINT32 *DataLength,
755 IN OUT UINT32 *DataLength,
816 IN OUT UINT32 *DataLength,
905 IN OUT UINT32 *DataLength,
995 IN OUT UINT32 *DataLength,
1085 IN OUT UINT32 *DataLength,
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/UsbHostController/
DUsbHostController.h83 IN OUT UINTN *DataLength OPTIONAL,
96 IN OUT UINTN *DataLength,
113 IN UINTN DataLength OPTIONAL,
127 IN OUT UINTN *DataLength,
141 IN UINTN DataLength,
153 IN UINTN DataLength,
275 IN OUT UINTN *DataLength OPTIONAL,
293 IN OUT UINTN *DataLength,
311 IN UINTN DataLength OPTIONAL,
326 IN OUT UINTN *DataLength,
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/
DUsbUtility.h171 IN OUT UINTN *DataLength,
208 IN OUT UINTN *DataLength,
247 IN UINTN DataLength,
282 IN OUT UINTN *DataLength,
316 IN UINTN DataLength,
349 IN UINTN DataLength,
DUsbBus.h402 IN UINTN DataLength, OPTIONAL
428 IN OUT UINTN *DataLength,
455 IN OUT UINTN *DataLength,
487 IN UINTN DataLength, OPTIONAL
510 IN UINTN DataLength,
534 IN UINTN DataLength,
DUsbUtility.c298 IN OUT UINTN *DataLength, in UsbHcControlTransfer() argument
316 DataLength, in UsbHcControlTransfer()
332 DataLength, in UsbHcControlTransfer()
373 IN OUT UINTN *DataLength, in UsbHcBulkTransfer() argument
391 DataLength, in UsbHcBulkTransfer()
404 DataLength, in UsbHcBulkTransfer()
447 IN UINTN DataLength, in UsbHcAsyncInterruptTransfer() argument
466 DataLength, in UsbHcAsyncInterruptTransfer()
483 DataLength, in UsbHcAsyncInterruptTransfer()
522 IN OUT UINTN *DataLength, in UsbHcSyncInterruptTransfer() argument
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciDxe/
DUhci.c630 IN OUT UINTN *DataLength, in Uhci2ControlTransfer() argument
675 if ((TransferDirection != EfiUsbNoData) && (Data == NULL || DataLength == NULL)) { in Uhci2ControlTransfer()
682 TransferDataLength = *DataLength; in Uhci2ControlTransfer()
710 Status = UhciMapUserData (Uhc, TransferDirection, Data, DataLength, &PktId, &DataPhy, &DataMap); in Uhci2ControlTransfer()
748 if (DataLength != NULL) { in Uhci2ControlTransfer()
749 *DataLength = QhResult.Complete; in Uhci2ControlTransfer()
798 IN OUT UINTN *DataLength, in Uhci2BulkTransfer() argument
824 if ((DataLength == NULL) || (*DataLength == 0) || (Data == NULL) || (TransferResult == NULL)) { in Uhci2BulkTransfer()
862 Status = UhciMapUserData (Uhc, Direction, *Data, DataLength, &PktId, &DataPhy, &DataMap); in Uhci2BulkTransfer()
876 *DataLength, in Uhci2BulkTransfer()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/
DUfsBlockIoPei.c304 OUT UINT32 *DataLength, in UfsPeimReadCapacity() argument
322 Packet.InTransferLength = *DataLength; in UfsPeimReadCapacity()
334 *DataLength = Packet.InTransferLength; in UfsPeimReadCapacity()
360 OUT UINT32 *DataLength, in UfsPeimReadCapacity16() argument
380 Packet.InTransferLength = *DataLength; in UfsPeimReadCapacity16()
392 *DataLength = Packet.InTransferLength; in UfsPeimReadCapacity16()
422 OUT UINT32 *DataLength, in UfsPeimRead10() argument
442 Packet.InTransferLength = *DataLength; in UfsPeimRead10()
454 *DataLength = Packet.InTransferLength; in UfsPeimRead10()
484 OUT UINT32 *DataLength, in UfsPeimRead16() argument
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/
DOhcPeim.c53 IN OUT UINTN *DataLength, in OhciControlTransfer() argument
85 Request == NULL || DataLength == NULL || TransferResult == NULL || in OhciControlTransfer()
86 (TransferDirection == EfiUsbNoData && (*DataLength != 0 || Data != NULL)) || in OhciControlTransfer()
87 (TransferDirection != EfiUsbNoData && (*DataLength == 0 || Data == NULL)) || in OhciControlTransfer()
95 if (*DataLength > MAX_BYTES_PER_TD) { in OhciControlTransfer()
165 DataMapLength = *DataLength; in OhciControlTransfer()
287 *DataLength = 0; in OhciControlTransfer()
349 IN OUT UINTN *DataLength, in OhciBulkTransfer() argument
378 if (Data == NULL || DataLength == NULL || DataToggle == NULL || TransferResult == NULL || in OhciBulkTransfer()
379 *DataLength == 0 || (*DataToggle != 0 && *DataToggle != 1) || in OhciBulkTransfer()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusPei/
DUsbIoPeim.c49 IN UINTN DataLength OPTIONAL in PeiUsbControlTransfer()
97 &DataLength, in PeiUsbControlTransfer()
112 &DataLength, in PeiUsbControlTransfer()
161 IN OUT UINTN *DataLength, in PeiUsbBulkTransfer() argument
217 DataLength, in PeiUsbBulkTransfer()
231 DataLength, in PeiUsbBulkTransfer()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/
DOhci.h204 IN OUT UINTN *DataLength OPTIONAL,
256 IN OUT UINTN *DataLength,
325 IN UINTN DataLength OPTIONAL,
392 IN UINTN DataLength OPTIONAL,
444 IN OUT UINTN *DataLength,
481 IN OUT UINTN DataLength,
513 IN OUT UINTN DataLength,
DOhci.c278 IN OUT UINTN *DataLength OPTIONAL, in OhciControlTransfer()
316 Request == NULL || DataLength == NULL || TransferResult == NULL || in OhciControlTransfer()
317 (TransferDirection == EfiUsbNoData && (*DataLength != 0 || Data != NULL)) || in OhciControlTransfer()
318 (TransferDirection != EfiUsbNoData && (*DataLength == 0 || Data == NULL)) || in OhciControlTransfer()
325 if (*DataLength > MAX_BYTES_PER_TD) { in OhciControlTransfer()
412 DataMapLength = *DataLength; in OhciControlTransfer()
548 *DataLength = 0; in OhciControlTransfer()
631 IN OUT UINTN *DataLength, in OhciBulkTransfer() argument
663 if (Data == NULL || DataLength == NULL || DataToggle == NULL || TransferResult == NULL || in OhciBulkTransfer()
664 *DataLength == 0 || (*DataToggle != 0 && *DataToggle != 1) || in OhciBulkTransfer()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiHobLib/
DHobLib.c339 IN UINTN DataLength in BuildGuidHob() argument
352 ASSERT (DataLength <= (0xffff - sizeof (EFI_HOB_GUID_TYPE))); in BuildGuidHob()
354 …rnalPeiCreateHob (EFI_HOB_TYPE_GUID_EXTENSION, (UINT16) (sizeof (EFI_HOB_GUID_TYPE) + DataLength)); in BuildGuidHob()
388 IN UINTN DataLength in BuildGuidDataHob() argument
393 ASSERT (Data != NULL || DataLength == 0); in BuildGuidDataHob()
395 HobData = BuildGuidHob (Guid, DataLength); in BuildGuidDataHob()
400 return CopyMem (HobData, Data, DataLength); in BuildGuidDataHob()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
DXhci.c754 IN OUT UINTN *DataLength, in XhcControlTransfer() argument
793 ((Data != NULL) || (*DataLength != 0))) { in XhcControlTransfer()
798 ((Data == NULL) || (*DataLength == 0))) { in XhcControlTransfer()
888 *DataLength, in XhcControlTransfer()
906 *DataLength = Urb->Completed; in XhcControlTransfer()
952 …DESC_TYPE_DEVICE) && ((*DataLength == sizeof (EFI_USB_DEVICE_DESCRIPTOR)) || ((DeviceSpeed == EFI_… in XhcControlTransfer()
957 CopyMem (&Xhc->UsbDevContext[SlotId].DevDesc, Data, *DataLength); in XhcControlTransfer()
974 if (*DataLength == ((UINT16 *)Data)[1]) { in XhcControlTransfer()
980 Xhc->UsbDevContext[SlotId].ConfDesc[Index] = AllocateZeroPool(*DataLength); in XhcControlTransfer()
981 CopyMem (Xhc->UsbDevContext[SlotId].ConfDesc[Index], Data, *DataLength); in XhcControlTransfer()
[all …]
DXhci.h517 IN OUT UINTN *DataLength,
563 IN OUT UINTN *DataLength,
610 IN UINTN DataLength,
652 IN OUT UINTN *DataLength,
690 IN UINTN DataLength,
728 IN UINTN DataLength,
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/
DEhci.c695 IN OUT UINTN *DataLength, in EhcControlTransfer() argument
721 ((Data != NULL) || (*DataLength != 0))) { in EhcControlTransfer()
726 ((Data == NULL) || (*DataLength == 0))) { in EhcControlTransfer()
775 *DataLength, in EhcControlTransfer()
797 *DataLength = Urb->Completed; in EhcControlTransfer()
858 IN OUT UINTN *DataLength, in EhcBulkTransfer() argument
873 if ((DataLength == NULL) || (*DataLength == 0) || in EhcBulkTransfer()
918 *DataLength, in EhcBulkTransfer()
936 *DataLength = Urb->Completed; in EhcBulkTransfer()
998 IN UINTN DataLength, in EhcAsyncInterruptTransfer() argument
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Hob/
DHob.c147 IN UINTN DataLength, in PeiBuildHobGuid() argument
175 (UINT16) (sizeof (EFI_HOB_GUID_TYPE) + DataLength), in PeiBuildHobGuid()
193 IN UINTN DataLength in PeiBuildHobGuidData() argument
225 DataLength, in PeiBuildHobGuidData()
234 (*PeiServices)->CopyMem (Hob, Data, DataLength); in PeiBuildHobGuidData()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/
DScsiDisk.h141 UINT32 DataLength; member
1021 IN OUT UINT32 *DataLength,
1046 IN OUT UINT32 *DataLength,
1070 IN OUT UINT32 *DataLength,
1095 IN OUT UINT32 *DataLength,
1126 IN UINT32 DataLength,
1159 IN UINT32 DataLength,
1192 IN UINT32 DataLength,
1225 IN UINT32 DataLength,
/device/linaro/bootloader/edk2/MdePkg/Library/PeiHobLib/
DHobLib.c408 IN UINTN DataLength in BuildGuidHob() argument
421 ASSERT (DataLength <= (0xFFF8 - sizeof (EFI_HOB_GUID_TYPE))); in BuildGuidHob()
423 …rnalPeiCreateHob (EFI_HOB_TYPE_GUID_EXTENSION, (UINT16) (sizeof (EFI_HOB_GUID_TYPE) + DataLength)); in BuildGuidHob()
461 IN UINTN DataLength in BuildGuidDataHob() argument
466 ASSERT (Data != NULL || DataLength == 0); in BuildGuidDataHob()
468 HobData = BuildGuidHob (Guid, DataLength); in BuildGuidDataHob()
473 return CopyMem (HobData, Data, DataLength); in BuildGuidDataHob()

1234567