HomeSort by: relevance | last modified time | path
    Searched defs:Index (Results 1 - 25 of 40) sorted by relevancy

1 2

  /src/sys/external/bsd/acpica/dist/utilities/
uthex.c 186 UINT64 Index;
188 AcpiUtShortShiftRight (Integer, Position, &Index);
189 return (AcpiGbl_HexToAscii[Index & 0xF]);
utownerid.c 207 * allocations. (ACPI_NUM_OWNERID_MASKS + 1) because first index
237 * Found a free ID. The actual ID is the bit index plus one,
247 * Construct encoded ID from the index and bit position
303 UINT32 Index;
334 /* Decode ID to index/offset pair */
336 Index = ACPI_DIV_32 (OwnerId);
341 if (AcpiGbl_OwnerIdMask[Index] & Bit)
343 AcpiGbl_OwnerIdMask[Index] ^= Bit;
  /src/sys/external/bsd/gnu-efi/dist/lib/
error.c 75 UINTN Index;
77 for (Index = 0; ErrorCodeTable[Index].Desc; Index +=1) {
78 if (ErrorCodeTable[Index].Code == Status) {
79 StrCpy (Buffer, ErrorCodeTable[Index].Desc);
event.c 86 UINTN Index;
110 Status = uefi_call_wrapper(BS->WaitForEvent, 3, 2, WaitList, &Index);
117 if (!EFI_ERROR(Status) && Index == 1) {
128 Status = uefi_call_wrapper(BS->WaitForEvent, 3, 1, &Event, &Index);
130 ASSERT (Index == 0);
smbios.c 41 UINT16 Index;
50 for (Index = 0; Index < SmbiosTable->TableLength ; Index++) {
104 UINT16 Index;
115 for (Index = 1; Index <= StringNumber; Index++) {
116 if (StringNumber == Index) {
guid.c 151 UINTN Index;
157 for (Index=0; KnownGuids[Index].Guid; Index++) {
158 if (CompareGuid(Guid, KnownGuids[Index].Guid) == 0) {
159 UnicodeSPrint (Buffer, 0, KnownGuids[Index].GuidName);
init.c 119 UINTN Index, Position, Length;
136 for (Index=0; Index < NoHandles; Index++) {
137 Status = uefi_call_wrapper(BS->HandleProtocol, 3, Handles[Index], &UnicodeCollationProtocol, (VOID*)&Ui);
hand.c 34 UINTN NumberHandles, Index;
45 for (Index=0; Index < NumberHandles; Index++) {
46 Status = uefi_call_wrapper(BS->HandleProtocol, 3, Handles[Index], ProtocolGuid, Interface);
121 UINTN Index;
180 for(Index=0;Index<NoBlockIoHandles;Index++) {
185 BlockIoBuffer[Index],
    [all...]
misc.c 379 UINTN Index;
395 for (Index = 0; Index < ((VarSize/sizeof(UINT16)) - 1); Index++) {
396 NewBootOptionArray[Index] = BootOptionArray[Index];
401 NewBootOptionArray[Index] = BootOption;
518 UINTN Index;
520 for(Index=0;Index<ST->NumberOfTableEntries;Index++)
    [all...]
  /src/sys/external/bsd/acpica/dist/executer/
exoparg3.c 289 UINT64 Index;
299 case AML_MID_OP: /* Mid (Source[0], Index[1], Length[2], Result[3]) */
314 Index = Operand[1]->Integer.Value;
318 * If the index is beyond the length of the String/Buffer, or if the
321 if (Index >= Operand[0]->String.Length)
328 else if ((Index + Length) > Operand[0]->String.Length)
331 (ACPI_SIZE) Operand[0]->String.Length - (ACPI_SIZE) Index;
378 Operand[0]->String.Pointer + Index, Length);
exoparg6.c 336 UINT64 Index;
364 Index = Operand[5]->Integer.Value;
365 if (Index >= Operand[0]->Package.Count)
368 "Index (0x%8.8X%8.8X) beyond package end (0x%X)",
369 ACPI_FORMAT_UINT64 (Index), Operand[0]->Package.Count));
396 for ( ; Index < Operand[0]->Package.Count; Index++)
400 ThisElement = Operand[0]->Package.Elements[Index];
426 /* Match found: Index is the return value */
428 ReturnDesc->Integer.Value = Index;
    [all...]
exnames.c 293 UINT32 Index;
312 for (Index = 0;
313 (Index < ACPI_NAMESEG_SIZE) && (AcpiUtValidNameChar (*AmlAddress, 0));
314 Index++)
316 CharBuf[Index] = *AmlAddress++;
322 if (Index == 4)
340 else if (Index == 0)
exoparg2.c 392 UINT64 Index;
495 case AML_INDEX_OP: /* Index (Source Index Result) */
506 /* Initialize the Index reference object */
508 Index = Operand[1]->Integer.Value;
509 ReturnDesc->Reference.Value = (UINT32) Index;
514 * Verify that the index is within range.
520 if (Index >= Operand[0]->String.Length)
528 &(Operand[0]->Buffer.Pointer [Index]);
533 if (Index >= Operand[0]->Buffer.Length
    [all...]
  /src/sys/external/bsd/acpica/dist/compiler/
aslmessages.c 454 UINT32 Index;
463 Index = MessageId;
465 if (Index >= ACPI_ARRAY_LENGTH (AslCompilerMsgs))
476 Index = MessageId - ASL_MSG_TABLE_COMPILER;
478 if (Index >= ACPI_ARRAY_LENGTH (AslTableCompilerMsgs))
489 Index = MessageId - ASL_MSG_PREPROCESSOR;
491 if (Index >= ACPI_ARRAY_LENGTH (AslPreprocessorMsgs))
504 return (MessageTable[Index]);
601 UINT32 Index = 1;
617 for (i = 1; Index < ACPI_ARRAY_LENGTH (AslCompilerMsgs); i++, Index++
    [all...]
asllistsup.c 480 UINT32 Index = 16;
563 FlPrintFile (FileId, "\n%*s{\n", Index, " ");
565 Index += 4;
577 Index -= 4;
578 FlPrintFile (FileId, "%*s}\n", Index, " ");
592 FlPrintFile (FileId, "%*s", Index, " ");
aslopt.c 325 UINT32 Index;
364 Index = (NumCommonSegments * ACPI_PATH_SEGMENT_LENGTH) + 1;
367 &(ACPI_CAST_PTR (char, TargetPath->Pointer)) [Index],
368 &(ACPI_CAST_PTR (char, CurrentPath->Pointer)) [Index]))
422 Index = (NumCommonSegments * ACPI_PATH_SEGMENT_LENGTH) + 1;
434 Index -= ACPI_PATH_SEGMENT_LENGTH;
448 if (Index > TargetPath->Length)
450 Index = TargetPath->Length;
454 &(ACPI_CAST_PTR (char, TargetPath->Pointer))[Index]);
aslpredef.c 198 UINT32 Index;
205 Index = ApCheckForPredefinedName (Op, Op->Asl.NameSeg);
207 switch (Index)
242 ThisName = &AcpiGbl_PredefinedMethods[Index];
357 UINT32 Index;
369 Index = ApCheckForPredefinedName (MethodInfo->Op,
373 switch (Index)
391 ThisName = &AcpiGbl_PredefinedMethods[Index];
463 UINT32 Index;
472 Index = ApCheckForPredefinedName (Op, Name)
    [all...]
aslopcodes.c 861 UINT16 Index;
864 Index = (UINT16) (Op->Asl.ParseOpcode - ASL_PARSE_OPCODE_BASE);
866 Op->Asl.AmlOpcode = AslKeywordMapping[Index].AmlOpcode;
867 Op->Asl.AcpiBtype = AslKeywordMapping[Index].AcpiBtype;
868 Op->Asl.CompileFlags |= AslKeywordMapping[Index].Flags;
872 Op->Asl.Value.Integer = AslKeywordMapping[Index].Value;
asltransform.c 638 UINT16 Index;
662 Index = (UINT16) (Next->Asl.ParseOpcode - ASL_PARSE_OPCODE_BASE);
663 Btype = AslKeywordMapping[Index].AcpiBtype;
  /src/sys/external/bsd/acpica/dist/dispatcher/
dsmthdat.c 167 UINT32 Index,
173 UINT32 Index,
181 UINT32 Index,
264 UINT32 Index;
272 for (Index = 0; Index < ACPI_METHOD_NUM_LOCALS; Index++)
274 if (WalkState->LocalVariables[Index].Object)
277 Index, WalkState->LocalVariables[Index].Object))
    [all...]
dspkginit.c 214 UINT32 Index;
387 for (Index = 0; Index < ((UINT32) ReferenceCount - 1); Index++)
dswstate.c 190 UINT32 Index;
225 Index = (UINT32) WalkState->ResultCount % ACPI_RESULTS_FRAME_OBJ_NUM;
227 *Object = State->Results.ObjDesc [Index];
235 State->Results.ObjDesc [Index] = NULL;
236 if (Index == 0)
246 "Obj=%p [%s] Index=%X State=%p Num=%X\n", *Object,
248 Index, WalkState, WalkState->ResultCount));
274 UINT32 Index;
320 Index = (UINT32) WalkState->ResultCount % ACPI_RESULTS_FRAME_OBJ_NUM;
321 State->Results.ObjDesc [Index] = Object
    [all...]
  /src/sys/external/bsd/acpica/dist/hardware/
hwregs.c 377 UINT8 Index;
405 Index = 0;
418 Address + Index * ACPI_DIV_8 (AccessWidth),
424 Address + Index * ACPI_DIV_8 (AccessWidth),
431 * Use offset style bit writes because "Index * AccessWidth" is
434 ACPI_SET_BITS (Value, Index * AccessWidth,
438 Index++;
474 UINT8 Index;
499 Index = 0;
503 * Use offset style bit reads because "Index * AccessWidth" i
    [all...]
  /src/sys/external/bsd/acpica/dist/resources/
rscreate.c 352 UINT32 Index;
394 for (Index = 0; Index < NumberOfElements; Index++)
418 Index, (*TopObjectList)->Package.Count));
436 Index, AcpiUtGetObjectTypeName (ObjDesc)));
448 Index, AcpiUtGetObjectTypeName (ObjDesc)));
469 Index, ObjDesc->Reference.Class));
519 Index, AcpiUtGetObjectTypeName (ObjDesc)));
535 Index, AcpiUtGetObjectTypeName (ObjDesc)))
    [all...]
  /src/sys/external/bsd/acpica/dist/debugger/
dbmethod.c 278 UINT32 Index;
318 /* Get the index and value */
320 Index = strtoul (IndexArg, NULL, 16);
346 if (Index > ACPI_METHOD_MAX_ARG)
349 Index);
354 Index, ObjDesc, WalkState);
360 ObjDesc = WalkState->Arguments[Index].Object;
362 AcpiOsPrintf ("Arg%u: ", Index);
370 if (Index > ACPI_METHOD_MAX_LOCAL)
373 Index);
    [all...]

Completed in 66 milliseconds

1 2