Lines Matching full:external

3  * Module Name: dmextern - Support for External() ASL statements
165 * It contains the code to create and emit any necessary External() ASL
174 * ObjectTypeKeyword. Used to generate typed external declarations
371 /* For External() statements, we do not want a leading '\' */
420 * DESCRIPTION: Add external files to global list
473 * DESCRIPTION: Clear the external file list
502 * DESCRIPTION: Process the optional external reference file.
505 * External (<Method namepath>, MethodObj, <ArgCount>)
508 * External (_SB_.PCI0.XHC_.PS0X, MethodObj, 4)
533 fprintf (stderr, "Could not open external reference file \"%s\"\n",
543 Token = strtok (AslGbl_StringBuffer, METHOD_SEPARATORS); /* "External" */
549 if (strcmp (Token, "External"))
593 /* Add this external to the global list */
595 AcpiOsPrintf ("%s: Importing method external (%u arguments) %s\n",
606 "Did not find any external methods in reference file \"%s\"\n",
611 /* Add the external(s) to the namespace */
615 AcpiOsPrintf ("%s: Imported %u external method definitions\n",
631 * Flags - To be passed to the external object
636 * will in turn be later emitted as an External() declaration
690 /* Set new external path */
710 /* Create the new External() declaration node */
732 * ExternalPath - Will contain the external path of the node
737 * DESCRIPTION: Get the External and Internal path from the given node.
755 /* Get the full external and internal pathnames to the node */
814 * Flags - To be passed to the external object
819 * will in turn be later emitted as an External() declaration
843 /* Get the full external and internal pathnames to the node */
861 /* Create the new External() declaration node */
879 * PARAMETERS: Path - External name of the object to be added
882 * Flags - To be passed to the external object
887 * will in turn be later emitted as an External() declaration
922 /* Create the internal and external pathnames */
938 /* Create the new External() declaration node */
956 * PARAMETERS: ExternalPath - External path to the object
960 * Flags - To be passed to the external object
966 * External() declarations in the disassembled output.
968 * Note: The external name should not include a root prefix
969 * (backslash). We do not want External() statements to contain
970 * a leading '\', as this prevents duplicate external statements
973 * External (\ABCD)
974 * External (ABCD)
980 * an External() statement:
1013 * If this external came from an External() opcode, we are
1047 /* Allocate and init a new External() descriptor */
1056 "Adding external reference node (%s) type [%s]\n",
1107 * PARAMETERS: Path - Path of the external
1108 * Type - Type of the external
1113 * DESCRIPTION: Resolve the external within the namespace by AcpiNsLookup.
1114 * If the returned node is an external and has the same type
1115 * we assume that it was either an existing external or a
1136 "while adding external to namespace [%s]", Path));
1139 /* Note the asl code "external(a) external(a)" is acceptable ASL */
1160 * PARAMETERS: Type - Type of the external
1166 * DESCRIPTION: Add one external to the namespace. Allows external to be
1211 * PARAMETERS: Path - External parse object
1213 * ParamCount - External method parameter count
1217 * DESCRIPTION: Add one external to the namespace by resolvign the external
1263 ACPI_EXTERNAL_LIST *External = AcpiGbl_ExternalList;
1266 while (External)
1268 AcpiDmAddOneExternalToNamespace (External->InternalPath,
1269 External->Type, External->Value);
1270 External = External->Next;
1282 * external list
1284 * DESCRIPTION: Return the number of unresolved external methods that have been
1291 * Note: resolved external control methods are external control
1301 ACPI_EXTERNAL_LIST *External = AcpiGbl_ExternalList;
1305 while (External)
1307 if (External->Type == ACPI_TYPE_METHOD &&
1308 !(External->Flags & ACPI_EXT_ORIGIN_FROM_OPCODE))
1313 External = External->Next;
1328 * DESCRIPTION: Free the entire External info list
1357 * DESCRIPTION: Emit an External() ASL statement for each of the externals in
1358 * the global external info list.
1375 * Determine the number of control methods in the external list, and
1400 " /*\n * External declarations were imported from\n"
1412 AcpiOsPrintf (" External (%s%s)",
1426 /* Check for external from a external references file */
1436 AcpiOsPrintf (" // From external reference file");
1439 /* This is the normal external case */
1460 /* Free this external info block and move on to next external */
1507 /* Get the full external and internal pathnames to the node */
1550 * DESCRIPTION: Emit a warning when printing conflicting ASL external
1560 " Warning - Emitting ASL code \"External (%s)\"\n"
1563 " This external declaration may need to be "
1573 * PARAMETERS: Op External Parse Object
1577 * DESCRIPTION: Emit an External() ASL statement for the current External
1578 * parse object. Note: External Ops are named types so the
1588 AcpiOsPrintf ("External (");
1605 * DESCRIPTION: Search the External List to see if the input Path has a
1667 * DESCRIPTION: Issue warning message if there are unresolved external control
1673 Summary of the external control method problem:
1679 The disassembler tracks any such references, and will emit an External()
1738 In other words, if ABCD and EFGH are actually external control methods
1770 "%s iASL Warning: There %s %u external control method%s found during\n"
1785 "%s To specify the tables needed to resolve external control method\n"
1795 "%s control method external declarations with the associated method\n"
1797 "%s External (<method pathname>, MethodObj, <argument count>)\n"