Lines Matching defs:AcpiGbl_DbMethodInfo

55 static ACPI_DB_METHOD_INFO          AcpiGbl_DbMethodInfo;
442 ACPI_MEMSET (&AcpiGbl_DbMethodInfo, 0, sizeof (ACPI_DB_METHOD_INFO));
446 AcpiGbl_DbMethodInfo.Name = NameString;
447 AcpiGbl_DbMethodInfo.Args = Args;
448 AcpiGbl_DbMethodInfo.Types = Types;
449 AcpiGbl_DbMethodInfo.Flags = Flags;
454 Status = AcpiDbExecuteSetup (&AcpiGbl_DbMethodInfo);
463 Status = AcpiGetHandle (NULL, AcpiGbl_DbMethodInfo.Pathname,
464 &AcpiGbl_DbMethodInfo.Method);
467 Status = AcpiDbExecuteMethod (&AcpiGbl_DbMethodInfo, &ReturnObj);
489 Allocations, AcpiGbl_DbMethodInfo.Pathname);
496 AcpiGbl_DbMethodInfo.Pathname, AcpiFormatException (Status));
506 AcpiGbl_DbMethodInfo.Pathname, ReturnObj.Pointer,
513 AcpiGbl_DbMethodInfo.Method)->Name.Ascii), METHOD_NAME__PLD))
521 AcpiGbl_DbMethodInfo.Pathname);
555 * AcpiGbl_DbMethodInfo.Arguments will be passed as method arguments.
556 * Prevent AcpiGbl_DbMethodInfo from being modified by multiple threads
710 AcpiOsPrintf ("Could not create semaphore for synchronization of AcpiGbl_DbMethodInfo, %s\n",
717 ACPI_MEMSET (&AcpiGbl_DbMethodInfo, 0, sizeof (ACPI_DB_METHOD_INFO));
721 AcpiGbl_DbMethodInfo.NumThreads = NumThreads;
722 Size = sizeof (ACPI_THREAD_ID) * AcpiGbl_DbMethodInfo.NumThreads;
723 AcpiGbl_DbMethodInfo.Threads = AcpiOsAllocate (Size);
724 if (AcpiGbl_DbMethodInfo.Threads == NULL)
732 ACPI_MEMSET (AcpiGbl_DbMethodInfo.Threads, 0, Size);
736 AcpiGbl_DbMethodInfo.Name = MethodNameArg;
737 AcpiGbl_DbMethodInfo.Flags = 0;
738 AcpiGbl_DbMethodInfo.NumLoops = NumLoops;
739 AcpiGbl_DbMethodInfo.MainThreadGate = MainThreadGate;
740 AcpiGbl_DbMethodInfo.ThreadCompleteGate = ThreadCompleteGate;
741 AcpiGbl_DbMethodInfo.InfoGate = InfoGate;
745 AcpiGbl_DbMethodInfo.InitArgs = 1;
746 AcpiGbl_DbMethodInfo.Args = AcpiGbl_DbMethodInfo.Arguments;
747 AcpiGbl_DbMethodInfo.Arguments[0] = AcpiGbl_DbMethodInfo.NumThreadsStr;
748 AcpiGbl_DbMethodInfo.Arguments[1] = AcpiGbl_DbMethodInfo.IdOfThreadStr;
749 AcpiGbl_DbMethodInfo.Arguments[2] = AcpiGbl_DbMethodInfo.IndexOfThreadStr;
750 AcpiGbl_DbMethodInfo.Arguments[3] = NULL;
752 AcpiGbl_DbMethodInfo.Types = AcpiGbl_DbMethodInfo.ArgTypes;
753 AcpiGbl_DbMethodInfo.ArgTypes[0] = ACPI_TYPE_INTEGER;
754 AcpiGbl_DbMethodInfo.ArgTypes[1] = ACPI_TYPE_INTEGER;
755 AcpiGbl_DbMethodInfo.ArgTypes[2] = ACPI_TYPE_INTEGER;
757 AcpiDbUint32ToHexString (NumThreads, AcpiGbl_DbMethodInfo.NumThreadsStr);
759 Status = AcpiDbExecuteSetup (&AcpiGbl_DbMethodInfo);
767 Status = AcpiGetHandle (NULL, AcpiGbl_DbMethodInfo.Pathname,
768 &AcpiGbl_DbMethodInfo.Method);
772 AcpiFormatException (Status), AcpiGbl_DbMethodInfo.Pathname);
784 &AcpiGbl_DbMethodInfo);
807 AcpiOsFree (AcpiGbl_DbMethodInfo.Threads);
808 AcpiGbl_DbMethodInfo.Threads = NULL;