coreboot/src/acpi
Cliff Huang 572da7c524 acpi/acpigen: generate Create*Field() from name string directly
The following functions are added:

_create_buffer_field
acpigen_write_create_buffer_byte_field
acpigen_write_create_buffer_word_field
acpigen_write_create_buffer_dword_field
acpigen_write_create_buffer_qword_field

These functions are to generate:
CreateByteField (<namestring> , offset, <field name>)
CreateWordField (<namestring> , offset, <field name>)
CreateDWordField (<namestring> , offset, <field name>)
CreateQWordField (<namestring> , offset, <field name>)

NOTE:
There are set of acpigen_write_create_[byte/word/dword/qword]_field
functions already, but the field can only be created from Arg[n] or
Local[n] variable objects. A Name object must be first assigned to such
variable. The new functions here will allow us to create field directly
from Name object.

BUG=none

Signed-off-by: Cliff Huang <cliff.huang@intel.com>
Change-Id: I725f17329c501c80d42034e0f6a2fccb2cef5915
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85197
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2024-12-10 02:58:29 +00:00
..
acpi.c acpi/acpi: Fix Qemu's XSDT patching code 2024-06-24 17:12:48 +00:00
acpi_apic.c arch/x86: Enable support for IOAPIC devices 2024-12-06 20:57:44 +00:00
acpi_dmar.c acpi: Add support for DRHD size reporting 2024-06-28 11:27:27 +00:00
acpi_gic.c acpi_gic: Add helper for platform gicc 2024-10-08 08:58:34 +00:00
acpi_hpet.c acpi: add missing device/device.h include 2023-12-07 13:19:47 +00:00
acpi_iort.c acpi: Add IORT helper functions 2024-10-03 20:50:25 +00:00
acpi_pm.c ACPI: Add usb_charge_mode_from_gnvs() 2023-08-16 17:55:02 +00:00
acpi_pptt.c acpi: Add PPTT support 2023-12-02 19:16:26 +00:00
acpigen.c acpi/acpigen: generate Create*Field() from name string directly 2024-12-10 02:58:29 +00:00
acpigen_dptf.c tree: Use <stdio.h> for snprintf 2024-05-29 10:33:54 +00:00
acpigen_dsm.c drivers/usb/acpi: Add USB _DSM method to enable/disable USB LPM per port 2023-01-19 05:58:33 +00:00
acpigen_extern.asl ChromeOS: Refactor ACPI CNVS generation 2021-12-23 21:18:25 +00:00
acpigen_pci.c acpi: Remove acpigen_write_OSC_pci_domain 2024-05-06 10:48:06 +00:00
acpigen_pci_root_resource_producer.c acpi,soc: use is_domain0 function 2024-07-25 22:54:43 +00:00
acpigen_ps2_keybd.c acpi/acpigen_ps2_keybd: Fix total keymap size calculation 2024-08-06 14:54:59 +00:00
acpigen_usb.c tree: Use <stdio.h> for snprintf 2024-05-29 10:33:54 +00:00
device.c tree: Use <stdio.h> for snprintf 2024-05-29 10:33:54 +00:00
dsdt_top.asl acpi: Enable 64bit ECAM resource 2023-11-27 21:10:41 +00:00
fadt_filler.c ACPI: Add helper fill_fadt_extended_pm_io() 2023-08-08 06:51:03 +00:00
gnvs.c acpi: Remove blank lines before '}' and after '{' 2024-03-30 07:42:12 +00:00
Kconfig acpigen_ps2_keybd: Add Fn key to linux,keymap 2024-04-19 17:22:48 +00:00
Makefile.mk acpi: Add IORT helper functions 2024-10-03 20:50:25 +00:00
pld.c
sata.c acpi/sata.c: Fix Wunterminated-string-initialization error on port_name 2024-09-01 05:34:38 +00:00
soundwire.c acpi/soundwire.[ch]: Fix dpn entry array overrun 2023-09-13 15:26:01 +00:00