Lines Matching refs:ObjDesc

189     ACPI_OPERAND_OBJECT     *ObjDesc;  in AcpiNsAttachObject()  local
241 ObjDesc = NULL; in AcpiNsAttachObject()
256 ObjDesc = ((ACPI_NAMESPACE_NODE *) Object)->Object; in AcpiNsAttachObject()
266 ObjDesc = (ACPI_OPERAND_OBJECT *) Object; in AcpiNsAttachObject()
274 ObjDesc, Node, AcpiUtGetNodeName (Node))); in AcpiNsAttachObject()
283 if (ObjDesc) in AcpiNsAttachObject()
289 AcpiUtAddReference (ObjDesc); in AcpiNsAttachObject()
295 LastObjDesc = ObjDesc; in AcpiNsAttachObject()
307 Node->Object = ObjDesc; in AcpiNsAttachObject()
331 ACPI_OPERAND_OBJECT *ObjDesc; in AcpiNsDetachObject() local
337 ObjDesc = Node->Object; in AcpiNsDetachObject()
339 if (!ObjDesc || in AcpiNsDetachObject()
340 (ObjDesc->Common.Type == ACPI_TYPE_LOCAL_DATA)) in AcpiNsDetachObject()
349 if (ObjDesc->Common.Type == ACPI_TYPE_METHOD) in AcpiNsDetachObject()
351 ACPI_FREE (ObjDesc->Method.AmlStart); in AcpiNsDetachObject()
355 if (ObjDesc->Common.Type == ACPI_TYPE_REGION) in AcpiNsDetachObject()
357 AcpiUtRemoveAddressRange(ObjDesc->Region.SpaceId, Node); in AcpiNsDetachObject()
363 if (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc) == ACPI_DESC_TYPE_OPERAND) in AcpiNsDetachObject()
367 Node->Object = ObjDesc->Common.NextObject; in AcpiNsDetachObject()
381 if (ObjDesc->Common.NextObject && in AcpiNsDetachObject()
382 ((ObjDesc->Common.NextObject)->Common.Type == ACPI_TYPE_LOCAL_DATA)) in AcpiNsDetachObject()
384 ObjDesc->Common.NextObject = NULL; in AcpiNsDetachObject()
393 Node, AcpiUtGetNodeName (Node), ObjDesc)); in AcpiNsDetachObject()
397 AcpiUtRemoveReference (ObjDesc); in AcpiNsDetachObject()
455 ACPI_OPERAND_OBJECT *ObjDesc) in AcpiNsGetSecondaryObject() argument
457 ACPI_FUNCTION_TRACE_PTR (NsGetSecondaryObject, ObjDesc); in AcpiNsGetSecondaryObject()
460 if ((!ObjDesc) || in AcpiNsGetSecondaryObject()
461 (ObjDesc->Common.Type== ACPI_TYPE_LOCAL_DATA) || in AcpiNsGetSecondaryObject()
462 (!ObjDesc->Common.NextObject) || in AcpiNsGetSecondaryObject()
463 ((ObjDesc->Common.NextObject)->Common.Type == ACPI_TYPE_LOCAL_DATA)) in AcpiNsGetSecondaryObject()
468 return_PTR (ObjDesc->Common.NextObject); in AcpiNsGetSecondaryObject()
493 ACPI_OPERAND_OBJECT *ObjDesc; in AcpiNsAttachData() local
500 ObjDesc = Node->Object; in AcpiNsAttachData()
501 while (ObjDesc) in AcpiNsAttachData()
503 if ((ObjDesc->Common.Type == ACPI_TYPE_LOCAL_DATA) && in AcpiNsAttachData()
504 (ObjDesc->Data.Handler == Handler)) in AcpiNsAttachData()
509 PrevObjDesc = ObjDesc; in AcpiNsAttachData()
510 ObjDesc = ObjDesc->Common.NextObject; in AcpiNsAttachData()
558 ACPI_OPERAND_OBJECT *ObjDesc; in AcpiNsDetachData() local
563 ObjDesc = Node->Object; in AcpiNsDetachData()
564 while (ObjDesc) in AcpiNsDetachData()
566 if ((ObjDesc->Common.Type == ACPI_TYPE_LOCAL_DATA) && in AcpiNsDetachData()
567 (ObjDesc->Data.Handler == Handler)) in AcpiNsDetachData()
571 PrevObjDesc->Common.NextObject = ObjDesc->Common.NextObject; in AcpiNsDetachData()
575 Node->Object = ObjDesc->Common.NextObject; in AcpiNsDetachData()
578 AcpiUtRemoveReference (ObjDesc); in AcpiNsDetachData()
582 PrevObjDesc = ObjDesc; in AcpiNsDetachData()
583 ObjDesc = ObjDesc->Common.NextObject; in AcpiNsDetachData()
611 ACPI_OPERAND_OBJECT *ObjDesc; in AcpiNsGetAttachedData() local
614 ObjDesc = Node->Object; in AcpiNsGetAttachedData()
615 while (ObjDesc) in AcpiNsGetAttachedData()
617 if ((ObjDesc->Common.Type == ACPI_TYPE_LOCAL_DATA) && in AcpiNsGetAttachedData()
618 (ObjDesc->Data.Handler == Handler)) in AcpiNsGetAttachedData()
620 *Data = ObjDesc->Data.Pointer; in AcpiNsGetAttachedData()
624 ObjDesc = ObjDesc->Common.NextObject; in AcpiNsGetAttachedData()