Searched refs:WordCount (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/
H A DAta.c486 UINTN WordCount; local
562 WordCount = 0;
564 while (WordCount < ByteCount / 2) {
581 if ((WordCount + Increment) > ByteCount / 2) {
582 Increment = ByteCount / 2 - WordCount;
592 WordCount += Increment;
635 UINTN WordCount; local
706 WordCount = 0;
708 while (WordCount < ByteCount / 2) {
727 if ((WordCount
1160 UINTN WordCount; local
2175 UINTN WordCount; local
[all...]
H A DAtapi.c237 UINT32 WordCount; local
278 WordCount = IDEReadPortB (IdeDev->PciIo, IdeDev->IoPort->CylinderMsb) << 8;
279 WordCount = WordCount | IDEReadPortB (IdeDev->PciIo, IdeDev->IoPort->CylinderLsb);
280 WordCount = WordCount & 0xffff;
281 WordCount /= 2;
283 WordCount = MIN (WordCount, (RequiredWordCount - ActualWordCount));
289 WordCount,
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/IdeBusPei/
H A DAtapiPeim.c1046 UINT32 WordCount; local
1133 WordCount = 0;
1135 // WordCount is used to record bytes of currently transfered data
1137 while (WordCount < ByteCount / 2) {
1153 if ((WordCount + Increment) > ByteCount / 2) {
1154 Increment = ByteCount / 2 - WordCount;
1163 WordCount += Increment;
1254 UINT32 WordCount; local
1379 WordCount = IoRead8 (CylinderMsbReg) << 8;
1380 WordCount
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/
H A DIdeMode.c1136 UINTN WordCount; local
1176 WordCount = 0;
1178 while (WordCount < RShiftU64(ByteCount, 1)) {
1191 if ((WordCount + Increment) > RShiftU64(ByteCount, 1)) {
1192 Increment = (UINTN)(RShiftU64(ByteCount, 1) - WordCount);
1217 WordCount += Increment;
1850 UINT32 WordCount; local
1881 WordCount = IdeReadPortB (PciIo, IdeRegisters->CylinderMsb) << 8;
1882 WordCount = WordCount | IdeReadPort
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/OptionRomPkg/AtapiPassThruDxe/
H A DAtapiPassThru.c2339 UINT32 WordCount; local
2387 WordCount = ReadPortB (AtapiScsiPrivate->PciIo, AtapiScsiPrivate->IoPort->CylinderMsb) << 8;
2388 WordCount = WordCount | ReadPortB (AtapiScsiPrivate->PciIo, AtapiScsiPrivate->IoPort->CylinderLsb);
2389 WordCount = WordCount & 0xffff;
2390 WordCount /= 2;
2395 for (Index = 0; (Index < WordCount) && (ActualWordCount < RequiredWordCount); Index++, ActualWordCount++) {

Completed in 60 milliseconds