Home
last modified time | relevance | path

Searched refs:ACPI_NAMESEG_SIZE (Results 1 – 25 of 42) sorted by relevance

12

/freebsd/sys/dev/acpica/
H A Dacpi_quirk.c49 char sig[ACPI_NAMESEG_SIZE]; /* Table signature to match */
158 if (!strncmp(match->sig, "FADT", ACPI_NAMESEG_SIZE)) in acpi_table_quirks()
160 else if (!strncmp(match->sig, ACPI_SIG_DSDT, ACPI_NAMESEG_SIZE)) in acpi_table_quirks()
162 else if (!strncmp(match->sig, ACPI_SIG_XSDT, ACPI_NAMESEG_SIZE)) in acpi_table_quirks()
/freebsd/sys/contrib/dev/acpica/compiler/
H A Dasloffset.c261 (Op->Asl.FinalAmlLength - ACPI_NAMESEG_SIZE); in LsAmlOffsetWalk()
326 (NextOp->Asl.FinalAmlLength - ACPI_NAMESEG_SIZE); in LsAmlOffsetWalk()
373 (NextOp->Asl.FinalAmlLength - ACPI_NAMESEG_SIZE); in LsAmlOffsetWalk()
397 (NextOp->Asl.FinalAmlLength - ACPI_NAMESEG_SIZE); in LsAmlOffsetWalk()
422 (NextOp->Asl.FinalAmlLength - ACPI_NAMESEG_SIZE); in LsAmlOffsetWalk()
H A Daslanalyze.c574 char Name[ACPI_NAMESEG_SIZE + 1]; in ApCheckForGpeNameConflict()
575 char Target[ACPI_NAMESEG_SIZE]; in ApCheckForGpeNameConflict()
581 Name[ACPI_NAMESEG_SIZE] = 0; in ApCheckForGpeNameConflict()
H A Daslopt.c244 TargetPath->Length - ACPI_NAMESEG_SIZE]); in OptSearchToRoot()
278 *NewPath = UtLocalCacheCalloc (ACPI_NAMESEG_SIZE + 1); in OptSearchToRoot()
716 if (AmlNameStringLength <= ACPI_NAMESEG_SIZE) in OptOptimizeNamePath()
/freebsd/usr.sbin/bhyve/
H A Dbasl.h76 const uint8_t src_signature[ACPI_NAMESEG_SIZE], const uint32_t off,
92 const uint8_t signature[ACPI_NAMESEG_SIZE], uint8_t revision,
97 const uint8_t src_signature[ACPI_NAMESEG_SIZE], uint8_t size);
H A Dbasl.c41 uint8_t src_signature[ACPI_NAMESEG_SIZE];
253 basl_get_table_by_signature(const uint8_t signature[ACPI_NAMESEG_SIZE]) in basl_get_table_by_signature() argument
471 const uint8_t src_signature[ACPI_NAMESEG_SIZE], const uint32_t off, in basl_table_add_pointer() argument
584 const uint8_t signature[ACPI_NAMESEG_SIZE], const uint8_t revision, in basl_table_append_header() argument
594 memcpy(header_le.Signature, signature, ACPI_NAMESEG_SIZE); in basl_table_append_header()
603 memcpy(header_le.AslCompilerId, "BASL", ACPI_NAMESEG_SIZE); in basl_table_append_header()
644 const uint8_t src_signature[ACPI_NAMESEG_SIZE], const uint8_t size) in basl_table_append_pointer() argument
/freebsd/sys/contrib/dev/acpica/components/namespace/
H A Dnsutils.c354 Info->Length = (ACPI_NAMESEG_SIZE * Info->NumSegments) + in AcpiNsGetInternalNameLength()
446 for (i = 0; i < ACPI_NAMESEG_SIZE; i++) in AcpiNsBuildInternalName()
475 Result += ACPI_NAMESEG_SIZE; in AcpiNsBuildInternalName()
728 j += ACPI_NAMESEG_SIZE; in AcpiNsExternalizeName()
729 NamesIndex += ACPI_NAMESEG_SIZE; in AcpiNsExternalizeName()
H A Dnsnames.c271 ((char *) Buffer->Pointer) [ACPI_NAMESEG_SIZE] = 0; in AcpiNsHandleToName()
371 char Name[ACPI_NAMESEG_SIZE]; in AcpiNsBuildNormalizedPath()
654 for (i = 0; (i < ACPI_NAMESEG_SIZE) && *InputPath; i++) in AcpiNsNormalizePathname()
/freebsd/sys/contrib/dev/acpica/components/executer/
H A Dexnames.c210 SizeNeeded = 1 + (ACPI_NAMESEG_SIZE * NumNameSegs) + 2 + 1; in AcpiExAllocateNameString()
214 SizeNeeded = PrefixCount + (ACPI_NAMESEG_SIZE * NumNameSegs) + 2 + 1; in AcpiExAllocateNameString()
313 (Index < ACPI_NAMESEG_SIZE) && (AcpiUtValidNameChar (*AmlAddress, 0)); in AcpiExNameSegment()
/freebsd/sys/contrib/dev/acpica/components/disassembler/
H A Ddmnames.c202 Length = ACPI_NAMESEG_SIZE; in AcpiDmDumpName()
203 for (i = (ACPI_NAMESEG_SIZE - 1); i != 0; i--) in AcpiDmDumpName()
381 Name += ACPI_NAMESEG_SIZE; in AcpiDmNamestring()
/freebsd/sys/contrib/dev/acpica/components/tables/
H A Dtbprint.c230 AcpiTbFixString (OutHeader->Signature, ACPI_NAMESEG_SIZE); in AcpiTbCleanupTableHeader()
233 AcpiTbFixString (OutHeader->AslCompilerId, ACPI_NAMESEG_SIZE); in AcpiTbCleanupTableHeader()
H A Dtbfind.c220 Header.Signature, ACPI_NAMESEG_SIZE)) in AcpiTbFindTable()
248 Header.Signature, ACPI_NAMESEG_SIZE) && in AcpiTbFindTable()
/freebsd/sys/arm64/acpica/
H A Dacpi_machdep.c70 if (strncmp(header->Signature, sig, ACPI_NAMESEG_SIZE) != 0) { in map_table()
106 if (strncmp(table->Signature, sig, ACPI_NAMESEG_SIZE) != 0) { in probe_table()
/freebsd/sys/contrib/dev/acpica/include/
H A Dactypes.h523 #define ACPI_NAMESEG_SIZE 4 /* Fixed by ACPI spec */ macro
675 …SEG(a,b) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_CAST_PTR (char, (b)), ACPI_NAMESEG_SIZE))
676 …t,src) (strncpy (ACPI_CAST_PTR (char, (dest)), ACPI_CAST_PTR (char, (src)), ACPI_NAMESEG_SIZE))
686 strnlen (a, ACPI_NAMESEG_SIZE) == ACPI_NAMESEG_SIZE)
H A Dactbl.h216 char Signature[ACPI_NAMESEG_SIZE]; /* ASCII table signature */
223 char AslCompilerId[ACPI_NAMESEG_SIZE]; /* ASCII ASL compiler vendor ID */
H A Dacdebug.h190 char NameSeg[ACPI_NAMESEG_SIZE + 1];
/freebsd/sys/amd64/acpica/
H A Dacpi_machdep.c102 if (strncmp(header->Signature, sig, ACPI_NAMESEG_SIZE) != 0) { in map_table()
131 ret = strncmp(table->Signature, sig, ACPI_NAMESEG_SIZE) == 0; in probe_table()
/freebsd/sys/i386/acpica/
H A Dacpi_machdep.c120 if (strncmp(header->Signature, sig, ACPI_NAMESEG_SIZE) != 0) { in map_table()
149 ret = strncmp(table->Signature, sig, ACPI_NAMESEG_SIZE) == 0; in probe_table()
/freebsd/sys/contrib/dev/acpica/components/events/
H A Devgpeinit.c447 char Name[ACPI_NAMESEG_SIZE + 1]; in AcpiEvMatchGpeMethod()
468 Name[ACPI_NAMESEG_SIZE] = 0; in AcpiEvMatchGpeMethod()
/freebsd/sys/contrib/dev/acpica/components/parser/
H A Dpsargs.c321 End += 1 + (2 * ACPI_NAMESEG_SIZE); in AcpiPsGetNextNamestring()
328 End += 2 + (*(End + 1) * ACPI_NAMESEG_SIZE); in AcpiPsGetNextNamestring()
335 End += ACPI_NAMESEG_SIZE; in AcpiPsGetNextNamestring()
715 ParserState->Aml += ACPI_NAMESEG_SIZE; in AcpiPsGetNextField()
/freebsd/sys/contrib/dev/acpica/components/utilities/
H A Dutascii.c179 for (i = 0; i < ACPI_NAMESEG_SIZE; i++) in AcpiUtValidNameseg()
H A Dutstring.c315 for (i = 0; i < ACPI_NAMESEG_SIZE; i++) in AcpiUtRepairName()
/freebsd/sys/contrib/dev/acpica/common/
H A Ddmrestag.c844 PathnameEnd = Pathname + (RequiredSize - ACPI_NAMESEG_SIZE - 1); in AcpiGetTagPathname()
847 PathnameEnd += ACPI_NAMESEG_SIZE; in AcpiGetTagPathname()
897 char Name[ACPI_NAMESEG_SIZE]; in AcpiDmUpdateResourceName()
/freebsd/sys/dev/acpica/Osd/
H A DOsdTable.c79 for (int i = 0; i < ACPI_NAMESEG_SIZE; i++) in AcpiOsTableOverride()
/freebsd/usr.sbin/acpi/acpidump/
H A Dacpi.c278 if (memcmp(facs->Signature, ACPI_SIG_FACS, ACPI_NAMESEG_SIZE) != 0 || in acpi_handle_fadt()
2284 acpi_print_string(sdp->Signature, ACPI_NAMESEG_SIZE); in acpi_print_sdt()
2293 acpi_print_string(sdp->AslCompilerId, ACPI_NAMESEG_SIZE); in acpi_print_sdt()
2580 if (memcmp(sdp->Signature, known[i].sig, ACPI_NAMESEG_SIZE) in acpi_report_sdp()
2607 if (memcmp(tbl, rsdp->Signature, ACPI_NAMESEG_SIZE) == 0) { in acpi_handle_rsdt()
2628 if (tbl != NULL && memcmp(sdp->Signature, tbl, ACPI_NAMESEG_SIZE) != 0) in acpi_handle_rsdt()
2648 if (memcmp(rsdp->Signature, "RSDT", ACPI_NAMESEG_SIZE) != 0 || in sdt_load_devmem()
2654 if (memcmp(rsdp->Signature, "XSDT", ACPI_NAMESEG_SIZE) != 0 || in sdt_load_devmem()

12