Home
last modified time | relevance | path

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

1234

/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslrestype2s.c440 AML_RESOURCE *Descriptor; in RsDoGpioIntDescriptor() local
477 Descriptor = Rnode->Buffer; in RsDoGpioIntDescriptor()
478 Descriptor->Gpio.ResourceLength = DescriptorSize; in RsDoGpioIntDescriptor()
479 Descriptor->Gpio.DescriptorType = ACPI_RESOURCE_NAME_GPIO; in RsDoGpioIntDescriptor()
480 Descriptor->Gpio.RevisionId = AML_RESOURCE_GPIO_REVISION; in RsDoGpioIntDescriptor()
481 Descriptor->Gpio.ConnectionType = AML_RESOURCE_GPIO_TYPE_INT; in RsDoGpioIntDescriptor()
485 InterruptList = ACPI_ADD_PTR (UINT16, Descriptor, in RsDoGpioIntDescriptor()
493 Descriptor->Gpio.PinTableOffset = (UINT16) in RsDoGpioIntDescriptor()
494 ACPI_PTR_DIFF (InterruptList, Descriptor); in RsDoGpioIntDescriptor()
496 Descriptor->Gpio.ResSourceOffset = (UINT16) in RsDoGpioIntDescriptor()
[all …]
H A Daslrestype2q.c183 AML_RESOURCE *Descriptor; in RsDoQwordIoDescriptor() local
205 Descriptor = Rnode->Buffer; in RsDoQwordIoDescriptor()
206 Descriptor->Address64.DescriptorType = ACPI_RESOURCE_NAME_ADDRESS64; in RsDoQwordIoDescriptor()
207 Descriptor->Address64.ResourceType = ACPI_ADDRESS_TYPE_IO_RANGE; in RsDoQwordIoDescriptor()
213 OptionalFields = ((UINT8 *) Descriptor) + sizeof (AML_RESOURCE_ADDRESS64); in RsDoQwordIoDescriptor()
214 Descriptor->Address64.ResourceLength = (UINT16) in RsDoQwordIoDescriptor()
226 RsSetFlagBits (&Descriptor->Address64.Flags, InitializerOp, 0, 1); in RsDoQwordIoDescriptor()
231 RsSetFlagBits (&Descriptor->Address64.Flags, InitializerOp, 2, 0); in RsDoQwordIoDescriptor()
238 RsSetFlagBits (&Descriptor->Address64.Flags, InitializerOp, 3, 0); in RsDoQwordIoDescriptor()
245 RsSetFlagBits (&Descriptor->Address64.Flags, InitializerOp, 1, 0); in RsDoQwordIoDescriptor()
[all …]
H A Daslrestype2w.c183 AML_RESOURCE *Descriptor; in RsDoWordIoDescriptor() local
205 Descriptor = Rnode->Buffer; in RsDoWordIoDescriptor()
206 Descriptor->Address16.DescriptorType = ACPI_RESOURCE_NAME_ADDRESS16; in RsDoWordIoDescriptor()
207 Descriptor->Address16.ResourceType = ACPI_ADDRESS_TYPE_IO_RANGE; in RsDoWordIoDescriptor()
213 OptionalFields = ((UINT8 *) Descriptor) + sizeof (AML_RESOURCE_ADDRESS16); in RsDoWordIoDescriptor()
214 Descriptor->Address16.ResourceLength = (UINT16) in RsDoWordIoDescriptor()
226 RsSetFlagBits (&Descriptor->Address16.Flags, InitializerOp, 0, 1); in RsDoWordIoDescriptor()
231 RsSetFlagBits (&Descriptor->Address16.Flags, InitializerOp, 2, 0); in RsDoWordIoDescriptor()
238 RsSetFlagBits (&Descriptor->Address16.Flags, InitializerOp, 3, 0); in RsDoWordIoDescriptor()
245 RsSetFlagBits (&Descriptor->Address16.Flags, InitializerOp, 1, 0); in RsDoWordIoDescriptor()
[all …]
H A Daslrestype2d.c184 AML_RESOURCE *Descriptor; in RsDoDwordPccDescriptor() local
204 Descriptor = Rnode->Buffer; in RsDoDwordPccDescriptor()
205 Descriptor->Address32.DescriptorType = ACPI_RESOURCE_NAME_ADDRESS32; in RsDoDwordPccDescriptor()
206 Descriptor->Address32.ResourceType = ACPI_ADDRESS_TYPE_PCC_NUMBER; in RsDoDwordPccDescriptor()
212 OptionalFields = ((UINT8 *) Descriptor) + sizeof (AML_RESOURCE_ADDRESS32); in RsDoDwordPccDescriptor()
213 Descriptor->Address32.ResourceLength = (UINT16) in RsDoDwordPccDescriptor()
224 Descriptor->Address32.Flags = 0b1100; in RsDoDwordPccDescriptor()
227 Descriptor->Address32.SpecificFlags = 0; in RsDoDwordPccDescriptor()
230 Descriptor->Address32.Granularity = 0x0; in RsDoDwordPccDescriptor()
234 Descriptor->Address32.TranslationOffset = 0; in RsDoDwordPccDescriptor()
[all …]
H A Daslrestype2e.c181 AML_RESOURCE *Descriptor; in RsDoExtendedIoDescriptor() local
200 Descriptor = Rnode->Buffer; in RsDoExtendedIoDescriptor()
201 Descriptor->ExtAddress64.DescriptorType = ACPI_RESOURCE_NAME_EXTENDED_ADDRESS64; in RsDoExtendedIoDescriptor()
202 Descriptor->ExtAddress64.ResourceType = ACPI_ADDRESS_TYPE_IO_RANGE; in RsDoExtendedIoDescriptor()
203 Descriptor->ExtAddress64.RevisionID = AML_RESOURCE_EXTENDED_ADDRESS_REVISION; in RsDoExtendedIoDescriptor()
205 Descriptor->ExtAddress64.ResourceLength = (UINT16) in RsDoExtendedIoDescriptor()
217 RsSetFlagBits (&Descriptor->ExtAddress64.Flags, InitializerOp, 0, 1); in RsDoExtendedIoDescriptor()
222 RsSetFlagBits (&Descriptor->ExtAddress64.Flags, InitializerOp, 2, 0); in RsDoExtendedIoDescriptor()
229 RsSetFlagBits (&Descriptor->ExtAddress64.Flags, InitializerOp, 3, 0); in RsDoExtendedIoDescriptor()
236 RsSetFlagBits (&Descriptor->ExtAddress64.Flags, InitializerOp, 1, 0); in RsDoExtendedIoDescriptor()
[all …]
H A Daslrestype1.c187 AML_RESOURCE *Descriptor; in RsDoEndTagDescriptor() local
193 Descriptor = Rnode->Buffer; in RsDoEndTagDescriptor()
194 Descriptor->EndTag.DescriptorType = ACPI_RESOURCE_NAME_END_TAG | in RsDoEndTagDescriptor()
196 Descriptor->EndTag.Checksum = 0; in RsDoEndTagDescriptor()
217 AML_RESOURCE *Descriptor; in RsDoEndDependentDescriptor() local
223 Descriptor = Rnode->Buffer; in RsDoEndDependentDescriptor()
224 Descriptor->EndDpf.DescriptorType = in RsDoEndDependentDescriptor()
246 AML_RESOURCE *Descriptor; in RsDoMemory24Descriptor() local
260 Descriptor = Rnode->Buffer; in RsDoMemory24Descriptor()
261 Descriptor->Memory24.DescriptorType = ACPI_RESOURCE_NAME_MEMORY24; in RsDoMemory24Descriptor()
[all …]
H A Daslrestype1i.c185 AML_RESOURCE *Descriptor; in RsDoDmaDescriptor() local
198 Descriptor = Rnode->Buffer; in RsDoDmaDescriptor()
199 Descriptor->Dma.DescriptorType = in RsDoDmaDescriptor()
210 RsSetFlagBits (&Descriptor->Dma.Flags, InitializerOp, 5, 0); in RsDoDmaDescriptor()
217 RsSetFlagBits (&Descriptor->Dma.Flags, InitializerOp, 2, 0); in RsDoDmaDescriptor()
224 RsSetFlagBits (&Descriptor->Dma.Flags, InitializerOp, 0, 0); in RsDoDmaDescriptor()
284 Descriptor->Dma.DmaChannelMask = DmaChannelMask; in RsDoDmaDescriptor()
305 AML_RESOURCE *Descriptor; in RsDoFixedDmaDescriptor() local
316 Descriptor = Rnode->Buffer; in RsDoFixedDmaDescriptor()
317 Descriptor->FixedDma.DescriptorType = in RsDoFixedDmaDescriptor()
[all …]
H A Daslrestype2.c183 AML_RESOURCE *Descriptor; in RsDoGeneralRegisterDescriptor() local
194 Descriptor = Rnode->Buffer; in RsDoGeneralRegisterDescriptor()
195 Descriptor->GenericReg.DescriptorType = ACPI_RESOURCE_NAME_GENERIC_REGISTER; in RsDoGeneralRegisterDescriptor()
196 Descriptor->GenericReg.ResourceLength = 12; in RsDoGeneralRegisterDescriptor()
206 Descriptor->GenericReg.AddressSpaceId = (UINT8) InitializerOp->Asl.Value.Integer; in RsDoGeneralRegisterDescriptor()
213 Descriptor->GenericReg.BitWidth = (UINT8) InitializerOp->Asl.Value.Integer; in RsDoGeneralRegisterDescriptor()
220 Descriptor->GenericReg.BitOffset = (UINT8) InitializerOp->Asl.Value.Integer; in RsDoGeneralRegisterDescriptor()
227 Descriptor->GenericReg.Address = InitializerOp->Asl.Value.Integer; in RsDoGeneralRegisterDescriptor()
234 Descriptor->GenericReg.AccessSize = (UINT8) InitializerOp->Asl.Value.Integer; in RsDoGeneralRegisterDescriptor()
238 if (Descriptor->GenericReg.AddressSpaceId == ACPI_ADR_SPACE_PLATFORM_COMM) in RsDoGeneralRegisterDescriptor()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DDescriptor.h25 struct Descriptor;
36 const Descriptor *FieldDesc);
41 const Descriptor *FieldDesc);
49 const Descriptor *FieldDesc);
95 const Descriptor *Desc;
97 InlineDescriptor(const Descriptor *D) in InlineDescriptor()
107 struct Descriptor final {
139 const Descriptor *const ElemDesc = nullptr;
161 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, bool IsConst,
165 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, size_t NumElems,
[all …]
H A DDescriptor.cpp24 const Descriptor *) { in ctorTy() argument
29 static void dtorTy(Block *, std::byte *Ptr, const Descriptor *) { in dtorTy() argument
35 const Descriptor *) { in moveTy() argument
43 const Descriptor *D) { in ctorArrayTy()
53 static void dtorArrayTy(Block *, std::byte *Ptr, const Descriptor *D) { in dtorArrayTy()
66 const Descriptor *D) { in moveArrayTy()
85 bool IsMutable, bool IsActive, const Descriptor *D) { in ctorArrayDesc()
110 static void dtorArrayDesc(Block *B, std::byte *Ptr, const Descriptor *D) { in dtorArrayDesc()
126 const Descriptor *D) { in moveArrayDesc()
148 bool IsActive, bool IsUnion, const Descriptor *D, in initField()
[all …]
H A DProgram.cpp56 Descriptor *Desc = in createGlobalString()
57 allocateDescriptor(S, CharType, Descriptor::GlobalMD, S->getLength() + 1, in createGlobalString()
156 Descriptor *Desc; in getOrCreateDummy()
219 Descriptor *Desc; in createGlobal()
223 Desc = createDescriptor(D, *T, Descriptor::GlobalMD, IsConst, IsTemporary); in createGlobal()
225 Desc = createDescriptor(D, Ty.getTypePtr(), Descriptor::GlobalMD, IsConst, in createGlobal()
279 const Record *BR) -> const Descriptor * { in getOrCreateRecord()
302 const Descriptor *Desc = GetBaseDesc(BD, BR); in getOrCreateRecord()
319 const Descriptor *Desc = GetBaseDesc(BD, BR); in getOrCreateRecord()
343 const Descriptor *Desc; in getOrCreateRecord()
[all …]
H A DDynamicAllocator.cpp46 const Descriptor *D = allocateDescriptor( in allocate()
47 Source, T, Descriptor::InlineDescMD, NumElements, /*IsConst=*/false, in allocate()
53 Block *DynamicAllocator::allocate(const Descriptor *ElementDesc, in allocate()
57 const Descriptor *D = allocateDescriptor( in allocate()
58 ElementDesc->asExpr(), ElementDesc, Descriptor::InlineDescMD, NumElements, in allocate()
63 Block *DynamicAllocator::allocate(const Descriptor *D, unsigned EvalID) { in allocate()
H A DProgram.h118 Descriptor *createDescriptor(const DeclTy &D, PrimType Type,
119 Descriptor::MetadataSize MDSize = std::nullopt,
126 Descriptor *createDescriptor(const DeclTy &D, const Type *Ty,
127 Descriptor::MetadataSize MDSize = std::nullopt,
217 Descriptor *allocateDescriptor(Ts &&... Args) { in allocateDescriptor()
218 return new (Allocator) Descriptor(std::forward<Ts>(Args)...); in allocateDescriptor()
H A DDynamicAllocator.h61 Block *allocate(const Descriptor *D, unsigned EvalID);
66 Block *allocate(const Descriptor *D, size_t NumElements, unsigned EvalID);
95 template <typename... Ts> Descriptor *allocateDescriptor(Ts &&...Args) { in allocateDescriptor()
96 return new (DescAllocator) Descriptor(std::forward<Ts>(Args)...); in allocateDescriptor()
H A DInterpBlock.h53 const Descriptor *Desc, bool IsStatic = false, bool IsExtern = false)
59 Block(unsigned EvalID, const Descriptor *Desc, bool IsStatic = false,
67 const Descriptor *getDescriptor() const { return Desc; } in getDescriptor()
136 Block(unsigned EvalID, const Descriptor *Desc, bool IsExtern, bool IsStatic, in Block()
173 const Descriptor *Desc;
/freebsd/sys/contrib/dev/acpica/components/utilities/
H A Duttrack.c757 ACPI_DESCRIPTOR *Descriptor; in AcpiUtDumpAllocations() local
789 Descriptor = ACPI_CAST_PTR ( in AcpiUtDumpAllocations()
796 Descriptor, Element->Size, Element->Module, in AcpiUtDumpAllocations()
803 if (ACPI_GET_DESCRIPTOR_TYPE (Descriptor) != in AcpiUtDumpAllocations()
807 Descriptor, Element->Size, Element->Module, in AcpiUtDumpAllocations()
808 Element->Line, AcpiUtGetDescriptorName (Descriptor)); in AcpiUtDumpAllocations()
815 AcpiUtDumpBuffer ((UINT8 *) Descriptor, Element->Size, in AcpiUtDumpAllocations()
823 switch (ACPI_GET_DESCRIPTOR_TYPE (Descriptor)) in AcpiUtDumpAllocations()
861 AcpiUtGetTypeName (Descriptor->Object.Common.Type), in AcpiUtDumpAllocations()
862 Descriptor->Object.Common.ReferenceCount); in AcpiUtDumpAllocations()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/lli/
H A DExecutionUtils.cpp
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp283 for (auto &Descriptor : *DescriptorList) in parse()
284 if (!parseEntry(YS, Descriptor, DL)) in parse()
324 yaml::MappingNode *Descriptor, in parseRewriteFunctionDescriptor() argument
331 for (auto &Field : *Descriptor) { in parseRewriteFunctionDescriptor()
375 YS.printError(Descriptor, in parseRewriteFunctionDescriptor()
394 yaml::MappingNode *Descriptor, in parseRewriteGlobalVariableDescriptor() argument
400 for (auto &Field : *Descriptor) { in parseRewriteGlobalVariableDescriptor()
439 YS.printError(Descriptor, in parseRewriteGlobalVariableDescriptor()
457 yaml::MappingNode *Descriptor, in parseRewriteGlobalAliasDescriptor() argument
463 for (auto &Field : *Descriptor) { in parseRewriteGlobalAliasDescriptor()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBlockInCriticalSectionChecker.cpp231 const auto Descriptor = in checkDescriptorMatch() local
232 llvm::find_if(MutexDescriptors, [&Call, IsLock](auto &&Descriptor) { in checkDescriptorMatch() argument
237 Descriptor); in checkDescriptorMatch()
239 if (Descriptor != MutexDescriptors.end()) in checkDescriptorMatch()
240 return *Descriptor; in checkDescriptorMatch()
245 const MutexDescriptor &Descriptor, in getRegion() argument
248 [&Call, IsLock](auto &&Descriptor) { in getRegion() argument
249 return Descriptor.getRegion(Call, IsLock); in getRegion()
251 Descriptor); in getRegion()
H A DObjCMissingSuperCallChecker.cpp106 for (SelectorDescriptor Descriptor : Sel) { in fillSelectors() local
107 assert(Descriptor.ArgumentCount <= 1); // No multi-argument selectors yet. in fillSelectors()
110 const IdentifierInfo *II = &Ctx.Idents.get(Descriptor.SelectorName); in fillSelectors()
112 Selector Sel = Ctx.Selectors.getSelector(Descriptor.ArgumentCount, &II); in fillSelectors()
/freebsd/contrib/llvm-project/libunwind/src/
H A DUnwind-EHABI.cpp53 struct Descriptor { struct
77 Descriptor::Format format, in ProcessDescriptors()
97 case Descriptor::LU32: in ProcessDescriptors()
101 case Descriptor::LU16: in ProcessDescriptors()
111 Descriptor::Kind kind = in ProcessDescriptors()
112 static_cast<Descriptor::Kind>((length & 0x1) | ((offset & 0x1) << 1)); in ProcessDescriptors()
123 case Descriptor::CLEANUP: { in ProcessDescriptors()
127 case Descriptor::FUNC: { in ProcessDescriptors()
131 case Descriptor::CATCH: { in ProcessDescriptors()
175 Descriptor::Format format = in unwindOneFrame()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugArangeSet.h38 struct Descriptor {
53 const Descriptor &GetDescriptorRef(uint32_t i) const { in GetDescriptorRef()
58 typedef std::vector<Descriptor> DescriptorColl;
36 struct Descriptor { global() struct
51 end_addressDescriptor GetDescriptorRef() argument
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCSectionMachO.cpp222 [&](decltype(*SectionTypeDescriptors) &Descriptor) { in ParseSectionSpecifier() argument
223 return SectionType == Descriptor.AssemblerName; in ParseSectionSpecifier()
253 [&](decltype(*SectionAttrDescriptors) &Descriptor) { in ParseSectionSpecifier() argument
254 return SectionAttr.trim() == Descriptor.AssemblerName; in ParseSectionSpecifier()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugArangeSet.h44 struct Descriptor { struct
53 using DescriptorColl = std::vector<Descriptor>; argument
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFYAML.cpp163 IO &IO, DWARFYAML::ARangeDescriptor &Descriptor) { in mapping() argument
164 IO.mapRequired("Address", Descriptor.Address); in mapping()
165 IO.mapRequired("Length", Descriptor.Length); in mapping()
180 IO &IO, DWARFYAML::RangeEntry &Descriptor) { in mapping() argument
181 IO.mapRequired("LowOffset", Descriptor.LowOffset); in mapping()
182 IO.mapRequired("HighOffset", Descriptor.HighOffset); in mapping()
196 IO.mapRequired("Descriptor", Entry.Descriptor); in mapping()

1234