Home
last modified time | relevance | path

Searched refs:Arg (Results 1 – 25 of 80) sorted by relevance

1234

/acpica-latest/source/components/dispatcher/
Ddsfield.c186 ACPI_PARSE_OBJECT *Arg);
277 ACPI_PARSE_OBJECT *Arg; in AcpiDsCreateBufferField() local
295 Arg = AcpiPsGetArg (Op, 3); in AcpiDsCreateBufferField()
301 Arg = AcpiPsGetArg (Op, 2); in AcpiDsCreateBufferField()
304 if (!Arg) in AcpiDsCreateBufferField()
342 Arg->Common.Value.String, ACPI_TYPE_ANY, in AcpiDsCreateBufferField()
352 Arg->Common.Value.String, Status); in AcpiDsCreateBufferField()
435 ACPI_PARSE_OBJECT *Arg) in AcpiDsGetFieldNames() argument
457 while (Arg) in AcpiDsGetFieldNames()
466 switch (Arg->Common.AmlOpcode) in AcpiDsGetFieldNames()
[all …]
Ddspkginit.c208 ACPI_PARSE_OBJECT *Arg; in AcpiDsBuildInternalPackageObj() local
282 Arg = Op->Common.Value.Arg; in AcpiDsBuildInternalPackageObj()
283 Arg = Arg->Common.Next; in AcpiDsBuildInternalPackageObj()
307 for (i = 0; Arg && (i < ElementCount); i++) in AcpiDsBuildInternalPackageObj()
309 if (Arg->Common.AmlOpcode == AML_INT_RETURN_VALUE_OP) in AcpiDsBuildInternalPackageObj()
311 if (!Arg->Common.Node) in AcpiDsBuildInternalPackageObj()
337 if (Arg->Common.Node->Type == ACPI_TYPE_METHOD) in AcpiDsBuildInternalPackageObj()
343 Arg->Common.AmlOpcode = AML_INT_NAMEPATH_OP; in AcpiDsBuildInternalPackageObj()
345 WalkState, Arg, &ObjDesc->Package.Elements[i]); in AcpiDsBuildInternalPackageObj()
352 ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, Arg->Common.Node); in AcpiDsBuildInternalPackageObj()
[all …]
Ddsutils.c607 ACPI_PARSE_OBJECT *Arg, in AcpiDsCreateOperand() argument
620 ACPI_FUNCTION_TRACE_PTR (DsCreateOperand, Arg); in AcpiDsCreateOperand()
625 if ((Arg->Common.AmlOpcode == AML_INT_NAMEPATH_OP) && in AcpiDsCreateOperand()
626 (Arg->Common.Value.String) && in AcpiDsCreateOperand()
627 !(Arg->Common.Flags & ACPI_PARSEOP_IN_STACK)) in AcpiDsCreateOperand()
629 ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH, "Getting a name: Arg=%p\n", Arg)); in AcpiDsCreateOperand()
634 Arg->Common.Value.Buffer, &NameString, &NameLength); in AcpiDsCreateOperand()
669 ParentOp = Arg->Common.Parent; in AcpiDsCreateOperand()
763 if ((Arg->Common.AmlOpcode == AML_INT_NAMEPATH_OP) && in AcpiDsCreateOperand()
764 !(Arg->Common.Flags & ACPI_PARSEOP_IN_STACK)) in AcpiDsCreateOperand()
[all …]
Ddsopcode.c450 NextOp = Op->Common.Value.Arg; in AcpiDsEvalBufferFieldOperands()
539 NextOp = Op->Common.Value.Arg; in AcpiDsEvalRegionOperands()
651 NextOp = Op->Common.Value.Arg; in AcpiDsEvalTableRegionOperands()
768 if (!Op->Common.Value.Arg) in AcpiDsEvalDataObjectOperands()
776 Status = AcpiDsCreateOperand (WalkState, Op->Common.Value.Arg, 1); in AcpiDsEvalDataObjectOperands()
872 ACPI_PARSE_OBJECT *Arg; in AcpiDsEvalBankFieldOperands() local
885 NextOp = Op->Common.Value.Arg; in AcpiDsEvalBankFieldOperands()
925 Arg = AcpiPsGetArg (Op, 4); in AcpiDsEvalBankFieldOperands()
926 while (Arg) in AcpiDsEvalBankFieldOperands()
930 if (Arg->Common.AmlOpcode == AML_INT_NAMEDFIELD_OP) in AcpiDsEvalBankFieldOperands()
[all …]
Ddswload2.c533 ACPI_PARSE_OBJECT *Arg; in AcpiDsLoad2EndOp() local
626 Arg = Op->Common.Value.Arg; in AcpiDsLoad2EndOp()
658 Op, (ACPI_HANDLE) Arg->Common.Node, WalkState); in AcpiDsLoad2EndOp()
663 Status = AcpiDsCreateBankField (Op, Arg->Common.Node, WalkState); in AcpiDsLoad2EndOp()
668 Status = AcpiDsCreateField (Op, Arg->Common.Node, WalkState); in AcpiDsLoad2EndOp()
680 Status = AcpiDsCreateOperands (WalkState, Arg); in AcpiDsLoad2EndOp()
741 ((Op->Common.Value.Arg)->Common.Value.Integer); in AcpiDsLoad2EndOp()
827 WalkState, Op->Common.Value.Arg); in AcpiDsLoad2EndOp()
866 Status = AcpiNsLookup (WalkState->ScopeInfo, Arg->Common.Value.String, in AcpiDsLoad2EndOp()
891 Arg->Common.Value.String, Status); in AcpiDsLoad2EndOp()
Ddsobject.c302 ACPI_PARSE_OBJECT *Arg; in AcpiDsBuildInternalBufferObj() local
334 Arg = Op->Common.Value.Arg; /* skip first arg */ in AcpiDsBuildInternalBufferObj()
336 ByteList = Arg->Named.Next; in AcpiDsBuildInternalBufferObj()
432 if (!Op->Common.Value.Arg) in AcpiDsCreateNode()
442 WalkState, Op->Common.Value.Arg, &ObjDesc); in AcpiDsCreateNode()
Ddswload.c629 ((Op->Common.Value.Arg)->Common.Value.Integer), in AcpiDsLoad1EndOp()
651 if (Op->Common.Value.Arg) in AcpiDsLoad1EndOp()
654 (Op->Common.Value.Arg)->Common.AmlOpcode))->ObjectType; in AcpiDsLoad1EndOp()
679 ParamCount = (UINT8) Op->Common.Value.Arg->Common.Next->Common.Value.Integer; in AcpiDsLoad1EndOp()
680 ObjectType = (UINT8) Op->Common.Value.Arg->Common.Value.Integer; in AcpiDsLoad1EndOp()
722 WalkState, Op->Common.Value.Arg); in AcpiDsLoad1EndOp()
Ddscontrol.c367 "[RETURN_OP] Op=%p Arg=%p\n",Op, Op->Common.Value.Arg)); in AcpiDsExecEndControlOp()
374 if (Op->Common.Value.Arg) in AcpiDsExecEndControlOp()
382 Status = AcpiDsCreateOperands (WalkState, Op->Common.Value.Arg); in AcpiDsExecEndControlOp()
/acpica-latest/source/components/parser/
Dpstree.c188 ACPI_PARSE_OBJECT *Arg = NULL; in AcpiPsGetArg() local
221 Arg = Op->Common.Value.Arg; in AcpiPsGetArg()
222 while (Arg && Argn) in AcpiPsGetArg()
225 Arg = Arg->Common.Next; in AcpiPsGetArg()
228 return (Arg); in AcpiPsGetArg()
248 ACPI_PARSE_OBJECT *Arg) in AcpiPsAppendArg() argument
285 if (Op->Common.Value.Arg) in AcpiPsAppendArg()
289 PrevArg = Op->Common.Value.Arg; in AcpiPsAppendArg()
294 PrevArg->Common.Next = Arg; in AcpiPsAppendArg()
300 Op->Common.Value.Arg = Arg; in AcpiPsAppendArg()
[all …]
Dpsargs.c365 ACPI_PARSE_OBJECT *Arg, in AcpiPsGetNextNamepath() argument
380 AcpiPsInitOp (Arg, AML_INT_NAMEPATH_OP); in AcpiPsGetNextNamepath()
386 Arg->Common.Value.Name = Path; in AcpiPsGetNextNamepath()
421 AcpiPsInitOp (Arg, AML_INT_METHODCALL_OP); in AcpiPsGetNextNamepath()
439 AcpiPsInitOp (Arg, AML_INT_METHODCALL_OP); in AcpiPsGetNextNamepath()
445 AcpiPsAppendArg (Arg, NameOp); in AcpiPsGetNextNamepath()
491 else if ((Arg->Common.Parent) && in AcpiPsGetNextNamepath()
492 ((Arg->Common.Parent->Common.AmlOpcode == AML_PACKAGE_OP) || in AcpiPsGetNextNamepath()
493 (Arg->Common.Parent->Common.AmlOpcode == AML_VARIABLE_PACKAGE_OP))) in AcpiPsGetNextNamepath()
516 Arg->Common.Value.Name = Path; in AcpiPsGetNextNamepath()
[all …]
Dpsparse.c287 Prev = Op->Common.Parent->Common.Value.Arg; in AcpiPsCompleteThisOp()
380 ReplacementOp->Common.Value.Arg = NULL; in AcpiPsCompleteThisOp()
382 Op->Common.Parent->Common.Value.Arg = ReplacementOp; in AcpiPsCompleteThisOp()
387 Op->Common.Parent->Common.Value.Arg = Op->Common.Next; in AcpiPsCompleteThisOp()
403 ReplacementOp->Common.Value.Arg = NULL; in AcpiPsCompleteThisOp()
526 WalkState->MethodCallNode = (Op->Common.Value.Arg)->Common.Node; in AcpiPsNextParseState()
Dpsloop.c203 ACPI_PARSE_OBJECT *Arg = NULL; in AcpiPsGetArguments() local
264 GET_CURRENT_ARG_TYPE (WalkState->ArgTypes), &Arg); in AcpiPsGetArguments()
270 if (Arg) in AcpiPsGetArguments()
272 AcpiPsAppendArg (Op, Arg); in AcpiPsGetArguments()
/acpica-latest/source/tools/examples/
Dexamples.c547 ACPI_OBJECT Arg[1]; in ExecuteOSI() local
557 ArgList.Pointer = Arg; in ExecuteOSI()
559 Arg[0].Type = ACPI_TYPE_STRING; in ExecuteOSI()
560 Arg[0].String.Pointer = "Windows 2001"; in ExecuteOSI()
561 Arg[0].String.Length = strlen (Arg[0].String.Pointer); in ExecuteOSI()
615 ACPI_OBJECT Arg[1]; in ExecuteMAIN() local
625 ArgList.Pointer = Arg; in ExecuteMAIN()
627 Arg[0].Type = ACPI_TYPE_STRING; in ExecuteMAIN()
628 Arg[0].String.Pointer = "Method [MAIN] is executing"; in ExecuteMAIN()
629 Arg[0].String.Length = strlen (Arg[0].String.Pointer); in ExecuteMAIN()
/acpica-latest/source/tools/acpiexec/
Daeexception.c195 ACPI_OBJECT Arg[3]; in AeExceptionHandler() local
245 ArgList.Pointer = Arg; in AeExceptionHandler()
247 Arg[0].Type = ACPI_TYPE_INTEGER; in AeExceptionHandler()
248 Arg[0].Integer.Value = AmlStatus; in AeExceptionHandler()
250 Arg[1].Type = ACPI_TYPE_STRING; in AeExceptionHandler()
251 Arg[1].String.Pointer = ACPI_CAST_PTR (char, Exception); in AeExceptionHandler()
252 Arg[1].String.Length = strlen (Exception); in AeExceptionHandler()
254 Arg[2].Type = ACPI_TYPE_INTEGER; in AeExceptionHandler()
255 Arg[2].Integer.Value = AcpiOsGetThreadId(); in AeExceptionHandler()
Daeexec.c177 ACPI_OBJECT Arg[3]; in AeSetupConfiguration() local
184 ArgList.Pointer = Arg; in AeSetupConfiguration()
186 Arg[0].Type = ACPI_TYPE_INTEGER; in AeSetupConfiguration()
187 Arg[0].Integer.Value = ACPI_TO_INTEGER (RegionAddr); in AeSetupConfiguration()
421 ACPI_OBJECT Arg[1]; in ExecuteOSI() local
429 ArgList.Pointer = Arg; in ExecuteOSI()
431 Arg[0].Type = ACPI_TYPE_STRING; in ExecuteOSI()
432 Arg[0].String.Pointer = OsiString; in ExecuteOSI()
433 Arg[0].String.Length = strlen (Arg[0].String.Pointer); in ExecuteOSI()
/acpica-latest/source/compiler/
Daslmaputils.c186 ACPI_PARSE_OBJECT *Arg; in MpGetHidFromParseTree() local
202 Arg = Op->Asl.Child; /* Get the NameSeg/NameString node */ in MpGetHidFromParseTree()
203 Arg = Arg->Asl.Next; /* First peer is the object to be associated with the name */ in MpGetHidFromParseTree()
205 switch (Arg->Asl.ParseOpcode) in MpGetHidFromParseTree()
209 return (Arg->Asl.Value.String); in MpGetHidFromParseTree()
216 AcpiExEisaIdToString (HidString, Arg->Asl.Value.Integer); in MpGetHidFromParseTree()
Daslload.c519 ACPI_PARSE_OBJECT *Arg; in LdNamespace1Begin() local
557 Arg = Op->Asl.Child; in LdNamespace1Begin()
558 Status = AcpiNsLookup (WalkState->ScopeInfo, Arg->Asl.ExternalName, in LdNamespace1Begin()
658 Arg = Op->Asl.Child; /* Get the NameSeg/NameString node */ in LdNamespace1Begin()
659 Arg = Arg->Asl.Next; /* First peer is the object to be associated with the name */ in LdNamespace1Begin()
676 for (i = 1; i < Arg->Asl.AcpiBtype; i *= 2) in LdNamespace1Begin()
1292 ACPI_PARSE_OBJECT *Arg; in LdNamespace2Begin() local
1349 Arg = Op->Asl.Child; in LdNamespace2Begin()
1353 Path = Arg->Asl.Namepath; in LdNamespace2Begin()
1356 Status = UtInternalizeName (Arg->Asl.ExternalName, &Path); in LdNamespace2Begin()
[all …]
/acpica-latest/source/components/disassembler/
Ddmdeferred.c317 StartOp = (Op->Common.Value.Arg)->Common.Next; in AcpiDmDeferredParse()
338 ExtraOp = Op->Common.Value.Arg; in AcpiDmDeferredParse()
347 NewRootOp = Op->Common.Value.Arg; in AcpiDmDeferredParse()
351 Op->Common.Value.Arg = NewRootOp->Common.Value.Arg; in AcpiDmDeferredParse()
Ddmcstyle.c764 Argument1 = StoreArgument->Common.Value.Arg; in AcpiDmIsOptimizationIgnored()
779 Argument1 = StoreArgument->Common.Value.Arg; in AcpiDmIsOptimizationIgnored()
795 Argument1 = StoreArgument->Common.Value.Arg; in AcpiDmIsOptimizationIgnored()
1015 Child = Op->Common.Value.Arg; in AcpiDmPromoteTarget()
1016 Op->Common.Value.Arg = Target; in AcpiDmPromoteTarget()
1057 (Target->Common.Value.Arg == NULL)) in AcpiDmIsValidTarget()
1113 Same = AcpiDmIsTargetAnOperand (Target->Common.Value.Arg, in AcpiDmIsTargetAnOperand()
1114 Operand->Common.Value.Arg, FALSE); in AcpiDmIsTargetAnOperand()
Ddmopcode.c206 PrevOp = Op->Asl.Value.Arg; in AcpiDmDisplayTargetPathname()
218 NextOp = Op->Asl.Value.Arg; in AcpiDmDisplayTargetPathname()
298 NextOp = Op->Asl.Value.Arg; in AcpiDmNotifyDescription()
518 IndexOp = Op->Common.Value.Arg; in AcpiDmFieldPredefinedDescription()
862 Child = Op->Common.Value.Arg; in AcpiDmDisassembleOneOp()
1049 Child = Op->Common.Value.Arg; in AcpiDmDisassembleOneOp()
1215 IfOp = OriginalElseOp->Common.Value.Arg; in AcpiDmConvertToElseIf()
1308 OriginalElseOp->Common.Value.Arg = NULL; in AcpiDmConvertToElseIf()
1347 Op = StartOp->Common.Value.Arg; in AcpiDmPromoteSubtree()
/acpica-latest/source/os_specific/efi/
Doseficlib.c992 char *Arg; in AcpiEfiArgify() local
1012 Arg = CopyBuffer; in AcpiEfiArgify()
1018 *Arg++ = '\0'; in AcpiEfiArgify()
1025 *Arg++ = *String; in AcpiEfiArgify()
1036 *Arg++ = '\0'; in AcpiEfiArgify()
1040 *Arg++ = *String; in AcpiEfiArgify()
1048 *Arg = '\0'; in AcpiEfiArgify()
1052 *Arg++ = *String; in AcpiEfiArgify()
1067 *Arg++ = *String; in AcpiEfiArgify()
1077 CopyBuffer = Arg; in AcpiEfiArgify()
/acpica-latest/source/common/
Dadwalk.c613 ChildOp = Op->Common.Value.Arg; in AcpiDmFindOrphanDescending()
655 ChildOp = Op->Common.Value.Arg; in AcpiDmFindOrphanDescending()
710 (ParentOp->Common.Value.Arg == Op)) in AcpiDmFindOrphanDescending()
799 NextOp = Op->Common.Value.Arg; in AcpiDmLoadDescendingOp()
929 NextOp = Op->Common.Value.Arg; in AcpiDmXrefDescendingOp()
930 NextOp = NextOp->Common.Value.Arg; in AcpiDmXrefDescendingOp()
948 NextOp = Op->Common.Value.Arg; in AcpiDmXrefDescendingOp()
956 Path = Op->Common.Value.Arg->Asl.Value.String; in AcpiDmXrefDescendingOp()
1256 ExecuteOp = NextOp->Common.Value.Arg; in AcpiDmInspectPossibleArgs()
1260 (ExecuteOp->Common.Value.Arg == NULL)) in AcpiDmInspectPossibleArgs()
/acpica-latest/source/components/hardware/
Dhwesleep.c180 ACPI_OBJECT Arg; in AcpiHwExecuteSleepMethod() local
190 ArgList.Pointer = &Arg; in AcpiHwExecuteSleepMethod()
191 Arg.Type = ACPI_TYPE_INTEGER; in AcpiHwExecuteSleepMethod()
192 Arg.Integer.Value = (UINT64) IntegerArgument; in AcpiHwExecuteSleepMethod()
Dhwxfsleep.c458 ACPI_OBJECT Arg; in AcpiEnterSleepStatePrep() local
481 ArgList.Pointer = &Arg; in AcpiEnterSleepStatePrep()
482 Arg.Type = ACPI_TYPE_INTEGER; in AcpiEnterSleepStatePrep()
483 Arg.Integer.Value = SleepState; in AcpiEnterSleepStatePrep()
/acpica-latest/tests/aslts/src/runtime/collections/Identity2MS/abbu/
DSPEC21 * - pass to Local, Arg, immediately to expressions, etc..
48 * - pass by Arg to method
50 * - Store/Copy intermediately to Arg (affectively local)
89 * - combined object passed by Arg to method

1234