Lines Matching defs:length

37 	u16 length;
173 * for GPEs, the legacy length (byte_width) is used instead to
278 u32 length;
295 length = fadt_desc->length;
301 (void)acpi_ut_verify_checksum(table, length);
305 acpi_tb_create_local_fadt(table, length);
343 * length - Length of the table
354 void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length)
361 if (length > sizeof(struct acpi_table_fadt)) {
363 "FADT (revision %u) is longer than %s length, "
364 "truncating length %u to %u",
366 length,
377 ACPI_MIN(length, sizeof(struct acpi_table_fadt)));
444 u8 length;
456 * Note: The FADT revision value is unreliable. Only the length can be
459 if (acpi_gbl_FADT.header.length <= ACPI_FADT_V2_SIZE) {
467 * Now we can update the local FADT length to the length of the
471 acpi_gbl_FADT.header.length = sizeof(struct acpi_table_fadt);
492 * length and register name.
502 length = *ACPI_ADD_PTR(u8,
504 fadt_info_table[i].length);
554 * For each extended field, check for length mismatch
555 * between the legacy length field and the corresponding
556 * 64-bit X length field.
557 * Note: If the legacy length field is > 0xFF bits, ignore
561 if ((ACPI_MUL_8(length) <= ACPI_UINT8_MAX) &&
563 ACPI_MUL_8(length))) {
565 "32/64X length mismatch in FADT/%s: %u/%u",
567 ACPI_MUL_8(length),
587 length,
596 * Both the address and length must be non-zero.
598 if (!address64->address || !length) {
600 "Required FADT field %s has zero address and/or length: "
605 length));
610 * length field. If present, both the address and length must
613 if ((address64->address && !length) ||
614 (!address64->address && length)) {
618 (length ? "Length" :
620 (length ? "Address" :
624 length));
670 "Invalid length for FADT/%s: %u, using default %u",
685 * Get the length of the individual PM1 registers (enable and status).
686 * Each register is defined to be (event block length / 2). Extra divide
699 * Register block. Each is of length (pm1_event_length/2)