Home
last modified time | relevance | path

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

12345

/device/linaro/bootloader/edk2/EmulatorPkg/EmuSnpDxe/
DEmuSnpDxe.c95 Status = Private->Io->Start (Private->Io); in EmuSnpStart()
119 Status = Private->Io->Stop (Private->Io); in EmuSnpStop()
157 Status = Private->Io->Initialize (Private->Io, ExtraRxBufferSize, ExtraTxBufferSize); in EmuSnpInitialize()
185 Status = Private->Io->Reset (Private->Io, ExtendedVerification); in EmuSnpReset()
209 Status = Private->Io->Shutdown (Private->Io); in EmuSnpShutdown()
250 Status = Private->Io->ReceiveFilters ( in EmuSnpReceiveFilters()
251 Private->Io, in EmuSnpReceiveFilters()
285 Status = Private->Io->StationAddress (Private->Io, Reset, NewMacAddr); in EmuSnpStationAddress()
322 Status = Private->Io->Statistics (Private->Io, Reset, StatisticsSize, StatisticsTable); in EmuSnpStatistics()
359 Status = Private->Io->MCastIpToMac (Private->Io, Ipv6, Ip, Mac); in EmuSnpMcastIptoMac()
[all …]
/device/linaro/bootloader/edk2/EmulatorPkg/EmuSimpleFileSystemDxe/
DEmuSimpleFileSystem.c86 return PrivateFile->Io->Open (PrivateFile->Io, NewHandle, FileName, OpenMode, Attributes); in EmuSimpleFileSystemOpen()
117 Status = PrivateFile->Io->Close (PrivateFile->Io); in EmuSimpleFileSystemClose()
155 Status = PrivateFile->Io->Delete (PrivateFile->Io); in EmuSimpleFileSystemDelete()
205 Status = PrivateFile->Io->Read (PrivateFile->Io, BufferSize, Buffer); in EmuSimpleFileSystemRead()
250 Status = PrivateFile->Io->Write (PrivateFile->Io, BufferSize, Buffer); in EmuSimpleFileSystemWrite()
286 Status = PrivateFile->Io->GetPosition (PrivateFile->Io, Position); in EmuSimpleFileSystemGetPosition()
323 Status = PrivateFile->Io->SetPosition (PrivateFile->Io, Position); in EmuSimpleFileSystemSetPosition()
369 Status = PrivateFile->Io->GetInfo (PrivateFile->Io, InformationType, BufferSize, Buffer); in EmuSimpleFileSystemGetInfo()
417 Status = PrivateFile->Io->SetInfo (PrivateFile->Io, InformationType, BufferSize, Buffer); in EmuSimpleFileSystemSetInfo()
457 Status = PrivateFile->Io->Flush (PrivateFile->Io); in EmuSimpleFileSystemFlush()
[all …]
DEmuSimpleFileSystem.h50 EFI_SIMPLE_FILE_SYSTEM_PROTOCOL *Io; member
68 EFI_FILE_PROTOCOL *Io; member
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PciHostBridgeLib/
DPciHostBridgeSupport.c42 IN PCI_ROOT_BRIDGE_APERTURE *Io, in AdjustRootBridgeResource() argument
94 Io->Limit = ((Io->Limit + Mask) & ~Mask) - 1; in AdjustRootBridgeResource()
95 if (Io->Base != MAX_UINT64) { in AdjustRootBridgeResource()
96 Io->Base &= ~Mask; in AdjustRootBridgeResource()
182 IN PCI_ROOT_BRIDGE_APERTURE *Io, in PcatPciRootBridgeParseBars() argument
224 if (Io->Base > Base) { in PcatPciRootBridgeParseBars()
225 Io->Base = Base; in PcatPciRootBridgeParseBars()
227 if (Io->Limit < Limit) { in PcatPciRootBridgeParseBars()
228 Io->Limit = Limit; in PcatPciRootBridgeParseBars()
315 PCI_ROOT_BRIDGE_APERTURE Io, Mem, MemAbove4G, PMem, PMemAbove4G, *MemAperture; in ScanForRootBridges() local
[all …]
DPciHostBridgeLib.c106 IN PCI_ROOT_BRIDGE_APERTURE *Io, in InitRootBridge() argument
131 CopyMem (&RootBus->Io, Io, sizeof (*Io)); in InitRootBridge()
/device/linaro/bootloader/edk2/EmulatorPkg/EmuBlockIoDxe/
DEmuBlockIo.c45 Status = Private->Io->Reset (Private->Io, ExtendedVerification); in EmuBlockIo2Reset()
103 Status = Private->Io->ReadBlocks (Private->Io, MediaId, LBA, Token, BufferSize, Buffer); in EmuBlockIo2ReadBlocksEx()
160 Status = Private->Io->WriteBlocks (Private->Io, MediaId, LBA, Token, BufferSize, Buffer); in EmuBlockIo2WriteBlocksEx()
205 Status = Private->Io->FlushBlocks (Private->Io, Token); in EmuBlockIo2Flush()
239 Status = Private->Io->Reset (Private->Io, ExtendedVerification); in EmuBlockIoReset()
285 Status = Private->Io->ReadBlocks (Private->Io, MediaId, Lba, &Token, BufferSize, Buffer); in EmuBlockIoReadBlocks()
332 Status = Private->Io->WriteBlocks (Private->Io, MediaId, Lba, &Token, BufferSize, Buffer); in EmuBlockIoWriteBlocks()
364 Status = Private->Io->FlushBlocks (Private->Io, &Token); in EmuBlockIoFlushBlocks()
541 Private->Io = EmuIoThunk->Interface; in EmuBlockIoDriverBindingStart()
559 Status = Private->Io->CreateMapping (Private->Io, &Private->Media); in EmuBlockIoDriverBindingStart()
/device/linaro/bootloader/edk2/OvmfPkg/Library/PciHostBridgeLib/
DXenSupport.c67 IN PCI_ROOT_BRIDGE_APERTURE *Io, in PcatPciRootBridgeParseBars() argument
108 if (Io->Base > Base) { in PcatPciRootBridgeParseBars()
109 Io->Base = Base; in PcatPciRootBridgeParseBars()
111 if (Io->Limit < Limit) { in PcatPciRootBridgeParseBars()
112 Io->Limit = Limit; in PcatPciRootBridgeParseBars()
189 PCI_ROOT_BRIDGE_APERTURE Io, Mem, MemAbove4G, PMem, PMemAbove4G, *MemAperture; in ScanForRootBridges() local
205 Io.Base = Mem.Base = MemAbove4G.Base = PMem.Base = PMemAbove4G.Base = MAX_UINT64; in ScanForRootBridges()
206 Io.Limit = Mem.Limit = MemAbove4G.Limit = PMem.Limit = PMemAbove4G.Limit = 0; in ScanForRootBridges()
287 if (Io.Base > Base) { in ScanForRootBridges()
288 Io.Base = Base; in ScanForRootBridges()
[all …]
DPciHostBridgeLib.c124 IN PCI_ROOT_BRIDGE_APERTURE *Io, in InitRootBridge() argument
149 CopyMem (&RootBus->Io, Io, sizeof (*Io)); in InitRootBridge()
216 PCI_ROOT_BRIDGE_APERTURE Io; in PciHostBridgeGetRootBridges() local
242 Io.Base = PcdGet64 (PcdPciIoBase); in PciHostBridgeGetRootBridges()
243 Io.Limit = PcdGet64 (PcdPciIoBase) + (PcdGet64 (PcdPciIoSize) - 1); in PciHostBridgeGetRootBridges()
312 &Io, in PciHostBridgeGetRootBridges()
337 &Io, in PciHostBridgeGetRootBridges()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/
DCommPs2.c518 IsaIo->Io.Read (IsaIo, EfiIsaIoWidthUint8, KBC_DATA_PORT, 1, Buffer); in PS2MouseRead()
565 IsaIo->Io.Write (IsaIo, EfiIsaIoWidthUint8, KBC_CMD_STS_PORT, 1, &Data); in Out8042Command()
601 IsaIo->Io.Write (IsaIo, EfiIsaIoWidthUint8, KBC_DATA_PORT, 1, &Temp); in Out8042Data()
632 IsaIo->Io.Read (IsaIo, EfiIsaIoWidthUint8, KBC_CMD_STS_PORT, 1, &Temp); in In8042Data()
649 IsaIo->Io.Read (IsaIo, EfiIsaIoWidthUint8, KBC_DATA_PORT, 1, Data); in In8042Data()
685 IsaIo->Io.Write (IsaIo, EfiIsaIoWidthUint8, KBC_CMD_STS_PORT, 1, &Data); in Out8042AuxCommand()
694 IsaIo->Io.Write (IsaIo, EfiIsaIoWidthUint8, KBC_DATA_PORT, 1, &Command); in Out8042AuxCommand()
764 IsaIo->Io.Write (IsaIo, EfiIsaIoWidthUint8, KBC_CMD_STS_PORT, 1, &Temp); in Out8042AuxData()
772 IsaIo->Io.Write (IsaIo, EfiIsaIoWidthUint8, KBC_DATA_PORT, 1, &Temp); in Out8042AuxData()
807 IsaIo->Io.Read (IsaIo, EfiIsaIoWidthUint8, KBC_DATA_PORT, 1, Data); in In8042AuxData()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/
DCommPs2.c518 IsaIo->Io.Read (IsaIo, EfiIsaIoWidthUint8, KBC_DATA_PORT, 1, Buffer); in PS2MouseRead()
566 IsaIo->Io.Write (IsaIo, EfiIsaIoWidthUint8, KBC_CMD_STS_PORT, 1, &Data); in Out8042Command()
602 IsaIo->Io.Write (IsaIo, EfiIsaIoWidthUint8, KBC_DATA_PORT, 1, &Temp); in Out8042Data()
633 IsaIo->Io.Read (IsaIo, EfiIsaIoWidthUint8, KBC_CMD_STS_PORT, 1, &Temp); in In8042Data()
650 IsaIo->Io.Read (IsaIo, EfiIsaIoWidthUint8, KBC_DATA_PORT, 1, Data); in In8042Data()
686 IsaIo->Io.Write (IsaIo, EfiIsaIoWidthUint8, KBC_CMD_STS_PORT, 1, &Data); in Out8042AuxCommand()
695 IsaIo->Io.Write (IsaIo, EfiIsaIoWidthUint8, KBC_DATA_PORT, 1, &Command); in Out8042AuxCommand()
765 IsaIo->Io.Write (IsaIo, EfiIsaIoWidthUint8, KBC_CMD_STS_PORT, 1, &Temp); in Out8042AuxData()
773 IsaIo->Io.Write (IsaIo, EfiIsaIoWidthUint8, KBC_DATA_PORT, 1, &Temp); in Out8042AuxData()
808 IsaIo->Io.Read (IsaIo, EfiIsaIoWidthUint8, KBC_DATA_PORT, 1, Data); in In8042AuxData()
[all …]
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/
DPcatPciRootBridge.c162 Status = PcatRootBridgeIoConstructor (&PrivateData->Io, PciSegmentIndex); in InitializePcatPciRootBridge()
182 Status = PrivateData->Io.Pci.Read ( in InitializePcatPciRootBridge()
183 &PrivateData->Io, in InitializePcatPciRootBridge()
206 Status = PrivateData->Io.Pci.Read ( in InitializePcatPciRootBridge()
207 &PrivateData->Io, in InitializePcatPciRootBridge()
466 &PrivateData->Io, in InitializePcatPciRootBridge()
476 &PrivateData->Io, in InitializePcatPciRootBridge()
486 Status = ScanPciRootBridgeForRoms(&PrivateData->Io); in InitializePcatPciRootBridge()
758 Status = PrivateData->Io.Pci.Read ( in PcatPciRootBridgeBarExisted()
759 &PrivateData->Io, in PcatPciRootBridgeBarExisted()
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/
DAcpiSmmPlatform.c705 …Status = gSmst->SmmIo.Io.Write( &gSmst->SmmIo, SMM_IO_UINT32, mAcpiSmm.QncGpe0Base + R_QNC_GPE0BLK… in SxSleepEntryCallBack()
707 …Status = gSmst->SmmIo.Io.Write( &gSmst->SmmIo, SMM_IO_UINT16, mAcpiSmm.QncPmBase + R_QNC_PM1BLK_PM… in SxSleepEntryCallBack()
716 …Status = gSmst->SmmIo.Io.Read( &gSmst->SmmIo, SMM_IO_UINT32, mAcpiSmm.QncGpe0Base + R_QNC_GPE0BLK_… in SxSleepEntryCallBack()
718 …Status = gSmst->SmmIo.Io.Write( &gSmst->SmmIo, SMM_IO_UINT32, mAcpiSmm.QncGpe0Base + R_QNC_GPE0BLK… in SxSleepEntryCallBack()
723 …Status = gSmst->SmmIo.Io.Read( &gSmst->SmmIo, SMM_IO_UINT16, mAcpiSmm.QncPmBase + R_QNC_PM1BLK_PM1… in SxSleepEntryCallBack()
725 …Status = gSmst->SmmIo.Io.Write( &gSmst->SmmIo, SMM_IO_UINT16, mAcpiSmm.QncPmBase + R_QNC_PM1BLK_PM… in SxSleepEntryCallBack()
740 …Status = gSmst->SmmIo.Io.Read( &gSmst->SmmIo, SMM_IO_UINT32, mAcpiSmm.QncGpe0Base + R_QNC_GPE0BLK_… in SxSleepEntryCallBack()
742 …Status = gSmst->SmmIo.Io.Write( &gSmst->SmmIo, SMM_IO_UINT32, mAcpiSmm.QncGpe0Base + R_QNC_GPE0BLK… in SxSleepEntryCallBack()
747 …Status = gSmst->SmmIo.Io.Read( &gSmst->SmmIo, SMM_IO_UINT16, mAcpiSmm.QncPmBase + R_QNC_PM1BLK_PM1… in SxSleepEntryCallBack()
749 …Status = gSmst->SmmIo.Io.Write( &gSmst->SmmIo, SMM_IO_UINT16, mAcpiSmm.QncPmBase + R_QNC_PM1BLK_PM… in SxSleepEntryCallBack()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DMm.c190 RootBridgeIoMem = Read ? PciRootBridgeIo->Io.Read : PciRootBridgeIo->Io.Write; in ShellMmAccess()
193 CpuIoMem = Read ? CpuIo->Io.Read : CpuIo->Io.Write; in ShellMmAccess()
308 EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *Io; in ShellMmLocateIoProtocol() local
344 (VOID *) &Io in ShellMmLocateIoProtocol()
350 …if ((((AccessType == ShellMmPci) || (AccessType == ShellMmPciExpress)) && (Io->SegmentNumber == Se… in ShellMmLocateIoProtocol()
353 Status = Io->Configuration (Io, (VOID **) &Descriptors); in ShellMmLocateIoProtocol()
363 *PciRootBridgeIo = Io; in ShellMmLocateIoProtocol()
373 *PciRootBridgeIo = Io; in ShellMmLocateIoProtocol()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DebugPortDxe/
DDebugPortDxe.uni5 // and initializes serial Io interface, publishs Debug Port and Device Path Protocol.
19 …bug agent to communicate with the remote debug host and initializes serial Io interface, publishes…
21 …standard UART serial port on the controller handle, and initializes serial Io interface, publishes…
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/
DMisc.c141 Status = CpuIoPpi->Io.Write ( in EfiCommonIoWrite()
162 Status = RootBridgeIo->Io.Write (RootBridgeIo, Width, Address, Count, Buffer); in EfiCommonIoWrite()
202 Status = CpuIoPpi->Io.Read ( in EfiCommonIoRead()
223 Status = RootBridgeIo->Io.Read (RootBridgeIo, Width, Address, Count, Buffer); in EfiCommonIoRead()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Metronome/
DLegacyMetronome.c73 mCpuIo->Io.Write ( in ScriptWriteIo8()
99 mCpuIo->Io.Read ( in ReadRefresh()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ia32/
DIoLib.c51 return gCpuIo->Io.Read (gCpuIo, Width, Address, Count, Buffer); in EfiIoRead()
77 return gCpuIo->Io.Write (gCpuIo, Width, Address, Count, Buffer); in EfiIoWrite()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/X64/
DIoLib.c51 return gCpuIo->Io.Read (gCpuIo, Width, Address, Count, Buffer); in EfiIoRead()
77 return gCpuIo->Io.Write (gCpuIo, Width, Address, Count, Buffer); in EfiIoWrite()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciDxe/
DUhciReg.c37 Status = PciIo->Io.Read ( in UhciReadReg()
73 Status = PciIo->Io.Write ( in UhciWriteReg()
244 Status = PciIo->Io.Write ( in UhciSetFrameListBaseAddr()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/
DPciRootBridgeIo.c88 DEBUG ((EFI_D_INFO, " Io: %lx - %lx\n", Bridge->Io.Base, Bridge->Io.Limit)); in CreateRootBridge()
174 CopyMem (&RootBridge->Io, &Bridge->Io, sizeof (PCI_ROOT_BRIDGE_APERTURE)); in CreateRootBridge()
186 Aperture = &RootBridge->Io; in CreateRootBridge()
222 RootBridge->RootBridgeIo.Io.Read = RootBridgeIoIoRead; in CreateRootBridge()
223 RootBridge->RootBridgeIo.Io.Write = RootBridgeIoIoWrite; in CreateRootBridge()
350 Base = RootBridge->Io.Base; in RootBridgeIoCheckParameter()
351 Limit = RootBridge->Io.Limit; in RootBridgeIoCheckParameter()
575 Status = This->Io.Read (This, Width, Address, 1, Result); in RootBridgeIoPollIo()
606 Status = This->Io.Read (This, Width, Address, 1, Result); in RootBridgeIoPollIo()
754 return mCpuIo->Io.Read (mCpuIo, (EFI_CPU_IO_PROTOCOL_WIDTH) Width, Address, Count, Buffer); in RootBridgeIoIoRead()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/
DPciHostBridgeResourceAllocation.c587 RootBridge->Io.Pci.Read ( in PciHbRaPreprocessController()
588 &RootBridge->Io, in PciHbRaPreprocessController()
598 RootBridge->Io.Pci.Read ( in PciHbRaPreprocessController()
599 &RootBridge->Io, in PciHbRaPreprocessController()
611 RootBridge->Io.Pci.Read ( in PciHbRaPreprocessController()
612 &RootBridge->Io, in PciHbRaPreprocessController()
626 RootBridge->Io.Pci.Write ( in PciHbRaPreprocessController()
627 &RootBridge->Io, in PciHbRaPreprocessController()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/CpuIo2OnCpuIoThunk/
DCpuIo2OnCpuIoThunk.c130 return mCpuIo->Io.Read ( in CpuIoServiceRead()
166 return mCpuIo->Io.Write ( in CpuIoServiceWrite()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/
DSmmStm.c526 ResourceLo = (UINT64) Resource->Io.Base; in HandleSingleResource()
527 ResourceHi = (UINT64) Resource->Io.Base + (UINT64) Resource->Io.Length; in HandleSingleResource()
528 RecordLo = (UINT64) Record->Io.Base; in HandleSingleResource()
529 RecordHi = (UINT64) Record->Io.Base + (UINT64) Record->Io.Length; in HandleSingleResource()
593 Record->Io.Base = (UINT16) ResourceLo; in HandleSingleResource()
594 Record->Io.Length = (UINT16) (ResourceHi - ResourceLo); in HandleSingleResource()
779 if ((Resource->Io.Base + Resource->Io.Length) > 0xFFFF) { in ValidateResource()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Library/AmdStyxPciHostBridgeLib/
DAmdStyxPciHostBridgeLib.c99 RootBridge->Io.Base = PcdGet64 (PcdPciIoBase); in PciHostBridgeGetRootBridges()
100 RootBridge->Io.Limit = PcdGet64 (PcdPciIoBase) + PcdGet64 (PcdPciIoSize) - 1; in PciHostBridgeGetRootBridges()
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Protocol/
DSmmCpuIo.h83 EFI_SMM_IO_ACCESS Io; member

12345