coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
alib.c File Reference
#include <acpi/acpigen.h>
#include <amdblocks/alib.h>
#include <types.h>
Include dependency graph for alib.c:

Go to the source code of this file.

Functions

static void acpigen_dptc_call_alib (const char *buf_name, uint8_t *buffer, size_t size)
 
void acpigen_write_alib_dptc (uint8_t *default_param, size_t default_param_len, uint8_t *tablet_param, size_t tablet_param_len)
 

Function Documentation

◆ acpigen_dptc_call_alib()

static void acpigen_dptc_call_alib ( const char *  buf_name,
uint8_t buffer,
size_t  size 
)
static

Definition at line 7 of file alib.c.

References acpigen_emit_namestring(), acpigen_write_byte_buffer(), acpigen_write_integer(), acpigen_write_name(), ALIB_FUNCTION_DYNAMIC_POWER_THERMAL_CONFIG, and buffer.

Referenced by acpigen_write_alib_dptc().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ acpigen_write_alib_dptc()

void acpigen_write_alib_dptc ( uint8_t default_param,
size_t  default_param_len,
uint8_t tablet_param,
size_t  tablet_param_len 
)

Definition at line 19 of file alib.c.

References acpigen_dptc_call_alib(), acpigen_pop_len(), acpigen_write_else(), acpigen_write_if_lequal_namestr_int(), acpigen_write_method_serialized(), and acpigen_write_scope().

Referenced by acipgen_dptci().

Here is the call graph for this function:
Here is the caller graph for this function: