coreboot/src/include/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.h acpi_gic: Add helper for platform gicc 2024-10-08 08:58:34 +00:00
acpi_crat.h
acpi_device.h acpi: Make acpi_device_write_dsd_gpio() public 2024-04-19 14:13:41 +00:00
acpi_gnvs.h
acpi_iort.h acpi: Add IORT helper functions 2024-10-03 20:50:25 +00:00
acpi_ivrs.h
acpi_osc.h
acpi_pld.h
acpi_pm.h
acpi_sata.h
acpi_soundwire.h
acpigen.h acpi/acpigen: generate Create*Field() from name string directly 2024-12-10 02:58:29 +00:00
acpigen_dptf.h
acpigen_dsm.h
acpigen_pci.h acpi: Remove acpigen_write_OSC_pci_domain 2024-05-06 10:48:06 +00:00
acpigen_ps2_keybd.h acpigen_ps2_keybd: Support a Do Not Disturb key 2024-06-24 15:17:56 +00:00
acpigen_usb.h