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 APML_BUS   I2C_BUS14
 
#define SB_RMI_ADDR   0x3C
 
#define SB_TSI_ADDR   0x4C
 
#define TSI_HIGH_TEMP_THRESHOLD   0x5F
 
#define TSI_TEMP_ALERT_UPDATE_RATE   0x0A
 
#define PLAT_SBRMI_REVISION   0x20
 

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 ()
 
void send_apml_alert_to_bmc (uint8_t ras_status)
 

Variables

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

Macro Definition Documentation

◆ APML_BUS

#define APML_BUS   I2C_BUS14

◆ PLAT_SBRMI_REVISION

#define PLAT_SBRMI_REVISION   0x20

◆ SB_RMI_ADDR

#define SB_RMI_ADDR   0x3C

◆ SB_TSI_ADDR

#define SB_TSI_ADDR   0x4C

◆ 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_tsi_status()

bool get_tsi_status ( )

◆ read_cpuid()

void read_cpuid ( )

◆ reset_tsi_status()

void reset_tsi_status ( )

◆ send_apml_alert_to_bmc()

void send_apml_alert_to_bmc ( uint8_t  ras_status)

◆ set_tsi_threshold()

void set_tsi_threshold ( )

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