Home
last modified time | relevance | path

Searched refs:aml (Results 1 – 19 of 19) sorted by relevance

/linux-2.6.39/drivers/acpi/acpica/
Dutresrc.c259 acpi_ut_walk_aml_resources(u8 * aml, in acpi_ut_walk_aml_resources() argument
279 end_aml = aml + aml_length; in acpi_ut_walk_aml_resources()
283 while (aml < end_aml) { in acpi_ut_walk_aml_resources()
287 status = acpi_ut_validate_resource(aml, &resource_index); in acpi_ut_walk_aml_resources()
294 length = acpi_ut_get_descriptor_length(aml); in acpi_ut_walk_aml_resources()
300 user_function(aml, length, offset, resource_index, in acpi_ut_walk_aml_resources()
309 if (acpi_ut_get_resource_type(aml) == in acpi_ut_walk_aml_resources()
315 if ((aml + 1) >= end_aml) { in acpi_ut_walk_aml_resources()
322 *context = aml; in acpi_ut_walk_aml_resources()
330 aml += length; in acpi_ut_walk_aml_resources()
[all …]
Dpsargs.c78 u8 *aml = parser_state->aml; in acpi_ps_get_next_package_length() local
89 byte_count = (aml[0] >> 6); in acpi_ps_get_next_package_length()
90 parser_state->aml += ((acpi_size) byte_count + 1); in acpi_ps_get_next_package_length()
102 package_length |= (aml[byte_count] << ((byte_count << 3) - 4)); in acpi_ps_get_next_package_length()
110 package_length |= (aml[0] & byte_zero_mask); in acpi_ps_get_next_package_length()
129 u8 *start = parser_state->aml; in acpi_ps_get_next_package_end()
158 u8 *start = parser_state->aml; in acpi_ps_get_next_namestring()
159 u8 *end = parser_state->aml; in acpi_ps_get_next_namestring()
204 parser_state->aml = end; in acpi_ps_get_next_namestring()
239 u8 *start = parser_state->aml; in acpi_ps_get_next_namepath()
[all …]
Drslist.c66 acpi_rs_convert_aml_to_resources(u8 * aml, in acpi_rs_convert_aml_to_resources() argument
92 aml), in acpi_rs_convert_aml_to_resources()
98 *aml)); in acpi_rs_convert_aml_to_resources()
104 acpi_ut_get_resource_type(aml), length, in acpi_rs_convert_aml_to_resources()
136 u8 *aml = output_buffer; in acpi_rs_convert_resources_to_aml() local
144 while (aml < end_aml) { in acpi_rs_convert_resources_to_aml()
159 aml), in acpi_rs_convert_resources_to_aml()
173 (union aml_resource, aml), NULL); in acpi_rs_convert_resources_to_aml()
191 aml += acpi_ut_get_descriptor_length(aml); in acpi_rs_convert_resources_to_aml()
Drsmisc.c72 union aml_resource *aml, in acpi_rs_convert_aml_to_resource() argument
97 aml_resource_length = acpi_ut_get_resource_length(aml); in acpi_rs_convert_aml_to_resource()
110 source = ACPI_ADD_PTR(void, aml, info->aml_offset); in acpi_rs_convert_aml_to_resource()
201 if (!acpi_rs_get_address_common(resource, aml)) { in acpi_rs_convert_aml_to_resource()
214 destination, aml, NULL); in acpi_rs_convert_aml_to_resource()
228 (acpi_rs_length) (((item_count - 1) * sizeof(u32)) + info->value), destination, aml, target); in acpi_rs_convert_aml_to_resource()
325 union aml_resource *aml, in acpi_rs_convert_resource_to_aml() argument
349 destination = ACPI_ADD_PTR(void, aml, info->aml_offset); in acpi_rs_convert_resource_to_aml()
354 ACPI_MEMSET(aml, 0, INIT_RESOURCE_LENGTH(info)); in acpi_rs_convert_resource_to_aml()
357 aml_length, aml); in acpi_rs_convert_resource_to_aml()
[all …]
Drsaddr.c308 union aml_resource *aml) in acpi_rs_get_address_common() argument
314 if ((aml->address.resource_type > 2) in acpi_rs_get_address_common()
315 && (aml->address.resource_type < 0xC0)) { in acpi_rs_get_address_common()
321 (void)acpi_rs_convert_aml_to_resource(resource, aml, in acpi_rs_get_address_common()
327 (void)acpi_rs_convert_aml_to_resource(resource, aml, in acpi_rs_get_address_common()
330 (void)acpi_rs_convert_aml_to_resource(resource, aml, in acpi_rs_get_address_common()
336 aml->address.specific_flags; in acpi_rs_get_address_common()
357 acpi_rs_set_address_common(union aml_resource *aml, in acpi_rs_set_address_common() argument
364 (void)acpi_rs_convert_resource_to_aml(resource, aml, in acpi_rs_set_address_common()
370 (void)acpi_rs_convert_resource_to_aml(resource, aml, in acpi_rs_set_address_common()
[all …]
Drsutils.c195 union aml_resource *aml) in acpi_rs_set_resource_length() argument
204 (total_length - acpi_ut_get_resource_header_length(aml)); in acpi_rs_set_resource_length()
208 if (aml->small_header.descriptor_type & ACPI_RESOURCE_NAME_LARGE) { in acpi_rs_set_resource_length()
212 ACPI_MOVE_16_TO_16(&aml->large_header.resource_length, in acpi_rs_set_resource_length()
217 aml->small_header.descriptor_type = (u8) in acpi_rs_set_resource_length()
220 ((aml->small_header. in acpi_rs_set_resource_length()
247 union aml_resource *aml) in acpi_rs_set_resource_header() argument
253 aml->small_header.descriptor_type = descriptor_type; in acpi_rs_set_resource_header()
257 acpi_rs_set_resource_length(total_length, aml); in acpi_rs_set_resource_header()
315 union aml_resource * aml, char *string_ptr) in acpi_rs_get_resource_source() argument
[all …]
Dpsparse.c102 u8 *aml; in acpi_ps_peek_opcode() local
105 aml = parser_state->aml; in acpi_ps_peek_opcode()
106 opcode = (u16) ACPI_GET8(aml); in acpi_ps_peek_opcode()
112 aml++; in acpi_ps_peek_opcode()
113 opcode = (u16) ((opcode << 8) | ACPI_GET8(aml)); in acpi_ps_peek_opcode()
340 parser_state->aml = parser_state->aml_end; in acpi_ps_next_parse_state()
346 parser_state->aml = walk_state->aml_last_while; in acpi_ps_next_parse_state()
353 parser_state->aml = walk_state->aml_last_while; in acpi_ps_next_parse_state()
359 parser_state->aml = walk_state->aml_last_while; in acpi_ps_next_parse_state()
365 parser_state->aml = parser_state->scope->parse_scope.pkg_end; in acpi_ps_next_parse_state()
[all …]
Dacresrc.h209 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);
Dpsloop.c111 (u32) ACPI_PTR_DIFF(walk_state->parser_state.aml, in acpi_ps_get_aml_opcode()
140 walk_state->opcode, walk_state->parser_state.aml, in acpi_ps_get_aml_opcode()
143 ACPI_DUMP_BUFFER(walk_state->parser_state.aml, 128); in acpi_ps_get_aml_opcode()
147 walk_state->parser_state.aml++; in acpi_ps_get_aml_opcode()
154 walk_state->parser_state.aml += in acpi_ps_get_aml_opcode()
436 (u32) ACPI_PTR_DIFF(walk_state->parser_state.aml, in acpi_ps_get_arguments()
500 walk_state->parser_state.aml = in acpi_ps_get_arguments()
543 op->named.data = walk_state->parser_state.aml; in acpi_ps_get_arguments()
546 walk_state->parser_state.aml); in acpi_ps_get_arguments()
550 walk_state->parser_state.aml = in acpi_ps_get_arguments()
[all …]
Dacutils.h81 acpi_status(*acpi_walk_aml_callback) (u8 * aml,
508 acpi_ut_walk_aml_resources(u8 * aml,
513 acpi_status acpi_ut_validate_resource(void *aml, u8 * return_index);
515 u32 acpi_ut_get_descriptor_length(void *aml);
517 u16 acpi_ut_get_resource_length(void *aml);
519 u8 acpi_ut_get_resource_header_length(void *aml);
521 u8 acpi_ut_get_resource_type(void *aml);
Dnsxfname.c535 parser_state.aml = buffer + sizeof(struct acpi_table_header); in ACPI_EXPORT_SYMBOL()
543 parser_state.aml += acpi_ps_get_opcode_size(opcode); in ACPI_EXPORT_SYMBOL()
546 method_flags = *parser_state.aml++; in ACPI_EXPORT_SYMBOL()
547 aml_start = parser_state.aml; in ACPI_EXPORT_SYMBOL()
Ddscontrol.c89 (walk_state->parser_state.aml - 1)) { in acpi_ds_exec_begin_control_op()
118 walk_state->parser_state.aml - 1; in acpi_ds_exec_begin_control_op()
Dpsscope.c87 ((parser_state->aml >= parser_state->scope->parse_scope.arg_end in acpi_ps_has_completed_scope()
Ddswstate.c608 walk_state->parser_state.aml = in acpi_ds_init_aml_walk()
Ddswexec.c745 if (walk_state->parser_state.aml == walk_state->parser_state.aml_end) { in acpi_ds_exec_end_op()
Daclocal.h748 u8 *aml; /* Next AML byte */ member
/linux-2.6.39/Documentation/acpi/
Dmethod-customizing.txt47 e.g. "iasl psr.asl" (psr.aml is generated as a result)
50 "cat /tmp/psr.aml > /sys/kernel/debug/acpi/custom_method"
/linux-2.6.39/drivers/net/can/
Dbfin_can.c135 bfin_write16(&reg->msk[RECEIVE_STD_CHL + i].aml, 0xFFFF); in bfin_can_set_reset_mode()
144 bfin_write16(&reg->msk[RECEIVE_EXT_CHL + i].aml, 0xFFFF); in bfin_can_set_reset_mode()
/linux-2.6.39/arch/blackfin/include/asm/
Dbfin_can.h32 __BFP(aml);