Lines Matching refs:ObjDesc

181     ACPI_OPERAND_OBJECT     *ObjDesc,
186 ACPI_OPERAND_OBJECT *ObjDesc);
190 ACPI_OPERAND_OBJECT *ObjDesc,
487 ACPI_OPERAND_OBJECT *ObjDesc, in AcpiExDumpObject() argument
503 AcpiUtGetObjectTypeName (ObjDesc)); in AcpiExDumpObject()
513 if (!ObjDesc) in AcpiExDumpObject()
518 Target = ACPI_ADD_PTR (UINT8, ObjDesc, Info->Offset); in AcpiExDumpObject()
530 ObjDesc->Common.Type, in AcpiExDumpObject()
531 AcpiUtGetObjectTypeName (ObjDesc)); in AcpiExDumpObject()
563 AcpiUtPrintString (ObjDesc->String.Pointer, ACPI_UINT8_MAX); in AcpiExDumpObject()
570 ObjDesc->Buffer.Pointer, ObjDesc->Buffer.Length); in AcpiExDumpObject()
578 AcpiExDumpPackageObj (ObjDesc, 0, 0); in AcpiExDumpObject()
583 AcpiExDumpObject (ObjDesc, AcpiExDumpFieldCommon); in AcpiExDumpObject()
588 AcpiExOutString ("Class Name", AcpiUtGetReferenceName (ObjDesc)); in AcpiExDumpObject()
589 AcpiExDumpReferenceObj (ObjDesc); in AcpiExDumpObject()
743 ACPI_OPERAND_OBJECT *ObjDesc, in AcpiExDumpOperand() argument
760 if (!ObjDesc) in AcpiExDumpOperand()
768 if (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc) == ACPI_DESC_TYPE_NAMED) in AcpiExDumpOperand()
770 ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "%p Namespace Node: ", ObjDesc)); in AcpiExDumpOperand()
771 ACPI_DUMP_ENTRY (ObjDesc, ACPI_LV_EXEC); in AcpiExDumpOperand()
775 if (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc) != ACPI_DESC_TYPE_OPERAND) in AcpiExDumpOperand()
779 ObjDesc, AcpiUtGetDescriptorName (ObjDesc))); in AcpiExDumpOperand()
780 ACPI_DUMP_BUFFER (ObjDesc, sizeof (ACPI_OPERAND_OBJECT)); in AcpiExDumpOperand()
789 Depth, " ", Depth, ObjDesc, ObjDesc->Common.ReferenceCount)); in AcpiExDumpOperand()
794 ObjDesc, ObjDesc->Common.ReferenceCount)); in AcpiExDumpOperand()
799 switch (ObjDesc->Common.Type) in AcpiExDumpOperand()
804 AcpiUtGetReferenceName (ObjDesc)); in AcpiExDumpOperand()
806 switch (ObjDesc->Reference.Class) in AcpiExDumpOperand()
815 AcpiOsPrintf ("%p\n", ObjDesc->Reference.Object); in AcpiExDumpOperand()
820 AcpiOsPrintf ("Table Index %X\n", ObjDesc->Reference.Value); in AcpiExDumpOperand()
825 AcpiOsPrintf ("%p [%s]\n", ObjDesc->Reference.Object, in AcpiExDumpOperand()
827 ObjDesc->Reference.Object)->Common.Type)); in AcpiExDumpOperand()
832 AcpiUtRepairName (ObjDesc->Reference.Node->Name.Ascii); in AcpiExDumpOperand()
834 ObjDesc->Reference.Node->Name.Ascii, in AcpiExDumpOperand()
835 ObjDesc->Reference.Node); in AcpiExDumpOperand()
841 AcpiOsPrintf ("%X\n", ObjDesc->Reference.Value); in AcpiExDumpOperand()
846 AcpiOsPrintf ("%2.2X\n", ObjDesc->Reference.Class); in AcpiExDumpOperand()
854 ObjDesc->Buffer.Length, ObjDesc->Buffer.Pointer); in AcpiExDumpOperand()
858 if (ObjDesc->Buffer.Pointer) in AcpiExDumpOperand()
860 Length = ObjDesc->Buffer.Length; in AcpiExDumpOperand()
868 ACPI_DUMP_BUFFER (ObjDesc->Buffer.Pointer, Length); in AcpiExDumpOperand()
875 ACPI_FORMAT_UINT64 (ObjDesc->Integer.Value)); in AcpiExDumpOperand()
881 ObjDesc->Package.Count, ObjDesc->Package.Elements); in AcpiExDumpOperand()
887 if (ObjDesc->Package.Count && in AcpiExDumpOperand()
888 ObjDesc->Package.Elements && in AcpiExDumpOperand()
891 for (Index = 0; Index < ObjDesc->Package.Count; Index++) in AcpiExDumpOperand()
894 ObjDesc->Package.Elements[Index], Depth + 1); in AcpiExDumpOperand()
902 AcpiUtGetRegionName (ObjDesc->Region.SpaceId), in AcpiExDumpOperand()
903 ObjDesc->Region.SpaceId); in AcpiExDumpOperand()
909 if (!(ObjDesc->Region.Flags & AOPOBJ_DATA_VALID)) in AcpiExDumpOperand()
916 ACPI_FORMAT_UINT64 (ObjDesc->Region.Address), in AcpiExDumpOperand()
917 ObjDesc->Region.Length); in AcpiExDumpOperand()
924 ObjDesc->String.Length, in AcpiExDumpOperand()
925 ObjDesc->String.Pointer); in AcpiExDumpOperand()
927 AcpiUtPrintString (ObjDesc->String.Pointer, ACPI_UINT8_MAX); in AcpiExDumpOperand()
940 ObjDesc->Field.BitLength, in AcpiExDumpOperand()
941 ObjDesc->Field.AccessByteWidth, in AcpiExDumpOperand()
942 ObjDesc->Field.FieldFlags & AML_FIELD_LOCK_RULE_MASK, in AcpiExDumpOperand()
943 ObjDesc->Field.FieldFlags & AML_FIELD_UPDATE_RULE_MASK, in AcpiExDumpOperand()
944 ObjDesc->Field.BaseByteOffset, in AcpiExDumpOperand()
945 ObjDesc->Field.StartFieldBitOffset); in AcpiExDumpOperand()
947 AcpiExDumpOperand (ObjDesc->Field.RegionObj, Depth + 1); in AcpiExDumpOperand()
958 ObjDesc->BufferField.BitLength, in AcpiExDumpOperand()
959 ObjDesc->BufferField.BaseByteOffset, in AcpiExDumpOperand()
960 ObjDesc->BufferField.StartFieldBitOffset); in AcpiExDumpOperand()
962 if (!ObjDesc->BufferField.BufferObj) in AcpiExDumpOperand()
966 else if ((ObjDesc->BufferField.BufferObj)->Common.Type != in AcpiExDumpOperand()
973 AcpiExDumpOperand (ObjDesc->BufferField.BufferObj, Depth + 1); in AcpiExDumpOperand()
985 ObjDesc->Method.ParamCount, in AcpiExDumpOperand()
986 ObjDesc->Method.AmlStart, in AcpiExDumpOperand()
987 ObjDesc->Method.AmlLength); in AcpiExDumpOperand()
1019 AcpiOsPrintf ("Unknown Type %X\n", ObjDesc->Common.Type); in AcpiExDumpOperand()
1158 ACPI_OPERAND_OBJECT *ObjDesc) in AcpiExDumpReferenceObj() argument
1166 if (ObjDesc->Reference.Class == ACPI_REFCLASS_NAME) in AcpiExDumpReferenceObj()
1168 AcpiOsPrintf (" %p ", ObjDesc->Reference.Node); in AcpiExDumpReferenceObj()
1170 Status = AcpiNsHandleToPathname (ObjDesc->Reference.Node, in AcpiExDumpReferenceObj()
1180 AcpiUtGetTypeName (ObjDesc->Reference.Node->Type), in AcpiExDumpReferenceObj()
1185 else if (ObjDesc->Reference.Object) in AcpiExDumpReferenceObj()
1187 if (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc) == ACPI_DESC_TYPE_OPERAND) in AcpiExDumpReferenceObj()
1190 ObjDesc->Reference.Object); in AcpiExDumpReferenceObj()
1191 if (ObjDesc->Reference.Class == ACPI_REFCLASS_TABLE) in AcpiExDumpReferenceObj()
1194 ObjDesc->Reference.Value); in AcpiExDumpReferenceObj()
1200 ObjDesc->Reference.Object)->Common.Type)); in AcpiExDumpReferenceObj()
1205 AcpiOsPrintf (" Target: %p\n", ObjDesc->Reference.Object); in AcpiExDumpReferenceObj()
1225 ACPI_OPERAND_OBJECT *ObjDesc, in AcpiExDumpPackageObj() argument
1244 AcpiOsPrintf ("%p ", ObjDesc); in AcpiExDumpPackageObj()
1248 if (!ObjDesc) in AcpiExDumpPackageObj()
1256 switch (ObjDesc->Common.Type) in AcpiExDumpPackageObj()
1261 ACPI_FORMAT_UINT64 (ObjDesc->Integer.Value)); in AcpiExDumpPackageObj()
1267 AcpiUtPrintString (ObjDesc->String.Pointer, ACPI_UINT8_MAX); in AcpiExDumpPackageObj()
1273 AcpiOsPrintf ("[Buffer] Length %.2X = ", ObjDesc->Buffer.Length); in AcpiExDumpPackageObj()
1274 if (ObjDesc->Buffer.Length) in AcpiExDumpPackageObj()
1277 ACPI_CAST_PTR (UINT8, ObjDesc->Buffer.Pointer), in AcpiExDumpPackageObj()
1278 ObjDesc->Buffer.Length, DB_DWORD_DISPLAY, _COMPONENT); in AcpiExDumpPackageObj()
1289 ObjDesc->Package.Count); in AcpiExDumpPackageObj()
1291 for (i = 0; i < ObjDesc->Package.Count; i++) in AcpiExDumpPackageObj()
1294 ObjDesc->Package.Elements[i], Level + 1, i); in AcpiExDumpPackageObj()
1301 AcpiUtGetReferenceName (ObjDesc)); in AcpiExDumpPackageObj()
1302 AcpiExDumpReferenceObj (ObjDesc); in AcpiExDumpPackageObj()
1308 AcpiUtGetTypeName (ObjDesc->Common.Type), ObjDesc->Common.Type); in AcpiExDumpPackageObj()
1327 ACPI_OPERAND_OBJECT *ObjDesc, in AcpiExDumpObjectDescriptor() argument
1333 if (!ObjDesc) in AcpiExDumpObjectDescriptor()
1348 if (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc) == ACPI_DESC_TYPE_NAMED) in AcpiExDumpObjectDescriptor()
1350 AcpiExDumpNamespaceNode ((ACPI_NAMESPACE_NODE *) ObjDesc, Flags); in AcpiExDumpObjectDescriptor()
1352 ObjDesc = ((ACPI_NAMESPACE_NODE *) ObjDesc)->Object; in AcpiExDumpObjectDescriptor()
1353 if (!ObjDesc) in AcpiExDumpObjectDescriptor()
1358 AcpiOsPrintf ("\nAttached Object %p", ObjDesc); in AcpiExDumpObjectDescriptor()
1359 if (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc) == ACPI_DESC_TYPE_NAMED) in AcpiExDumpObjectDescriptor()
1368 if (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc) != ACPI_DESC_TYPE_OPERAND) in AcpiExDumpObjectDescriptor()
1372 ObjDesc, AcpiUtGetDescriptorName (ObjDesc)); in AcpiExDumpObjectDescriptor()
1378 if (ObjDesc->Common.Type > ACPI_TYPE_LOCAL_MAX) in AcpiExDumpObjectDescriptor()
1381 ObjDesc->Common.Type); in AcpiExDumpObjectDescriptor()
1388 if (!ObjDesc) in AcpiExDumpObjectDescriptor()
1395 AcpiExDumpObject (ObjDesc, AcpiExDumpCommon); in AcpiExDumpObjectDescriptor()
1399 AcpiExDumpObject (ObjDesc, AcpiExDumpInfo[ObjDesc->Common.Type]); in AcpiExDumpObjectDescriptor()
1401 if (ObjDesc->Common.Type == ACPI_TYPE_REGION) in AcpiExDumpObjectDescriptor()
1403 ObjDesc = ObjDesc->Common.NextObject; in AcpiExDumpObjectDescriptor()
1404 if (ObjDesc->Common.Type > ACPI_TYPE_LOCAL_MAX) in AcpiExDumpObjectDescriptor()
1408 ObjDesc->Common.Type); in AcpiExDumpObjectDescriptor()
1413 AcpiOsPrintf ("\nExtra attached Object (%p):\n", ObjDesc); in AcpiExDumpObjectDescriptor()
1414 AcpiExDumpObject (ObjDesc, AcpiExDumpInfo[ObjDesc->Common.Type]); in AcpiExDumpObjectDescriptor()