Lines Matching refs:Method

112     Op = AcpiPsAllocOp (AML_METHOD_OP, ObjDesc->Method.AmlStart);  in AcpiDsAutoSerializeMethod()
131 ObjDesc->Method.AmlStart, ObjDesc->Method.AmlLength, NULL, 0); in AcpiDsAutoSerializeMethod()
191 WalkState->MethodDesc->Method.SyncLevel = 0; in AcpiDsDetectNamedOpcodes()
192 WalkState->MethodDesc->Method.InfoFlags |= in AcpiDsDetectNamedOpcodes()
328 MutexDesc->Mutex.SyncLevel = MethodDesc->Method.SyncLevel; in AcpiDsCreateMethodMutex()
329 MethodDesc->Method.Mutex = MutexDesc; in AcpiDsCreateMethodMutex()
372 if (ObjDesc->Method.ThreadCount == ACPI_UINT8_MAX) in AcpiDsBeginMethodExecution()
382 if (ObjDesc->Method.InfoFlags & ACPI_METHOD_SERIALIZED) in AcpiDsBeginMethodExecution()
389 if (!ObjDesc->Method.Mutex) in AcpiDsBeginMethodExecution()
410 (!(ObjDesc->Method.InfoFlags & ACPI_METHOD_IGNORE_SYNC_LEVEL)) && in AcpiDsBeginMethodExecution()
412 ObjDesc->Method.Mutex->Mutex.SyncLevel)) in AcpiDsBeginMethodExecution()
428 !ObjDesc->Method.Mutex->Mutex.ThreadId || in AcpiDsBeginMethodExecution()
430 ObjDesc->Method.Mutex->Mutex.ThreadId)) in AcpiDsBeginMethodExecution()
437 ObjDesc->Method.Mutex->Mutex.OsMutex, ACPI_WAIT_FOREVER); in AcpiDsBeginMethodExecution()
447 ObjDesc->Method.Mutex->Mutex.OriginalSyncLevel = in AcpiDsBeginMethodExecution()
450 ObjDesc->Method.Mutex->Mutex.ThreadId = in AcpiDsBeginMethodExecution()
460 if (!(ObjDesc->Method.InfoFlags & in AcpiDsBeginMethodExecution()
464 ObjDesc->Method.SyncLevel; in AcpiDsBeginMethodExecution()
469 ObjDesc->Method.Mutex->Mutex.OriginalSyncLevel = in AcpiDsBeginMethodExecution()
470 ObjDesc->Method.Mutex->Mutex.SyncLevel; in AcpiDsBeginMethodExecution()
472 ObjDesc->Method.Mutex->Mutex.ThreadId = in AcpiDsBeginMethodExecution()
479 ObjDesc->Method.Mutex->Mutex.AcquisitionDepth++; in AcpiDsBeginMethodExecution()
487 if (!ObjDesc->Method.OwnerId) in AcpiDsBeginMethodExecution()
489 Status = AcpiUtAllocateOwnerId (&ObjDesc->Method.OwnerId); in AcpiDsBeginMethodExecution()
500 ObjDesc->Method.ThreadCount++; in AcpiDsBeginMethodExecution()
508 if (ObjDesc->Method.Mutex) in AcpiDsBeginMethodExecution()
510 AcpiOsReleaseMutex (ObjDesc->Method.Mutex->Mutex.OsMutex); in AcpiDsBeginMethodExecution()
577 ObjDesc->Method.OwnerId, NULL, ObjDesc, Thread); in AcpiDsCallControlMethod()
606 ObjDesc->Method.AmlStart, ObjDesc->Method.AmlLength, in AcpiDsCallControlMethod()
621 for (i = 0; i < ObjDesc->Method.ParamCount; i++) in AcpiDsCallControlMethod()
647 if (ObjDesc->Method.InfoFlags & ACPI_METHOD_INTERNAL_ONLY) in AcpiDsCallControlMethod()
649 Status = ObjDesc->Method.Dispatch.Implementation (NextWalkState); in AcpiDsCallControlMethod()
814 if (!(MethodDesc->Method.InfoFlags & ACPI_METHOD_MODULE_LEVEL) && in AcpiDsTerminateControlMethod()
815 (MethodDesc->Method.ThreadCount == 1)) in AcpiDsTerminateControlMethod()
830 if (MethodDesc->Method.InfoFlags & ACPI_METHOD_MODIFIED_NAMESPACE) in AcpiDsTerminateControlMethod()
833 AcpiNsDeleteNamespaceByOwner (MethodDesc->Method.OwnerId); in AcpiDsTerminateControlMethod()
835 MethodDesc->Method.InfoFlags &= in AcpiDsTerminateControlMethod()
844 if (MethodDesc->Method.Mutex) in AcpiDsTerminateControlMethod()
848 MethodDesc->Method.Mutex->Mutex.AcquisitionDepth--; in AcpiDsTerminateControlMethod()
849 if (!MethodDesc->Method.Mutex->Mutex.AcquisitionDepth) in AcpiDsTerminateControlMethod()
852 MethodDesc->Method.Mutex->Mutex.OriginalSyncLevel; in AcpiDsTerminateControlMethod()
855 MethodDesc->Method.Mutex->Mutex.OsMutex); in AcpiDsTerminateControlMethod()
856 MethodDesc->Method.Mutex->Mutex.ThreadId = 0; in AcpiDsTerminateControlMethod()
863 if (MethodDesc->Method.ThreadCount) in AcpiDsTerminateControlMethod()
865 MethodDesc->Method.ThreadCount--; in AcpiDsTerminateControlMethod()
875 if (MethodDesc->Method.ThreadCount) in AcpiDsTerminateControlMethod()
883 MethodDesc->Method.ThreadCount)); in AcpiDsTerminateControlMethod()
899 if (MethodDesc->Method.InfoFlags & ACPI_METHOD_SERIALIZED_PENDING) in AcpiDsTerminateControlMethod()
920 MethodDesc->Method.InfoFlags &= in AcpiDsTerminateControlMethod()
923 MethodDesc->Method.InfoFlags |= in AcpiDsTerminateControlMethod()
925 MethodDesc->Method.SyncLevel = 0; in AcpiDsTerminateControlMethod()
930 if (!(MethodDesc->Method.InfoFlags & ACPI_METHOD_MODULE_LEVEL)) in AcpiDsTerminateControlMethod()
932 AcpiUtReleaseOwnerId (&MethodDesc->Method.OwnerId); in AcpiDsTerminateControlMethod()
936 AcpiExStopTraceMethod ((ACPI_NAMESPACE_NODE *) MethodDesc->Method.Node, in AcpiDsTerminateControlMethod()