Lines Matching refs:Length

237 	rt_buffer.Length = ACPI_ALLOCATE_LOCAL_BUFFER;  in dev_resource_enum_callback()
303 rt_buffer.Length = ACPI_ALLOCATE_LOCAL_BUFFER; in acpi_current_resource_get()
336 rt_buffer.Length = ACPI_ALLOCATE_LOCAL_BUFFER; in acpi_possible_resource_get()
398 rt_buffer.Length = ARRAY_SIZE(acpi.pci_prt_table) * sizeof(ACPI_PCI_ROUTING_TABLE); in acpi_legacy_irq_init()
434 if (!res->Length) { in acpi_resource_parse()
495 if (!res->Length) { in acpi_device_mmio_get()
592 if (!res->Length) { in acpi_device_type_get()
625 !child_dev->dev_info->HardwareId.Length) { in acpi_device_get()
630 if (uid && child_dev->dev_info->UniqueId.Length) { in acpi_device_get()
679 offset += subtable->Length; in acpi_get_subtable_entry_num()
682 if (!subtable->Length) { in acpi_get_subtable_entry_num()
702 while (offset < madt->Length) { in acpi_madt_entry_get()
707 madt->Length); in acpi_madt_entry_get()
711 offset += subtable->Length; in acpi_madt_entry_get()
731 while (offset < dmar->Header.Length) { in acpi_dmar_entry_get()
736 offset += subtable->Length; in acpi_dmar_entry_get()
746 uint16_t length = dmar->Header.Length; in acpi_dmar_foreach_subtable()
754 __ASSERT_NO_MSG(subtable->Length >= sizeof(*subtable)); in acpi_dmar_foreach_subtable()
755 __ASSERT_NO_MSG(subtable->Length <= length - offset); in acpi_dmar_foreach_subtable()
759 offset += subtable->Length; in acpi_dmar_foreach_subtable()
766 uint16_t length = hu->Header.Length; in acpi_dmar_foreach_devscope()
775 __ASSERT_NO_MSG(devscope->Length >= sizeof(*devscope)); in acpi_dmar_foreach_devscope()
776 __ASSERT_NO_MSG(devscope->Length <= length - offset); in acpi_dmar_foreach_devscope()
780 offset += devscope->Length; in acpi_dmar_foreach_devscope()
855 scope_size = drdh->Length - sizeof(ACPI_DMAR_HARDWARE_UNIT); in acpi_drhd_get()
864 if (!subtable->Length) { in acpi_drhd_get()
869 num_path = (subtable->Length - 6u) / 2u; in acpi_drhd_get()
886 offset += subtable->Length; in acpi_drhd_get()
888 if (scope_size < subtable->Length) { in acpi_drhd_get()
891 scope_size -= subtable->Length; in acpi_drhd_get()
939 ret_buff.Length = sizeof(*ret_obj); in acpi_invoke_method()