Home
last modified time | relevance | path

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

/linux/drivers/acpi/acpica/
H A Drsmisc.c36 union aml_resource *aml, in acpi_rs_convert_aml_to_resource() argument
65 aml_resource_length = acpi_ut_get_resource_length(aml); in acpi_rs_convert_aml_to_resource()
79 source = ACPI_ADD_PTR(void, aml, info->aml_offset); in acpi_rs_convert_aml_to_resource()
153 target = ACPI_ADD_PTR(void, aml, info->value); in acpi_rs_convert_aml_to_resource()
175 target = ACPI_ADD_PTR(void, aml, (info->value + 2)); in acpi_rs_convert_aml_to_resource()
180 target = ACPI_ADD_PTR(void, aml, info->value); in acpi_rs_convert_aml_to_resource()
186 item_count = aml->large_header.resource_length + in acpi_rs_convert_aml_to_resource()
246 source = ACPI_ADD_PTR(void, aml, ACPI_GET16(source)); in acpi_rs_convert_aml_to_resource()
262 source = ACPI_ADD_PTR(void, aml, ACPI_GET16(source)); in acpi_rs_convert_aml_to_resource()
278 source = ACPI_ADD_PTR(void, aml, info->value); in acpi_rs_convert_aml_to_resource()
[all …]
H 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()
H 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()
281 (aml->address.resource_type != 0x0A)) { in acpi_rs_get_address_common()
287 (void)acpi_rs_convert_aml_to_resource(resource, aml, in acpi_rs_get_address_common()
293 (void)acpi_rs_convert_aml_to_resource(resource, aml, in acpi_rs_get_address_common()
296 (void)acpi_rs_convert_aml_to_resource(resource, aml, in acpi_rs_get_address_common()
302 aml->address.specific_flags; in acpi_rs_get_address_common()
323 acpi_rs_set_address_common(union aml_resource *aml, in acpi_rs_set_address_common() argument
330 (void)acpi_rs_convert_resource_to_aml(resource, aml, in acpi_rs_set_address_common()
[all …]
H 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()
181 if (aml->small_header.descriptor_type & ACPI_RESOURCE_NAME_LARGE) { 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
[all …]
H A Dacutils.h123 acpi_status (*acpi_walk_aml_callback) (u8 *aml,
595 u8 *aml,
602 void *aml, u8 *return_index);
604 u32 acpi_ut_get_descriptor_length(void *aml);
606 u16 acpi_ut_get_resource_length(void *aml);
608 u8 acpi_ut_get_resource_header_length(void *aml);
610 u8 acpi_ut_get_resource_type(void *aml);
H A Ddbutils.c352 walk_state->parser_state.aml = in acpi_db_second_pass_parse()
H A Ddbxface.c225 aml_offset = (u32)ACPI_PTR_DIFF(op->common.aml, in acpi_db_single_step()
H A Ddbmethod.c57 aml_offset = (u32)ACPI_PTR_DIFF(op->common.aml, in acpi_db_set_method_breakpoint()
/linux/Documentation/ABI/testing/
H 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/Documentation/admin-guide/acpi/
H 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
H 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/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxl-s905d-libretech-pc.dts13 compatible = "libretech,aml-s905d-pc", "amlogic,s905d",
H A Dmeson-gxm-s912-libretech-pc.dts13 compatible = "libretech,aml-s912-pc", "amlogic,s912",
/linux/drivers/hwmon/
H A Dasus-ec-sensors.c1014 acpi_handle aml; member
1032 return ACPI_SUCCESS(acpi_acquire_mutex(data->mutex.aml, in lock_via_acpi_mutex()
1038 return ACPI_SUCCESS(acpi_release_mutex(data->mutex.aml, NULL)); in unlock_acpi_mutex()
1192 &state->lock_data.mutex.aml); in setup_lock_data()
/linux/drivers/acpi/
H A Dacpi_configfs.c92 CONFIGFS_BIN_ATTR(acpi_table_, aml, NULL, MAX_ACPI_TABLE_SIZE);
/linux/sound/pci/emu10k1/
H A Demupcm.c303 u32 aml = emu10k1_send_target_from_amount(send_amount[2 * i]); in snd_emu10k1_pcm_init_voice() local
305 snd_emu10k1_ptr_write(emu, A_CSBA + i, voice, (amh << 16) | aml); in snd_emu10k1_pcm_init_voice()