Home
last modified time | relevance | path

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

123456

/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/NorthCluster/Include/
DVlvCommonDefinitions.h118 #define MmPciAddress( Segment, Bus, Device, Function, Register ) \ argument
130 #define MmPci64Ptr( Segment, Bus, Device, Function, Register ) \ argument
131 ( (volatile UINT64 *)MmPciAddress( Segment, Bus, Device, Function, Register ) )
133 #define MmPci64( Segment, Bus, Device, Function, Register ) \ argument
134 *MmPci64Ptr( Segment, Bus, Device, Function, Register )
136 #define MmPci64Or( Segment, Bus, Device, Function, Register, OrData ) \ argument
137 MmPci64( Segment, Bus, Device, Function, Register ) = \
139 MmPci64( Segment, Bus, Device, Function, Register ) | \
143 #define MmPci64And( Segment, Bus, Device, Function, Register, AndData ) \ argument
144 MmPci64( Segment, Bus, Device, Function, Register ) = \
[all …]
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/
DPchCommonDefinitions.h105 #define PchPciDeviceMmAddress(Segment, Bus, Device, Function, Register) \ argument
114 #define PchMmPci32Ptr(Segment, Bus, Device, Function, Register) \ argument
115 ((volatile UINT32 *) PchPciDeviceMmAddress (Segment, Bus, Device, Function, Register))
117 #define PchMmPci32(Segment, Bus, Device, Function, Register) *PchMmPci32Ptr (Segment, Bus, Device,… argument
119 #define PchMmPci32Or(Segment, Bus, Device, Function, Register, OrData) \ argument
121 Segment, \
126 ) = (UINT32) (PchMmPci32 (Segment, Bus, Device, Function, Register) | (UINT32) (OrData))
128 #define PchMmPci32And(Segment, Bus, Device, Function, Register, AndData) \ argument
130 Segment, \
135 ) = (UINT32) (PchMmPci32 (Segment, Bus, Device, Function, Register) & (UINT32) (AndData))
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Include/
DIohCommonDefinitions.h246 #define IohMmPciAddress( Segment, Bus, Device, Function, Register ) \ argument
257 #define IohMmPci32Ptr( Segment, Bus, Device, Function, Register ) \ argument
258 ( (volatile UINT32 *)IohMmPciAddress( Segment, Bus, Device, Function, Register ) )
260 #define IohMmPci32( Segment, Bus, Device, Function, Register ) \ argument
261 *IohMmPci32Ptr( Segment, Bus, Device, Function, Register )
263 #define IohMmPci32Or( Segment, Bus, Device, Function, Register, OrData ) \ argument
264 IohMmPci32( Segment, Bus, Device, Function, Register ) = \
266 IohMmPci32( Segment, Bus, Device, Function, Register ) | \
270 #define IohMmPci32And( Segment, Bus, Device, Function, Register, AndData ) \ argument
271 IohMmPci32( Segment, Bus, Device, Function, Register ) = \
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Include/
DQNCCommonDefinitions.h244 #define QNCMmPciAddress( Segment, Bus, Device, Function, Register ) \ argument
265 #define QNCMmPci32Ptr( Segment, Bus, Device, Function, Register ) \ argument
266 ( (volatile UINT32 *)QNCMmPciAddress( Segment, Bus, Device, Function, Register ) )
268 #define QNCMmPci32( Segment, Bus, Device, Function, Register ) \ argument
269 *QNCMmPci32Ptr( Segment, Bus, Device, Function, Register )
271 #define QNCMmPci32Or( Segment, Bus, Device, Function, Register, OrData ) \ argument
272 QNCMmPci32( Segment, Bus, Device, Function, Register ) = \
274 QNCMmPci32( Segment, Bus, Device, Function, Register ) | \
278 #define QNCMmPci32And( Segment, Bus, Device, Function, Register, AndData ) \ argument
279 QNCMmPci32( Segment, Bus, Device, Function, Register ) = \
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ia32/
DPlatformIoLib.c30 UINT8 Segment, in GetPciAddress() argument
53 Data = (((UINT32) Segment) << 24); in GetPciAddress()
64 UINT8 Segment, in PciRead8() argument
90 PciAddress = GetPciAddress (Segment, Bus, DevFunc, Register); in PciRead8()
110 UINT8 Segment, in PciRead16() argument
136 PciAddress = GetPciAddress (Segment, Bus, DevFunc, Register); in PciRead16()
156 UINT8 Segment, in PciRead32() argument
182 PciAddress = GetPciAddress (Segment, Bus, DevFunc, Register); in PciRead32()
202 UINT8 Segment, in PciWrite8() argument
229 PciAddress = GetPciAddress (Segment, Bus, DevFunc, Register); in PciWrite8()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/X64/
DPlatformIoLib.c30 UINT8 Segment, in GetPciAddress() argument
55 Data = (((UINT32) Segment) << 24); in GetPciAddress()
66 UINT8 Segment, in PciRead8() argument
92 PciAddress = GetPciAddress (Segment, Bus, DevFunc, Register); in PciRead8()
112 UINT8 Segment, in PciRead16() argument
138 PciAddress = GetPciAddress (Segment, Bus, DevFunc, Register); in PciRead16()
158 UINT8 Segment, in PciRead32() argument
184 PciAddress = GetPciAddress (Segment, Bus, DevFunc, Register); in PciRead32()
204 UINT8 Segment, in PciWrite8() argument
231 PciAddress = GetPciAddress (Segment, Bus, DevFunc, Register); in PciWrite8()
[all …]
/device/google/contexthub/firmware/os/inc/
Dseos.h117 struct Segment { struct
190 bool osSegmentSetSize(struct Segment *seg, uint32_t size);
192 struct Segment *osSegmentGetEnd();
194 struct Segment *osGetSegment(const struct AppHdr *app);
196 static inline int32_t osSegmentGetSize(const struct Segment *seg) in osSegmentGetSize()
201 static inline uint32_t osSegmentGetState(const struct Segment *seg) in osSegmentGetState()
206 static inline struct AppHdr *osSegmentGetData(const struct Segment *seg) in osSegmentGetData()
218 static inline uint32_t osSegmentGetCrc(const struct Segment *seg) in osSegmentGetCrc()
230 static inline const struct Segment *osSegmentSizeGetNext(const struct Segment *seg, uint32_t size) in osSegmentSizeGetNext()
232 struct Segment *next = (struct Segment *)(((uint8_t*)seg) + in osSegmentSizeGetNext()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Hi1616/D05AcpiTables/
DD05Mcfg.aslc59 0x2, //Segment Group Number
67 0x4, //Segment Group Number
75 0x5, //Segment Group Number
83 0x6, //Segment Group Number
91 0x7, //Segment Group Number
99 0xa, //Segment Group Number
107 0xc, //Segment Group Number
115 0xd, //Segment Group Number
/device/linaro/bootloader/edk2/MdePkg/Library/BasePciSegmentLibPci/
DBasePciSegmentLibPci.uni2 // Instance of PCI Segment Library based on PCI Library.
4 // PCI Segment Library that layers on top of the PCI Library which only
19 #string STR_MODULE_ABSTRACT #language en-US "Instance of PCI Segment Library based on P…
21 #string STR_MODULE_DESCRIPTION #language en-US "PCI Segment Library that layers on top of …
DBasePciSegmentLibPci.inf2 # Instance of PCI Segment Library based on PCI Library.
4 # PCI Segment Library that layers on top of the PCI Library which only
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/
DMisc.c102 DEBUG ((DEBUG_NET, "\tPXEptr:SEG= 0x%X\n\r", (UINT16) DisplayPointer->PXEptr.Segment)); in Print_Undi_Loader_Table()
104 DEBUG ((DEBUG_NET, "\tPXENVptr:SEG= 0x%X\n\r", (UINT16) DisplayPointer->PXENVptr.Segment)); in Print_Undi_Loader_Table()
260 (UINT32) (DisplayPointer->Undi.Segment << 0x4 | DisplayPointer->Undi.Offset)) in Print_PXE_Table()
265 (UINT32) ((DisplayPointer->Base.Segment << 0x04) | DisplayPointer->Base.Offset)) in Print_PXE_Table()
271 DisplayPointer->EntryPointSP.Segment, in Print_PXE_Table()
281 DisplayPointer->EntryPointESP.Segment, in Print_PXE_Table()
447 UINT16 Segment; in LaunchBaseCode() local
647 UndiLoaderTable->PXEptr.Segment = 0; in LaunchBaseCode()
648 UndiLoaderTable->PXENVptr.Segment = 0; in LaunchBaseCode()
705 Segment = ((UINT16) (RShiftU64 (RomAddress, 4) & 0xFFFF)); in LaunchBaseCode()
[all …]
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
DFileName.c184 UINT8 Segment; in FatCreate8Dot3Name() local
188 UINT8 Segment : HASH_VALUE_TAG_LEN; in FatCreate8Dot3Name() member
226 Segment = HashValue.Hex[Index].Segment; in FatCreate8Dot3Name()
227 if (Segment > 9) { in FatCreate8Dot3Name()
228 *ShortNameChar++ = (CHAR8)(Segment - 10 + 'A'); in FatCreate8Dot3Name()
230 *ShortNameChar++ = (CHAR8)(Segment + '0'); in FatCreate8Dot3Name()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciPlatform/
DPciPlatform.c107 UINTN Segment; in GetPciRom() local
125 PciIo->GetLocation (PciIo, &Segment, &Bus, &Device, &Function); in GetPciRom()
143 Segment != mPciOptionRomTable[TableIndex].Segment || in GetPciRom()
/device/linaro/bootloader/edk2/MdePkg/Library/PeiPciSegmentLibPciCfg2/
DPeiPciSegmentLibPciCfg2.uni2 // PCI Segment Library that layers on top of the PCI CFG2 PPI.
4 // This library produces the APIs from the PCI Segment Library and
21 #string STR_MODULE_ABSTRACT #language en-US "PCI Segment Library that layers on top of …
23 …ON #language en-US "This library produces the APIs from the PCI Segment Library and imple…
/device/linaro/bootloader/edk2/MdePkg/Library/DxePciSegmentLibEsal/
DDxePciSegementLibEsal.uni2 // PCI Segment Library that uses ESAL services to perform PCI Configuration cycles.
4 // The PCI Segment Library that uses ESAL services to perform PCI Configuration cycles.
20 #string STR_MODULE_DESCRIPTION #language en-US "The PCI Segment Library that uses ESAL ser…
/device/linaro/bootloader/edk2/OvmfPkg/QemuVideoDxe/
DVbeShim.c35 UINT16 Segment; member
101 Handler = (Int0x10->Segment << 4) + Int0x10->Offset; in InstallVbeShim()
104 __FUNCTION__, Int0x10->Segment, Int0x10->Offset)); in InstallVbeShim()
119 ASSERT (Int0x10->Segment == 0x0000); in InstallVbeShim()
271 Int0x10->Segment = (UINT16) ((UINT32)SegmentC >> 4); in InstallVbeShim()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ipf/
DRuntimeLib.c1070 UINT8 Segment, in PciRead8() argument
1095 Address = EFI_PCI_ADDRESS_IPF (Segment, Bus, DevFunc, Register); in PciRead8()
1104 UINT8 Segment, in PciRead16() argument
1129 Address = EFI_PCI_ADDRESS_IPF (Segment, Bus, DevFunc, Register); in PciRead16()
1137 UINT8 Segment, in PciRead32() argument
1162 Address = EFI_PCI_ADDRESS_IPF (Segment, Bus, DevFunc, Register); in PciRead32()
1170 UINT8 Segment, in PciWrite8() argument
1196 Address = EFI_PCI_ADDRESS_IPF (Segment, Bus, DevFunc, Register); in PciWrite8()
1202 UINT8 Segment, in PciWrite16() argument
1228 Address = EFI_PCI_ADDRESS_IPF (Segment, Bus, DevFunc, Register); in PciWrite16()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/
DD03Mcfg.aslc59 0x0, //Segment Group Number
66 0x1, //Segment Group Number
73 0x2, //Segment Group Number
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PiDxeS3BootScriptLib/
DBootScriptInternalFormat.h90 UINT16 Segment; member
105 UINT16 Segment; member
172 UINT16 Segment; member
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/BootScriptSaveDxe/
DScriptSave.c221 UINT16 Segment; in BootScriptPciCfg2Write()
227 Segment = VA_ARG (Marker, UINT16); in BootScriptPciCfg2Write()
229 return S3BootScriptSavePciCfg2Write (Width, Segment, Address, Count, Buffer); in BootScriptPciCfg2Write()
248 UINT16 Segment; in BootScriptPciCfg2ReadWrite()
255 Segment = VA_ARG (Marker, UINT16); in BootScriptPciCfg2ReadWrite()
259 return S3BootScriptSavePciCfg2ReadWrite (Width, Segment, Address, Data, DataMask); in BootScriptPciCfg2ReadWrite()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/SmmS3SaveState/
DSmmS3SaveState.c209 UINT16 Segment; in BootScriptWritePciCfg2Write() local
215 Segment = VA_ARG (Marker, UINT16); in BootScriptWritePciCfg2Write()
217 return S3BootScriptSavePciCfg2Write (Width, Segment, Address, Count, Buffer); in BootScriptWritePciCfg2Write()
236 UINT16 Segment; in BootScriptWritePciCfg2ReadWrite() local
243 Segment = VA_ARG (Marker, UINT16); in BootScriptWritePciCfg2ReadWrite()
247 return S3BootScriptSavePciCfg2ReadWrite (Width, Segment, Address, Data, DataMask); in BootScriptWritePciCfg2ReadWrite()
496 UINT16 Segment; in BootScriptWritePciConfig2Poll() local
503 Segment = VA_ARG (Marker, UINT16); in BootScriptWritePciConfig2Poll()
509 return S3BootScriptSavePci2Poll (Width, Segment, Address, Data, DataMask, Delay); in BootScriptWritePciConfig2Poll()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/
DS3SaveState.c210 UINT16 Segment; in BootScriptWritePciCfg2Write() local
216 Segment = VA_ARG (Marker, UINT16); in BootScriptWritePciCfg2Write()
218 return S3BootScriptSavePciCfg2Write (Width, Segment, Address, Count, Buffer); in BootScriptWritePciCfg2Write()
237 UINT16 Segment; in BootScriptWritePciCfg2ReadWrite() local
244 Segment = VA_ARG (Marker, UINT16); in BootScriptWritePciCfg2ReadWrite()
248 return S3BootScriptSavePciCfg2ReadWrite (Width, Segment, Address, Data, DataMask); in BootScriptWritePciCfg2ReadWrite()
497 UINT16 Segment; in BootScriptWritePciConfig2Poll() local
504 Segment = VA_ARG (Marker, UINT16); in BootScriptWritePciConfig2Poll()
510 return S3BootScriptSavePci2Poll (Width, Segment, Address, Data, DataMask, Delay); in BootScriptWritePciConfig2Poll()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DMm.c75 OUT UINT32 *Segment, in ShellMmDecodePciAddress() argument
87 *Segment = (UINT32) (RShiftU64 (Address, 32) & 0xFF); in ShellMmDecodePciAddress()
104 *Segment = (UINT32) (RShiftU64 (Address, 36) & 0xFF); in ShellMmDecodePciAddress()
143 UINT32 Segment; in ShellMmAccess() local
162 …ShellMmDecodePciAddress ((BOOLEAN) (AccessType == ShellMmPci), Address, &Segment, &Bus, &Device, &… in ShellMmAccess()
309 UINT32 Segment; in ShellMmLocateIoProtocol() local
331 Segment = 0; in ShellMmLocateIoProtocol()
334 …ShellMmDecodePciAddress ((BOOLEAN) (AccessType == ShellMmPci), Address, &Segment, &Bus, NULL, NULL… in ShellMmLocateIoProtocol()
350 …cessType == ShellMmPci) || (AccessType == ShellMmPciExpress)) && (Io->SegmentNumber == Segment)) || in ShellMmLocateIoProtocol()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/
DEfiRuntimeLib.h1256 UINT8 Segment,
1280 UINT8 Segment,
1304 UINT8 Segment,
1328 UINT8 Segment,
1354 UINT8 Segment,
1380 UINT8 Segment,
/device/google/contexthub/firmware/os/core/
Dseos.c467 it->shared = (const struct Segment *)(start); in osSegmentIteratorInit()
468 it->sharedEnd = (const struct Segment *)(start + sz); in osSegmentIteratorInit()
475 struct Segment *seg = osGetSegment(app); in osAppSegmentSetState()
490 bool osSegmentSetSize(struct Segment *seg, uint32_t size) in osSegmentSetSize()
509 struct Segment *osSegmentGetEnd() in osSegmentGetEnd()
513 return (struct Segment *)(start + size); in osSegmentGetEnd()
519 const struct Segment *storageSeg = NULL; in osSegmentGetFree()
534 struct Segment *osGetSegment(const struct AppHdr *app) in osGetSegment()
539 return (struct Segment *)((uint8_t*)app && in osGetSegment()
542 (uint8_t*)app - sizeof(struct Segment) : NULL); in osGetSegment()
[all …]

123456