Lines Matching refs:aml

396  * PARAMETERS:  aml                 - Pointer to the raw AML resource template
411 u8 *aml,
432 end_aml = aml + aml_length;
436 while (aml < end_aml) {
441 acpi_ut_validate_resource(walk_state, aml, &resource_index);
452 length = acpi_ut_get_descriptor_length(aml);
458 user_function(aml, length, offset, resource_index,
467 if (acpi_ut_get_resource_type(aml) ==
473 if ((aml + 1) >= end_aml) {
480 *context = aml;
488 aml += length;
515 * aml - Pointer to the raw AML resource descriptor
529 void *aml, u8 *return_index)
542 resource_type = ACPI_GET8(aml);
582 resource_length = acpi_ut_get_resource_length(aml);
623 aml_resource = ACPI_CAST_PTR(union aml_resource, aml);
674 * PARAMETERS: aml - Pointer to the raw AML resource descriptor
684 u8 acpi_ut_get_resource_type(void *aml)
692 if (ACPI_GET8(aml) & ACPI_RESOURCE_NAME_LARGE) {
696 return (ACPI_GET8(aml));
700 return ((u8) (ACPI_GET8(aml) & ACPI_RESOURCE_NAME_SMALL_MASK));
708 * PARAMETERS: aml - Pointer to the raw AML resource descriptor
718 u16 acpi_ut_get_resource_length(void *aml)
728 if (ACPI_GET8(aml) & ACPI_RESOURCE_NAME_LARGE) {
732 ACPI_MOVE_16_TO_16(&resource_length, ACPI_ADD_PTR(u8, aml, 1));
737 resource_length = (u16) (ACPI_GET8(aml) &
748 * PARAMETERS: aml - Pointer to the raw AML resource descriptor
756 u8 acpi_ut_get_resource_header_length(void *aml)
762 if (ACPI_GET8(aml) & ACPI_RESOURCE_NAME_LARGE) {
773 * PARAMETERS: aml - Pointer to the raw AML resource descriptor
783 u32 acpi_ut_get_descriptor_length(void *aml)
791 return (acpi_ut_get_resource_length(aml) +
792 acpi_ut_get_resource_header_length(aml));