coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
alib.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  alib_dptc_param
 

Macros

#define ALIB_FUNCTION_REPORT_AC_DC_STATE   0x1
 
#define ALIB_FUNCTION_DYNAMIC_POWER_THERMAL_CONFIG   0xc
 

Enumerations

enum  alib_dptc_parameter_ids { ALIB_DPTC_THERMAL_CONTROL_LIMIT_ID = 0x3 , ALIB_DPTC_SUSTAINED_POWER_LIMIT_ID = 0x5 , ALIB_DPTC_FAST_PPT_LIMIT_ID = 0x6 , ALIB_DPTC_SLOW_PPT_LIMIT_ID = 0x7 }
 

Functions

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

Variables

struct alib_dptc_param __packed
 

Macro Definition Documentation

◆ ALIB_FUNCTION_DYNAMIC_POWER_THERMAL_CONFIG

#define ALIB_FUNCTION_DYNAMIC_POWER_THERMAL_CONFIG   0xc

Definition at line 7 of file alib.h.

◆ ALIB_FUNCTION_REPORT_AC_DC_STATE

#define ALIB_FUNCTION_REPORT_AC_DC_STATE   0x1

Definition at line 6 of file alib.h.

Enumeration Type Documentation

◆ alib_dptc_parameter_ids

Enumerator
ALIB_DPTC_THERMAL_CONTROL_LIMIT_ID 
ALIB_DPTC_SUSTAINED_POWER_LIMIT_ID 
ALIB_DPTC_FAST_PPT_LIMIT_ID 
ALIB_DPTC_SLOW_PPT_LIMIT_ID 

Definition at line 12 of file alib.h.

Function Documentation

◆ 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:

Variable Documentation

◆ __packed