Lines Matching refs:Method
220 Op = AcpiPsAllocOp (AML_METHOD_OP, ObjDesc->Method.AmlStart); in AcpiDsAutoSerializeMethod()
239 ObjDesc->Method.AmlStart, ObjDesc->Method.AmlLength, NULL, 0); in AcpiDsAutoSerializeMethod()
299 WalkState->MethodDesc->Method.SyncLevel = 0; in AcpiDsDetectNamedOpcodes()
300 WalkState->MethodDesc->Method.InfoFlags |= in AcpiDsDetectNamedOpcodes()
436 MutexDesc->Mutex.SyncLevel = MethodDesc->Method.SyncLevel; in AcpiDsCreateMethodMutex()
437 MethodDesc->Method.Mutex = MutexDesc; in AcpiDsCreateMethodMutex()
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()
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()
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()
922 if (!(MethodDesc->Method.InfoFlags & ACPI_METHOD_MODULE_LEVEL) && in AcpiDsTerminateControlMethod()
923 (MethodDesc->Method.ThreadCount == 1)) in AcpiDsTerminateControlMethod()
938 if (MethodDesc->Method.InfoFlags & ACPI_METHOD_MODIFIED_NAMESPACE) in AcpiDsTerminateControlMethod()
941 AcpiNsDeleteNamespaceByOwner (MethodDesc->Method.OwnerId); in AcpiDsTerminateControlMethod()
943 MethodDesc->Method.InfoFlags &= in AcpiDsTerminateControlMethod()
952 if (MethodDesc->Method.Mutex) in AcpiDsTerminateControlMethod()
956 MethodDesc->Method.Mutex->Mutex.AcquisitionDepth--; in AcpiDsTerminateControlMethod()
957 if (!MethodDesc->Method.Mutex->Mutex.AcquisitionDepth) in AcpiDsTerminateControlMethod()
960 MethodDesc->Method.Mutex->Mutex.OriginalSyncLevel; in AcpiDsTerminateControlMethod()
963 MethodDesc->Method.Mutex->Mutex.OsMutex); in AcpiDsTerminateControlMethod()
964 MethodDesc->Method.Mutex->Mutex.ThreadId = 0; in AcpiDsTerminateControlMethod()
971 if (MethodDesc->Method.ThreadCount) in AcpiDsTerminateControlMethod()
973 MethodDesc->Method.ThreadCount--; in AcpiDsTerminateControlMethod()
983 if (MethodDesc->Method.ThreadCount) in AcpiDsTerminateControlMethod()
991 MethodDesc->Method.ThreadCount)); in AcpiDsTerminateControlMethod()
1007 if (MethodDesc->Method.InfoFlags & ACPI_METHOD_SERIALIZED_PENDING) in AcpiDsTerminateControlMethod()
1028 MethodDesc->Method.InfoFlags &= in AcpiDsTerminateControlMethod()
1031 MethodDesc->Method.InfoFlags |= in AcpiDsTerminateControlMethod()
1033 MethodDesc->Method.SyncLevel = 0; in AcpiDsTerminateControlMethod()
1038 if (!(MethodDesc->Method.InfoFlags & ACPI_METHOD_MODULE_LEVEL)) in AcpiDsTerminateControlMethod()
1040 AcpiUtReleaseOwnerId (&MethodDesc->Method.OwnerId); in AcpiDsTerminateControlMethod()
1044 AcpiExStopTraceMethod ((ACPI_NAMESPACE_NODE *) MethodDesc->Method.Node, in AcpiDsTerminateControlMethod()