/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/ |
D | Init.c | 212 UINTN Sectors; in FatOpenDevice() local 235 Sectors = FatBs.FatBsb.Sectors; in FatOpenDevice() 236 if (Sectors == 0) { in FatOpenDevice() 237 Sectors = FatBs.FatBsb.LargeSectors; in FatOpenDevice() 251 if (FatBs.FatBsb.ReservedSectors == 0 || FatBs.FatBsb.NumFats == 0 || Sectors == 0) { in FatOpenDevice() 318 Volume->VolumeSize = LShiftU64 (Sectors, BlockAlignment); in FatOpenDevice() 321 Volume->MaxCluster = (Sectors - FirstClusterLba) >> SectorsPerClusterAlignment; in FatOpenDevice()
|
D | FatFileSystem.h | 106 UINT16 Sectors; member
|
/device/linaro/bootloader/edk2/FatPkg/FatPei/ |
D | FatLiteAccess.c | 47 UINT32 Sectors; in FatGetBpbInfo() local 76 Sectors = Bpb.Sectors; in FatGetBpbInfo() 77 if (Sectors == 0) { in FatGetBpbInfo() 78 Sectors = Bpb.LargeSectors; in FatGetBpbInfo() 93 if (Bpb.ReservedSectors == 0 || Bpb.NoFats == 0 || Sectors == 0) { in FatGetBpbInfo() 154 Volume->VolumeSize = MultU64x32 (Sectors, Volume->SectorSize); in FatGetBpbInfo() 158 Volume->MaxCluster = (UINT32) (Sectors - FirstClusterLba) / Bpb.SectorsPerCluster; in FatGetBpbInfo()
|
D | FatLiteFmt.h | 93 UINT16 Sectors; member 119 UINT16 Sectors; member
|
/device/linaro/bootloader/edk2/DuetPkg/BootSector/ |
D | bs32.S | 44 ReservedSectors: .word 0 # Reserved Sectors - 16 bits 47 Sectors: .word 0 # Number of Sectors - 16 bits label 49 SectorsPerFat: .word 0 # Sectors Per FAT - 16 bits 50 SectorsPerTrack: .word 0 # Sectors Per Track - 16 bits - ignored 52 HiddenSectors: .long 0 # Hidden Sectors - 32 bits - ignored 53 LargeSectors: .long 0 # Large Sectors - 32 bits 62 SectorsPerFat32: .long 0 # Sectors Per FAT for FAT32 - 4 bytes 191 movb SectorsPerCluster(%bp), %bl # bx = Number of Sectors in a cluster
|
D | bs16.S | 44 ReservedSectors: .word 0 # Reserved Sectors - 16 bits 47 Sectors: .word 0 # Number of Sectors - 16 bits label 49 SectorsPerFat: .word 0 # Sectors Per FAT - 16 bits 50 SectorsPerTrack: .word 0 # Sectors Per Track - 16 bits - ignored 52 HiddenSectors: .long 0 # Hidden Sectors - 32 bits - ignored 53 LargeSectors: .long 0 # Large Sectors - 32 bits 170 movb SectorsPerCluster(%bp), %bl # bx = Number of Sectors in a cluster
|
D | bs32.asm | 42 ReservedSectors dw 0 ; Reserved Sectors - 16 bits 45 Sectors dw 0 ; Number of Sectors - 16 bits define 47 SectorsPerFat dw 0 ; Sectors Per FAT - 16 bits 48 SectorsPerTrack dw 0 ; Sectors Per Track - 16 bits - ignored 50 HiddenSectors dd 0 ; Hidden Sectors - 32 bits - ignored 51 LargeSectors dd 0 ; Large Sectors - 32 bits 60 SectorsPerFat32 dd 0 ; Sectors Per FAT for FAT32 - 4 bytes 190 mov bl,byte ptr [bp+SectorsPerCluster] ; bx = Number of Sectors in a cluster
|
D | bs16.asm | 42 ReservedSectors dw 0 ; Reserved Sectors - 16 bits 45 Sectors dw 0 ; Number of Sectors - 16 bits define 47 SectorsPerFat dw 0 ; Sectors Per FAT - 16 bits 48 SectorsPerTrack dw 0 ; Sectors Per Track - 16 bits - ignored 50 HiddenSectors dd 0 ; Hidden Sectors - 32 bits - ignored 51 LargeSectors dd 0 ; Large Sectors - 32 bits 168 mov bl,byte ptr [bp+SectorsPerCluster] ; bx = Number of Sectors in a cluster
|
D | start32.S | 41 ReservedSectors: .word 0 # Reserved Sectors - 2 bytes 44 Sectors: .word 0 # Number of Sectors - 2 bytes label 46 SectorsPerFat16: .word 0 # Sectors Per FAT for FAT12/FAT16 - 2 byte 47 SectorsPerTrack: .word 0 # Sectors Per Track - 2 bytes 49 HiddenSectors: .long 0 # Hidden Sectors - 4 bytes 50 LargeSectors: .long 0 # Large Sectors - 4 bytes 59 SectorsPerFat32: .long 0 # Sectors Per FAT for FAT32 - 4 bytes 209 movw %ax, %bx # bx = Number of Sectors
|
D | start16.S | 42 ReservedSectors: .word 0 # Reserved Sectors - 16 bits 45 Sectors: .word 0 # Number of Sectors - 16 bits label 47 SectorsPerFat: .word 0 # Sectors Per FAT - 16 bits 48 SectorsPerTrack: .word 0 # Sectors Per Track - 16 bits - ignored 50 HiddenSectors: .long 0 # Hidden Sectors - 32 bits - ignored 51 LargeSectors: .long 0 # Large Sectors - 32 bits 194 movw %ax, %bx # bx = Number of Sectors
|
D | start.S | 41 ReservedSectors: .word 0 # Reserved Sectors - 16 bits 44 Sectors: .word 0 # Number of Sectors - 16 bits label 46 SectorsPerFat: .word 0 # Sectors Per FAT - 16 bits 47 SectorsPerTrack: .word 0 # Sectors Per Track - 16 bits - ignored 49 HiddenSectors: .long 0 # Hidden Sectors - 32 bits - ignored 50 LargeSectors: .long 0 # Large Sectors - 32 bits 200 movw %ax, %bx # bx = Number of Sectors
|
D | start32.asm | 37 ReservedSectors dw 0 ; Reserved Sectors - 2 bytes 40 Sectors dw 0 ; Number of Sectors - 2 bytes define 42 SectorsPerFat16 dw 0 ; Sectors Per FAT for FAT12/FAT16 - 2 byte 43 SectorsPerTrack dw 0 ; Sectors Per Track - 2 bytes 45 HiddenSectors dd 0 ; Hidden Sectors - 4 bytes 46 LargeSectors dd 0 ; Large Sectors - 4 bytes 55 SectorsPerFat32 dd 0 ; Sectors Per FAT for FAT32 - 4 bytes 205 mov bx,ax ; bx = Number of Sectors
|
D | start16.asm | 38 ReservedSectors dw 0 ; Reserved Sectors - 16 bits 41 Sectors dw 0 ; Number of Sectors - 16 bits define 43 SectorsPerFat dw 0 ; Sectors Per FAT - 16 bits 44 SectorsPerTrack dw 0 ; Sectors Per Track - 16 bits - ignored 46 HiddenSectors dd 0 ; Hidden Sectors - 32 bits - ignored 47 LargeSectors dd 0 ; Large Sectors - 32 bits 190 mov bx,ax ; bx = Number of Sectors
|
D | st32_64.S | 41 ReservedSectors: .word 0 # Reserved Sectors - 2 bytes 44 Sectors: .word 0 # Number of Sectors - 2 bytes label 46 SectorsPerFat16: .word 0 # Sectors Per FAT for FAT12/FAT16 - 2 byte 47 SectorsPerTrack: .word 0 # Sectors Per Track - 2 bytes 49 HiddenSectors: .long 0 # Hidden Sectors - 4 bytes 50 LargeSectors: .long 0 # Large Sectors - 4 bytes 59 SectorsPerFat32: .long 0 # Sectors Per FAT for FAT32 - 4 bytes 221 movw %ax,%bx # bx = Number of Sectors
|
D | start.asm | 38 ReservedSectors dw 0 ; Reserved Sectors - 16 bits 41 Sectors dw 0 ; Number of Sectors - 16 bits define 43 SectorsPerFat dw 0 ; Sectors Per FAT - 16 bits 44 SectorsPerTrack dw 0 ; Sectors Per Track - 16 bits - ignored 46 HiddenSectors dd 0 ; Hidden Sectors - 32 bits - ignored 47 LargeSectors dd 0 ; Large Sectors - 32 bits 197 mov bx,ax ; bx = Number of Sectors
|
D | st32_64.asm | 37 ReservedSectors dw 0 ; Reserved Sectors - 2 bytes 40 Sectors dw 0 ; Number of Sectors - 2 bytes define 42 SectorsPerFat16 dw 0 ; Sectors Per FAT for FAT12/FAT16 - 2 byte 43 SectorsPerTrack dw 0 ; Sectors Per Track - 2 bytes 45 HiddenSectors dd 0 ; Hidden Sectors - 4 bytes 46 LargeSectors dd 0 ; Large Sectors - 4 bytes 55 SectorsPerFat32 dd 0 ; Sectors Per FAT for FAT32 - 4 bytes 218 mov bx,ax ; bx = Number of Sectors
|
D | st16_64.S | 42 ReservedSectors: .word 0 # Reserved Sectors - 16 bits 45 Sectors: .word 0 # Number of Sectors - 16 bits label 47 SectorsPerFat: .word 0 # Sectors Per FAT - 16 bits 48 SectorsPerTrack: .word 0 # Sectors Per Track - 16 bits - ignored 50 HiddenSectors: .long 0 # Hidden Sectors - 32 bits - ignored 51 LargeSectors: .long 0 # Large Sectors - 32 bits 206 movw %ax,%bx # bx = Number of Sectors
|
D | start64.S | 42 ReservedSectors: .word 0 # Reserved Sectors - 16 bits 45 Sectors: .word 0 # Number of Sectors - 16 bits label 47 SectorsPerFat: .word 0 # Sectors Per FAT - 16 bits 48 SectorsPerTrack: .word 0 # Sectors Per Track - 16 bits - ignored 50 HiddenSectors: .long 0 # Hidden Sectors - 32 bits - ignored 51 LargeSectors: .long 0 # Large Sectors - 32 bits 213 movw %ax,%bx # bx = Number of Sectors
|
D | start64.asm | 38 ReservedSectors dw 0 ; Reserved Sectors - 16 bits 41 Sectors dw 0 ; Number of Sectors - 16 bits define 43 SectorsPerFat dw 0 ; Sectors Per FAT - 16 bits 44 SectorsPerTrack dw 0 ; Sectors Per Track - 16 bits - ignored 46 HiddenSectors dd 0 ; Hidden Sectors - 32 bits - ignored 47 LargeSectors dd 0 ; Large Sectors - 32 bits 209 mov bx,ax ; bx = Number of Sectors
|
D | st16_64.asm | 38 ReservedSectors dw 0 ; Reserved Sectors - 16 bits 41 Sectors dw 0 ; Number of Sectors - 16 bits define 43 SectorsPerFat dw 0 ; Sectors Per FAT - 16 bits 44 SectorsPerTrack dw 0 ; Sectors Per Track - 16 bits - ignored 46 HiddenSectors dd 0 ; Hidden Sectors - 32 bits - ignored 47 LargeSectors dd 0 ; Large Sectors - 32 bits 202 mov bx,ax ; bx = Number of Sectors
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/NorFlashDxe/ |
D | NorFlashDxe.c | 395 UINT32 Sectors; in Erase() local 412 …Sectors = ((Offset + Length - 1) / (gFlashInfo[gIndex.InfIndex].BlockSize * gFlashInfo[gIndex.InfI… in Erase() 422 for (Loop = 0; Loop <= Sectors; Loop ++) in Erase() 467 UINT32 Sectors; in Write() local 480 …Sectors = ((Offset + ulLength - 1) / (gFlashInfo[gIndex.InfIndex].BlockSize * gFlashInfo[gIndex.In… in Write() 490 for (Loop = 0; Loop <= Sectors; Loop ++) in Write()
|
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/ |
D | VirtioBlk.h | 41 UINT8 Sectors; member
|
/device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/ |
D | XenPvBlkDxe.c | 298 Media->LastBlock = DivU64x32 (Dev->MediaInfo.Sectors, in XenPvBlkDxeDriverBindingStart() 302 Media->LastBlock = Dev->MediaInfo.Sectors - 1; in XenPvBlkDxeDriverBindingStart()
|
D | BlockFront.h | 38 UINT64 Sectors; member
|
D | BlockFront.c | 283 Status = XenBusReadUint64 (XenBusIo, "sectors", TRUE, &Dev->MediaInfo.Sectors); in XenPvBlockFrontInitialization() 321 Dev->MediaInfo.Sectors, Dev->MediaInfo.SectorSize)); in XenPvBlockFrontInitialization()
|