Lines Matching +full:use +full:- +full:external +full:- +full:names

3  * Module Name: nsutils - Utilities for accessing ACPI namespace, accessing
9 * Copyright (C) 2000 - 2014, Intel Corp.
12 * Redistribution and use in source and binary forms, with or without
23 * 3. Neither the names of the above-listed copyright holders nor the names
38 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
41 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
66 * PARAMETERS: Node - Object
67 * Message - Prefix message
111 * PARAMETERS: Node - Parent Node to be examined
132 return_UINT8 (Node->Type); in AcpiNsGetType()
140 * PARAMETERS: Type - A namespace object type
142 * RETURN: LOCAL if names must be found locally in objects of the
172 * PARAMETERS: Info - Info struct initialized with the
173 * external name pointer.
178 * corresponding to the external (ASL) namestring.
193 NextExternalChar = Info->ExternalName; in AcpiNsGetInternalNameLength()
194 Info->NumCarats = 0; in AcpiNsGetInternalNameLength()
195 Info->NumSegments = 0; in AcpiNsGetInternalNameLength()
196 Info->FullyQualified = FALSE; in AcpiNsGetInternalNameLength()
207 Info->FullyQualified = TRUE; in AcpiNsGetInternalNameLength()
223 Info->NumCarats++; in AcpiNsGetInternalNameLength()
235 Info->NumSegments = 1; in AcpiNsGetInternalNameLength()
240 Info->NumSegments++; in AcpiNsGetInternalNameLength()
245 Info->Length = (ACPI_NAME_SIZE * Info->NumSegments) + in AcpiNsGetInternalNameLength()
246 4 + Info->NumCarats; in AcpiNsGetInternalNameLength()
248 Info->NextExternalChar = NextExternalChar; in AcpiNsGetInternalNameLength()
256 * PARAMETERS: Info - Info struct fully initialized
261 * corresponding to the external (ASL) namestring.
269 UINT32 NumSegments = Info->NumSegments; in AcpiNsBuildInternalName()
270 char *InternalName = Info->InternalName; in AcpiNsBuildInternalName()
271 const char *ExternalName = Info->NextExternalChar; in AcpiNsBuildInternalName()
281 if (Info->FullyQualified) in AcpiNsBuildInternalName()
308 if (Info->NumCarats) in AcpiNsBuildInternalName()
310 for (i = 0; i < Info->NumCarats; i++) in AcpiNsBuildInternalName()
335 for (; NumSegments; NumSegments--) in AcpiNsBuildInternalName()
373 if (Info->FullyQualified) in AcpiNsBuildInternalName()
392 * PARAMETERS: *ExternalName - External representation of name
393 * **Converted Name - Where to return the resulting
398 * DESCRIPTION: Convert an external representation (e.g. "\_PR_.CPU0")
455 * PARAMETERS: InternalNameLength - Lenth of the internal name below
456 * InternalName - Internal representation of name
457 * ConvertedNameLength - Where the length is returned
458 * ConvertedName - Where the resulting external name
464 * to its external (printable) form (e.g. "\_PR_.CPU0")
529 * Check for object names. Note that there could be 0-255 of these in AcpiNsExternalizeName()
530 * 4-byte elements. in AcpiNsExternalizeName()
538 /* <count> 4-byte names */ in AcpiNsExternalizeName()
547 /* Two 4-byte names */ in AcpiNsExternalizeName()
563 /* one 4-byte name */ in AcpiNsExternalizeName()
573 * of the prefix, length of all object names, length of any required in AcpiNsExternalizeName()
574 * punctuation ('.') between object names, plus the NULL terminator. in AcpiNsExternalizeName()
577 ((NumSegments > 0) ? (NumSegments - 1) : 0) + 1; in AcpiNsExternalizeName()
613 /* Copy and validate the 4-char name segment */ in AcpiNsExternalizeName()
636 * PARAMETERS: Handle - Handle to be validated and typecast to a
645 * and keep all pointers within this subsystem - however this introduces
701 * Free the entire namespace -- all nodes and all objects in AcpiNsTerminate()
726 * PARAMETERS: Type - A valid namespace type
756 * PARAMETERS: *Pathname - Name to be found, in external (ASL) format. The
759 * PrefixNode - Root of subtree to be searched, or NS_ALL for the
763 * Flags - Used to indicate whether to perform upsearch or
765 * ReturnNode - Where the Node is returned