Lines Matching refs:Info
168 ACPI_EVALUATE_INFO *Info);
199 ACPI_EVALUATE_INFO *Info) in AcpiNsEvaluate() argument
207 if (!Info) in AcpiNsEvaluate()
212 if (!Info->Node) in AcpiNsEvaluate()
222 Status = AcpiNsGetNode (Info->PrefixNode, Info->RelativePathname, in AcpiNsEvaluate()
223 ACPI_NS_NO_UPSEARCH, &Info->Node); in AcpiNsEvaluate()
234 if (AcpiNsGetType (Info->Node) == ACPI_TYPE_LOCAL_METHOD_ALIAS) in AcpiNsEvaluate()
236 Info->Node = ACPI_CAST_PTR ( in AcpiNsEvaluate()
237 ACPI_NAMESPACE_NODE, Info->Node->Object); in AcpiNsEvaluate()
242 Info->ReturnObject = NULL; in AcpiNsEvaluate()
243 Info->NodeFlags = Info->Node->Flags; in AcpiNsEvaluate()
244 Info->ObjDesc = AcpiNsGetAttachedObject (Info->Node); in AcpiNsEvaluate()
247 Info->RelativePathname, Info->Node, in AcpiNsEvaluate()
248 AcpiNsGetAttachedObject (Info->Node))); in AcpiNsEvaluate()
252 Info->Predefined = AcpiUtMatchPredefinedMethod (Info->Node->Name.Ascii); in AcpiNsEvaluate()
256 Info->FullPathname = AcpiNsGetNormalizedPathname (Info->Node, TRUE); in AcpiNsEvaluate()
257 if (!Info->FullPathname) in AcpiNsEvaluate()
264 Info->ParamCount = 0; in AcpiNsEvaluate()
265 if (Info->Parameters) in AcpiNsEvaluate()
267 while (Info->Parameters[Info->ParamCount]) in AcpiNsEvaluate()
269 Info->ParamCount++; in AcpiNsEvaluate()
274 if (Info->ParamCount > ACPI_METHOD_NUM_ARGS) in AcpiNsEvaluate()
276 ACPI_WARN_PREDEFINED ((AE_INFO, Info->FullPathname, ACPI_WARN_ALWAYS, in AcpiNsEvaluate()
278 Info->ParamCount, ACPI_METHOD_NUM_ARGS)); in AcpiNsEvaluate()
280 Info->ParamCount = ACPI_METHOD_NUM_ARGS; in AcpiNsEvaluate()
288 AcpiNsCheckAcpiCompliance (Info->FullPathname, Info->Node, in AcpiNsEvaluate()
289 Info->Predefined); in AcpiNsEvaluate()
295 AcpiNsCheckArgumentCount (Info->FullPathname, Info->Node, in AcpiNsEvaluate()
296 Info->ParamCount, Info->Predefined); in AcpiNsEvaluate()
300 AcpiNsCheckArgumentTypes (Info); in AcpiNsEvaluate()
309 switch (AcpiNsGetType (Info->Node)) in AcpiNsEvaluate()
325 Info->FullPathname, AcpiUtGetTypeName (Info->Node->Type))); in AcpiNsEvaluate()
337 if (!Info->ObjDesc) in AcpiNsEvaluate()
340 Info->FullPathname)); in AcpiNsEvaluate()
347 Info->FullPathname, in AcpiNsEvaluate()
348 Info->ObjDesc->Method.AmlStart + 1, in AcpiNsEvaluate()
349 Info->ObjDesc->Method.AmlLength - 1)); in AcpiNsEvaluate()
360 Status = AcpiPsExecuteMethod (Info); in AcpiNsEvaluate()
389 Info->ReturnObject = ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, Info->Node); in AcpiNsEvaluate()
392 ACPI_NAMESPACE_NODE, &Info->ReturnObject), NULL); in AcpiNsEvaluate()
397 Info->ReturnObject = NULL; in AcpiNsEvaluate()
402 Info->ReturnObject, in AcpiNsEvaluate()
403 AcpiUtGetObjectTypeName (Info->ReturnObject))); in AcpiNsEvaluate()
413 (void) AcpiNsCheckReturnValue (Info->Node, Info, Info->ParamCount, in AcpiNsEvaluate()
414 Status, &Info->ReturnObject); in AcpiNsEvaluate()
422 if (Info->Flags & ACPI_IGNORE_RETURN_VALUE) in AcpiNsEvaluate()
424 AcpiUtRemoveReference (Info->ReturnObject); in AcpiNsEvaluate()
425 Info->ReturnObject = NULL; in AcpiNsEvaluate()
436 if (Info->ReturnObject) in AcpiNsEvaluate()
438 AcpiUtRemoveReference (Info->ReturnObject); in AcpiNsEvaluate()
439 Info->ReturnObject = NULL; in AcpiNsEvaluate()
445 Info->RelativePathname)); in AcpiNsEvaluate()
452 ACPI_FREE (Info->FullPathname); in AcpiNsEvaluate()
453 Info->FullPathname = NULL; in AcpiNsEvaluate()
489 ACPI_EVALUATE_INFO *Info; in AcpiNsExecModuleCodeList() local
509 Info = ACPI_ALLOCATE (sizeof (ACPI_EVALUATE_INFO)); in AcpiNsExecModuleCodeList()
510 if (!Info) in AcpiNsExecModuleCodeList()
525 AcpiNsExecModuleCode (Prev, Info); in AcpiNsExecModuleCodeList()
537 ACPI_FREE (Info); in AcpiNsExecModuleCodeList()
562 ACPI_EVALUATE_INFO *Info) in AcpiNsExecModuleCode() argument
600 memset (Info, 0, sizeof (ACPI_EVALUATE_INFO)); in AcpiNsExecModuleCode()
601 Info->PrefixNode = ParentNode; in AcpiNsExecModuleCode()
624 Status = AcpiNsEvaluate (Info); in AcpiNsExecModuleCode()
632 if (Info->ReturnObject) in AcpiNsExecModuleCode()
634 AcpiUtRemoveReference (Info->ReturnObject); in AcpiNsExecModuleCode()