• Home
  • Raw
  • Download

Lines Matching refs:aml

408 			   u8 *aml,  in acpi_ut_walk_aml_resources()  argument
429 end_aml = aml + aml_length; in acpi_ut_walk_aml_resources()
433 while (aml < end_aml) { in acpi_ut_walk_aml_resources()
438 acpi_ut_validate_resource(walk_state, aml, &resource_index); in acpi_ut_walk_aml_resources()
449 length = acpi_ut_get_descriptor_length(aml); in acpi_ut_walk_aml_resources()
455 user_function(aml, length, offset, resource_index, in acpi_ut_walk_aml_resources()
464 if (acpi_ut_get_resource_type(aml) == in acpi_ut_walk_aml_resources()
470 if ((aml + 1) >= end_aml) { in acpi_ut_walk_aml_resources()
477 *context = aml; in acpi_ut_walk_aml_resources()
485 aml += length; in acpi_ut_walk_aml_resources()
526 void *aml, u8 *return_index) in acpi_ut_validate_resource() argument
539 resource_type = ACPI_GET8(aml); in acpi_ut_validate_resource()
579 resource_length = acpi_ut_get_resource_length(aml); in acpi_ut_validate_resource()
620 aml_resource = ACPI_CAST_PTR(union aml_resource, aml); in acpi_ut_validate_resource()
681 u8 acpi_ut_get_resource_type(void *aml) in acpi_ut_get_resource_type() argument
689 if (ACPI_GET8(aml) & ACPI_RESOURCE_NAME_LARGE) { in acpi_ut_get_resource_type()
693 return (ACPI_GET8(aml)); in acpi_ut_get_resource_type()
697 return ((u8) (ACPI_GET8(aml) & ACPI_RESOURCE_NAME_SMALL_MASK)); in acpi_ut_get_resource_type()
715 u16 acpi_ut_get_resource_length(void *aml) in acpi_ut_get_resource_length() argument
725 if (ACPI_GET8(aml) & ACPI_RESOURCE_NAME_LARGE) { in acpi_ut_get_resource_length()
729 ACPI_MOVE_16_TO_16(&resource_length, ACPI_ADD_PTR(u8, aml, 1)); in acpi_ut_get_resource_length()
734 resource_length = (u16) (ACPI_GET8(aml) & in acpi_ut_get_resource_length()
753 u8 acpi_ut_get_resource_header_length(void *aml) in acpi_ut_get_resource_header_length() argument
759 if (ACPI_GET8(aml) & ACPI_RESOURCE_NAME_LARGE) { in acpi_ut_get_resource_header_length()
780 u32 acpi_ut_get_descriptor_length(void *aml) in acpi_ut_get_descriptor_length() argument
788 return (acpi_ut_get_resource_length(aml) + in acpi_ut_get_descriptor_length()
789 acpi_ut_get_resource_header_length(aml)); in acpi_ut_get_descriptor_length()