Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/acpi/acpica/
A Dpsargs.c45 u8 *aml = parser_state->aml; in acpi_ps_get_next_package_length() local
367 u8 *aml = parser_state->aml; in acpi_ps_get_next_simple_arg() local
458 u8 *aml; in acpi_ps_get_next_field() local
473 aml = parser_state->aml; in acpi_ps_get_next_field()
481 parser_state->aml++; in acpi_ps_get_next_field()
487 parser_state->aml++; in acpi_ps_get_next_field()
493 parser_state->aml++; in acpi_ps_get_next_field()
499 parser_state->aml++; in acpi_ps_get_next_field()
569 parser_state->aml++; in acpi_ps_get_next_field()
571 parser_state->aml++; in acpi_ps_get_next_field()
[all …]
A Dutresrc.c139 u8 *aml, in acpi_ut_walk_aml_resources() argument
160 end_aml = aml + aml_length; in acpi_ut_walk_aml_resources()
164 while (aml < end_aml) { in acpi_ut_walk_aml_resources()
195 if (acpi_ut_get_resource_type(aml) == in acpi_ut_walk_aml_resources()
201 if ((aml + 1) >= end_aml) { in acpi_ut_walk_aml_resources()
215 *context = aml; in acpi_ut_walk_aml_resources()
223 aml += length; in acpi_ut_walk_aml_resources()
264 void *aml, u8 *return_index) in acpi_ut_validate_resource() argument
277 resource_type = ACPI_GET8(aml); in acpi_ut_validate_resource()
419 u8 acpi_ut_get_resource_type(void *aml) in acpi_ut_get_resource_type() argument
[all …]
A Drsmisc.c36 union aml_resource *aml, in acpi_rs_convert_aml_to_resource() argument
293 ACPI_ADD_PTR(void, aml, in acpi_rs_convert_aml_to_resource()
327 destination, aml, NULL); in acpi_rs_convert_aml_to_resource()
345 destination, aml, in acpi_rs_convert_aml_to_resource()
445 union aml_resource *aml, in acpi_rs_convert_resource_to_aml() argument
479 memset(aml, 0, INIT_RESOURCE_LENGTH(info)); in acpi_rs_convert_resource_to_aml()
482 aml_length, aml); in acpi_rs_convert_resource_to_aml()
665 acpi_rs_set_address_common(aml, resource); in acpi_rs_convert_resource_to_aml()
673 acpi_rs_set_resource_source(aml, in acpi_rs_convert_resource_to_aml()
780 if (((aml->irq.flags & 0x09) == 0x00) || ((aml->irq.flags & 0x09) == 0x09)) {
[all …]
A Dpsloop.c96 walk_state->aml = walk_state->parser_state.aml; in acpi_ps_get_arguments()
151 walk_state->parser_state.aml = in acpi_ps_get_arguments()
181 walk_state->parser_state.aml = in acpi_ps_get_arguments()
303 aml_op_start = parser_state->aml; in acpi_ps_parse_loop()
364 walk_state->aml = in acpi_ps_parse_loop()
418 parser_state->aml = in acpi_ps_parse_loop()
421 parser_state->aml = in acpi_ps_parse_loop()
424 walk_state->aml = parser_state->aml; in acpi_ps_parse_loop()
432 walk_state->aml + 1; in acpi_ps_parse_loop()
436 walk_state->aml = in acpi_ps_parse_loop()
[all …]
A Drslist.c30 acpi_rs_convert_aml_to_resources(u8 * aml, in acpi_rs_convert_aml_to_resources() argument
55 aml_resource = ACPI_CAST_PTR(union aml_resource, aml); in acpi_rs_convert_aml_to_resources()
57 if (acpi_ut_get_resource_type(aml) == ACPI_RESOURCE_NAME_SERIAL_BUS) { in acpi_rs_convert_aml_to_resources()
88 *aml)); in acpi_rs_convert_aml_to_resources()
99 acpi_ut_get_resource_type(aml), length, in acpi_rs_convert_aml_to_resources()
131 u8 *aml = output_buffer; in acpi_rs_convert_resources_to_aml() local
140 while (aml < end_aml) { in acpi_rs_convert_resources_to_aml()
187 aml), in acpi_rs_convert_resources_to_aml()
201 aml), NULL); in acpi_rs_convert_resources_to_aml()
219 aml += acpi_ut_get_descriptor_length(aml); in acpi_rs_convert_resources_to_aml()
A Dpsparse.c69 u8 *aml; in acpi_ps_peek_opcode() local
72 aml = parser_state->aml; in acpi_ps_peek_opcode()
73 opcode = (u16) ACPI_GET8(aml); in acpi_ps_peek_opcode()
79 aml++; in acpi_ps_peek_opcode()
158 op->common.aml); in acpi_ps_complete_this_op()
183 op->common.aml); in acpi_ps_complete_this_op()
199 op->common.aml); in acpi_ps_complete_this_op()
216 op->common.aml); in acpi_ps_complete_this_op()
312 parser_state->aml = parser_state->aml_end; in acpi_ps_next_parse_state()
419 walk_state, walk_state->parser_state.aml, in acpi_ps_parse_aml()
[all …]
A Drsaddr.c273 union aml_resource *aml) in acpi_rs_get_address_common() argument
279 if ((aml->address.resource_type > 2) && in acpi_rs_get_address_common()
280 (aml->address.resource_type < 0xC0)) { in acpi_rs_get_address_common()
286 (void)acpi_rs_convert_aml_to_resource(resource, aml, in acpi_rs_get_address_common()
292 (void)acpi_rs_convert_aml_to_resource(resource, aml, in acpi_rs_get_address_common()
295 (void)acpi_rs_convert_aml_to_resource(resource, aml, in acpi_rs_get_address_common()
301 aml->address.specific_flags; in acpi_rs_get_address_common()
322 acpi_rs_set_address_common(union aml_resource *aml, in acpi_rs_set_address_common() argument
329 (void)acpi_rs_convert_resource_to_aml(resource, aml, in acpi_rs_set_address_common()
335 (void)acpi_rs_convert_resource_to_aml(resource, aml, in acpi_rs_set_address_common()
[all …]
A Drsutils.c168 union aml_resource *aml) in acpi_rs_set_resource_length() argument
177 (total_length - acpi_ut_get_resource_header_length(aml)); in acpi_rs_set_resource_length()
185 ACPI_MOVE_16_TO_16(&aml->large_header.resource_length, in acpi_rs_set_resource_length()
192 aml->small_header.descriptor_type = (u8) in acpi_rs_set_resource_length()
193 ((aml->small_header.descriptor_type & in acpi_rs_set_resource_length()
219 union aml_resource *aml) in acpi_rs_set_resource_header() argument
225 aml->small_header.descriptor_type = descriptor_type; in acpi_rs_set_resource_header()
229 acpi_rs_set_resource_length(total_length, aml); in acpi_rs_set_resource_header()
287 union aml_resource * aml, char *string_ptr) in acpi_rs_get_resource_source() argument
296 aml_resource_source = ACPI_ADD_PTR(u8, aml, minimum_length); in acpi_rs_get_resource_source()
[all …]
A 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);
A Dpsobject.c41 walk_state->aml = walk_state->parser_state.aml; in acpi_ps_get_aml_opcode()
69 (u32)ACPI_PTR_DIFF(walk_state->aml, in acpi_ps_get_aml_opcode()
80 ACPI_DUMP_BUFFER((walk_state->parser_state.aml - 16), in acpi_ps_get_aml_opcode()
100 aml - 16), 48, DB_BYTE_DISPLAY, in acpi_ps_get_aml_opcode()
118 walk_state->parser_state.aml++; in acpi_ps_get_aml_opcode()
120 walk_state->parser_state.aml++; in acpi_ps_get_aml_opcode()
129 walk_state->parser_state.aml += in acpi_ps_get_aml_opcode()
254 (*op)->named.aml = unnamed_op->common.aml; in acpi_ps_build_named_op()
346 walk_state->aml = walk_state->parser_state.aml + 2; in acpi_ps_create_op()
347 walk_state->parser_state.aml = walk_state->aml; in acpi_ps_create_op()
A Dpsutils.c30 union acpi_parse_object *acpi_ps_create_scope_op(u8 *aml) in acpi_ps_create_scope_op() argument
34 scope_op = acpi_ps_alloc_op(AML_SCOPE_OP, aml); in acpi_ps_create_scope_op()
85 union acpi_parse_object *acpi_ps_alloc_op(u16 opcode, u8 *aml) in acpi_ps_alloc_op() argument
122 op->common.aml = aml; in acpi_ps_alloc_op()
A Dextrace.c132 u8 begin, u8 *aml, char *pathname) in acpi_ex_trace_point() argument
141 begin ? "Begin" : "End", aml, pathname)); in acpi_ex_trace_point()
146 begin ? "Begin" : "End", aml)); in acpi_ex_trace_point()
288 op->common.aml, op->common.aml_op_name); in acpi_ex_start_trace_opcode()
316 op->common.aml, op->common.aml_op_name); in acpi_ex_stop_trace_opcode()
A Dacutils.h121 acpi_status (*acpi_walk_aml_callback) (u8 *aml,
593 u8 *aml,
600 void *aml, u8 *return_index);
602 u32 acpi_ut_get_descriptor_length(void *aml);
604 u16 acpi_ut_get_resource_length(void *aml);
606 u8 acpi_ut_get_resource_header_length(void *aml);
608 u8 acpi_ut_get_resource_type(void *aml);
A Dutdebug.c597 acpi_trace_point(acpi_trace_event_type type, u8 begin, u8 *aml, char *pathname) in acpi_trace_point() argument
602 acpi_ex_trace_point(type, begin, aml, pathname); in acpi_trace_point()
605 acpi_os_trace_point(type, begin, aml, pathname); in acpi_trace_point()
A Dnsxfname.c505 parser_state.aml = buffer + sizeof(struct acpi_table_header); in ACPI_EXPORT_SYMBOL()
513 parser_state.aml += acpi_ps_get_opcode_size(opcode); in ACPI_EXPORT_SYMBOL()
517 method_flags = *parser_state.aml++; in ACPI_EXPORT_SYMBOL()
518 aml_start = parser_state.aml; in ACPI_EXPORT_SYMBOL()
A Ddspkginit.c139 obj_desc->package.aml_start = walk_state->aml; in acpi_ds_build_internal_package_obj()
408 status = acpi_ns_lookup(&scope_info, (char *)element->reference.aml, in acpi_ds_resolve_package_element()
436 aml, NULL, &external_path); in acpi_ds_resolve_package_element()
A Dacparser.h200 union acpi_parse_object *acpi_ps_create_scope_op(u8 *aml);
204 union acpi_parse_object *acpi_ps_alloc_op(u16 opcode, u8 *aml);
A Ddscontrol.c55 (walk_state->parser_state.aml - 1)) { in acpi_ds_exec_begin_control_op()
83 walk_state->parser_state.aml - 1; in acpi_ds_exec_begin_control_op()
/linux-6.3-rc2/Documentation/ABI/testing/
A Dconfigfs-acpi17 aml
19 fill in the ACPI aml definitions. Once the aml
28 after the table has been loaded by filling the aml entry:
/linux-6.3-rc2/Documentation/devicetree/bindings/arm/
A Damlogic.yaml80 - libretech,aml-s805x-ac
99 - libretech,aml-s905x-cc
100 - libretech,aml-s905x-cc-v2
110 - libretech,aml-s905d-pc
126 - libretech,aml-s912-pc
/linux-6.3-rc2/Documentation/admin-guide/acpi/
A Dinitrd_table_override.rst65 DefinitionBlock ("DSDT.aml", "DSDT", 2, "INTEL ", "TEMPLATE", 0x00000000)
67 DefinitionBlock ("DSDT.aml", "DSDT", 2, "INTEL ", "TEMPLATE", 0x00000001)
78 cp dsdt.aml kernel/firmware/acpi
83 cp facp.aml kernel/firmware/acpi
84 cp ssdt1.aml kernel/firmware/acpi
A Dssdt-overlays.rst25 DefinitionBlock ("minnowmax.aml", "SSDT", 1, "Vendor", "Accel", 0x00000003)
63 AML Output: minnowmax.aml - 165 bytes, 6 named objects, 1 executable opcodes
91 cp ssdt.aml kernel/firmware/acpi
177 and writing the SSDT AML code in the aml attribute::
181 cat ~/ssdt.aml > my_ssdt/aml
/linux-6.3-rc2/arch/arm64/boot/dts/amlogic/
A Dmeson-gxl-s905d-libretech-pc.dts13 compatible = "libretech,aml-s905d-pc", "amlogic,s905d",
A Dmeson-gxm-s912-libretech-pc.dts13 compatible = "libretech,aml-s912-pc", "amlogic,s912",
/linux-6.3-rc2/Documentation/firmware-guide/acpi/
A Dindex.rst21 aml-debugger

Completed in 59 milliseconds

12