Home | History | Annotate | Download | only in acpihelp

Lines Matching defs:Name

3  * Module Name: ahdecode - Miscellaneous decoding for acpihelp utility
75 * 3.5. Neither the name Intel nor any other trademark owned or controlled by
164 char *Name,
169 char *Name);
173 char *Name);
273 for (Info = Gbl_PreprocessorDirectives; Info->Name; Info++)
275 printf (" %-36s : %s\n", Info->Name, Info->Description);
282 * FUNCTION: AhFindPredefinedNames (entry point for predefined name search)
284 * PARAMETERS: NamePrefix - Name or prefix to find. Must start with
290 * input name or prefix. Includes the required number of arguments
301 char Name[ACPI_NAMESEG_SIZE + 1];
313 printf ("%.8s: Predefined name must be 4 characters maximum\n",
318 /* Construct a local name or name prefix */
326 Name[0] = '_';
327 AcpiUtSafeStrncpy (&Name[1], NamePrefix, 4);
331 AhDoSpecialNames (Name);
333 /* Lookup and display the name(s) */
335 Found = AhDisplayPredefinedName (Name, Length);
338 printf ("%s, no matching predefined names\n", Name);
347 * PARAMETERS: Name - Name or prefix to find
367 char *Name)
375 switch (Name[1])
378 if (Name[2] == 'J')
380 if (isdigit ((int) Name[3]) || (Name[3] == 'X'))
384 Name[3] = 'x';
394 if ((isxdigit ((int) Name[2]) && isxdigit ((int) Name[3]))
396 ((Name[2] == 'X') && (Name[3] == 'X')))
400 Name[2] = 'x';
401 Name[3] = 'x';
406 if ((Name[2] == 'C') || (Name[2] == 'L'))
408 if (isdigit ((int) Name[3]) || (Name[3] == 'X'))
412 Name[3] = 'x';
418 if (Name[2] == '_')
422 Name[3] = 'x';
436 * PARAMETERS: Name - Name or name prefix
441 * the input name or name prefix.
447 char *Name,
456 /* Find/display all names that match the input name prefix */
458 for (Info = AslPredefinedInfo; Info->Name; Info++)
460 if (!Name)
463 printf ("%s: <%s>\n", Info->Name, Info->Description);
466 AhDisplayPredefinedInfo (Info->Name);
474 if (Info->Name[i] != Name[i])
484 printf ("%s: <%s>\n", Info->Name, Info->Description);
487 AhDisplayPredefinedInfo (Info->Name);
491 if (!Name)
503 * PARAMETERS: Name - Exact 4-character ACPI name.
507 * DESCRIPTION: Find the name in the main ACPICA predefined info table and
517 char *Name)
526 ThisName = AcpiUtMatchPredefinedMethod (Name);
534 ThisName = AcpiUtMatchResourceName (Name);
546 * PARAMETERS: ThisName - Entry in the predefined method/name table
550 * DESCRIPTION: Display information about a resource descriptor name.
565 ThisName->Info.Name,
575 * PARAMETERS: Name - Device Hardware ID string.
586 char *Name)
595 /* Null input name indicates "display all" */
597 if (!Name || (Name[0] == '*'))
600 for (Info = AslDeviceIds; Info->Name; Info++)
602 printf ("%8s %s\n", Info->Name, Info->Description);
608 Length = strlen (Name);
611 printf ("%.8s: Hardware ID must be 8 characters maximum\n", Name);
615 /* Find/display all names that match the input name prefix */
617 AcpiUtStrupr (Name);
618 for (Info = AslDeviceIds; Info->Name; Info++)
623 if (Info->Name[i] != Name[i])
633 printf ("%8s %s\n", Info->Name, Info->Description);
639 printf ("%s, Hardware ID not found\n", Name);