Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/
DScsiDisk.c2276 UINT32 SectorCount; in ScsiDiskReadSectors() local
2304 SectorCount = (UINT16) BlocksRemaining; in ScsiDiskReadSectors()
2306 SectorCount = (UINT32) BlocksRemaining; in ScsiDiskReadSectors()
2309 SectorCount = MaxBlock; in ScsiDiskReadSectors()
2312 ByteCount = SectorCount * BlockSize; in ScsiDiskReadSectors()
2357 SectorCount in ScsiDiskReadSectors()
2367 SectorCount in ScsiDiskReadSectors()
2390 if (NextSectorCount < SectorCount) { in ScsiDiskReadSectors()
2391 SectorCount = NextSectorCount; in ScsiDiskReadSectors()
2395 ByteCount = SectorCount * BlockSize; in ScsiDiskReadSectors()
[all …]
DScsiDisk.h128 UINT32 SectorCount; member
960 IN UINT32 SectorCount
985 IN UINT32 SectorCount
1009 IN UINT32 SectorCount
1034 IN UINT32 SectorCount
1065 IN UINT32 SectorCount,
1098 IN UINT32 SectorCount,
1131 IN UINT32 SectorCount,
1164 IN UINT32 SectorCount,
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/
DElTorito.c60 UINT32 SectorCount; in PartitionInstallElToritoChildHandles() local
186 SectorCount = Catalog->Boot.SectorCount * (SIZE_2KB / Media->BlockSize); in PartitionInstallElToritoChildHandles()
198 SectorCount = 0x50 * 0x02 * 0x0F; in PartitionInstallElToritoChildHandles()
202 SectorCount = 0x50 * 0x02 * 0x12; in PartitionInstallElToritoChildHandles()
206 SectorCount = 0x50 * 0x02 * 0x24; in PartitionInstallElToritoChildHandles()
211 SectorCount = 0; in PartitionInstallElToritoChildHandles()
232 if (SectorCount < 2) { in PartitionInstallElToritoChildHandles()
244 SectorCount, in PartitionInstallElToritoChildHandles()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/
DAta.c480 IN UINT8 SectorCount, in AtaPioDataIn() argument
530 IDEWritePortB (IdeDev->PciIo, IdeDev->IoPort->SectorCount, SectorCount); in AtaPioDataIn()
629 IN UINT8 SectorCount, in AtaPioDataOut() argument
678 IDEWritePortB (IdeDev->PciIo, IdeDev->IoPort->SectorCount, SectorCount); in AtaPioDataOut()
882 UINT16 SectorCount; in AtaReadSectors() local
923 SectorCount = 256; in AtaReadSectors()
927 SectorCount = (UINT16) BlocksRemaining; in AtaReadSectors()
933 ByteCount = SectorCount * (IdeDev->BlkIo.Media->BlockSize); in AtaReadSectors()
953 Lba32 += SectorCount; in AtaReadSectors()
955 BlocksRemaining -= SectorCount; in AtaReadSectors()
[all …]
DAtapi.c1445 UINT16 SectorCount; in AtapiReadSectors() local
1472 SectorCount = (UINT16) BlocksRemaining; in AtapiReadSectors()
1475 SectorCount = MaxBlock; in AtapiReadSectors()
1497 Read10Packet->TranLen1 = (UINT8) (SectorCount & 0xff); in AtapiReadSectors()
1498 Read10Packet->TranLen0 = (UINT8) (SectorCount >> 8); in AtapiReadSectors()
1500 ByteCount = SectorCount * BlockSize; in AtapiReadSectors()
1519 Lba32 += SectorCount; in AtapiReadSectors()
1520 PtrBuffer = (UINT8 *) PtrBuffer + SectorCount * BlockSize; in AtapiReadSectors()
1521 BlocksRemaining -= SectorCount; in AtapiReadSectors()
1563 UINT16 SectorCount; in AtapiWriteSectors() local
[all …]
DIde.h445 IN UINT8 SectorCount,
478 IN UINT8 SectorCount,
765 IN UINT8 SectorCount,
792 IN UINT16 SectorCount,
DIde.c389 IdeDev->IoPort->SectorCount = (UINT16) (CommandBlockBaseAddr + 0x02); in ReassignIdeResources()
491 IdeDev->IoPort->SectorCount in DetectIDEController()
539 IdeDev->IoPort->SectorCount in DetectIDEController()
1237 UINT8 SectorCount; in SetDeviceTransferMode() local
1241 SectorCount = *((UINT8 *) TransferMode); in SetDeviceTransferMode()
1251 SectorCount, in SetDeviceTransferMode()
DIdeData.h86 UINT16 SectorCount; member
DIdeBus.c628 IdeBlkIoDevicePtr->IoPort->SectorCount = (UINT16) (CommandBlockBaseAddr + 0x02); in IDEBusDriverBindingStart()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/
DCEATA.c268 IN UINT16 SectorCount in SendATACommand() argument
324 SectorCount, in SendATACommand()
518 IN UINT16 SectorCount in ReadDMAExt() argument
530 CardData->TaskFile.SectorCount = (UINT8)SectorCount; in ReadDMAExt()
531 CardData->TaskFile.SectorCount_Exp = (UINT8)(SectorCount >> 8); in ReadDMAExt()
546 SectorCount in ReadDMAExt()
575 IN UINT16 SectorCount in WriteDMAExt() argument
587 CardData->TaskFile.SectorCount = (UINT8)SectorCount; in WriteDMAExt()
588 CardData->TaskFile.SectorCount_Exp = (UINT8)(SectorCount >> 8); in WriteDMAExt()
603 SectorCount in WriteDMAExt()
DSDMediaDevice.h334 IN UINT16 SectorCount
414 IN UINT16 SectorCount
440 IN UINT16 SectorCount
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBotPei/
DPeiAtapi.c395 UINT16 SectorCount; in PeiUsbRead10() local
421 SectorCount = BlocksRemaining; in PeiUsbRead10()
425 SectorCount = MaxBlock; in PeiUsbRead10()
445 Read10Packet->TranLen1 = (UINT8) (SectorCount & 0xff); in PeiUsbRead10()
446 Read10Packet->TranLen0 = (UINT8) (SectorCount >> 8); in PeiUsbRead10()
448 ByteCount = SectorCount * BlockSize; in PeiUsbRead10()
450 TimeOut = (UINT16) (SectorCount * 2000); in PeiUsbRead10()
470 Lba32 += SectorCount; in PeiUsbRead10()
471 PtrBuffer = (UINT8 *) PtrBuffer + SectorCount * BlockSize; in PeiUsbRead10()
472 BlocksRemaining = (UINT16) (BlocksRemaining - SectorCount); in PeiUsbRead10()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/IdeBusPei/
DAtapiPeim.c578 AtapiBlkIoDev->IdeIoPortReg[Index1].SectorCount = (UINT16) (CommandBlockBaseAddr + 0x2); in AtapiEnumerateDevices()
709 SectorCountRegister = AtapiBlkIoDev->IdeIoPortReg[Channel].SectorCount; in CheckPowerMode()
1259 SectorCountReg = AtapiBlkIoDev->IdeIoPortReg[Channel].SectorCount; in ATAPIIdentify()
2219 UINT16 SectorCount; in ReadSectors() local
2244 SectorCount = (UINT16) BlocksRemaining; in ReadSectors()
2246 SectorCount = MaxBlock; in ReadSectors()
2266 Read10Packet->TranLen1 = (UINT8) (SectorCount & 0xff); in ReadSectors()
2267 Read10Packet->TranLen0 = (UINT8) (SectorCount >> 8); in ReadSectors()
2269 ByteCount = (UINT32) (SectorCount * BlockSize); in ReadSectors()
2283 Lba32 += SectorCount; in ReadSectors()
[all …]
DAtapiPeim.h79 UINT16 SectorCount; member
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DElTorito.h129 UINT16 SectorCount; member
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Include/
DCEATA.h73 UINT8 SectorCount; member
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/IndustryStandard/
DCeAta.h85 UINT8 SectorCount; member
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/
DIdeMode.h103 UINT16 SectorCount; member
DIdeMode.c242 StatusBlock.AtaSectorCount = IdeReadPortB (PciIo, IdeRegisters->SectorCount); in DumpAllIdeRegisters()
243 StatusBlock.AtaSectorCountExp = IdeReadPortB (PciIo, IdeRegisters->SectorCount); in DumpAllIdeRegisters()
959 IdeRegisters[EfiIdePrimary].SectorCount = (UINT16) (CommandBlockBaseAddr + 0x02); in GetIdeRegisterIoAddr()
989 IdeRegisters[EfiIdeSecondary].SectorCount = (UINT16) (CommandBlockBaseAddr + 0x02); in GetIdeRegisterIoAddr()
1128 IdeWritePortB (PciIo, IdeRegisters->SectorCount, AtaCommandBlock->AtaSectorCountExp); in AtaIssueCommand()
1129 IdeWritePortB (PciIo, IdeRegisters->SectorCount, AtaCommandBlock->AtaSectorCount); in AtaIssueCommand()
2642 SectorCountReg = IdeReadPortB (PciIo, IdeRegisters->SectorCount); in DetectAndConfigIdeDevice()
/device/linaro/bootloader/edk2/OptionRomPkg/AtapiPassThruDxe/
DAtapiPassThru.h87 UINT16 SectorCount; member
DAtapiPassThru.c1671 RegisterPointer->SectorCount = (UINT16) (CommandBlockBaseAddr + 0x02); in InitAtapiIoPortRegisters()