Home
last modified time | relevance | path

Searched refs:SectorSize (Results 1 – 25 of 30) sorted by relevance

12

/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/FlashDeviceLib/
DFlashDeviceLib.c40 UINT32 SectorSize; in SpiFlashErase() local
44 SectorSize = SECTOR_SIZE_4KB; in SpiFlashErase()
61 SpiAddress += SectorSize; in SpiFlashErase()
62 NumBytes -= SectorSize; in SpiFlashErase()
76 UINT32 SectorSize; in SpiFlashBlockErase() local
80 SectorSize = SECTOR_SIZE_64KB; in SpiFlashBlockErase()
97 SpiAddress += SectorSize; in SpiFlashBlockErase()
98 NumBytes -= SectorSize; in SpiFlashBlockErase()
/device/linaro/bootloader/edk2/FatPkg/FatPei/
DFatLiteAccess.c144 Volume->ClusterSize = Bpb.SectorSize * Bpb.SectorsPerCluster; in FatGetBpbInfo()
146 Volume->SectorSize = Bpb.SectorSize; in FatGetBpbInfo()
148 …lume->RootEntries * sizeof (FAT_DIRECTORY_ENTRY)) + (Volume->SectorSize - 1)) / Volume->SectorSize; in FatGetBpbInfo()
154 Volume->VolumeSize = MultU64x32 (Sectors, Volume->SectorSize); in FatGetBpbInfo()
155 Volume->FatPos = MultU64x32 (FatLba, Volume->SectorSize); in FatGetBpbInfo()
156 Volume->RootDirPos = MultU64x32 (RootLba, Volume->SectorSize); in FatGetBpbInfo()
157 Volume->FirstClusterPos = MultU64x32 (FirstClusterLba, Volume->SectorSize); in FatGetBpbInfo()
DFatLiteFmt.h88 UINT16 SectorSize; member
114 UINT16 SectorSize; member
DFatLitePeim.h96 UINT32 SectorSize; member
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DUefiScsiLib.h636 IN UINT32 SectorSize
697 IN UINT32 SectorSize
757 IN UINT32 SectorSize
818 IN UINT32 SectorSize
907 IN UINT32 SectorSize,
997 IN UINT32 SectorSize,
1087 IN UINT32 SectorSize,
1177 IN UINT32 SectorSize,
/device/linaro/bootloader/edk2/MdePkg/Library/UefiScsiLib/
DUefiScsiLib.c947 IN UINT32 SectorSize in ScsiRead10Command() argument
973 WriteUnaligned16 ((UINT16 *)&Cdb[7], SwapBytes16 ((UINT16) SectorSize)); in ScsiRead10Command()
1047 IN UINT32 SectorSize in ScsiWrite10Command() argument
1073 WriteUnaligned16 ((UINT16 *)&Cdb[7], SwapBytes16 ((UINT16) SectorSize)); in ScsiWrite10Command()
1146 IN UINT32 SectorSize in ScsiRead16Command() argument
1172 WriteUnaligned32 ((UINT32 *)&Cdb[10], SwapBytes32 (SectorSize)); in ScsiRead16Command()
1246 IN UINT32 SectorSize in ScsiWrite16Command() argument
1272 WriteUnaligned32 ((UINT32 *)&Cdb[10], SwapBytes32 (SectorSize)); in ScsiWrite16Command()
1419 IN UINT32 SectorSize, in ScsiRead10CommandEx() argument
1440 SectorSize in ScsiRead10CommandEx()
[all …]
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
DInit.c255 if ((FatBs.FatBsb.SectorSize & (FatBs.FatBsb.SectorSize - 1)) != 0) { in FatOpenDevice()
259 BlockAlignment = (UINT8) HighBitSet32 (FatBs.FatBsb.SectorSize); in FatOpenDevice()
308 BlockSize = FatBs.FatBsb.SectorSize; in FatOpenDevice()
DFatFileSystem.h101 UINT16 SectorSize; member
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/
DMiscBiosVendorFunction.c66 UINT32 SectorSize; in FlashRead()
71 SectorSize = SECTOR_SIZE_4KB; in FlashRead()
81 SectorSize, in FlashRead()
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DSd.h101 UINT32 SectorSize:7; // Erase sector size [45:39] member
143 UINT32 SectorSize:7; // Erase sector size [45:39] member
/device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/
DXenPvBlkDxe.c299 Media->BlockSize / Dev->MediaInfo.SectorSize) - 1; in XenPvBlkDxeDriverBindingStart()
301 Media->BlockSize = Dev->MediaInfo.SectorSize; in XenPvBlkDxeDriverBindingStart()
DBlockFront.c300 Dev->MediaInfo.SectorSize = (UINT32)Value; in XenPvBlockFrontInitialization()
321 Dev->MediaInfo.Sectors, Dev->MediaInfo.SectorSize)); in XenPvBlockFrontInitialization()
449 ASSERT(!(IoData->Sector & ((Dev->MediaInfo.SectorSize / 512) - 1))); in XenPvBlockAsyncIo()
451 ASSERT(!(IoData->Size & (Dev->MediaInfo.SectorSize - 1))); in XenPvBlockAsyncIo()
453 ASSERT(!((UINTN) IoData->Buffer & (Dev->MediaInfo.SectorSize - 1))); in XenPvBlockAsyncIo()
DBlockFront.h39 UINT32 SectorSize; member
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdDxe/
DSdDxe.c124 DEBUG((DEBUG_INFO, " Erase sector size 0x%x\n", Csd->SectorSize)); in DumpCsd()
258 … Device->EraseBlock.EraseLengthGranularity = (Csd->SectorSize + 1) * (1 << (Csd->WriteBlLen - 9)); in DiscoverUserArea()
/device/linaro/bootloader/edk2/DuetPkg/BootSector/
Dbs16.S42 SectorSize: .word 0 # Sector Size - 16 bits label
Dbs32.S42 SectorSize: .word 0 # Sector Size - 16 bits label
Dbs16.asm40 SectorSize dw 0 ; Sector Size - 16 bits define
Dbs32.asm40 SectorSize dw 0 ; Sector Size - 16 bits define
Dstart16.S40 SectorSize: .word 0 # Sector Size - 16 bits label
Dstart.S39 SectorSize: .word 0 # Sector Size - 16 bits label
Dstart16.asm36 SectorSize dw 0 ; Sector Size - 16 bits define
Dstart32.S39 SectorSize: .word 0 # Sector Size - 2 bytes label
Dstart.asm36 SectorSize dw 0 ; Sector Size - 16 bits define
Dstart32.asm35 SectorSize dw 0 ; Sector Size - 2 bytes define
Dstart64.S40 SectorSize: .word 0 # Sector Size - 16 bits label

12