Home
last modified time | relevance | path

Searched refs:SenseCounts (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBotPei/
DPeiAtapi.c153 OUT UINTN *SenseCounts, in PeiUsbRequestSense() argument
163 *SenseCounts = 0; in PeiUsbRequestSense()
202 if (*SenseCounts == 0) { in PeiUsbRequestSense()
215 (*SenseCounts)++; in PeiUsbRequestSense()
217 if (*SenseCounts == MAXSENSEKEY) { in PeiUsbRequestSense()
491 IN UINTN SenseCounts in IsNoMedia() argument
501 for (Index = 0; Index < SenseCounts; Index++) { in IsNoMedia()
542 IN UINTN SenseCounts in IsMediaError() argument
552 for (Index = 0; Index < SenseCounts; Index++) { in IsMediaError()
619 IN UINTN SenseCounts in IsMediaChange() argument
[all …]
DBotPeim.h112 OUT UINTN *SenseCounts,
189 IN UINTN SenseCounts
205 IN UINTN SenseCounts
221 IN UINTN SenseCounts
DUsbBotPeim.c754 UINTN SenseCounts; in PeiBotDetectMedia() local
765 SenseCounts = 0; in PeiBotDetectMedia()
783 &SenseCounts, in PeiBotDetectMedia()
791 if (IsNoMedia (SensePtr, SenseCounts)) { in PeiBotDetectMedia()
801 if (IsMediaChange (SensePtr, SenseCounts)) { in PeiBotDetectMedia()
808 if (IsMediaError (SensePtr, SenseCounts)) { in PeiBotDetectMedia()
867 SenseCounts = 0; in PeiBotDetectMedia()
877 &SenseCounts, in PeiBotDetectMedia()
890 if (IsNoMedia (SensePtr, SenseCounts)) { in PeiBotDetectMedia()
898 if (IsMediaError (SensePtr, SenseCounts)) { in PeiBotDetectMedia()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/IdeBusPei/
DAtapiPeim.c1736 UINT8 SenseCounts; in DetectMedia() local
1762 SenseCounts = MAX_SENSE_KEY_COUNT; in DetectMedia()
1767 SenseCounts = MAX_SENSE_KEY_COUNT; in DetectMedia()
1772 &SenseCounts in DetectMedia()
1774 DEBUG ((EFI_D_INFO, "Atapi Request Sense Count is %d\n", SenseCounts)); in DetectMedia()
1775 if (IsDeviceStateUnclear (SenseBuffers, SenseCounts) || IsNoMedia (SenseBuffers, SenseCounts)) { in DetectMedia()
1787 if (IsNoMedia (SenseBuffers, SenseCounts)) { in DetectMedia()
1796 if (IsMediaError (SenseBuffers, SenseCounts)) { in DetectMedia()
1814 SenseCounts = MAX_SENSE_KEY_COUNT; in DetectMedia()
1818 Status = RequestSense (AtapiBlkIoDev, DevicePosition, SenseBuffers, &SenseCounts); in DetectMedia()
[all …]
DAtapiPeim.h674 IN OUT UINT8 *SenseCounts
736 IN UINTN SenseCounts
752 IN UINTN SenseCounts
768 IN UINTN SenseCounts
785 IN UINTN SenseCounts,
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/
DScsiDisk.h1258 IN UINTN SenseCounts
1274 IN UINTN SenseCounts
1290 IN UINTN SenseCounts
1305 IN UINTN SenseCounts
1321 IN UINTN SenseCounts
1338 IN UINTN SenseCounts,
1355 IN UINTN SenseCounts
DScsiDisk.c4843 IN UINTN SenseCounts in ScsiDiskIsNoMedia() argument
4853 for (Index = 0; Index < SenseCounts; Index++) { in ScsiDiskIsNoMedia()
4882 IN UINTN SenseCounts in ScsiDiskIsMediaError() argument
4892 for (Index = 0; Index < SenseCounts; Index++) { in ScsiDiskIsMediaError()
4967 IN UINTN SenseCounts in ScsiDiskIsHardwareError() argument
4977 for (Index = 0; Index < SenseCounts; Index++) { in ScsiDiskIsHardwareError()
5005 IN UINTN SenseCounts in ScsiDiskIsMediaChange() argument
5015 for (Index = 0; Index < SenseCounts; Index++) { in ScsiDiskIsMediaChange()
5044 IN UINTN SenseCounts in ScsiDiskIsResetBefore() argument
5054 for (Index = 0; Index < SenseCounts; Index++) { in ScsiDiskIsResetBefore()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/
DAtapi.c776 OUT UINTN *SenseCounts in AtapiRequestSense() argument
785 *SenseCounts = 0; in AtapiRequestSense()
821 if (*SenseCounts == 0) { in AtapiRequestSense()
828 (*SenseCounts)++; in AtapiRequestSense()
835 if ((Sense->sense_key != ATA_SK_NO_SENSE) && ((*SenseCounts) < 20)) { in AtapiRequestSense()