Lines Matching refs:DeviceIndex
1487 @param[in] DeviceIndex Specifies the block device to which the function wants
1510 IN UINTN DeviceIndex,
1530 // DeviceIndex is a value from 1 to NumberBlockDevices.
1532 if ((DeviceIndex < 1) || (DeviceIndex > DeviceCount) || (DeviceIndex > 2)) {
1536 Index = DeviceIndex - 1;
1569 @param[in] DeviceIndex Specifies the block device to which the function wants
1598 IN UINTN DeviceIndex,
1625 Status = FdcGetBlockDeviceMediaInfo (PeiServices, This, DeviceIndex, &MediaInfo);
1646 if ((StartLBA + NumberOfBlocks - 1) > FdcBlkIoDev->DeviceInfo[DeviceIndex - 1].MediaInfo.LastBlock) {
1657 Status = MotorOn (FdcBlkIoDev, &(FdcBlkIoDev->DeviceInfo[DeviceIndex - 1]));
1662 Status = Setup (FdcBlkIoDev, FdcBlkIoDev->DeviceInfo[DeviceIndex - 1].DevPos);
1664 MotorOff (FdcBlkIoDev, &(FdcBlkIoDev->DeviceInfo[DeviceIndex - 1]));
1672 &(FdcBlkIoDev->DeviceInfo[DeviceIndex - 1]),
1678 &(FdcBlkIoDev->DeviceInfo[DeviceIndex - 1]),
1689 MotorOff (FdcBlkIoDev, &(FdcBlkIoDev->DeviceInfo[DeviceIndex - 1]));
1696 FdcReset (FdcBlkIoDev, FdcBlkIoDev->DeviceInfo[DeviceIndex - 1].DevPos);