Lines Matching refs:Info
83 ACPI_EVALUATE_INFO *Info) in AcpiNsEvaluate() argument
91 if (!Info) in AcpiNsEvaluate()
96 if (!Info->Node) in AcpiNsEvaluate()
106 Status = AcpiNsGetNode (Info->PrefixNode, Info->RelativePathname, in AcpiNsEvaluate()
107 ACPI_NS_NO_UPSEARCH, &Info->Node); in AcpiNsEvaluate()
118 if (AcpiNsGetType (Info->Node) == ACPI_TYPE_LOCAL_METHOD_ALIAS) in AcpiNsEvaluate()
120 Info->Node = ACPI_CAST_PTR ( in AcpiNsEvaluate()
121 ACPI_NAMESPACE_NODE, Info->Node->Object); in AcpiNsEvaluate()
126 Info->ReturnObject = NULL; in AcpiNsEvaluate()
127 Info->NodeFlags = Info->Node->Flags; in AcpiNsEvaluate()
128 Info->ObjDesc = AcpiNsGetAttachedObject (Info->Node); in AcpiNsEvaluate()
131 Info->RelativePathname, Info->Node, in AcpiNsEvaluate()
132 AcpiNsGetAttachedObject (Info->Node))); in AcpiNsEvaluate()
136 Info->Predefined = AcpiUtMatchPredefinedMethod (Info->Node->Name.Ascii); in AcpiNsEvaluate()
140 Info->FullPathname = AcpiNsGetNormalizedPathname (Info->Node, TRUE); in AcpiNsEvaluate()
141 if (!Info->FullPathname) in AcpiNsEvaluate()
150 &Info->FullPathname[1], AcpiUtGetTypeName (Info->Node->Type))); in AcpiNsEvaluate()
154 Info->ParamCount = 0; in AcpiNsEvaluate()
155 if (Info->Parameters) in AcpiNsEvaluate()
157 while (Info->Parameters[Info->ParamCount]) in AcpiNsEvaluate()
159 Info->ParamCount++; in AcpiNsEvaluate()
164 if (Info->ParamCount > ACPI_METHOD_NUM_ARGS) in AcpiNsEvaluate()
166 ACPI_WARN_PREDEFINED ((AE_INFO, Info->FullPathname, ACPI_WARN_ALWAYS, in AcpiNsEvaluate()
168 Info->ParamCount, ACPI_METHOD_NUM_ARGS)); in AcpiNsEvaluate()
170 Info->ParamCount = ACPI_METHOD_NUM_ARGS; in AcpiNsEvaluate()
178 AcpiNsCheckAcpiCompliance (Info->FullPathname, Info->Node, in AcpiNsEvaluate()
179 Info->Predefined); in AcpiNsEvaluate()
185 AcpiNsCheckArgumentCount (Info->FullPathname, Info->Node, in AcpiNsEvaluate()
186 Info->ParamCount, Info->Predefined); in AcpiNsEvaluate()
190 AcpiNsCheckArgumentTypes (Info); in AcpiNsEvaluate()
199 switch (AcpiNsGetType (Info->Node)) in AcpiNsEvaluate()
215 Info->FullPathname, AcpiUtGetTypeName (Info->Node->Type))); in AcpiNsEvaluate()
227 if (!Info->ObjDesc) in AcpiNsEvaluate()
230 Info->FullPathname)); in AcpiNsEvaluate()
237 Info->FullPathname, in AcpiNsEvaluate()
238 Info->ObjDesc->Method.AmlStart + 1, in AcpiNsEvaluate()
239 Info->ObjDesc->Method.AmlLength - 1)); in AcpiNsEvaluate()
250 Status = AcpiPsExecuteMethod (Info); in AcpiNsEvaluate()
279 Info->ReturnObject = ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, Info->Node); in AcpiNsEvaluate()
282 ACPI_NAMESPACE_NODE, &Info->ReturnObject), NULL); in AcpiNsEvaluate()
287 Info->ReturnObject = NULL; in AcpiNsEvaluate()
292 Info->ReturnObject, in AcpiNsEvaluate()
293 AcpiUtGetObjectTypeName (Info->ReturnObject))); in AcpiNsEvaluate()
303 (void) AcpiNsCheckReturnValue (Info->Node, Info, Info->ParamCount, in AcpiNsEvaluate()
304 Status, &Info->ReturnObject); in AcpiNsEvaluate()
312 if (Info->Flags & ACPI_IGNORE_RETURN_VALUE) in AcpiNsEvaluate()
314 AcpiUtRemoveReference (Info->ReturnObject); in AcpiNsEvaluate()
315 Info->ReturnObject = NULL; in AcpiNsEvaluate()
326 if (Info->ReturnObject) in AcpiNsEvaluate()
328 AcpiUtRemoveReference (Info->ReturnObject); in AcpiNsEvaluate()
329 Info->ReturnObject = NULL; in AcpiNsEvaluate()
335 Info->RelativePathname)); in AcpiNsEvaluate()
342 &Info->FullPathname[1])); in AcpiNsEvaluate()
348 ACPI_FREE (Info->FullPathname); in AcpiNsEvaluate()
349 Info->FullPathname = NULL; in AcpiNsEvaluate()