Searched refs:Common (Results 1 - 25 of 71) sorted by relevance

123

/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/components/parser/
H A Dpstree.c161 if (Op->Common.AmlOpcode == AML_INT_CONNECTION_OP)
163 return (Op->Common.Value.Arg);
168 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode);
187 Arg = Op->Common.Value.Arg;
191 Arg = Arg->Common.Next;
230 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode);
236 Op->Common.AmlOpcode));
251 if (Op->Common.Value.Arg)
255 PrevArg = Op->Common.Value.Arg;
256 while (PrevArg->Common
[all...]
H A Dpsparse.c247 if (Op->Common.Parent)
249 Prev = Op->Common.Parent->Common.Value.Arg;
261 ParentInfo = AcpiPsGetOpcodeInfo (Op->Common.Parent->Common.AmlOpcode);
287 if ((Op->Common.Parent->Common.AmlOpcode == AML_REGION_OP) ||
288 (Op->Common.Parent->Common.AmlOpcode == AML_DATA_REGION_OP) ||
289 (Op->Common
[all...]
H A Dpsutils.c177 Op->Common.DescriptorType = ACPI_DESC_TYPE_PARSER;
178 Op->Common.AmlOpcode = Opcode;
180 ACPI_DISASM_ONLY_MEMBERS (ACPI_STRNCPY (Op->Common.AmlOpName,
182 sizeof (Op->Common.AmlOpName)));
249 Op->Common.Flags = Flags;
276 if (Op->Common.AmlOpcode == AML_INT_RETURN_VALUE_OP)
281 if (Op->Common.Flags & ACPI_PARSEOP_GENERIC)
333 if (Op->Common.Flags & ACPI_PARSEOP_GENERIC)
355 if (Op->Common.Flags & ACPI_PARSEOP_GENERIC)
H A Dpswalk.c171 Next = Op->Common.Next;
172 Parent = Op->Common.Parent;
H A Dpsargs.c350 Arg->Common.Value.Name = Path;
401 NameOp->Common.Value.Name = Path;
405 NameOp->Common.Node = Node;
442 else if (WalkState->Op->Common.AmlOpcode == AML_COND_REF_OF_OP)
452 else if ((Arg->Common.Parent) &&
453 ((Arg->Common.Parent->Common.AmlOpcode == AML_PACKAGE_OP) ||
454 (Arg->Common.Parent->Common.AmlOpcode == AML_VAR_PACKAGE_OP)))
477 Arg->Common
[all...]
H A Dpsloop.c310 UnnamedOp->Common.Value.Arg = NULL;
311 UnnamedOp->Common.ArgListLength = 0;
312 UnnamedOp->Common.AmlOpcode = WalkState->Opcode;
372 AcpiPsAppendArg (*Op, UnnamedOp->Common.Value.Arg);
375 if ((*Op)->Common.AmlOpcode == AML_REGION_OP ||
376 (*Op)->Common.AmlOpcode == AML_DATA_REGION_OP)
482 OpInfo = AcpiPsGetOpcodeInfo (ParentScope->Common.AmlOpcode);
486 if (ParentScope->Common.ArgListLength > ArgumentCount)
488 Op->Common.Flags |= ACPI_PARSEOP_TARGET;
491 else if (ParentScope->Common
[all...]
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/components/dispatcher/
H A Ddsobject.c169 if (Op->Common.AmlOpcode == AML_INT_NAMEPATH_OP)
176 if (!Op->Common.Node)
179 Op->Common.Value.String,
182 ACPI_CAST_INDIRECT_PTR (ACPI_NAMESPACE_NODE, &(Op->Common.Node)));
189 ((Op->Common.Parent->Common.AmlOpcode == AML_PACKAGE_OP) ||
190 (Op->Common.Parent->Common.AmlOpcode == AML_VAR_PACKAGE_OP)))
209 ACPI_ERROR_NAMESPACE (Op->Common.Value.String, Status);
218 if ((Op->Common
[all...]
H A Ddsutils.c298 if ((!Op->Common.Parent) ||
299 (Op->Common.Parent->Common.AmlOpcode == AML_SCOPE_OP))
305 AcpiPsGetOpcodeName (Op->Common.AmlOpcode)));
311 ParentInfo = AcpiPsGetOpcodeInfo (Op->Common.Parent->Common.AmlOpcode);
329 switch (Op->Common.Parent->Common.AmlOpcode)
344 if ((WalkState->ControlState->Common.State == ACPI_CONTROL_PREDICATE_EXECUTING) &&
372 if ((Op->Common
[all...]
H A Ddsfield.c252 if (Op->Common.AmlOpcode == AML_CREATE_FIELD_OP)
301 Status = AcpiNsLookup (WalkState->ScopeInfo, Arg->Common.Value.String,
306 ACPI_ERROR_NAMESPACE (Arg->Common.Value.String, Status);
316 Op->Common.Node = Node;
347 SecondDesc = ObjDesc->Common.NextObject;
414 switch (Arg->Common.AmlOpcode)
419 + (UINT64) Arg->Common.Value.Size;
448 ((UINT8) ((UINT32) (Arg->Common.Value.Integer & 0x07))));
452 Info->Attribute = (UINT8) ((Arg->Common.Value.Integer >> 8) & 0xFF);
456 Info->AccessLength = (UINT8) ((Arg->Common
[all...]
H A Ddswscope.c158 AcpiUtGetTypeName (ScopeInfo->Common.Value)));
218 ScopeInfo->Common.DescriptorType = ACPI_DESC_TYPE_STATE_WSCOPE;
220 ScopeInfo->Common.Value = (UINT16) Type;
233 AcpiUtGetTypeName (OldScopeInfo->Common.Value)));
244 AcpiUtGetTypeName (ScopeInfo->Common.Value)));
291 AcpiUtGetTypeName (ScopeInfo->Common.Value)));
299 AcpiUtGetTypeName (NewScopeInfo->Common.Value)));
H A Ddscontrol.c156 Op, Op->Common.AmlOpcode, WalkState));
158 switch (Op->Common.AmlOpcode)
173 WalkState->ControlState->Common.State =
200 ControlState->Control.Opcode = Op->Common.AmlOpcode;
258 switch (Op->Common.AmlOpcode)
269 (BOOLEAN) WalkState->ControlState->Common.Value;
290 if (ControlState->Common.Value)
331 "[RETURN_OP] Op=%p Arg=%p\n",Op, Op->Common.Value.Arg));
338 if (Op->Common.Value.Arg)
346 Status = AcpiDsCreateOperands (WalkState, Op->Common
[all...]
H A Ddsopcode.c210 if (BufferDesc->Common.Type != ACPI_TYPE_BUFFER)
347 BufferDesc->Common.ReferenceCount = (UINT16)
348 (BufferDesc->Common.ReferenceCount + ObjDesc->Common.ReferenceCount);
412 Node = Op->Common.Node;
416 NextOp = Op->Common.Value.Arg;
434 Status = AcpiExResolveOperands (Op->Common.AmlOpcode,
439 AcpiPsGetOpcodeName (Op->Common.AmlOpcode), Status));
446 if (Op->Common.AmlOpcode == AML_CREATE_FIELD_OP)
450 Status = AcpiDsInitBufferField (Op->Common
[all...]
H A Ddswexec.c178 WalkState->ControlState->Common.State = 0;
227 if (LocalObjDesc->Common.Type != ACPI_TYPE_INTEGER)
231 ObjDesc, WalkState, ObjDesc->Common.Type));
247 WalkState->ControlState->Common.Value = TRUE;
255 WalkState->ControlState->Common.Value = FALSE;
267 WalkState->ControlState->Common.Value, WalkState->Op));
283 WalkState->ControlState->Common.State = ACPI_CONTROL_NORMAL;
327 WalkState->Opcode = Op->Common.AmlOpcode;
328 WalkState->OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode);
360 (WalkState->ControlState->Common
[all...]
H A Ddswload2.c166 (WalkState->ControlState->Common.State ==
190 BufferPtr = Op->Common.Value.String;
315 WalkState->ScopeInfo->Common.Value = ACPI_TYPE_ANY;
349 if (Op && Op->Common.Node)
353 Node = Op->Common.Node;
440 Op->Common.Node = Node;
487 if (Op->Common.AmlOpcode == AML_SCOPE_OP)
499 Node = Op->Common.Node;
511 (Op->Common.AmlOpcode != AML_INT_METHODCALL_OP))
553 AcpiPsGetOpcodeName (Op->Common
[all...]
H A Ddswload.c230 if (Op->Common.Node)
313 WalkState->ScopeInfo->Common.Value = ACPI_TYPE_ANY;
443 /* Common exit */
468 Op->Common.Node = Node;
542 if (Op->Common.AmlOpcode == AML_REGION_OP)
545 (ACPI_ADR_SPACE_TYPE) ((Op->Common.Value.Arg)->Common.Value.Integer),
552 else if (Op->Common.AmlOpcode == AML_DATA_REGION_OP)
564 if (Op->Common.AmlOpcode == AML_NAME_OP)
568 if (Op->Common
[all...]
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/common/
H A Dadwalk.c441 AcpiOsPrintf ("%-28s", AcpiPsGetOpcodeName (Op->Common.AmlOpcode));
445 switch (Op->Common.AmlOpcode)
450 AcpiOsPrintf ("%X", (UINT32) Op->Common.Value.Integer);
454 AcpiOsPrintf ("%8.8X%8.8X", ACPI_FORMAT_UINT64 (Op->Common.Value.Integer));
458 if (Op->Common.Value.String)
460 AcpiNsExternalizeName (ACPI_UINT32_MAX, Op->Common.Value.String,
462 AcpiOsPrintf ("%s %p", Path, Op->Common.Node);
519 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode);
521 switch (Op->Common.AmlOpcode)
525 ChildOp = Op->Common
[all...]
H A Ddmrestag.c524 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode);
536 if (BufferNameOp->Common.AmlOpcode != AML_INT_NAMEPATH_OP)
543 IndexOp = BufferNameOp->Common.Next;
547 IndexOp->Common.Node = NULL;
549 OpInfo = AcpiPsGetOpcodeInfo (IndexOp->Common.AmlOpcode);
557 if ((Op->Common.AmlOpcode == AML_CREATE_BIT_FIELD_OP) ||
558 (Op->Common.AmlOpcode == AML_CREATE_FIELD_OP))
562 BitIndex = (UINT32) IndexOp->Common.Value.Integer;
568 BitIndex = (UINT32) ACPI_MUL_8 (IndexOp->Common.Value.Integer);
574 BufferNameOp->Common
[all...]
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/components/namespace/
H A Dnsobject.c263 while (LastObjDesc->Common.NextObject)
265 LastObjDesc = LastObjDesc->Common.NextObject;
270 LastObjDesc->Common.NextObject = Node->Object;
307 (ObjDesc->Common.Type == ACPI_TYPE_LOCAL_DATA))
316 if (ObjDesc->Common.Type == ACPI_TYPE_METHOD)
327 Node->Object = ObjDesc->Common.NextObject;
329 ((Node->Object)->Common.Type != ACPI_TYPE_LOCAL_DATA))
331 Node->Object = Node->Object->Common.NextObject;
378 ((Node->Object)->Common.Type == ACPI_TYPE_LOCAL_DATA))
408 (ObjDesc->Common
[all...]
H A Dnsrepair.c284 NewObject->Common.ReferenceCount =
285 ReturnObject->Common.ReferenceCount;
287 if (ReturnObject->Common.ReferenceCount > 1)
289 ReturnObject->Common.ReferenceCount--;
339 switch (OriginalObject->Common.Type)
408 switch (OriginalObject->Common.Type)
502 switch (OriginalObject->Common.Type)
548 ((*Elements)->Common.Type != ACPI_TYPE_INTEGER))
662 NewObject->Common.ReferenceCount = Data->ParentPackage->Common
[all...]
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/components/executer/
H A Dexstoren.c179 if (SourceDesc->Common.Type == ACPI_TYPE_LOCAL_REFERENCE)
199 if ((SourceDesc->Common.Type != ACPI_TYPE_INTEGER) &&
200 (SourceDesc->Common.Type != ACPI_TYPE_BUFFER) &&
201 (SourceDesc->Common.Type != ACPI_TYPE_STRING) &&
202 !((SourceDesc->Common.Type == ACPI_TYPE_LOCAL_REFERENCE) &&
303 if (SourceDesc->Common.Type != DestDesc->Common.Type)
314 Status = AcpiExConvertToTargetType (DestDesc->Common.Type,
336 switch (DestDesc->Common.Type)
H A Dexfield.c171 if (ObjDesc->Common.Type == ACPI_TYPE_BUFFER_FIELD)
177 if (!(ObjDesc->Common.Flags & AOPOBJ_DATA_VALID))
186 else if ((ObjDesc->Common.Type == ACPI_TYPE_LOCAL_REGION_FIELD) &&
270 ObjDesc, ObjDesc->Common.Type, Buffer, (UINT32) Length));
338 if (ObjDesc->Common.Type == ACPI_TYPE_BUFFER_FIELD)
344 if (!(ObjDesc->Common.Flags & AOPOBJ_DATA_VALID))
353 else if ((ObjDesc->Common.Type == ACPI_TYPE_LOCAL_REGION_FIELD) &&
369 if (SourceDesc->Common.Type != ACPI_TYPE_BUFFER)
432 switch (SourceDesc->Common.Type)
455 SourceDesc, AcpiUtGetTypeName (SourceDesc->Common
[all...]
H A Dexstorob.c169 (TargetDesc->Common.Flags & AOPOBJ_STATIC_POINTER))
227 TargetDesc->Common.Flags &= ~AOPOBJ_STATIC_POINTER;
274 (!(TargetDesc->Common.Flags & AOPOBJ_STATIC_POINTER)))
291 (!(TargetDesc->Common.Flags & AOPOBJ_STATIC_POINTER)))
305 TargetDesc->Common.Flags &= ~AOPOBJ_STATIC_POINTER;
H A Dexresop.c176 (((ACPI_OPERAND_OBJECT *) Object)->Common.Flags & AOPOBJ_AML_CONSTANT))
304 ObjectType = ObjDesc->Common.Type;
377 (ObjDesc->Common.Type == ACPI_TYPE_STRING))
427 ((*StackPtr)->Common.Type == ACPI_TYPE_LOCAL_REFERENCE) &&
592 switch (ObjDesc->Common.Type)
615 switch (ObjDesc->Common.Type)
657 switch (ObjDesc->Common.Type)
681 switch (ObjDesc->Common.Type)
704 switch (ObjDesc->Common.Type)
726 switch (ObjDesc->Common
[all...]
H A Dexstore.c196 switch (DestDesc->Common.Type)
205 if (DestDesc->Common.Flags & AOPOBJ_AML_CONSTANT)
337 if (SourceDesc->Common.Type == ACPI_TYPE_LOCAL_REFERENCE &&
362 IndexDesc->Reference.Object)->Common.ReferenceCount;
375 IndexDesc->Reference.Object)->Common.ReferenceCount;
401 if ((ObjDesc->Common.Type != ACPI_TYPE_BUFFER) &&
402 (ObjDesc->Common.Type != ACPI_TYPE_STRING))
411 switch (SourceDesc->Common.Type)
577 Status = AcpiNsAttachObject (Node, NewDesc, NewDesc->Common.Type);
596 SourceDesc->Common
[all...]
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/
H A Dutstate.c187 State->Common.Next = *ListHead;
223 *ListHead = State->Common.Next;
257 State->Common.DescriptorType = ACPI_DESC_TYPE_STATE;
297 State->Common.DescriptorType = ACPI_DESC_TYPE_STATE_THREAD;
348 State->Common.DescriptorType = ACPI_DESC_TYPE_STATE_UPDATE;
391 State->Common.DescriptorType = ACPI_DESC_TYPE_STATE_PACKAGE;
434 State->Common.DescriptorType = ACPI_DESC_TYPE_STATE_CONTROL;
435 State->Common.State = ACPI_CONTROL_CONDITIONAL_EXECUTING;

Completed in 92 milliseconds

123