Lines Matching refs:ObjDesc
204 ACPI_OPERAND_OBJECT *ObjDesc) in AcpiDsAutoSerializeMethod() argument
220 Op = AcpiPsAllocOp (AML_METHOD_OP, ObjDesc->Method.AmlStart); in AcpiDsAutoSerializeMethod()
239 ObjDesc->Method.AmlStart, ObjDesc->Method.AmlLength, NULL, 0); in AcpiDsAutoSerializeMethod()
462 ACPI_OPERAND_OBJECT *ObjDesc, in AcpiDsBeginMethodExecution() argument
476 AcpiExStartTraceMethod (MethodNode, ObjDesc, WalkState); in AcpiDsBeginMethodExecution()
480 if (ObjDesc->Method.ThreadCount == ACPI_UINT8_MAX) in AcpiDsBeginMethodExecution()
490 if (ObjDesc->Method.InfoFlags & ACPI_METHOD_SERIALIZED) in AcpiDsBeginMethodExecution()
497 if (!ObjDesc->Method.Mutex) in AcpiDsBeginMethodExecution()
499 Status = AcpiDsCreateMethodMutex (ObjDesc); in AcpiDsBeginMethodExecution()
518 (!(ObjDesc->Method.InfoFlags & ACPI_METHOD_IGNORE_SYNC_LEVEL)) && in AcpiDsBeginMethodExecution()
520 ObjDesc->Method.Mutex->Mutex.SyncLevel)) in AcpiDsBeginMethodExecution()
536 !ObjDesc->Method.Mutex->Mutex.ThreadId || in AcpiDsBeginMethodExecution()
538 ObjDesc->Method.Mutex->Mutex.ThreadId)) in AcpiDsBeginMethodExecution()
545 ObjDesc->Method.Mutex->Mutex.OsMutex, ACPI_WAIT_FOREVER); in AcpiDsBeginMethodExecution()
555 ObjDesc->Method.Mutex->Mutex.OriginalSyncLevel = in AcpiDsBeginMethodExecution()
558 ObjDesc->Method.Mutex->Mutex.ThreadId = in AcpiDsBeginMethodExecution()
568 if (!(ObjDesc->Method.InfoFlags & in AcpiDsBeginMethodExecution()
572 ObjDesc->Method.SyncLevel; in AcpiDsBeginMethodExecution()
577 ObjDesc->Method.Mutex->Mutex.OriginalSyncLevel = in AcpiDsBeginMethodExecution()
578 ObjDesc->Method.Mutex->Mutex.SyncLevel; in AcpiDsBeginMethodExecution()
580 ObjDesc->Method.Mutex->Mutex.ThreadId = in AcpiDsBeginMethodExecution()
587 ObjDesc->Method.Mutex->Mutex.AcquisitionDepth++; in AcpiDsBeginMethodExecution()
595 if (!ObjDesc->Method.OwnerId) in AcpiDsBeginMethodExecution()
597 Status = AcpiUtAllocateOwnerId (&ObjDesc->Method.OwnerId); in AcpiDsBeginMethodExecution()
608 ObjDesc->Method.ThreadCount++; in AcpiDsBeginMethodExecution()
616 if (ObjDesc->Method.Mutex) in AcpiDsBeginMethodExecution()
618 AcpiOsReleaseMutex (ObjDesc->Method.Mutex->Mutex.OsMutex); in AcpiDsBeginMethodExecution()
647 ACPI_OPERAND_OBJECT *ObjDesc; in AcpiDsCallControlMethod() local
667 ObjDesc = AcpiNsGetAttachedObject (MethodNode); in AcpiDsCallControlMethod()
668 if (!ObjDesc) in AcpiDsCallControlMethod()
676 MethodNode, ObjDesc, ThisWalkState); in AcpiDsCallControlMethod()
685 ObjDesc->Method.OwnerId, NULL, ObjDesc, Thread); in AcpiDsCallControlMethod()
714 ObjDesc->Method.AmlStart, ObjDesc->Method.AmlLength, in AcpiDsCallControlMethod()
729 for (i = 0; i < ObjDesc->Method.ParamCount; i++) in AcpiDsCallControlMethod()
755 if (ObjDesc->Method.InfoFlags & ACPI_METHOD_INTERNAL_ONLY) in AcpiDsCallControlMethod()
757 Status = ObjDesc->Method.Dispatch.Implementation (NextWalkState); in AcpiDsCallControlMethod()
777 AcpiDsTerminateControlMethod (ObjDesc, NextWalkState); in AcpiDsCallControlMethod()