Lines Matching refs:ObjDesc
96 ACPI_OPERAND_OBJECT *ObjDesc) in AcpiDsAutoSerializeMethod() argument
112 Op = AcpiPsAllocOp (AML_METHOD_OP, ObjDesc->Method.AmlStart); in AcpiDsAutoSerializeMethod()
131 ObjDesc->Method.AmlStart, ObjDesc->Method.AmlLength, NULL, 0); in AcpiDsAutoSerializeMethod()
346 ACPI_OPERAND_OBJECT *ObjDesc, in AcpiDsBeginMethodExecution() argument
360 AcpiExStartTraceMethod (MethodNode, ObjDesc, WalkState); in AcpiDsBeginMethodExecution()
364 if (ObjDesc->Method.ThreadCount == ACPI_UINT8_MAX) in AcpiDsBeginMethodExecution()
374 if (ObjDesc->Method.InfoFlags & ACPI_METHOD_SERIALIZED) in AcpiDsBeginMethodExecution()
381 if (!ObjDesc->Method.Mutex) in AcpiDsBeginMethodExecution()
383 Status = AcpiDsCreateMethodMutex (ObjDesc); in AcpiDsBeginMethodExecution()
402 (!(ObjDesc->Method.InfoFlags & ACPI_METHOD_IGNORE_SYNC_LEVEL)) && in AcpiDsBeginMethodExecution()
404 ObjDesc->Method.Mutex->Mutex.SyncLevel)) in AcpiDsBeginMethodExecution()
420 !ObjDesc->Method.Mutex->Mutex.ThreadId || in AcpiDsBeginMethodExecution()
422 ObjDesc->Method.Mutex->Mutex.ThreadId)) in AcpiDsBeginMethodExecution()
429 ObjDesc->Method.Mutex->Mutex.OsMutex, ACPI_WAIT_FOREVER); in AcpiDsBeginMethodExecution()
439 ObjDesc->Method.Mutex->Mutex.OriginalSyncLevel = in AcpiDsBeginMethodExecution()
442 ObjDesc->Method.Mutex->Mutex.ThreadId = in AcpiDsBeginMethodExecution()
452 if (!(ObjDesc->Method.InfoFlags & in AcpiDsBeginMethodExecution()
456 ObjDesc->Method.SyncLevel; in AcpiDsBeginMethodExecution()
461 ObjDesc->Method.Mutex->Mutex.OriginalSyncLevel = in AcpiDsBeginMethodExecution()
462 ObjDesc->Method.Mutex->Mutex.SyncLevel; in AcpiDsBeginMethodExecution()
468 ObjDesc->Method.Mutex->Mutex.AcquisitionDepth++; in AcpiDsBeginMethodExecution()
476 if (!ObjDesc->Method.OwnerId) in AcpiDsBeginMethodExecution()
478 Status = AcpiUtAllocateOwnerId (&ObjDesc->Method.OwnerId); in AcpiDsBeginMethodExecution()
489 ObjDesc->Method.ThreadCount++; in AcpiDsBeginMethodExecution()
497 if (ObjDesc->Method.Mutex) in AcpiDsBeginMethodExecution()
499 AcpiOsReleaseMutex (ObjDesc->Method.Mutex->Mutex.OsMutex); in AcpiDsBeginMethodExecution()
528 ACPI_OPERAND_OBJECT *ObjDesc; in AcpiDsCallControlMethod() local
548 ObjDesc = AcpiNsGetAttachedObject (MethodNode); in AcpiDsCallControlMethod()
549 if (!ObjDesc) in AcpiDsCallControlMethod()
557 MethodNode, ObjDesc, ThisWalkState); in AcpiDsCallControlMethod()
566 ObjDesc->Method.OwnerId, NULL, ObjDesc, Thread); in AcpiDsCallControlMethod()
595 ObjDesc->Method.AmlStart, ObjDesc->Method.AmlLength, in AcpiDsCallControlMethod()
608 for (i = 0; i < ObjDesc->Method.ParamCount; i++) in AcpiDsCallControlMethod()
624 if (ObjDesc->Method.InfoFlags & ACPI_METHOD_INTERNAL_ONLY) in AcpiDsCallControlMethod()
626 Status = ObjDesc->Method.Dispatch.Implementation (NextWalkState); in AcpiDsCallControlMethod()
640 AcpiDsTerminateControlMethod (ObjDesc, NextWalkState); in AcpiDsCallControlMethod()