Searched refs:aml (Results 1 - 17 of 17) sorted by relevance

/drivers/acpi/acpica/
H A Dpsargs.c78 u8 *aml = parser_state->aml; local
89 byte_count = (aml[0] >> 6);
90 parser_state->aml += ((acpi_size) byte_count + 1);
102 package_length |= (aml[byte_count] << ((byte_count << 3) - 4));
110 package_length |= (aml[0] & byte_zero_mask);
129 u8 *start = parser_state->aml;
158 u8 *start = parser_state->aml;
159 u8 *end = parser_state->aml;
204 parser_state->aml
396 u8 *aml = parser_state->aml; local
[all...]
H A Dutresrc.c415 acpi_ut_walk_aml_resources(u8 * aml, argument
436 end_aml = aml + aml_length;
440 while (aml < end_aml) {
444 status = acpi_ut_validate_resource(aml, &resource_index);
455 length = acpi_ut_get_descriptor_length(aml);
461 user_function(aml, length, offset, resource_index,
470 if (acpi_ut_get_resource_type(aml) ==
476 if ((aml + 1) >= end_aml) {
483 *context = aml;
491 aml
528 acpi_ut_validate_resource(void *aml, u8 * return_index) argument
677 acpi_ut_get_resource_type(void *aml) argument
711 acpi_ut_get_resource_length(void *aml) argument
749 acpi_ut_get_resource_header_length(void *aml) argument
776 acpi_ut_get_descriptor_length(void *aml) argument
[all...]
H A Drslist.c66 acpi_rs_convert_aml_to_resources(u8 * aml, argument
91 aml_resource = ACPI_CAST_PTR(union aml_resource, aml);
92 if (acpi_ut_get_resource_type(aml) == ACPI_RESOURCE_NAME_SERIAL_BUS) {
123 *aml));
129 acpi_ut_get_resource_type(aml), length,
161 u8 *aml = output_buffer; local
170 while (aml < end_aml) {
209 aml),
222 (union aml_resource, aml), NULL);
240 aml
[all...]
H A Drsmisc.c72 union aml_resource *aml,
101 aml_resource_length = acpi_ut_get_resource_length(aml);
113 source = ACPI_ADD_PTR(void, aml, info->aml_offset);
179 target = ACPI_ADD_PTR(void, aml, info->value);
202 target = ACPI_ADD_PTR(void, aml, (info->value + 2));
207 target = ACPI_ADD_PTR(void, aml, info->value);
213 item_count = aml->large_header.resource_length +
271 source = ACPI_ADD_PTR(void, aml, ACPI_GET16(source));
287 source = ACPI_ADD_PTR(void, aml, ACPI_GET16(source));
303 source = ACPI_ADD_PTR(void, aml, inf
71 acpi_rs_convert_aml_to_resource(struct acpi_resource *resource, union aml_resource *aml, struct acpi_rsconvert_info *info) argument
469 acpi_rs_convert_resource_to_aml(struct acpi_resource *resource, union aml_resource *aml, struct acpi_rsconvert_info *info) argument
507 aml_length, aml); local
[all...]
H A Drsutils.c199 union aml_resource *aml)
208 (total_length - acpi_ut_get_resource_header_length(aml));
212 if (aml->small_header.descriptor_type & ACPI_RESOURCE_NAME_LARGE) {
216 ACPI_MOVE_16_TO_16(&aml->large_header.resource_length,
221 aml->small_header.descriptor_type = (u8)
224 ((aml->small_header.
251 union aml_resource *aml)
257 aml->small_header.descriptor_type = descriptor_type;
261 acpi_rs_set_resource_length(total_length, aml);
319 union aml_resource * aml, cha
198 acpi_rs_set_resource_length(acpi_rsdesc_size total_length, union aml_resource *aml) argument
249 acpi_rs_set_resource_header(u8 descriptor_type, acpi_rsdesc_size total_length, union aml_resource *aml) argument
316 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
403 acpi_rs_set_resource_source(union aml_resource * aml, acpi_rs_length minimum_length, struct acpi_resource_source * resource_source) argument
[all...]
H A Drsaddr.c308 union aml_resource *aml)
314 if ((aml->address.resource_type > 2)
315 && (aml->address.resource_type < 0xC0)) {
321 (void)acpi_rs_convert_aml_to_resource(resource, aml,
327 (void)acpi_rs_convert_aml_to_resource(resource, aml,
330 (void)acpi_rs_convert_aml_to_resource(resource, aml,
336 aml->address.specific_flags;
357 acpi_rs_set_address_common(union aml_resource *aml, argument
364 (void)acpi_rs_convert_resource_to_aml(resource, aml,
370 (void)acpi_rs_convert_resource_to_aml(resource, aml,
307 acpi_rs_get_address_common(struct acpi_resource *resource, union aml_resource *aml) argument
[all...]
H A Dpsparse.c102 u8 *aml; local
105 aml = parser_state->aml;
106 opcode = (u16) ACPI_GET8(aml);
112 aml++;
113 opcode = (u16) ((opcode << 8) | ACPI_GET8(aml));
340 parser_state->aml = parser_state->aml_end;
346 parser_state->aml = walk_state->aml_last_while;
353 parser_state->aml = walk_state->aml_last_while;
359 parser_state->aml
[all...]
H A Dacresrc.h238 acpi_rs_convert_aml_to_resources(u8 * aml,
250 acpi_rs_set_address_common(union aml_resource *aml,
255 union aml_resource *aml);
262 union aml_resource *aml,
267 union aml_resource *aml,
285 union aml_resource *aml, char *string_ptr);
288 acpi_rs_set_resource_source(union aml_resource *aml,
295 union aml_resource *aml);
299 union aml_resource *aml);
H A Dpsloop.c111 (u32) ACPI_PTR_DIFF(walk_state->parser_state.aml,
140 walk_state->opcode, walk_state->parser_state.aml,
143 ACPI_DUMP_BUFFER(walk_state->parser_state.aml, 128);
147 walk_state->parser_state.aml++;
154 walk_state->parser_state.aml +=
436 (u32) ACPI_PTR_DIFF(walk_state->parser_state.aml,
500 walk_state->parser_state.aml =
543 op->named.data = walk_state->parser_state.aml;
546 walk_state->parser_state.aml);
550 walk_state->parser_state.aml
[all...]
H A Dacutils.h82 acpi_status(*acpi_walk_aml_callback) (u8 * aml,
509 acpi_ut_walk_aml_resources(u8 * aml,
514 acpi_status acpi_ut_validate_resource(void *aml, u8 * return_index);
516 u32 acpi_ut_get_descriptor_length(void *aml);
518 u16 acpi_ut_get_resource_length(void *aml);
520 u8 acpi_ut_get_resource_header_length(void *aml);
522 u8 acpi_ut_get_resource_type(void *aml);
H A Ddscontrol.c89 (walk_state->parser_state.aml - 1)) {
118 walk_state->parser_state.aml - 1;
H A Dnsxfname.c536 parser_state.aml = buffer + sizeof(struct acpi_table_header);
544 parser_state.aml += acpi_ps_get_opcode_size(opcode);
547 method_flags = *parser_state.aml++;
548 aml_start = parser_state.aml;
H A Dpsscope.c87 ((parser_state->aml >= parser_state->scope->parse_scope.arg_end
H A Ddswstate.c608 walk_state->parser_state.aml =
H A Ddswexec.c745 if (walk_state->parser_state.aml == walk_state->parser_state.aml_end) {
H A Daclocal.h54 /* Total number of aml opcodes defined */
764 u8 *aml; /* Next AML byte */ member in struct:acpi_parse_state
/drivers/net/can/
H A Dbfin_can.c133 bfin_write(&reg->msk[RECEIVE_STD_CHL + i].aml, 0xFFFF);
142 bfin_write(&reg->msk[RECEIVE_EXT_CHL + i].aml, 0xFFFF);

Completed in 716 milliseconds