Searched refs:Media2 (Results 1 – 7 of 7) sorted by relevance
217 PeiBotDevice->Media2.InterfaceType = MSG_USB_DP; in InitUsbBot()218 PeiBotDevice->Media2.BlockSize = 0x200; in InitUsbBot()219 PeiBotDevice->Media2.RemovableMedia = FALSE; in InitUsbBot()220 PeiBotDevice->Media2.ReadOnly = FALSE; in InitUsbBot()467 if (StartLBA > PeiBotDev->Media2.LastBlock) { in BotReadBlocks()521 if (StartLBA > PeiBotDev->Media2.LastBlock) { in BotReadBlocks()525 if ((StartLBA + NumberOfBlocks - 1) > PeiBotDev->Media2.LastBlock) { in BotReadBlocks()661 &(PeiBotDev->Media2), in BotGetMediaInfo2()795 PeiBotDev->Media2.MediaPresent = FALSE; in PeiBotDetectMedia()796 PeiBotDev->Media2.LastBlock = 0; in PeiBotDetectMedia()[all …]
76 PeiBotDevice->Media2.ReadOnly = TRUE; in PeiUsbInquiry()77 PeiBotDevice->Media2.RemovableMedia = TRUE; in PeiUsbInquiry()78 PeiBotDevice->Media2.BlockSize = 0x800; in PeiUsbInquiry()82 PeiBotDevice->Media2.ReadOnly = FALSE; in PeiUsbInquiry()83 PeiBotDevice->Media2.RemovableMedia = TRUE; in PeiUsbInquiry()84 PeiBotDevice->Media2.BlockSize = 0x200; in PeiUsbInquiry()286 PeiBotDevice->Media2.LastBlock = LastBlock; in PeiUsbReadCapacity()287 PeiBotDevice->Media2.MediaPresent = TRUE; in PeiUsbReadCapacity()345 PeiBotDevice->Media2.MediaPresent = FALSE; in PeiUsbReadFormattedCapacity()346 PeiBotDevice->Media2.LastBlock = 0; in PeiUsbReadFormattedCapacity()[all …]
304 EFI_PEI_BLOCK_IO2_MEDIA Media2; member
173 EFI_PEI_BLOCK_IO2_MEDIA Media2; in UpdateBlocksAndVolumes() local232 &Media2 in UpdateBlocksAndVolumes()235 !Media2.MediaPresent || in UpdateBlocksAndVolumes()236 ((Media2.InterfaceType != MSG_ATAPI_DP) && (Media2.InterfaceType != MSG_USB_DP)) || in UpdateBlocksAndVolumes()237 (Media2.BlockSize != PEI_CD_BLOCK_SIZE) in UpdateBlocksAndVolumes()241 DEBUG ((EFI_D_INFO, "PeiCdExpress InterfaceType is %d\n", Media2.InterfaceType)); in UpdateBlocksAndVolumes()242 DEBUG ((EFI_D_INFO, "PeiCdExpress MediaPresent is %d\n", Media2.MediaPresent)); in UpdateBlocksAndVolumes()243 DEBUG ((EFI_D_INFO, "PeiCdExpress BlockSize is 0x%x\n", Media2.BlockSize)); in UpdateBlocksAndVolumes()
67 EFI_PEI_BLOCK_IO2_MEDIA Media2; in UpdateBlocksAndVolumes() local134 &Media2 in UpdateBlocksAndVolumes()136 if (EFI_ERROR (Status) || !Media2.MediaPresent) { in UpdateBlocksAndVolumes()140 … PrivateData->BlockDevice[PrivateData->BlockDeviceCount].InterfaceType = Media2.InterfaceType; in UpdateBlocksAndVolumes()141 PrivateData->BlockDevice[PrivateData->BlockDeviceCount].LastBlock = Media2.LastBlock; in UpdateBlocksAndVolumes()142 PrivateData->BlockDevice[PrivateData->BlockDeviceCount].BlockSize = Media2.BlockSize; in UpdateBlocksAndVolumes()
1158 Private->BlockIo2.Media = &Private->Media2; in PartitionInstallChildHandle()1179 Private->Media2.IoAlign = 0; in PartitionInstallChildHandle()1180 Private->Media2.LogicalPartition = TRUE; in PartitionInstallChildHandle()1181 Private->Media2.LastBlock = Private->Media.LastBlock; in PartitionInstallChildHandle()1182 Private->Media2.BlockSize = (UINT32) BlockSize; in PartitionInstallChildHandle()1191 Private->Media2.LowestAlignedLba = 0; in PartitionInstallChildHandle()1192 Private->Media2.LogicalBlocksPerPhysicalBlock = 0; in PartitionInstallChildHandle()1195 Private->Media2.OptimalTransferLengthGranularity = 0; in PartitionInstallChildHandle()
55 EFI_BLOCK_IO_MEDIA Media2;//For BlockIO2 member