coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
chip.h File Reference
#include <acpi/acpigen_dptf.h>
#include <timer.h>
Include dependency graph for chip.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  drivers_intel_dptf_config
 

Macros

#define DPTF_PASSIVE(src, tgt, tmp, prd)    {.source = DPTF_##src, .target = DPTF_##tgt, .temp = (tmp), .period = (prd)}
 
#define DPTF_CRITICAL(src, tmp, typ)    {.source = DPTF_##src, .temp = (tmp), .type = DPTF_CRITICAL_##typ}
 
#define TEMP_PCT(t, p)   {.temp = (t), .fan_pct = (p)}
 
#define DPTF_OEM_VARIABLE_COUNT   6
 

Macro Definition Documentation

◆ DPTF_CRITICAL

#define DPTF_CRITICAL (   src,
  tmp,
  typ 
)     {.source = DPTF_##src, .temp = (tmp), .type = DPTF_CRITICAL_##typ}

Definition at line 11 of file chip.h.

◆ DPTF_OEM_VARIABLE_COUNT

#define DPTF_OEM_VARIABLE_COUNT   6

Definition at line 16 of file chip.h.

◆ DPTF_PASSIVE

#define DPTF_PASSIVE (   src,
  tgt,
  tmp,
  prd 
)     {.source = DPTF_##src, .target = DPTF_##tgt, .temp = (tmp), .period = (prd)}

Definition at line 9 of file chip.h.

◆ TEMP_PCT

#define TEMP_PCT (   t,
 
)    {.temp = (t), .fan_pct = (p)}

Definition at line 13 of file chip.h.