Searched refs:DeviceCount (Results 1 – 13 of 13) sorted by relevance
421 Private->DeviceCount = IDE_MAX_DEVICES; in SataControllerStart()430 Private->DeviceCount = AHCI_MAX_DEVICES; in SataControllerStart()432 Private->DeviceCount = AHCI_MULTI_MAX_DEVICES; in SataControllerStart()436 TotalCount = (UINTN) (Private->IdeInit.ChannelCount) * (UINTN) (Private->DeviceCount); in SataControllerStart()599 ASSERT (Device < Private->DeviceCount); in FlatDeviceIndex()601 return Channel * Private->DeviceCount + Device; in FlatDeviceIndex()658 *MaxDevices = Private->DeviceCount; in IdeInitGetChannelInfo()756 if ((Channel >= This->ChannelCount) || (Device >= Private->DeviceCount)) { in IdeInitSubmitData()835 if ((Channel >= This->ChannelCount) || (BadModes == NULL) || (Device >= Private->DeviceCount)) { in IdeInitDisqualifyMode()928 …((Channel >= This->ChannelCount) || (SupportedModes == NULL) || (Device >= Private->DeviceCount)) { in IdeInitCalculateMode()
93 UINT8 DeviceCount; member
451 SataPrivateData->DeviceCount = IDE_MAX_DEVICES; in SataControllerStart()460 SataPrivateData->DeviceCount = AHCI_MAX_DEVICES; in SataControllerStart()462 SataPrivateData->DeviceCount = AHCI_MULTI_MAX_DEVICES; in SataControllerStart()466 …ceCount = (UINTN) (SataPrivateData->IdeInit.ChannelCount) * (UINTN) (SataPrivateData->DeviceCount); in SataControllerStart()629 ASSERT (Device < SataPrivateData->DeviceCount); in FlatDeviceIndex()631 return Channel * SataPrivateData->DeviceCount + Device; in FlatDeviceIndex()688 *MaxDevices = SataPrivateData->DeviceCount; in IdeInitGetChannelInfo()785 if ((Channel >= This->ChannelCount) || (Device >= SataPrivateData->DeviceCount)) { in IdeInitSubmitData()864 …Channel >= This->ChannelCount) || (BadModes == NULL) || (Device >= SataPrivateData->DeviceCount)) { in IdeInitDisqualifyMode()957 …l >= This->ChannelCount) || (SupportedModes == NULL) || (Device >= SataPrivateData->DeviceCount)) { in IdeInitCalculateMode()
91 UINT8 DeviceCount; member
469 SataPrivateData->DeviceCount = IDE_MAX_DEVICES; in SataControllerStart()478 SataPrivateData->DeviceCount = AHCI_MAX_DEVICES; in SataControllerStart()480 SataPrivateData->DeviceCount = AHCI_MULTI_MAX_DEVICES; in SataControllerStart()484 …ceCount = (UINTN) (SataPrivateData->IdeInit.ChannelCount) * (UINTN) (SataPrivateData->DeviceCount); in SataControllerStart()668 ASSERT (Device < SataPrivateData->DeviceCount); in FlatDeviceIndex()670 return Channel * SataPrivateData->DeviceCount + Device; in FlatDeviceIndex()727 *MaxDevices = SataPrivateData->DeviceCount; in IdeInitGetChannelInfo()824 if ((Channel >= This->ChannelCount) || (Device >= SataPrivateData->DeviceCount)) { in IdeInitSubmitData()903 …Channel >= This->ChannelCount) || (BadModes == NULL) || (Device >= SataPrivateData->DeviceCount)) { in IdeInitDisqualifyMode()996 …l >= This->ChannelCount) || (SupportedModes == NULL) || (Device >= SataPrivateData->DeviceCount)) { in IdeInitCalculateMode()
96 UINT8 DeviceCount; member
185 UINTN DeviceCount; in ShellCommandRunDrivers() local269 DeviceCount = 0; in ShellCommandRunDrivers()271 Status = PARSE_HANDLE_DATABASE_DEVICES (*HandleWalker, &DeviceCount, NULL); in ShellCommandRunDrivers()290 ChildCount > 0?L'B':(DeviceCount > 0?L'D':L'?'), in ShellCommandRunDrivers()293 DeviceCount, in ShellCommandRunDrivers()
86 DEBUG ((EFI_D_INFO, "Atatpi Device Count is %d\n", AtapiBlkIoDev->DeviceCount)); in AtapiPeimEntry()87 if (AtapiBlkIoDev->DeviceCount != 0) { in AtapiPeimEntry()130 *NumberBlockDevices = AtapiBlkIoDev->DeviceCount; in AtapiGetNumberOfBlockDevices()172 UINTN DeviceCount; in AtapiGetBlockDeviceMediaInfo() local185 DeviceCount = AtapiBlkIoDev->DeviceCount; in AtapiGetBlockDeviceMediaInfo()190 if ((DeviceIndex < 1) || (DeviceIndex > DeviceCount) || (DeviceIndex > MAX_IDE_DEVICES)) { in AtapiGetBlockDeviceMediaInfo()533 UINTN DeviceCount; in AtapiEnumerateDevices() local539 DeviceCount = 0; in AtapiEnumerateDevices()602 AtapiBlkIoDev->DeviceInfo[DeviceCount].DevicePosition = DevicePosition; in AtapiEnumerateDevices()607 … CopyMem (&(AtapiBlkIoDev->DeviceInfo[DeviceCount].MediaInfo), &MediaInfo, sizeof (MediaInfo)); in AtapiEnumerateDevices()[all …]
108 UINTN DeviceCount; member
1120 FdcBlkIoDev->DeviceCount = DevNo; in FdcEnumeration()1472 *NumberBlockDevices = FdcBlkIoDev->DeviceCount; in FdcGetNumberOfBlockDevices()1514 UINTN DeviceCount; in FdcGetBlockDeviceMediaInfo() local1527 DeviceCount = FdcBlkIoDev->DeviceCount; in FdcGetBlockDeviceMediaInfo()1532 if ((DeviceIndex < 1) || (DeviceIndex > DeviceCount) || (DeviceIndex > 2)) { in FdcGetBlockDeviceMediaInfo()1722 UINTN DeviceCount; in FdcPeimEntry() local1751 DeviceCount = FdcEnumeration (FdcBlkIoDev); in FdcPeimEntry()1752 if (DeviceCount == 0) { in FdcPeimEntry()
154 UINTN DeviceCount; member