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 include/acpi/acpi_crat.h: Add missing <stdint.h> 2022-11-03 13:03:21 +00:00
acpi_device.h acpi: Make acpi_device_write_dsd_gpio() public 2024-04-19 14:13:41 +00:00
acpi_gnvs.h ACPI: Add usb_charge_mode_from_gnvs() 2023-08-16 17:55:02 +00:00
acpi_iort.h acpi: Add IORT helper functions 2024-10-03 20:50:25 +00:00
acpi_ivrs.h include/acpi: Use C99 flexible arrays 2023-08-01 12:55:42 +00:00
acpi_osc.h acpi: Add acpi_osc.h 2021-04-21 22:25:36 +00:00
acpi_pld.h include/acpi/acpi_pld.h: Remove comment on PLD 2023-09-28 21:26:39 +00:00
acpi_pm.h acpi/acpi_pm.c: refactor acpi_pm_state_for_* functions 2022-09-27 14:19:01 +00:00
acpi_sata.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
acpi_soundwire.h acpi/soundwire: Add functions to generate SoundWire properties 2020-05-21 08:04:02 +00:00
acpigen.h acpi/acpigen: generate Create*Field() from name string directly 2024-12-10 02:58:29 +00:00
acpigen_dptf.h Reland "drivers/intel/dptf: Add multiple fan support under dptf" 2023-04-12 14:11:45 +00:00
acpigen_dsm.h drivers/usb/acpi: Add USB _DSM method to enable/disable USB LPM per port 2023-01-19 05:58:33 +00:00
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 ec/google/chromeec: Add retimer handle to Type C conn 2022-05-04 13:15:30 +00:00