Home
last modified time | relevance | path

Searched refs:Cylinder (Results 1 – 21 of 21) sorted by relevance

/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/
DBiosInt13.c142 UINT16 Cylinder; in Int13GetDeviceParameters() local
172 Cylinder = (UINT16) (((UINT16) Regs.H.DH & 0xc0) << 4); in Int13GetDeviceParameters()
173 Cylinder = (UINT16) (Cylinder | ((UINT16) Regs.H.CL & 0xc0) << 2); in Int13GetDeviceParameters()
174 Drive->MaxCylinder = (UINT16) (Cylinder + Regs.H.CH); in Int13GetDeviceParameters()
1125 UINTN Cylinder; in BiosReadLegacyDrive() local
1177 Cylinder = Temp / (BiosBlockIoDev->Bios.MaxHead + 1); in BiosReadLegacyDrive()
1195 UpperCylinder = (Cylinder & 0x0f00) >> 2; in BiosReadLegacyDrive()
1197 CheckLba = Cylinder * (BiosBlockIoDev->Bios.MaxHead + 1) + Head; in BiosReadLegacyDrive()
1209 Cylinder, in BiosReadLegacyDrive()
1216 Regs.H.CH = (UINT8) (Cylinder & 0xff); in BiosReadLegacyDrive()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/
DIsaFloppyCtrl.c516 UINT8 Cylinder; in Seek() local
534 Cylinder = (UINT8) ((UINTN) Lba / EndOfTrack / 2); in Seek()
540 if (FdcDev->PresentCylinderNumber == Cylinder) { in Seek()
563 Command.NewCylinder = Cylinder; in Seek()
579 if (FdcDev->PresentCylinderNumber > Cylinder) { in Seek()
580 DelayTime = (UINT8) (FdcDev->PresentCylinderNumber - Cylinder); in Seek()
582 DelayTime = (UINT8) (Cylinder - FdcDev->PresentCylinderNumber); in Seek()
993 Command->Cylinder = (UINT8) ((UINTN) Lba / EndOfTrack / 2); in FillPara()
DIsaFloppy.h109 UINT8 Cylinder; member
138 UINT8 Cylinder; member
150 UINT8 Cylinder; member
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyPei/
DFloppyPeim.c830 UINT8 Cylinder; in Seek() local
857 Cylinder = (UINT8) ((UINTN) Lba / EndOfTrack / 2); in Seek()
862 if (Info->Pcn == Cylinder) { in Seek()
883 Command.NewCylinder = Cylinder; in Seek()
898 if (Info->Pcn > Cylinder) { in Seek()
899 Gap = (UINT8) (Info->Pcn - Cylinder); in Seek()
901 Gap = (UINT8) (Cylinder - Info->Pcn); in Seek()
1203 Command->Cylinder = (UINT8) ((UINTN) Lba / EndOfTrack / 2); in FillPara()
DFdc.h187 UINT8 Cylinder; member
/device/linaro/bootloader/edk2/DuetPkg/BootSector/
Dbs16.S228 divw 2(%bp) # ax = ax / (MaxHead + 1) = Cylinder
235 movb %al, %ch # ch = Cylinder
Dbs16.asm225 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
232 mov ch,al ; ch = Cylinder
Dbs32.S249 divw 2(%bp) # ax = ax / (MaxHead + 1) = Cylinder
256 movb %al, %ch # ch = Cylinder
Dbs32.asm247 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
254 mov ch,al ; ch = Cylinder
Dstart.S259 divw 2(%bp) # ax = ax / (MaxHead + 1) = Cylinder
266 movb %al, %ch # ch = Cylinder
Dstart16.S253 divw 2(%bp) # ax = ax / (MaxHead + 1) = Cylinder
260 movb %al, %ch # ch = Cylinder
Dstart16.asm249 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
256 mov ch,al ; ch = Cylinder
Dstart32.S268 divw 2(%bp) # ax = ax / (MaxHead + 1) = Cylinder
275 movb %al, %ch # ch = Cylinder
Dstart.asm256 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
263 mov ch,al ; ch = Cylinder
Dstart32.asm264 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
271 mov ch,al ; ch = Cylinder
Dst32_64.S280 divw 2(%bp) # ax = ax / (MaxHead + 1) = Cylinder
287 movb %al,%ch # ch = Cylinder
Dstart64.S272 divw 2(%bp) # ax = ax / (MaxHead + 1) = Cylinder
279 movb %al,%ch # ch = Cylinder
Dst16_64.S265 divw 2(%bp) # ax = ax / (MaxHead + 1) = Cylinder
272 movb %al,%ch # ch = Cylinder
Dst16_64.asm261 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
268 mov ch,al ; ch = Cylinder
Dst32_64.asm277 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
284 mov ch,al ; ch = Cylinder
Dstart64.asm268 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
275 mov ch,al ; ch = Cylinder