Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
DInit.c212 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()
DFatFileSystem.h106 UINT16 Sectors; member
/device/linaro/bootloader/edk2/FatPkg/FatPei/
DFatLiteAccess.c47 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()
DFatLiteFmt.h93 UINT16 Sectors; member
119 UINT16 Sectors; member
/device/linaro/bootloader/edk2/DuetPkg/BootSector/
Dbs32.S44 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
Dbs16.S44 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
Dbs32.asm42 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
Dbs16.asm42 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
Dstart32.S41 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
Dstart16.S42 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
Dstart.S41 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
Dstart32.asm37 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
Dstart16.asm38 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
Dst32_64.S41 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
Dstart.asm38 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
Dst32_64.asm37 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
Dst16_64.S42 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
Dstart64.S42 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
Dstart64.asm38 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
Dst16_64.asm38 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/
DNorFlashDxe.c395 UINT32 Sectors; in Erase() local
412Sectors = ((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
480Sectors = ((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/
DVirtioBlk.h41 UINT8 Sectors; member
/device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/
DXenPvBlkDxe.c298 Media->LastBlock = DivU64x32 (Dev->MediaInfo.Sectors, in XenPvBlkDxeDriverBindingStart()
302 Media->LastBlock = Dev->MediaInfo.Sectors - 1; in XenPvBlkDxeDriverBindingStart()
DBlockFront.h38 UINT64 Sectors; member
DBlockFront.c283 Status = XenBusReadUint64 (XenBusIo, "sectors", TRUE, &Dev->MediaInfo.Sectors); in XenPvBlockFrontInitialization()
321 Dev->MediaInfo.Sectors, Dev->MediaInfo.SectorSize)); in XenPvBlockFrontInitialization()