OpenBIC
OpenSource Bridge-IC
plat_apml.h File Reference
#include "apml.h"
#include "plat_i2c.h"
Include dependency graph for plat_apml.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _addc_trigger_info
 

Macros

#define TSI_HIGH_TEMP_THRESHOLD   0x5F
 
#define TSI_TEMP_ALERT_UPDATE_RATE   0x0A
 
#define PLAT_SBRMI_REVISION   0x20
 
#define CPUID_SIZE   16
 

Functions

struct _addc_trigger_info __attribute__ ((__packed__)) addc_trigger_info
 
bool get_tsi_status ()
 
void reset_tsi_status ()
 
void set_tsi_threshold ()
 
void read_cpuid ()
 
const uint8_t * get_cpuid ()
 

Variables

uint8_t event_version
 
uint8_t RAS_status
 
uint8_t total_socket
 
uint8_t apml_index
 
uint8_t cpuid [16]
 

Macro Definition Documentation

◆ CPUID_SIZE

#define CPUID_SIZE   16

◆ PLAT_SBRMI_REVISION

#define PLAT_SBRMI_REVISION   0x20

◆ TSI_HIGH_TEMP_THRESHOLD

#define TSI_HIGH_TEMP_THRESHOLD   0x5F

◆ TSI_TEMP_ALERT_UPDATE_RATE

#define TSI_TEMP_ALERT_UPDATE_RATE   0x0A

Function Documentation

◆ __attribute__()

struct _addc_trigger_info __attribute__ ( (__packed__)  )

◆ get_cpuid()

const uint8_t * get_cpuid ( )

◆ get_tsi_status()

bool get_tsi_status ( )

◆ read_cpuid()

void read_cpuid ( )
Here is the call graph for this function:

◆ reset_tsi_status()

void reset_tsi_status ( )

◆ set_tsi_threshold()

void set_tsi_threshold ( )
Here is the call graph for this function:

Variable Documentation

◆ apml_index

uint8_t apml_index

◆ cpuid

uint8_t cpuid[16]

◆ event_version

uint8_t event_version

◆ RAS_status

uint8_t RAS_status

◆ total_socket

uint8_t total_socket