Home
last modified time | relevance | path

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

12

/drivers/acpi/acpica/
Dpsargs.c79 u8 *aml = parser_state->aml; in acpi_ps_get_next_package_length() local
90 byte_count = (aml[0] >> 6); in acpi_ps_get_next_package_length()
91 parser_state->aml += ((acpi_size)byte_count + 1); in acpi_ps_get_next_package_length()
103 package_length |= (aml[byte_count] << ((byte_count << 3) - 4)); in acpi_ps_get_next_package_length()
111 package_length |= (aml[0] & byte_zero_mask); in acpi_ps_get_next_package_length()
130 u8 *start = parser_state->aml; in acpi_ps_get_next_package_end()
159 u8 *start = parser_state->aml; in acpi_ps_get_next_namestring()
160 u8 *end = parser_state->aml; in acpi_ps_get_next_namestring()
205 parser_state->aml = end; in acpi_ps_get_next_namestring()
240 u8 *start = parser_state->aml; in acpi_ps_get_next_namepath()
[all …]
Dutresrc.c174 u8 *aml, in acpi_ut_walk_aml_resources() argument
195 end_aml = aml + aml_length; in acpi_ut_walk_aml_resources()
199 while (aml < end_aml) { in acpi_ut_walk_aml_resources()
204 acpi_ut_validate_resource(walk_state, aml, &resource_index); in acpi_ut_walk_aml_resources()
215 length = acpi_ut_get_descriptor_length(aml); in acpi_ut_walk_aml_resources()
221 user_function(aml, length, offset, resource_index, in acpi_ut_walk_aml_resources()
230 if (acpi_ut_get_resource_type(aml) == in acpi_ut_walk_aml_resources()
236 if ((aml + 1) >= end_aml) { in acpi_ut_walk_aml_resources()
250 *context = aml; in acpi_ut_walk_aml_resources()
258 aml += length; in acpi_ut_walk_aml_resources()
[all …]
Drsmisc.c72 union aml_resource *aml, in acpi_rs_convert_aml_to_resource() argument
101 aml_resource_length = acpi_ut_get_resource_length(aml); in acpi_rs_convert_aml_to_resource()
113 source = ACPI_ADD_PTR(void, aml, info->aml_offset); in acpi_rs_convert_aml_to_resource()
179 target = ACPI_ADD_PTR(void, aml, info->value); in acpi_rs_convert_aml_to_resource()
201 target = ACPI_ADD_PTR(void, aml, (info->value + 2)); in acpi_rs_convert_aml_to_resource()
206 target = ACPI_ADD_PTR(void, aml, info->value); in acpi_rs_convert_aml_to_resource()
212 item_count = aml->large_header.resource_length + in acpi_rs_convert_aml_to_resource()
270 source = ACPI_ADD_PTR(void, aml, ACPI_GET16(source)); in acpi_rs_convert_aml_to_resource()
286 source = ACPI_ADD_PTR(void, aml, ACPI_GET16(source)); in acpi_rs_convert_aml_to_resource()
302 source = ACPI_ADD_PTR(void, aml, info->value); in acpi_rs_convert_aml_to_resource()
[all …]
Drslist.c66 acpi_rs_convert_aml_to_resources(u8 * aml, in acpi_rs_convert_aml_to_resources() argument
91 aml_resource = ACPI_CAST_PTR(union aml_resource, aml); in acpi_rs_convert_aml_to_resources()
93 if (acpi_ut_get_resource_type(aml) == ACPI_RESOURCE_NAME_SERIAL_BUS) { in acpi_rs_convert_aml_to_resources()
124 *aml)); in acpi_rs_convert_aml_to_resources()
130 acpi_ut_get_resource_type(aml), length, in acpi_rs_convert_aml_to_resources()
162 u8 *aml = output_buffer; in acpi_rs_convert_resources_to_aml() local
171 while (aml < end_aml) { in acpi_rs_convert_resources_to_aml()
218 aml), in acpi_rs_convert_resources_to_aml()
232 aml), NULL); in acpi_rs_convert_resources_to_aml()
250 aml += acpi_ut_get_descriptor_length(aml); in acpi_rs_convert_resources_to_aml()
Dpsparse.c103 u8 *aml; in acpi_ps_peek_opcode() local
106 aml = parser_state->aml; in acpi_ps_peek_opcode()
107 opcode = (u16) ACPI_GET8(aml); in acpi_ps_peek_opcode()
113 aml++; in acpi_ps_peek_opcode()
114 opcode = (u16) ((opcode << 8) | ACPI_GET8(aml)); in acpi_ps_peek_opcode()
192 op->common.aml); in acpi_ps_complete_this_op()
217 op->common.aml); in acpi_ps_complete_this_op()
233 op->common.aml); in acpi_ps_complete_this_op()
250 op->common.aml); in acpi_ps_complete_this_op()
346 parser_state->aml = parser_state->aml_end; in acpi_ps_next_parse_state()
[all …]
Drsaddr.c309 union aml_resource *aml) in acpi_rs_get_address_common() argument
315 if ((aml->address.resource_type > 2) && in acpi_rs_get_address_common()
316 (aml->address.resource_type < 0xC0)) { in acpi_rs_get_address_common()
322 (void)acpi_rs_convert_aml_to_resource(resource, aml, in acpi_rs_get_address_common()
328 (void)acpi_rs_convert_aml_to_resource(resource, aml, in acpi_rs_get_address_common()
331 (void)acpi_rs_convert_aml_to_resource(resource, aml, in acpi_rs_get_address_common()
337 aml->address.specific_flags; in acpi_rs_get_address_common()
358 acpi_rs_set_address_common(union aml_resource *aml, in acpi_rs_set_address_common() argument
365 (void)acpi_rs_convert_resource_to_aml(resource, aml, in acpi_rs_set_address_common()
371 (void)acpi_rs_convert_resource_to_aml(resource, aml, in acpi_rs_set_address_common()
[all …]
Drsutils.c204 union aml_resource *aml) in acpi_rs_set_resource_length() argument
213 (total_length - acpi_ut_get_resource_header_length(aml)); in acpi_rs_set_resource_length()
217 if (aml->small_header.descriptor_type & ACPI_RESOURCE_NAME_LARGE) { in acpi_rs_set_resource_length()
221 ACPI_MOVE_16_TO_16(&aml->large_header.resource_length, in acpi_rs_set_resource_length()
228 aml->small_header.descriptor_type = (u8) in acpi_rs_set_resource_length()
229 ((aml->small_header.descriptor_type & in acpi_rs_set_resource_length()
255 union aml_resource *aml) in acpi_rs_set_resource_header() argument
261 aml->small_header.descriptor_type = descriptor_type; in acpi_rs_set_resource_header()
265 acpi_rs_set_resource_length(total_length, aml); in acpi_rs_set_resource_header()
323 union aml_resource * aml, char *string_ptr) in acpi_rs_get_resource_source() argument
[all …]
Dpsloop.c134 walk_state->aml = walk_state->parser_state.aml; in acpi_ps_get_arguments()
214 walk_state->parser_state.aml = in acpi_ps_get_arguments()
264 op->named.data = walk_state->parser_state.aml; in acpi_ps_get_arguments()
267 walk_state->parser_state.aml); in acpi_ps_get_arguments()
271 walk_state->parser_state.aml = in acpi_ps_get_arguments()
301 walk_state->parser_state.aml = in acpi_ps_get_arguments()
508 while ((parser_state->aml < parser_state->aml_end) || (op)) { in acpi_ps_parse_loop()
511 aml_op_start = parser_state->aml; in acpi_ps_parse_loop()
628 (u32) (parser_state->aml - op->named.data); in acpi_ps_parse_loop()
640 (u32) (parser_state->aml - op->named.data); in acpi_ps_parse_loop()
[all …]
Dacresrc.h241 acpi_rs_convert_aml_to_resources(u8 * aml,
253 acpi_rs_set_address_common(union aml_resource *aml,
258 union aml_resource *aml);
265 union aml_resource *aml,
270 union aml_resource *aml,
288 union aml_resource *aml, char *string_ptr);
291 acpi_rs_set_resource_source(union aml_resource *aml,
298 union aml_resource *aml);
302 union aml_resource *aml);
Dpsobject.c74 walk_state->aml = walk_state->parser_state.aml; in acpi_ps_get_aml_opcode()
101 aml_offset = (u32)ACPI_PTR_DIFF(walk_state->aml, in acpi_ps_get_aml_opcode()
111 ACPI_DUMP_BUFFER((walk_state->parser_state.aml - 16), in acpi_ps_get_aml_opcode()
131 aml - 16), 48, DB_BYTE_DISPLAY, in acpi_ps_get_aml_opcode()
149 walk_state->parser_state.aml++; in acpi_ps_get_aml_opcode()
151 walk_state->parser_state.aml++; in acpi_ps_get_aml_opcode()
160 walk_state->parser_state.aml += in acpi_ps_get_aml_opcode()
285 (*op)->named.aml = unnamed_op->common.aml; in acpi_ps_build_named_op()
382 walk_state->aml - in acpi_ps_create_op()
384 walk_state->aml = walk_state->parser_state.aml + 2; in acpi_ps_create_op()
Dpsutils.c64 union acpi_parse_object *acpi_ps_create_scope_op(u8 *aml) in acpi_ps_create_scope_op() argument
68 scope_op = acpi_ps_alloc_op(AML_SCOPE_OP, aml); in acpi_ps_create_scope_op()
117 union acpi_parse_object *acpi_ps_alloc_op(u16 opcode, u8 *aml) in acpi_ps_alloc_op() argument
154 op->common.aml = aml; in acpi_ps_alloc_op()
Dextrace.c166 u8 begin, u8 *aml, char *pathname) in acpi_ex_trace_point() argument
175 begin ? "Begin" : "End", aml, pathname)); in acpi_ex_trace_point()
180 begin ? "Begin" : "End", aml)); in acpi_ex_trace_point()
322 op->common.aml, op->common.aml_op_name); in acpi_ex_start_trace_opcode()
350 op->common.aml, op->common.aml_op_name); in acpi_ex_stop_trace_opcode()
Dacutils.h152 acpi_status (*acpi_walk_aml_callback) (u8 *aml,
592 u8 *aml,
599 void *aml, u8 *return_index);
601 u32 acpi_ut_get_descriptor_length(void *aml);
603 u16 acpi_ut_get_resource_length(void *aml);
605 u8 acpi_ut_get_resource_header_length(void *aml);
607 u8 acpi_ut_get_resource_type(void *aml);
Dnsxfname.c550 parser_state.aml = buffer + sizeof(struct acpi_table_header); in ACPI_EXPORT_SYMBOL()
558 parser_state.aml += acpi_ps_get_opcode_size(opcode); in ACPI_EXPORT_SYMBOL()
562 method_flags = *parser_state.aml++; in ACPI_EXPORT_SYMBOL()
563 aml_start = parser_state.aml; in ACPI_EXPORT_SYMBOL()
Dutdebug.c617 acpi_trace_point(acpi_trace_event_type type, u8 begin, u8 *aml, char *pathname) in acpi_trace_point() argument
622 acpi_ex_trace_point(type, begin, aml, pathname); in acpi_trace_point()
625 acpi_os_trace_point(type, begin, aml, pathname); in acpi_trace_point()
Ddscontrol.c89 (walk_state->parser_state.aml - 1)) { in acpi_ds_exec_begin_control_op()
117 walk_state->parser_state.aml - 1; in acpi_ds_exec_begin_control_op()
Dacparser.h234 union acpi_parse_object *acpi_ps_create_scope_op(u8 *aml);
238 union acpi_parse_object *acpi_ps_alloc_op(u16 opcode, u8 *aml);
Ddspkginit.c370 status = acpi_ns_lookup(&scope_info, (char *)element->reference.aml, /* Pointer to AML path */ in acpi_ds_resolve_package_element()
377 aml, NULL, &external_path); in acpi_ds_resolve_package_element()
Ddsobject.c158 obj_desc->reference.aml = op->common.aml; in acpi_ds_build_internal_object()
Dpsscope.c87 ((parser_state->aml >= parser_state->scope->parse_scope.arg_end in acpi_ps_has_completed_scope()
Dacstruct.h88 u8 *aml; member
Ddbutils.c388 walk_state->parser_state.aml = in acpi_db_second_pass_parse()
Ddbxface.c191 aml_offset = (u32)ACPI_PTR_DIFF(op->common.aml, in acpi_db_single_step()
/drivers/net/can/
Dbfin_can.c44 __BFP(aml);
238 writew(0xFFFF, &reg->msk[RECEIVE_STD_CHL + i].aml); in bfin_can_set_reset_mode()
247 writew(0xFFFF, &reg->msk[RECEIVE_EXT_CHL + i].aml); in bfin_can_set_reset_mode()
/drivers/acpi/
Dacpi_configfs.c98 CONFIGFS_BIN_ATTR(acpi_table_, aml, NULL, MAX_ACPI_TABLE_SIZE);

12