Lines Matching refs:ObjDesc

73     ACPI_OPERAND_OBJECT     *ObjDesc,
78 ACPI_OPERAND_OBJECT *ObjDesc);
82 ACPI_OPERAND_OBJECT *ObjDesc,
379 ACPI_OPERAND_OBJECT *ObjDesc, in AcpiExDumpObject() argument
396 AcpiUtGetObjectTypeName (ObjDesc)); in AcpiExDumpObject()
406 Target = ACPI_ADD_PTR (UINT8, ObjDesc, Info->Offset); in AcpiExDumpObject()
418 ObjDesc->Common.Type, AcpiUtGetObjectTypeName (ObjDesc)); in AcpiExDumpObject()
450 AcpiUtPrintString (ObjDesc->String.Pointer, ACPI_UINT8_MAX); in AcpiExDumpObject()
457 ObjDesc->Buffer.Pointer, ObjDesc->Buffer.Length); in AcpiExDumpObject()
465 AcpiExDumpPackageObj (ObjDesc, 0, 0); in AcpiExDumpObject()
470 AcpiExDumpObject (ObjDesc, AcpiExDumpFieldCommon); in AcpiExDumpObject()
475 ReferenceName = AcpiUtGetReferenceName (ObjDesc); in AcpiExDumpObject()
478 AcpiExDumpReferenceObj (ObjDesc); in AcpiExDumpObject()
628 ACPI_OPERAND_OBJECT *ObjDesc, in AcpiExDumpOperand() argument
645 if (!ObjDesc) in AcpiExDumpOperand()
653 if (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc) == ACPI_DESC_TYPE_NAMED) in AcpiExDumpOperand()
655 ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "%p Namespace Node: ", ObjDesc)); in AcpiExDumpOperand()
656 ACPI_DUMP_ENTRY (ObjDesc, ACPI_LV_EXEC); in AcpiExDumpOperand()
660 if (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc) != ACPI_DESC_TYPE_OPERAND) in AcpiExDumpOperand()
664 ObjDesc, AcpiUtGetDescriptorName (ObjDesc))); in AcpiExDumpOperand()
665 ACPI_DUMP_BUFFER (ObjDesc, sizeof (ACPI_OPERAND_OBJECT)); in AcpiExDumpOperand()
674 Depth, " ", Depth, ObjDesc)); in AcpiExDumpOperand()
678 ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "%p ", ObjDesc)); in AcpiExDumpOperand()
683 switch (ObjDesc->Common.Type) in AcpiExDumpOperand()
688 AcpiUtGetReferenceName (ObjDesc)); in AcpiExDumpOperand()
690 switch (ObjDesc->Reference.Class) in AcpiExDumpOperand()
699 AcpiOsPrintf ("%p\n", ObjDesc->Reference.Object); in AcpiExDumpOperand()
704 AcpiOsPrintf ("Table Index %X\n", ObjDesc->Reference.Value); in AcpiExDumpOperand()
709 AcpiOsPrintf ("%p [%s]\n", ObjDesc->Reference.Object, in AcpiExDumpOperand()
711 ObjDesc->Reference.Object)->Common.Type)); in AcpiExDumpOperand()
717 ObjDesc->Reference.Node->Name.Ascii); in AcpiExDumpOperand()
723 AcpiOsPrintf ("%X\n", ObjDesc->Reference.Value); in AcpiExDumpOperand()
728 AcpiOsPrintf ("%2.2X\n", ObjDesc->Reference.Class); in AcpiExDumpOperand()
736 ObjDesc->Buffer.Length, ObjDesc->Buffer.Pointer); in AcpiExDumpOperand()
740 if (ObjDesc->Buffer.Pointer) in AcpiExDumpOperand()
742 Length = ObjDesc->Buffer.Length; in AcpiExDumpOperand()
750 ACPI_DUMP_BUFFER (ObjDesc->Buffer.Pointer, Length); in AcpiExDumpOperand()
757 ACPI_FORMAT_UINT64 (ObjDesc->Integer.Value)); in AcpiExDumpOperand()
763 ObjDesc->Package.Count, ObjDesc->Package.Elements); in AcpiExDumpOperand()
769 if (ObjDesc->Package.Count && in AcpiExDumpOperand()
770 ObjDesc->Package.Elements && in AcpiExDumpOperand()
773 for (Index = 0; Index < ObjDesc->Package.Count; Index++) in AcpiExDumpOperand()
776 ObjDesc->Package.Elements[Index], Depth + 1); in AcpiExDumpOperand()
784 AcpiUtGetRegionName (ObjDesc->Region.SpaceId), in AcpiExDumpOperand()
785 ObjDesc->Region.SpaceId); in AcpiExDumpOperand()
791 if (!(ObjDesc->Region.Flags & AOPOBJ_DATA_VALID)) in AcpiExDumpOperand()
798 ACPI_FORMAT_UINT64 (ObjDesc->Region.Address), in AcpiExDumpOperand()
799 ObjDesc->Region.Length); in AcpiExDumpOperand()
806 ObjDesc->String.Length, in AcpiExDumpOperand()
807 ObjDesc->String.Pointer); in AcpiExDumpOperand()
809 AcpiUtPrintString (ObjDesc->String.Pointer, ACPI_UINT8_MAX); in AcpiExDumpOperand()
822 ObjDesc->Field.BitLength, in AcpiExDumpOperand()
823 ObjDesc->Field.AccessByteWidth, in AcpiExDumpOperand()
824 ObjDesc->Field.FieldFlags & AML_FIELD_LOCK_RULE_MASK, in AcpiExDumpOperand()
825 ObjDesc->Field.FieldFlags & AML_FIELD_UPDATE_RULE_MASK, in AcpiExDumpOperand()
826 ObjDesc->Field.BaseByteOffset, in AcpiExDumpOperand()
827 ObjDesc->Field.StartFieldBitOffset); in AcpiExDumpOperand()
829 AcpiExDumpOperand (ObjDesc->Field.RegionObj, Depth + 1); in AcpiExDumpOperand()
840 ObjDesc->BufferField.BitLength, in AcpiExDumpOperand()
841 ObjDesc->BufferField.BaseByteOffset, in AcpiExDumpOperand()
842 ObjDesc->BufferField.StartFieldBitOffset); in AcpiExDumpOperand()
844 if (!ObjDesc->BufferField.BufferObj) in AcpiExDumpOperand()
848 else if ((ObjDesc->BufferField.BufferObj)->Common.Type != in AcpiExDumpOperand()
855 AcpiExDumpOperand (ObjDesc->BufferField.BufferObj, Depth + 1); in AcpiExDumpOperand()
867 ObjDesc->Method.ParamCount, in AcpiExDumpOperand()
868 ObjDesc->Method.AmlStart, in AcpiExDumpOperand()
869 ObjDesc->Method.AmlLength); in AcpiExDumpOperand()
901 AcpiOsPrintf ("Unknown Type %X\n", ObjDesc->Common.Type); in AcpiExDumpOperand()
1040 ACPI_OPERAND_OBJECT *ObjDesc) in AcpiExDumpReferenceObj() argument
1048 if (ObjDesc->Reference.Class == ACPI_REFCLASS_NAME) in AcpiExDumpReferenceObj()
1050 AcpiOsPrintf (" %p ", ObjDesc->Reference.Node); in AcpiExDumpReferenceObj()
1052 Status = AcpiNsHandleToPathname (ObjDesc->Reference.Node, in AcpiExDumpReferenceObj()
1064 else if (ObjDesc->Reference.Object) in AcpiExDumpReferenceObj()
1066 if (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc) == ACPI_DESC_TYPE_OPERAND) in AcpiExDumpReferenceObj()
1069 ObjDesc->Reference.Object); in AcpiExDumpReferenceObj()
1070 if (ObjDesc->Reference.Class == ACPI_REFCLASS_TABLE) in AcpiExDumpReferenceObj()
1073 ObjDesc->Reference.Value); in AcpiExDumpReferenceObj()
1079 ObjDesc->Reference.Object)->Common.Type)); in AcpiExDumpReferenceObj()
1084 AcpiOsPrintf (" Target: %p\n", ObjDesc->Reference.Object); in AcpiExDumpReferenceObj()
1104 ACPI_OPERAND_OBJECT *ObjDesc, in AcpiExDumpPackageObj() argument
1123 AcpiOsPrintf ("%p ", ObjDesc); in AcpiExDumpPackageObj()
1127 if (!ObjDesc) in AcpiExDumpPackageObj()
1135 switch (ObjDesc->Common.Type) in AcpiExDumpPackageObj()
1140 ACPI_FORMAT_UINT64 (ObjDesc->Integer.Value)); in AcpiExDumpPackageObj()
1146 AcpiUtPrintString (ObjDesc->String.Pointer, ACPI_UINT8_MAX); in AcpiExDumpPackageObj()
1152 AcpiOsPrintf ("[Buffer] Length %.2X = ", ObjDesc->Buffer.Length); in AcpiExDumpPackageObj()
1153 if (ObjDesc->Buffer.Length) in AcpiExDumpPackageObj()
1156 ACPI_CAST_PTR (UINT8, ObjDesc->Buffer.Pointer), in AcpiExDumpPackageObj()
1157 ObjDesc->Buffer.Length, DB_DWORD_DISPLAY, _COMPONENT); in AcpiExDumpPackageObj()
1168 ObjDesc->Package.Count); in AcpiExDumpPackageObj()
1170 for (i = 0; i < ObjDesc->Package.Count; i++) in AcpiExDumpPackageObj()
1173 ObjDesc->Package.Elements[i], Level + 1, i); in AcpiExDumpPackageObj()
1180 AcpiUtGetReferenceName (ObjDesc), in AcpiExDumpPackageObj()
1181 ObjDesc->Reference.Class); in AcpiExDumpPackageObj()
1182 AcpiExDumpReferenceObj (ObjDesc); in AcpiExDumpPackageObj()
1187 AcpiOsPrintf ("[Unknown Type] %X\n", ObjDesc->Common.Type); in AcpiExDumpPackageObj()
1206 ACPI_OPERAND_OBJECT *ObjDesc, in AcpiExDumpObjectDescriptor() argument
1212 if (!ObjDesc) in AcpiExDumpObjectDescriptor()
1227 if (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc) == ACPI_DESC_TYPE_NAMED) in AcpiExDumpObjectDescriptor()
1229 AcpiExDumpNamespaceNode ((ACPI_NAMESPACE_NODE *) ObjDesc, Flags); in AcpiExDumpObjectDescriptor()
1232 ((ACPI_NAMESPACE_NODE *) ObjDesc)->Object); in AcpiExDumpObjectDescriptor()
1234 ObjDesc = ((ACPI_NAMESPACE_NODE *) ObjDesc)->Object; in AcpiExDumpObjectDescriptor()
1238 if (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc) != ACPI_DESC_TYPE_OPERAND) in AcpiExDumpObjectDescriptor()
1242 ObjDesc, AcpiUtGetDescriptorName (ObjDesc)); in AcpiExDumpObjectDescriptor()
1248 if (ObjDesc->Common.Type > ACPI_TYPE_LOCAL_MAX) in AcpiExDumpObjectDescriptor()
1251 ObjDesc->Common.Type); in AcpiExDumpObjectDescriptor()
1260 AcpiExDumpObject (ObjDesc, AcpiExDumpCommon); in AcpiExDumpObjectDescriptor()
1264 AcpiExDumpObject (ObjDesc, AcpiExDumpInfo[ObjDesc->Common.Type]); in AcpiExDumpObjectDescriptor()
1266 if (ObjDesc->Common.Type == ACPI_TYPE_REGION) in AcpiExDumpObjectDescriptor()
1268 ObjDesc = ObjDesc->Common.NextObject; in AcpiExDumpObjectDescriptor()
1269 if (ObjDesc->Common.Type > ACPI_TYPE_LOCAL_MAX) in AcpiExDumpObjectDescriptor()
1273 ObjDesc->Common.Type); in AcpiExDumpObjectDescriptor()
1278 AcpiOsPrintf ("\nExtra attached Object (%p):\n", ObjDesc); in AcpiExDumpObjectDescriptor()
1279 AcpiExDumpObject (ObjDesc, AcpiExDumpInfo[ObjDesc->Common.Type]); in AcpiExDumpObjectDescriptor()