Home
last modified time | relevance | path

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

12

/drivers/acpi/acpica/
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 …]
Dutresrc.c411 u8 *aml, in acpi_ut_walk_aml_resources() argument
432 end_aml = aml + aml_length; in acpi_ut_walk_aml_resources()
436 while (aml < end_aml) { in acpi_ut_walk_aml_resources()
441 acpi_ut_validate_resource(walk_state, aml, &resource_index); in acpi_ut_walk_aml_resources()
452 length = acpi_ut_get_descriptor_length(aml); in acpi_ut_walk_aml_resources()
458 user_function(aml, length, offset, resource_index, in acpi_ut_walk_aml_resources()
467 if (acpi_ut_get_resource_type(aml) == in acpi_ut_walk_aml_resources()
473 if ((aml + 1) >= end_aml) { in acpi_ut_walk_aml_resources()
480 *context = aml; in acpi_ut_walk_aml_resources()
488 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.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()
191 op->common.aml); in acpi_ps_complete_this_op()
216 op->common.aml); in acpi_ps_complete_this_op()
232 op->common.aml); in acpi_ps_complete_this_op()
249 op->common.aml); in acpi_ps_complete_this_op()
345 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 …]
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);
Dpsloop.c129 walk_state->aml = walk_state->parser_state.aml; in acpi_ps_get_arguments()
189 walk_state->parser_state.aml = in acpi_ps_get_arguments()
239 op->named.data = walk_state->parser_state.aml; in acpi_ps_get_arguments()
242 walk_state->parser_state.aml); in acpi_ps_get_arguments()
246 walk_state->parser_state.aml = in acpi_ps_get_arguments()
271 walk_state->parser_state.aml = in acpi_ps_get_arguments()
478 while ((parser_state->aml < parser_state->aml_end) || (op)) { in acpi_ps_parse_loop()
479 aml_op_start = parser_state->aml; in acpi_ps_parse_loop()
578 (u32) (parser_state->aml - op->named.data); in acpi_ps_parse_loop()
590 (u32) (parser_state->aml - op->named.data); in acpi_ps_parse_loop()
[all …]
Dpsutils.c63 union acpi_parse_object *acpi_ps_create_scope_op(u8 *aml) in acpi_ps_create_scope_op() argument
67 scope_op = acpi_ps_alloc_op(AML_SCOPE_OP, aml); in acpi_ps_create_scope_op()
116 union acpi_parse_object *acpi_ps_alloc_op(u16 opcode, u8 *aml) in acpi_ps_alloc_op() argument
153 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()
Dpsobject.c73 walk_state->aml = walk_state->parser_state.aml; in acpi_ps_get_aml_opcode()
100 aml_offset = (u32)ACPI_PTR_DIFF(walk_state->aml, in acpi_ps_get_aml_opcode()
110 ACPI_DUMP_BUFFER((walk_state->parser_state.aml - 16), in acpi_ps_get_aml_opcode()
130 aml - 16), 48, DB_BYTE_DISPLAY, in acpi_ps_get_aml_opcode()
148 walk_state->parser_state.aml++; in acpi_ps_get_aml_opcode()
150 walk_state->parser_state.aml++; in acpi_ps_get_aml_opcode()
159 walk_state->parser_state.aml += in acpi_ps_get_aml_opcode()
Dacutils.h151 acpi_status (*acpi_walk_aml_callback) (u8 *aml,
582 u8 *aml,
589 void *aml, u8 *return_index);
591 u32 acpi_ut_get_descriptor_length(void *aml);
593 u16 acpi_ut_get_resource_length(void *aml);
595 u8 acpi_ut_get_resource_header_length(void *aml);
597 u8 acpi_ut_get_resource_type(void *aml);
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()
Dnsxfname.c571 parser_state.aml = buffer + sizeof(struct acpi_table_header); in ACPI_EXPORT_SYMBOL()
579 parser_state.aml += acpi_ps_get_opcode_size(opcode); in ACPI_EXPORT_SYMBOL()
583 method_flags = *parser_state.aml++; in ACPI_EXPORT_SYMBOL()
584 aml_start = parser_state.aml; in ACPI_EXPORT_SYMBOL()
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);
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.c190 aml_offset = (u32)ACPI_PTR_DIFF(op->common.aml, in acpi_db_single_step()
Daclocal.h762 u8 *aml; /* Address of declaration in AML */\
848 u8 *aml; /* Next AML byte */ member
Ddbmethod.c91 aml_offset = (u32)ACPI_PTR_DIFF(op->common.aml, in acpi_db_set_method_breakpoint()
/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.c90 CONFIGFS_BIN_ATTR(acpi_table_, aml, NULL, MAX_ACPI_TABLE_SIZE);

12