/linux-master/drivers/acpi/acpica/ |
H A D | psargs.c | 45 u8 *aml = parser_state->aml; local 56 byte_count = (aml[0] >> 6); 57 parser_state->aml += ((acpi_size)byte_count + 1); 69 package_length |= (aml[byte_count] << ((byte_count << 3) - 4)); 77 package_length |= (aml[0] & byte_zero_mask); 96 u8 *start = parser_state->aml; 125 u8 *start = parser_state->aml; 126 u8 *end = parser_state->aml; 171 parser_state->aml 367 u8 *aml = parser_state->aml; local 458 u8 *aml; local [all...] |
H A D | utresrc.c | 127 * PARAMETERS: aml - Pointer to the raw AML resource template 142 u8 *aml, 163 end_aml = aml + aml_length; 167 while (aml < end_aml) { 172 acpi_ut_validate_resource(walk_state, aml, &resource_index); 183 length = acpi_ut_get_descriptor_length(aml); 189 user_function(aml, length, offset, resource_index, 198 if (acpi_ut_get_resource_type(aml) == 204 if ((aml + 1) >= end_aml) { 218 *context = aml; 141 acpi_ut_walk_aml_resources(struct acpi_walk_state *walk_state, u8 *aml, acpi_size aml_length, acpi_walk_aml_callback user_function, void **context) argument 266 acpi_ut_validate_resource(struct acpi_walk_state *walk_state, void *aml, u8 *return_index) argument 426 acpi_ut_get_resource_type(void *aml) argument 460 acpi_ut_get_resource_length(void *aml) argument 498 acpi_ut_get_resource_header_length(void *aml) argument 525 acpi_ut_get_descriptor_length(void *aml) argument [all...] |
H A D | rslist.c | 30 acpi_rs_convert_aml_to_resources(u8 * aml, argument 55 aml_resource = ACPI_CAST_PTR(union aml_resource, aml); 57 if (acpi_ut_get_resource_type(aml) == ACPI_RESOURCE_NAME_SERIAL_BUS) { 94 *aml)); 105 acpi_ut_get_resource_type(aml), length, 137 u8 *aml = output_buffer; local 146 while (aml < end_aml) { 193 aml), 207 aml), NULL); 225 aml [all...] |
H A D | psloop.c | 96 walk_state->aml = walk_state->parser_state.aml; 144 op->named.data = walk_state->parser_state.aml; 147 walk_state->parser_state.aml); 151 walk_state->parser_state.aml = 181 walk_state->parser_state.aml = 300 while ((parser_state->aml < parser_state->aml_end) || (op)) { 303 aml_op_start = parser_state->aml; 358 walk_state->parser_state.aml = 359 walk_state->aml [all...] |
H A D | rsmisc.c | 25 * aml - Where the AML descriptor is returned 36 union aml_resource *aml, 65 aml_resource_length = acpi_ut_get_resource_length(aml); 79 source = ACPI_ADD_PTR(void, aml, info->aml_offset); 153 target = ACPI_ADD_PTR(void, aml, info->value); 175 target = ACPI_ADD_PTR(void, aml, (info->value + 2)); 180 target = ACPI_ADD_PTR(void, aml, info->value); 186 item_count = aml->large_header.resource_length + 246 source = ACPI_ADD_PTR(void, aml, ACPI_GET16(source)); 262 source = ACPI_ADD_PTR(void, aml, ACPI_GET1 35 acpi_rs_convert_aml_to_resource(struct acpi_resource *resource, union aml_resource *aml, struct acpi_rsconvert_info *info) argument 446 acpi_rs_convert_resource_to_aml(struct acpi_resource *resource, union aml_resource *aml, struct acpi_rsconvert_info *info) argument 484 aml_length, aml); local [all...] |
H A D | psutils.c | 30 union acpi_parse_object *acpi_ps_create_scope_op(u8 *aml) argument 34 scope_op = acpi_ps_alloc_op(AML_SCOPE_OP, aml); 75 * aml - Address of the opcode 85 union acpi_parse_object *acpi_ps_alloc_op(u16 opcode, u8 *aml) argument 122 op->common.aml = aml;
|
H A D | psparse.c | 69 u8 *aml; local 72 aml = parser_state->aml; 73 opcode = (u16) ACPI_GET8(aml); 79 aml++; 80 opcode = (u16) ((opcode << 8) | ACPI_GET8(aml)); 158 op->common.aml); 183 op->common.aml); 199 op->common.aml); 216 op->common.aml); [all...] |
H A D | rsutils.c | 155 * aml - Pointer to the raw AML descriptor 168 union aml_resource *aml) 177 (total_length - acpi_ut_get_resource_header_length(aml)); 181 if (aml->small_header.descriptor_type & ACPI_RESOURCE_NAME_LARGE) { 185 ACPI_MOVE_16_TO_16(&aml->large_header.resource_length, 192 aml->small_header.descriptor_type = (u8) 193 ((aml->small_header.descriptor_type & 206 * aml - Pointer to the raw AML descriptor 219 union aml_resource *aml) 225 aml 167 acpi_rs_set_resource_length(acpi_rsdesc_size total_length, union aml_resource *aml) argument 217 acpi_rs_set_resource_header(u8 descriptor_type, acpi_rsdesc_size total_length, union aml_resource *aml) argument 284 acpi_rs_get_resource_source(acpi_rs_length resource_length, acpi_rs_length minimum_length, struct acpi_resource_source * resource_source, union aml_resource * aml, char *string_ptr) argument 373 acpi_rs_set_resource_source(union aml_resource *aml, acpi_rs_length minimum_length, struct acpi_resource_source *resource_source) argument [all...] |
H A D | extrace.c | 121 * aml - Executed AML address 132 u8 begin, u8 *aml, char *pathname) 141 begin ? "Begin" : "End", aml, pathname)); 146 begin ? "Begin" : "End", aml)); 288 op->common.aml, op->common.aml_op_name); 316 op->common.aml, op->common.aml_op_name); 131 acpi_ex_trace_point(acpi_trace_event_type type, u8 begin, u8 *aml, char *pathname) argument
|
H A D | rsaddr.c | 262 * aml - Pointer to the AML resource descriptor 273 union aml_resource *aml) 281 memcpy(&address, aml, sizeof(address)); 291 (void)acpi_rs_convert_aml_to_resource(resource, aml, 297 (void)acpi_rs_convert_aml_to_resource(resource, aml, 300 (void)acpi_rs_convert_aml_to_resource(resource, aml, 316 * PARAMETERS: aml - Pointer to the AML resource descriptor 327 acpi_rs_set_address_common(union aml_resource *aml, argument 334 (void)acpi_rs_convert_resource_to_aml(resource, aml, 340 (void)acpi_rs_convert_resource_to_aml(resource, aml, 272 acpi_rs_get_address_common(struct acpi_resource *resource, union aml_resource *aml) argument [all...] |
H A D | acresrc.h | 209 acpi_rs_convert_aml_to_resources(u8 * aml, 221 acpi_rs_set_address_common(union aml_resource *aml, 226 union aml_resource *aml); 233 union aml_resource *aml, 238 union aml_resource *aml, 256 union aml_resource *aml, char *string_ptr); 259 acpi_rs_set_resource_source(union aml_resource *aml, 266 union aml_resource *aml); 270 union aml_resource *aml);
|
H A D | psobject.c | 41 walk_state->aml = walk_state->parser_state.aml; 69 (u32)ACPI_PTR_DIFF(walk_state->aml, 80 ACPI_DUMP_BUFFER((walk_state->parser_state.aml - 16), 100 aml - 16), 48, DB_BYTE_DISPLAY, 118 walk_state->parser_state.aml++; 120 walk_state->parser_state.aml++; 129 walk_state->parser_state.aml += 254 (*op)->named.aml = unnamed_op->common.aml; [all...] |
H A D | acparser.h | 200 union acpi_parse_object *acpi_ps_create_scope_op(u8 *aml); 204 union acpi_parse_object *acpi_ps_alloc_op(u16 opcode, u8 *aml);
|
H A D | dscontrol.c | 55 (walk_state->parser_state.aml - 1)) { 83 walk_state->parser_state.aml - 1;
|
H A D | nsxfname.c | 505 parser_state.aml = buffer + sizeof(struct acpi_table_header); 513 parser_state.aml += acpi_ps_get_opcode_size(opcode); 517 method_flags = *parser_state.aml++; 518 aml_start = parser_state.aml;
|
H A D | dspkginit.c | 139 obj_desc->package.aml_start = walk_state->aml; 408 status = acpi_ns_lookup(&scope_info, (char *)element->reference.aml, 436 aml, NULL, &external_path);
|
H A D | utdebug.c | 591 * aml - Executed AML address 602 acpi_trace_point(acpi_trace_event_type type, u8 begin, u8 *aml, char *pathname) argument 607 acpi_ex_trace_point(type, begin, aml, pathname); 610 acpi_os_trace_point(type, begin, aml, pathname);
|
H A D | acutils.h | 123 acpi_status (*acpi_walk_aml_callback) (u8 *aml, 595 u8 *aml, 602 void *aml, u8 *return_index); 604 u32 acpi_ut_get_descriptor_length(void *aml); 606 u16 acpi_ut_get_resource_length(void *aml); 608 u8 acpi_ut_get_resource_header_length(void *aml); 610 u8 acpi_ut_get_resource_type(void *aml);
|
H A D | psscope.c | 53 ((parser_state->aml >= parser_state->scope->parse_scope.arg_end
|
H A D | acstruct.h | 54 u8 *aml; member in struct:acpi_walk_state
|
H A D | dsobject.c | 125 obj_desc->reference.aml = op->common.aml;
|
H A D | dbutils.c | 352 walk_state->parser_state.aml =
|
H A D | dbxface.c | 129 * op - Current executing op (from aml interpreter) 192 * op - Current executing op (from aml interpreter) 225 aml_offset = (u32)ACPI_PTR_DIFF(op->common.aml,
|
H A D | acobject.h | 317 u8 *aml; /* Used for deferred resolution of the ref */ member in struct:acpi_object_reference
|
/linux-master/drivers/acpi/ |
H A D | acpi_configfs.c | 92 CONFIGFS_BIN_ATTR(acpi_table_, aml, NULL, MAX_ACPI_TABLE_SIZE);
|