Home
last modified time | relevance | path

Searched refs:Index (Results 1 – 25 of 52) sorted by relevance

123

/third_party/lib/acpica/source/components/dispatcher/
A Ddsmthdat.c59 UINT32 Index,
65 UINT32 Index,
73 UINT32 Index,
164 for (Index = 0; Index < ACPI_METHOD_NUM_LOCALS; Index++) in AcpiDsMethodDataDeleteAll()
169 Index, WalkState->LocalVariables[Index].Object)); in AcpiDsMethodDataDeleteAll()
179 for (Index = 0; Index < ACPI_METHOD_NUM_ARGS; Index++) in AcpiDsMethodDataDeleteAll()
184 Index, WalkState->Arguments[Index].Object)); in AcpiDsMethodDataDeleteAll()
236 Params[Index]) in AcpiDsMethodDataInitArgs()
244 ACPI_REFCLASS_ARG, Index, Params[Index], WalkState); in AcpiDsMethodDataInitArgs()
250 Index++; in AcpiDsMethodDataInitArgs()
[all …]
A Ddsutils.c766 UINT32 Index = WalkState->NumOperands; in AcpiDsCreateOperands() local
778 if (Index >= ACPI_OBJ_NUM_OPERANDS) in AcpiDsCreateOperands()
783 Arguments[Index] = Arg; in AcpiDsCreateOperands()
784 WalkState->Operands [Index] = NULL; in AcpiDsCreateOperands()
790 Index++; in AcpiDsCreateOperands()
795 WalkState->NumOperands, ArgCount, Index)); in AcpiDsCreateOperands()
799 Index--; in AcpiDsCreateOperands()
802 Arg = Arguments[Index]; in AcpiDsCreateOperands()
803 WalkState->OperandIndex = (UINT8) Index; in AcpiDsCreateOperands()
813 Index, Arg, ArgCount)); in AcpiDsCreateOperands()
[all …]
A Ddswstate.c82 UINT32 Index; in AcpiDsResultPop() local
117 Index = (UINT32) WalkState->ResultCount % ACPI_RESULTS_FRAME_OBJ_NUM; in AcpiDsResultPop()
119 *Object = State->Results.ObjDesc [Index]; in AcpiDsResultPop()
127 State->Results.ObjDesc [Index] = NULL; in AcpiDsResultPop()
128 if (Index == 0) in AcpiDsResultPop()
140 Index, WalkState, WalkState->ResultCount)); in AcpiDsResultPop()
166 UINT32 Index; in AcpiDsResultPush() local
212 Index = (UINT32) WalkState->ResultCount % ACPI_RESULTS_FRAME_OBJ_NUM; in AcpiDsResultPush()
213 State->Results.ObjDesc [Index] = Object; in AcpiDsResultPush()
/third_party/lib/acpica/source/compiler/
A Daslmessages.c301 UINT32 Index; in AeDecodeMessageId() local
310 Index = MessageId; in AeDecodeMessageId()
312 if (Index >= ACPI_ARRAY_LENGTH (AslCompilerMsgs)) in AeDecodeMessageId()
323 Index = MessageId - ASL_MSG_TABLE_COMPILER; in AeDecodeMessageId()
325 if (Index >= ACPI_ARRAY_LENGTH (AslTableCompilerMsgs)) in AeDecodeMessageId()
336 Index = MessageId - ASL_MSG_PREPROCESSOR; in AeDecodeMessageId()
338 if (Index >= ACPI_ARRAY_LENGTH (AslPreprocessorMsgs)) in AeDecodeMessageId()
351 return (MessageTable[Index]); in AeDecodeMessageId()
A Daslpredef.c90 UINT32 Index; in ApCheckForPredefinedMethod() local
99 switch (Index) in ApCheckForPredefinedMethod()
134 ThisName = &AcpiGbl_PredefinedMethods[Index]; in ApCheckForPredefinedMethod()
249 UINT32 Index; in ApCheckPredefinedReturnValue() local
261 Index = ApCheckForPredefinedName (MethodInfo->Op, in ApCheckPredefinedReturnValue()
265 switch (Index) in ApCheckPredefinedReturnValue()
283 ThisName = &AcpiGbl_PredefinedMethods[Index]; in ApCheckPredefinedReturnValue()
355 UINT32 Index; in ApCheckForPredefinedObject() local
364 Index = ApCheckForPredefinedName (Op, Name); in ApCheckForPredefinedObject()
366 switch (Index) in ApCheckForPredefinedObject()
[all …]
A Dasllistsup.c372 UINT32 Index = 16; in LsWriteOneSourceLine() local
455 FlPrintFile (FileId, "\n%*s{\n", Index, " "); in LsWriteOneSourceLine()
457 Index += 4; in LsWriteOneSourceLine()
469 Index -= 4; in LsWriteOneSourceLine()
470 FlPrintFile (FileId, "%*s}\n", Index, " "); in LsWriteOneSourceLine()
484 FlPrintFile (FileId, "%*s", Index, " "); in LsWriteOneSourceLine()
A Daslstubs.c95 UINT32 Index, in AcpiDsMethodDataGetValue() argument
105 UINT32 Index, in AcpiDsMethodDataGetNode() argument
115 UINT32 Index, in AcpiDsStoreObjectToLocal() argument
214 UINT32 Index) in AcpiExDoDebugObject() argument
A Daslutils.c1011 UINT32 Index; in stroul64() local
1108 Index = ((UINT8) *String) - '0'; in stroul64()
1112 Index = (UINT8) toupper ((int) *String); in stroul64()
1113 if (isupper ((int) Index)) in stroul64()
1115 Index = Index - 'A' + 10; in stroul64()
1123 if (Index >= Base) in stroul64()
1130 if (ReturnValue > ((ACPI_UINT64_MAX - (UINT64) Index) / in stroul64()
1138 ReturnValue += Index; in stroul64()
A Daslopt.c217 UINT32 Index; in OptBuildShortestPath() local
314 Index = (NumCommonSegments * ACPI_PATH_SEGMENT_LENGTH) + 1; in OptBuildShortestPath()
325 Index -= ACPI_PATH_SEGMENT_LENGTH; in OptBuildShortestPath()
339 if (Index > TargetPath->Length) in OptBuildShortestPath()
341 Index = TargetPath->Length; in OptBuildShortestPath()
344 strcpy (&NewPathExternal[i], &((char *) TargetPath->Pointer)[Index]); in OptBuildShortestPath()
/third_party/lib/acpica/source/os_specific/service_layers/
A Doswinxf.c828 if ((Index >= ACPI_OS_MAX_SEMAPHORES) || in AcpiOsDeleteSemaphore()
829 !AcpiGbl_Semaphores[Index].OsHandle) in AcpiOsDeleteSemaphore()
835 AcpiGbl_Semaphores[Index].OsHandle = NULL; in AcpiOsDeleteSemaphore()
868 if ((Index >= ACPI_OS_MAX_SEMAPHORES) || in AcpiOsWaitSemaphore()
869 !AcpiGbl_Semaphores[Index].OsHandle) in AcpiOsWaitSemaphore()
920 AcpiGbl_Semaphores[Index].CurrentUnits--; in AcpiOsWaitSemaphore()
949 if (Index >= ACPI_OS_MAX_SEMAPHORES) in AcpiOsSignalSemaphore()
955 if (!AcpiGbl_Semaphores[Index].OsHandle) in AcpiOsSignalSemaphore()
968 AcpiGbl_Semaphores[Index].MaxUnits) in AcpiOsSignalSemaphore()
972 Index, AcpiGbl_Semaphores[Index].CurrentUnits, in AcpiOsSignalSemaphore()
[all …]
A Doswintbl.c168 UINT32 Index, in AcpiOsGetTableByIndex() argument
176 if (Index > ACPI_OS_MAX_TABLE_INDEX) in AcpiOsGetTableByIndex()
181 Status = AcpiOsGetTableByName (SupportedTables[Index], 0, Table, Address); in AcpiOsGetTableByIndex()
/third_party/lib/acpica/source/components/debugger/
A Ddbmethod.c157 UINT32 Index; in AcpiDbSetMethodData() local
199 Index = strtoul (IndexArg, NULL, 16); in AcpiDbSetMethodData()
225 if (Index > ACPI_METHOD_MAX_ARG) in AcpiDbSetMethodData()
228 Index); in AcpiDbSetMethodData()
233 Index, ObjDesc, WalkState); in AcpiDbSetMethodData()
239 ObjDesc = WalkState->Arguments[Index].Object; in AcpiDbSetMethodData()
241 AcpiOsPrintf ("Arg%u: ", Index); in AcpiDbSetMethodData()
249 if (Index > ACPI_METHOD_MAX_LOCAL) in AcpiDbSetMethodData()
252 Index); in AcpiDbSetMethodData()
257 Index, ObjDesc, WalkState); in AcpiDbSetMethodData()
[all …]
/third_party/lib/acpica/source/components/executer/
A Dexoparg6.c227 UINT64 Index; in AcpiExOpcode_6A_0T_1R() local
255 Index = Operand[5]->Integer.Value; in AcpiExOpcode_6A_0T_1R()
256 if (Index >= Operand[0]->Package.Count) in AcpiExOpcode_6A_0T_1R()
260 ACPI_FORMAT_UINT64 (Index), Operand[0]->Package.Count)); in AcpiExOpcode_6A_0T_1R()
287 for ( ; Index < Operand[0]->Package.Count; Index++) in AcpiExOpcode_6A_0T_1R()
291 ThisElement = Operand[0]->Package.Elements[Index]; in AcpiExOpcode_6A_0T_1R()
319 ReturnDesc->Integer.Value = Index; in AcpiExOpcode_6A_0T_1R()
A Dexnames.c185 UINT32 Index; in AcpiExNameSegment() local
206 for (Index = 0; in AcpiExNameSegment()
207 (Index < ACPI_NAME_SIZE) && (AcpiUtValidAcpiChar (*AmlAddress, 0)); in AcpiExNameSegment()
208 Index++) in AcpiExNameSegment()
210 CharBuf[Index] = *AmlAddress++; in AcpiExNameSegment()
211 ACPI_DEBUG_PRINT ((ACPI_DB_LOAD, "%c\n", CharBuf[Index])); in AcpiExNameSegment()
217 if (Index == 4) in AcpiExNameSegment()
235 else if (Index == 0) in AcpiExNameSegment()
A Dexoparg3.c178 UINT64 Index; in AcpiExOpcode_3A_1T_1R() local
203 Index = Operand[1]->Integer.Value; in AcpiExOpcode_3A_1T_1R()
210 if (Index >= Operand[0]->String.Length) in AcpiExOpcode_3A_1T_1R()
217 else if ((Index + Length) > Operand[0]->String.Length) in AcpiExOpcode_3A_1T_1R()
220 (ACPI_SIZE) Operand[0]->String.Length - (ACPI_SIZE) Index; in AcpiExOpcode_3A_1T_1R()
267 Operand[0]->String.Pointer + Index, Length); in AcpiExOpcode_3A_1T_1R()
A Dexoparg2.c284 UINT64 Index; in AcpiExOpcode_2A_1T_1R() local
400 Index = Operand[1]->Integer.Value; in AcpiExOpcode_2A_1T_1R()
401 ReturnDesc->Reference.Value = (UINT32) Index; in AcpiExOpcode_2A_1T_1R()
412 if (Index >= Operand[0]->String.Length) in AcpiExOpcode_2A_1T_1R()
420 &(Operand[0]->Buffer.Pointer [Index]); in AcpiExOpcode_2A_1T_1R()
425 if (Index >= Operand[0]->Buffer.Length) in AcpiExOpcode_2A_1T_1R()
433 &(Operand[0]->Buffer.Pointer [Index]); in AcpiExOpcode_2A_1T_1R()
438 if (Index >= Operand[0]->Package.Count) in AcpiExOpcode_2A_1T_1R()
446 &Operand[0]->Package.Elements [Index]; in AcpiExOpcode_2A_1T_1R()
461 ACPI_FORMAT_UINT64 (Index), (UINT32) Length)); in AcpiExOpcode_2A_1T_1R()
A Dexdebug.c80 UINT32 Index) in AcpiExDoDebugObject() argument
118 if (!((Level > 0) && Index == 0)) in AcpiExDoDebugObject()
142 if (Index > 0) in AcpiExDoDebugObject()
144 AcpiOsPrintf ("(%.2u) ", Index - 1); in AcpiExDoDebugObject()
/third_party/lib/acpica/source/components/resources/
A Drscreate.c244 UINT32 Index; in AcpiRsCreatePciRoutingTable() local
286 for (Index = 0; Index < NumberOfElements; Index++) in AcpiRsCreatePciRoutingTable()
310 Index, (*TopObjectList)->Package.Count)); in AcpiRsCreatePciRoutingTable()
328 Index, AcpiUtGetObjectTypeName (ObjDesc))); in AcpiRsCreatePciRoutingTable()
340 Index, AcpiUtGetObjectTypeName (ObjDesc))); in AcpiRsCreatePciRoutingTable()
361 Index, ObjDesc->Reference.Class)); in AcpiRsCreatePciRoutingTable()
407 Index, AcpiUtGetObjectTypeName (ObjDesc))); in AcpiRsCreatePciRoutingTable()
423 Index, AcpiUtGetObjectTypeName (ObjDesc))); in AcpiRsCreatePciRoutingTable()
/third_party/lib/acpica/source/components/utilities/
A Dutownerid.c189 UINT32 Index; in AcpiUtReleaseOwnerId() local
222 Index = ACPI_DIV_32 (OwnerId); in AcpiUtReleaseOwnerId()
227 if (AcpiGbl_OwnerIdMask[Index] & Bit) in AcpiUtReleaseOwnerId()
229 AcpiGbl_OwnerIdMask[Index] ^= Bit; in AcpiUtReleaseOwnerId()
A Dutstate.c258 UINT16 Index) in AcpiUtCreatePkgState() argument
279 State->Pkg.Index= Index; in AcpiUtCreatePkgState()
A Dutmisc.c289 ThisIndex = State->Pkg.Index; in AcpiUtWalkPackageTree()
313 State->Pkg.Index++; in AcpiUtWalkPackageTree()
314 while (State->Pkg.Index >= in AcpiUtWalkPackageTree()
343 State->Pkg.Index++; in AcpiUtWalkPackageTree()
/third_party/lib/acpica/source/components/namespace/
A Dnsrepair2.c134 UINT32 Index);
140 UINT32 Index,
682 UINT32 Index; in AcpiNsRepair_PRT() local
692 for (Index = 0; Index < ElementCount; Index++, TopObjectList++) in AcpiNsRepair_PRT()
720 Index)); in AcpiNsRepair_PRT()
993 UINT32 Index, in AcpiNsSortList() argument
1009 ObjDesc1 = Elements[j-1]->Package.Elements[Index]; in AcpiNsSortList()
1010 ObjDesc2 = Elements[j]->Package.Elements[Index]; in AcpiNsSortList()
1043 UINT32 Index) in AcpiNsRemoveElement() argument
1065 if (i == Index) in AcpiNsRemoveElement()
/third_party/lib/acpica/source/include/acpica/
A Dacstruct.h179 ACPI_OBJECT_INTEGER *Index; member
182 } Index; member
187 ACPI_OBJECT_INTEGER *Index; member
A Dacdispat.h212 UINT32 Index,
219 UINT32 Index,
234 UINT32 Index,
247 UINT32 Index,
/third_party/lib/acpica/tests/misc/
A Dgrammar.asl1951 Store (DeRefOf (Index (DeRefOf (Index (NEST, 1)), 3)), Local0)
6876 Store (DerefOf (Index (DerefOf (Index (C178, 0, )), 2, )), Local2)
6884 Store (0x5678, Index (DerefOf (Index (C178, 0, )), 3, ))
6886 Store (DerefOf (Index (DerefOf (Index (C178, 0, )), 3, )), Local2)
7862 Store ("DerefOf(Index(DerefOf(Index(TIM0,1)),... PASS", Debug)
7892 Store ("DerefOf(Index(DerefOf(Index(TIM0,1)),... PASS again", Debug)
8522 Store (DerefOf (Index (DerefOf (Index (DEST, 0)), 0)), Local4)
8528 Store (DerefOf (Index (DerefOf (Index (DEST, 0)), 1)), Local4)
8534 Store (DerefOf (Index (DerefOf (Index (DEST, 0)), 4)), Local4)
8565 Store (0x30, Index (DerefOf (Index (DEST, 0)), 0))
[all …]

Completed in 41 milliseconds

123