coreboot/src/include/acpi
Cliff Huang 24f3dc8a17 src/acpi: add function gen: if_lgreater_ and namestr assignment
1. add functions to generate if greater than conditions:
acpigen_write_if_lgreater_op_op:
   if (op1 > op2)
acpigen_write_if_lgreater_op_int:
   if (op > val)
acpigen_write_if_lgreater_namestr_int:
   if (namestr > val)
2. add function to assignal value to a namestr
 acpigen_write_store_namestr_to_op:
   namestr = val

TEST=Use above functions and check the generated SSDT table after OS
boot.

Signed-off-by: Cliff Huang <cliff.huang@intel.com>
Change-Id: Iffe1b23362a7ab58bdc2aa8daf45cd6f086ee818
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72825
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Reviewed-by: Anil Kumar K <anil.kumar.k@intel.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-02-09 15:04:34 +00:00
..
acpi.h soc/intel/{adl, common}: provide a list of D-states to enter LPM 2022-12-15 16:53:51 +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: Helper functions to add certain _DSD properties 2022-12-05 14:30:57 +00:00
acpi_gnvs.h lib/hardwaremain.c: Move creating ACPI structs to bootstate hooks 2022-04-27 10:56:47 +00:00
acpi_ivrs.h soc/amd/acpi: Move ACPI IVRS generation to coreboot 2020-08-20 19:42:05 +00:00
acpi_osc.h acpi: Add acpi_osc.h 2021-04-21 22:25:36 +00:00
acpi_pld.h acpi: Use ACPI macros to configure USB port _PLD object 2022-02-18 14:53:49 +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
acpi_soundwire.h
acpigen.h src/acpi: add function gen: if_lgreater_ and namestr assignment 2023-02-09 15:04:34 +00:00
acpigen_dptf.h Revert "drivers/intel/dptf: Add multiple fan support under dptf" 2022-10-20 14:54:09 +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: Add acpigen_write_PRT* helpers for generating _PRT entries 2021-03-24 16:08:57 +00:00
acpigen_ps2_keybd.h arch/x86/acpi: Add code for KEY_MENU 2022-02-18 20:18:41 +00:00
acpigen_usb.h ec/google/chromeec: Add retimer handle to Type C conn 2022-05-04 13:15:30 +00:00