/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdBlockIoPei/ |
D | SdBlockIoPei.c | 170 IN UINTN DeviceIndex, in SdBlockIoPeimGetMediaInfo() argument 178 if ((DeviceIndex == 0) || (DeviceIndex > Private->TotalBlkIoDevices)) { in SdBlockIoPeimGetMediaInfo() 184 MediaInfo->LastBlock = (UINTN)Private->Slot[DeviceIndex - 1].Media.LastBlock; in SdBlockIoPeimGetMediaInfo() 185 MediaInfo->BlockSize = Private->Slot[DeviceIndex - 1].Media.BlockSize; in SdBlockIoPeimGetMediaInfo() 229 IN UINTN DeviceIndex, in SdBlockIoPeimReadBlocks() argument 256 if ((DeviceIndex == 0) || (DeviceIndex > Private->TotalBlkIoDevices)) { in SdBlockIoPeimReadBlocks() 260 BlockSize = Private->Slot[DeviceIndex - 1].Media.BlockSize; in SdBlockIoPeimReadBlocks() 265 if (StartLBA > Private->Slot[DeviceIndex - 1].Media.LastBlock) { in SdBlockIoPeimReadBlocks() 286 …Status = SdPeimRwMultiBlocks (&Private->Slot[DeviceIndex - 1], StartLBA, BlockSize, Buffer, Buffer… in SdBlockIoPeimReadBlocks() 288 …Status = SdPeimRwSingleBlock (&Private->Slot[DeviceIndex - 1], StartLBA, BlockSize, Buffer, Buffer… in SdBlockIoPeimReadBlocks() [all …]
|
D | SdBlockIoPei.h | 161 IN UINTN DeviceIndex, 204 IN UINTN DeviceIndex, 283 IN UINTN DeviceIndex, 326 IN UINTN DeviceIndex,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/ |
D | UfsBlockIoPei.c | 672 IN UINTN DeviceIndex, in UfsBlockIoPeimGetMediaInfo() argument 688 if (DeviceIndex >= UFS_PEIM_MAX_LUNS) { in UfsBlockIoPeimGetMediaInfo() 692 if ((Private->Luns.BitMask & (BIT0 << DeviceIndex)) == 0) { in UfsBlockIoPeimGetMediaInfo() 706 DeviceIndex, in UfsBlockIoPeimGetMediaInfo() 718 Status = UfsPeimParsingSenseKeys (&(Private->Media[DeviceIndex]), &SenseData, &NeedRetry); in UfsBlockIoPeimGetMediaInfo() 727 …Status = UfsPeimReadCapacity (Private, DeviceIndex, &Capacity, (UINT32 *)&DataLength, NULL, &Sense… in UfsBlockIoPeimGetMediaInfo() 736 …Status = UfsPeimReadCapacity16 (Private, DeviceIndex, &Capacity16, (UINT32 *)&DataLength, NULL, &S… in UfsBlockIoPeimGetMediaInfo() 740 …Private->Media[DeviceIndex].LastBlock = (Capacity16.LastLba3 << 24) | (Capacity16.LastLba2 << 16)… in UfsBlockIoPeimGetMediaInfo() 741 …Private->Media[DeviceIndex].LastBlock |= LShiftU64 ((UINT64)Capacity16.LastLba7, 56) | LShiftU64((… in UfsBlockIoPeimGetMediaInfo() 742 …Private->Media[DeviceIndex].BlockSize = (Capacity16.BlockSize3 << 24) | (Capacity16.BlockSize2 <<… in UfsBlockIoPeimGetMediaInfo() [all …]
|
D | UfsBlockIoPei.h | 344 IN UINTN DeviceIndex, 387 IN UINTN DeviceIndex, 466 IN UINTN DeviceIndex, 509 IN UINTN DeviceIndex,
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ |
D | BBSsupport.c | 180 UINTN DeviceIndex; in GroupMultipleLegacyBootOption4SameType() local 228 for (DeviceIndex = 0; DeviceIndex < ARRAY_SIZE (DeviceTypeIndex); DeviceIndex++) { in GroupMultipleLegacyBootOption4SameType() 229 … if (DeviceTypeIndex[DeviceIndex] != (UINTN) -1 && DeviceTypeIndex[DeviceIndex] >= *NextIndex) { in GroupMultipleLegacyBootOption4SameType() 230 DeviceTypeIndex[DeviceIndex]++; in GroupMultipleLegacyBootOption4SameType()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/ |
D | EmmcBlockIoPei.c | 242 IN UINTN DeviceIndex, in EmmcBlockIoPeimGetMediaInfo() argument 255 if ((DeviceIndex == 0) || (DeviceIndex > Private->TotalBlkIoDevices)) { in EmmcBlockIoPeimGetMediaInfo() 264 if (Location == DeviceIndex) { in EmmcBlockIoPeimGetMediaInfo() 321 IN UINTN DeviceIndex, in EmmcBlockIoPeimReadBlocks() argument 354 if ((DeviceIndex == 0) || (DeviceIndex > Private->TotalBlkIoDevices)) { in EmmcBlockIoPeimReadBlocks() 363 if (Location == DeviceIndex) { in EmmcBlockIoPeimReadBlocks() 515 IN UINTN DeviceIndex, in EmmcBlockIoPeimGetMediaInfo2() argument 533 DeviceIndex, in EmmcBlockIoPeimGetMediaInfo2() 545 if (Location == DeviceIndex) { in EmmcBlockIoPeimGetMediaInfo2() 598 IN UINTN DeviceIndex, in EmmcBlockIoPeimReadBlocks2() argument [all …]
|
D | EmmcBlockIoPei.h | 165 IN UINTN DeviceIndex, 208 IN UINTN DeviceIndex, 287 IN UINTN DeviceIndex, 330 IN UINTN DeviceIndex,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SataControllerDxe/ |
D | SataController.c | 751 UINTN DeviceIndex; in IdeInitSubmitData() local 760 DeviceIndex = FlatDeviceIndex (Private, Channel, Device); in IdeInitSubmitData() 767 &(Private->IdentifyData[DeviceIndex]), in IdeInitSubmitData() 772 Private->IdentifyValid[DeviceIndex] = TRUE; in IdeInitSubmitData() 774 Private->IdentifyValid[DeviceIndex] = FALSE; in IdeInitSubmitData() 830 UINTN DeviceIndex; in IdeInitDisqualifyMode() local 839 DeviceIndex = FlatDeviceIndex (Private, Channel, Device); in IdeInitDisqualifyMode() 846 &(Private->DisqualifiedModes[DeviceIndex]), in IdeInitDisqualifyMode() 923 UINTN DeviceIndex; in IdeInitCalculateMode() local 938 DeviceIndex = FlatDeviceIndex (Private, Channel, Device); in IdeInitCalculateMode() [all …]
|
/device/linaro/bootloader/edk2/CorebootModulePkg/SataControllerDxe/ |
D | SataController.c | 780 UINTN DeviceIndex; in IdeInitSubmitData() local 789 DeviceIndex = FlatDeviceIndex (SataPrivateData, Channel, Device); in IdeInitSubmitData() 796 &(SataPrivateData->IdentifyData[DeviceIndex]), in IdeInitSubmitData() 801 SataPrivateData->IdentifyValid[DeviceIndex] = TRUE; in IdeInitSubmitData() 803 SataPrivateData->IdentifyValid[DeviceIndex] = FALSE; in IdeInitSubmitData() 859 UINTN DeviceIndex; in IdeInitDisqualifyMode() local 868 DeviceIndex = FlatDeviceIndex (SataPrivateData, Channel, Device); in IdeInitDisqualifyMode() 875 &(SataPrivateData->DisqualifiedModes[DeviceIndex]), in IdeInitDisqualifyMode() 952 UINTN DeviceIndex; in IdeInitCalculateMode() local 967 DeviceIndex = FlatDeviceIndex (SataPrivateData, Channel, Device); in IdeInitCalculateMode() [all …]
|
/device/linaro/bootloader/edk2/DuetPkg/SataControllerDxe/ |
D | SataController.c | 780 UINTN DeviceIndex; in IdeInitSubmitData() local 789 DeviceIndex = FlatDeviceIndex (SataPrivateData, Channel, Device); in IdeInitSubmitData() 796 &(SataPrivateData->IdentifyData[DeviceIndex]), in IdeInitSubmitData() 801 SataPrivateData->IdentifyValid[DeviceIndex] = TRUE; in IdeInitSubmitData() 803 SataPrivateData->IdentifyValid[DeviceIndex] = FALSE; in IdeInitSubmitData() 859 UINTN DeviceIndex; in IdeInitDisqualifyMode() local 868 DeviceIndex = FlatDeviceIndex (SataPrivateData, Channel, Device); in IdeInitDisqualifyMode() 875 &(SataPrivateData->DisqualifiedModes[DeviceIndex]), in IdeInitDisqualifyMode() 952 UINTN DeviceIndex; in IdeInitCalculateMode() local 967 DeviceIndex = FlatDeviceIndex (SataPrivateData, Channel, Device); in IdeInitCalculateMode() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBotPei/ |
D | UsbBotPeim.h | 93 IN UINTN DeviceIndex, 136 IN UINTN DeviceIndex, 201 IN UINTN DeviceIndex, 244 IN UINTN DeviceIndex,
|
D | UsbBotPeim.c | 358 IN UINTN DeviceIndex, in BotGetMediaInfo() argument 432 IN UINTN DeviceIndex, in BotReadBlocks() argument 639 IN UINTN DeviceIndex, in BotGetMediaInfo2() argument 651 DeviceIndex, in BotGetMediaInfo2() 707 IN UINTN DeviceIndex, in BotReadBlocks2() argument 726 DeviceIndex, in BotReadBlocks2()
|
/device/linaro/bootloader/edk2/OvmfPkg/SataControllerDxe/ |
D | SataController.c | 819 UINTN DeviceIndex; in IdeInitSubmitData() local 828 DeviceIndex = FlatDeviceIndex (SataPrivateData, Channel, Device); in IdeInitSubmitData() 835 &(SataPrivateData->IdentifyData[DeviceIndex]), in IdeInitSubmitData() 840 SataPrivateData->IdentifyValid[DeviceIndex] = TRUE; in IdeInitSubmitData() 842 SataPrivateData->IdentifyValid[DeviceIndex] = FALSE; in IdeInitSubmitData() 898 UINTN DeviceIndex; in IdeInitDisqualifyMode() local 907 DeviceIndex = FlatDeviceIndex (SataPrivateData, Channel, Device); in IdeInitDisqualifyMode() 914 &(SataPrivateData->DisqualifiedModes[DeviceIndex]), in IdeInitDisqualifyMode() 991 UINTN DeviceIndex; in IdeInitCalculateMode() local 1006 DeviceIndex = FlatDeviceIndex (SataPrivateData, Channel, Device); in IdeInitCalculateMode() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyPei/ |
D | FloppyPeim.c | 1510 IN UINTN DeviceIndex, in FdcGetBlockDeviceMediaInfo() argument 1532 if ((DeviceIndex < 1) || (DeviceIndex > DeviceCount) || (DeviceIndex > 2)) { in FdcGetBlockDeviceMediaInfo() 1536 Index = DeviceIndex - 1; in FdcGetBlockDeviceMediaInfo() 1598 IN UINTN DeviceIndex, in FdcReadBlocks() argument 1625 Status = FdcGetBlockDeviceMediaInfo (PeiServices, This, DeviceIndex, &MediaInfo); in FdcReadBlocks() 1646 …if ((StartLBA + NumberOfBlocks - 1) > FdcBlkIoDev->DeviceInfo[DeviceIndex - 1].MediaInfo.LastBlock… in FdcReadBlocks() 1657 Status = MotorOn (FdcBlkIoDev, &(FdcBlkIoDev->DeviceInfo[DeviceIndex - 1])); in FdcReadBlocks() 1662 Status = Setup (FdcBlkIoDev, FdcBlkIoDev->DeviceInfo[DeviceIndex - 1].DevPos); in FdcReadBlocks() 1664 MotorOff (FdcBlkIoDev, &(FdcBlkIoDev->DeviceInfo[DeviceIndex - 1])); in FdcReadBlocks() 1672 &(FdcBlkIoDev->DeviceInfo[DeviceIndex - 1]), in FdcReadBlocks() [all …]
|
D | FloppyPeim.h | 209 IN UINTN DeviceIndex, 240 IN UINTN DeviceIndex,
|
/device/linaro/bootloader/edk2/MdePkg/Include/Ppi/ |
D | BlockIo2.h | 146 IN UINTN DeviceIndex, 189 IN UINTN DeviceIndex,
|
D | BlockIo.h | 166 IN UINTN DeviceIndex, 209 IN UINTN DeviceIndex,
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Ppi/BlockIo/ |
D | BlockIo.h | 65 IN UINTN DeviceIndex, 74 IN UINTN DeviceIndex,
|
/device/linaro/bootloader/OpenPlatformPkg/Documentation/Marvell/Drivers/ |
D | EepromDriver.txt | 17 DeviceIndex values. 41 /* I2C guid must fit and valid DeviceIndex must be provided */ 43 TmpI2cIo->DeviceIndex == EepromAddresses[i]) { 92 with valid GUID and DeviceIndex (I2C slave address).
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/IdeBusPei/ |
D | AtapiPeim.h | 200 IN UINTN DeviceIndex, 243 IN UINTN DeviceIndex, 309 IN UINTN DeviceIndex, 352 IN UINTN DeviceIndex,
|
D | AtapiPeim.c | 168 IN UINTN DeviceIndex, in AtapiGetBlockDeviceMediaInfo() argument 190 if ((DeviceIndex < 1) || (DeviceIndex > DeviceCount) || (DeviceIndex > MAX_IDE_DEVICES)) { in AtapiGetBlockDeviceMediaInfo() 194 Index = DeviceIndex - 1; in AtapiGetBlockDeviceMediaInfo() 268 IN UINTN DeviceIndex, in AtapiReadBlocks() argument 300 DeviceIndex, in AtapiReadBlocks() 319 …if ((StartLBA + NumberOfBlocks - 1) > AtapiBlkIoDev->DeviceInfo[DeviceIndex - 1].MediaInfo2.LastBl… in AtapiReadBlocks() 325 AtapiBlkIoDev->DeviceInfo[DeviceIndex - 1].DevicePosition, in AtapiReadBlocks() 412 IN UINTN DeviceIndex, in AtapiGetBlockDeviceMediaInfo2() argument 431 DeviceIndex, in AtapiGetBlockDeviceMediaInfo2() 440 …CopyMem (MediaInfo, &AtapiBlkIoDev->DeviceInfo[DeviceIndex - 1].MediaInfo2, sizeof(EFI_PEI_BLOCK_I… in AtapiGetBlockDeviceMediaInfo2() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootManagerUiLib/ |
D | BootManager.c | 319 UINTN DeviceIndex; in GroupMultipleLegacyBootOption4SameType() local 365 for (DeviceIndex = 0; DeviceIndex < ARRAY_SIZE (DeviceTypeIndex); DeviceIndex++) { in GroupMultipleLegacyBootOption4SameType() 366 … if (DeviceTypeIndex[DeviceIndex] != (UINTN) -1 && DeviceTypeIndex[DeviceIndex] >= *NextIndex) { in GroupMultipleLegacyBootOption4SameType() 367 DeviceTypeIndex[DeviceIndex]++; in GroupMultipleLegacyBootOption4SameType()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | I2cIo.h | 151 UINT32 DeviceIndex; member
|
/device/linaro/bootloader/edk2/MdePkg/Include/Pi/ |
D | PiI2c.h | 81 UINT32 DeviceIndex; member
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/I2c/Devices/MvEeprom/ |
D | MvEeprom.c | 101 TmpI2cIo->DeviceIndex == I2C_DEVICE_INDEX(EepromBuses[i], in MvEepromSupported() 210 EepromContext->EepromProtocol.Identifier = EepromContext->I2cIo->DeviceIndex; in MvEepromStart()
|