/drivers/acpi/acpica/ |
D | psargs.c | 78 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 …]
|
D | utresrc.c | 408 u8 *aml, in acpi_ut_walk_aml_resources() argument 429 end_aml = aml + aml_length; in acpi_ut_walk_aml_resources() 433 while (aml < end_aml) { in acpi_ut_walk_aml_resources() 438 acpi_ut_validate_resource(walk_state, aml, &resource_index); in acpi_ut_walk_aml_resources() 449 length = acpi_ut_get_descriptor_length(aml); in acpi_ut_walk_aml_resources() 455 user_function(aml, length, offset, resource_index, in acpi_ut_walk_aml_resources() 464 if (acpi_ut_get_resource_type(aml) == in acpi_ut_walk_aml_resources() 470 if ((aml + 1) >= end_aml) { in acpi_ut_walk_aml_resources() 477 *context = aml; in acpi_ut_walk_aml_resources() 485 aml += length; in acpi_ut_walk_aml_resources() [all …]
|
D | rsmisc.c | 72 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() 202 target = ACPI_ADD_PTR(void, aml, (info->value + 2)); in acpi_rs_convert_aml_to_resource() 207 target = ACPI_ADD_PTR(void, aml, info->value); in acpi_rs_convert_aml_to_resource() 213 item_count = aml->large_header.resource_length + in acpi_rs_convert_aml_to_resource() 271 source = ACPI_ADD_PTR(void, aml, ACPI_GET16(source)); in acpi_rs_convert_aml_to_resource() 287 source = ACPI_ADD_PTR(void, aml, ACPI_GET16(source)); in acpi_rs_convert_aml_to_resource() 303 source = ACPI_ADD_PTR(void, aml, info->value); in acpi_rs_convert_aml_to_resource() [all …]
|
D | rslist.c | 66 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() 92 if (acpi_ut_get_resource_type(aml) == ACPI_RESOURCE_NAME_SERIAL_BUS) { in acpi_rs_convert_aml_to_resources() 123 *aml)); in acpi_rs_convert_aml_to_resources() 129 acpi_ut_get_resource_type(aml), length, in acpi_rs_convert_aml_to_resources() 161 u8 *aml = output_buffer; in acpi_rs_convert_resources_to_aml() local 170 while (aml < end_aml) { in acpi_rs_convert_resources_to_aml() 217 aml), in acpi_rs_convert_resources_to_aml() 231 aml), NULL); in acpi_rs_convert_resources_to_aml() 249 aml += acpi_ut_get_descriptor_length(aml); in acpi_rs_convert_resources_to_aml()
|
D | rsaddr.c | 308 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 …]
|
D | psparse.c | 102 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 …]
|
D | rsutils.c | 199 union aml_resource *aml) in acpi_rs_set_resource_length() argument 208 (total_length - acpi_ut_get_resource_header_length(aml)); in acpi_rs_set_resource_length() 212 if (aml->small_header.descriptor_type & ACPI_RESOURCE_NAME_LARGE) { in acpi_rs_set_resource_length() 216 ACPI_MOVE_16_TO_16(&aml->large_header.resource_length, in acpi_rs_set_resource_length() 221 aml->small_header.descriptor_type = (u8) in acpi_rs_set_resource_length() 224 ((aml->small_header. in acpi_rs_set_resource_length() 251 union aml_resource *aml) in acpi_rs_set_resource_header() argument 257 aml->small_header.descriptor_type = descriptor_type; in acpi_rs_set_resource_header() 261 acpi_rs_set_resource_length(total_length, aml); in acpi_rs_set_resource_header() 319 union aml_resource * aml, char *string_ptr) in acpi_rs_get_resource_source() argument [all …]
|
D | acresrc.h | 238 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);
|
D | psloop.c | 129 (u32) ACPI_PTR_DIFF(walk_state->parser_state.aml, in acpi_ps_get_arguments() 193 walk_state->parser_state.aml = in acpi_ps_get_arguments() 243 op->named.data = walk_state->parser_state.aml; in acpi_ps_get_arguments() 246 walk_state->parser_state.aml); in acpi_ps_get_arguments() 250 walk_state->parser_state.aml = in acpi_ps_get_arguments() 275 walk_state->parser_state.aml = in acpi_ps_get_arguments() 469 while ((parser_state->aml < parser_state->aml_end) || (op)) { in acpi_ps_parse_loop() 470 aml_op_start = parser_state->aml; in acpi_ps_parse_loop() 500 parser_state->aml, in acpi_ps_parse_loop() 574 (u32) (parser_state->aml - op->named.data); in acpi_ps_parse_loop() [all …]
|
D | psobject.c | 73 (u32)ACPI_PTR_DIFF(walk_state->parser_state.aml, in acpi_ps_get_aml_opcode() 107 ACPI_DUMP_BUFFER((walk_state->parser_state.aml - 16), in acpi_ps_get_aml_opcode() 124 aml - 16), 48, DB_BYTE_DISPLAY, in acpi_ps_get_aml_opcode() 134 walk_state->parser_state.aml++; in acpi_ps_get_aml_opcode() 136 walk_state->parser_state.aml++; in acpi_ps_get_aml_opcode() 145 walk_state->parser_state.aml += in acpi_ps_get_aml_opcode()
|
D | acutils.h | 98 acpi_status(*acpi_walk_aml_callback) (u8 *aml, 546 u8 *aml, 553 void *aml, u8 *return_index); 555 u32 acpi_ut_get_descriptor_length(void *aml); 557 u16 acpi_ut_get_resource_length(void *aml); 559 u8 acpi_ut_get_resource_header_length(void *aml); 561 u8 acpi_ut_get_resource_type(void *aml);
|
D | nsxfname.c | 554 parser_state.aml = buffer + sizeof(struct acpi_table_header); in ACPI_EXPORT_SYMBOL() 562 parser_state.aml += acpi_ps_get_opcode_size(opcode); in ACPI_EXPORT_SYMBOL() 565 method_flags = *parser_state.aml++; in ACPI_EXPORT_SYMBOL() 566 aml_start = parser_state.aml; in ACPI_EXPORT_SYMBOL()
|
D | dscontrol.c | 89 (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()
|
D | psscope.c | 87 ((parser_state->aml >= parser_state->scope->parse_scope.arg_end in acpi_ps_has_completed_scope()
|
D | dswstate.c | 612 walk_state->parser_state.aml = in acpi_ds_init_aml_walk()
|
D | dswexec.c | 745 if (walk_state->parser_state.aml == walk_state->parser_state.aml_end) { in acpi_ds_exec_end_op()
|
D | aclocal.h | 807 u8 *aml; /* Next AML byte */ member
|
/drivers/net/can/ |
D | bfin_can.c | 133 bfin_write(®->msk[RECEIVE_STD_CHL + i].aml, 0xFFFF); in bfin_can_set_reset_mode() 142 bfin_write(®->msk[RECEIVE_EXT_CHL + i].aml, 0xFFFF); in bfin_can_set_reset_mode()
|