Home | History | Annotate | Download | only in common

Lines Matching defs:Length

168     UINT32                  Length);
177 * Length - Length of the buffer
184 * DESCRIPTION: Format the contents of an arbitrary length data buffer (in the
193 UINT32 Length,
203 if (!Length)
211 while (i < Length)
213 if ((Length > 16) && (i != 0))
215 if ((Length - i) < 16)
216 AcpiOsPrintf ("\n/* %3.3Xh %4.4u %3u */ ", AbsoluteOffset, AbsoluteOffset, Length - i);
226 if (i + j >= Length)
230 AcpiOsPrintf ("%*s", (48 - (3 * (Length -i))), " ");
240 if (i + j >= Length)
284 * ByteLength - Length of the buffer
302 UINT32 Length;
307 Length = ByteLength - 2; /* Last two bytes are the null terminator */
311 for (i = 0; i < Length; i += 2)
321 for (i = 1; i < Length; i += 2)
332 for (i = 0; i < Length; i += 2)
353 * RETURN: Length of the table (there is not always a length field,
354 * use revision or length if available (ACPI 2.0+))
365 UINT32 Length = sizeof (ACPI_RSDP_COMMON);
372 Status = AcpiDmDumpTable (Length, 0, Table, 0, AcpiDmTableInfoRsdp1);
375 return (Length);
388 /* The RSDP for ACPI 2.0+ contains more data and has a Length field */
392 Length = Rsdp->Length;
393 Status = AcpiDmDumpTable (Length, 0, Table, 0, AcpiDmTableInfoRsdp2);
396 return (Length);
411 return (Length);
444 Entries = (Table->Length - sizeof (ACPI_TABLE_HEADER)) / sizeof (UINT32);
484 Entries = (Table->Length - sizeof (ACPI_TABLE_HEADER)) / sizeof (UINT64);
506 * contents of the FADT because of BIOS bugs. The table length
520 Status = AcpiDmDumpTable (Table->Length, 0, Table, 0,
529 if ((Table->Length > ACPI_FADT_V1_SIZE) &&
530 (Table->Length <= ACPI_FADT_V2_SIZE))
532 Status = AcpiDmDumpTable (Table->Length, 0, Table, 0,
542 else if (Table->Length > ACPI_FADT_V2_SIZE)
544 Status = AcpiDmDumpTable (Table->Length, 0, Table, 0,
553 if (Table->Length > ACPI_FADT_V3_SIZE)
555 Status = AcpiDmDumpTable (Table->Length, 0, Table, 0,
565 if (Table->Length > ACPI_FADT_V5_SIZE)
567 Status = AcpiDmDumpTable (Table->Length, 0, Table, 0,
576 /* Validate various fields in the FADT, including length */
578 AcpiTbCreateLocalFadt (Table, Table->Length);
580 /* Validate FADT length against the revision */
582 AcpiDmValidateFadtLength (Table->Revision, Table->Length);
591 * Length - FADT length (Header->Length
595 * DESCRIPTION: Check the FADT revision against the expected table length for
596 * that revision. Issue a warning if the length is not what was
605 UINT32 Length)
648 if (Length == ExpectedLength)
654 "\n// ACPI Warning: FADT revision %X does not match length: "
656 Revision, Length, ExpectedLength);