OpenBIC
OpenSource Bridge-IC
plat_user_setting.h File Reference
#include "sensor.h"
#include "plat_pldm_sensor.h"
#include "plat_cpld.h"
Include dependency graph for plat_user_setting.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  thermaltrip_user_settings_struct
 

Macros

#define VR_MUTEX_LOCK_TIMEOUT_MS   1000
 
#define THERMALTRIP_USER_SETTINGS_OFFSET   0x8500
 
#define CPLD_THERMALTRIP_SWITCH_ADDR   0x3A
 

Typedefs

typedef struct thermaltrip_user_settings_struct thermaltrip_user_settings_struct
 

Enumerations

enum  USER_SETTING_OFFSET_E { THERMALTRIP }
 

Functions

bool set_thermaltrip_user_settings (bool thermaltrip_enable, bool is_perm)
 

Macro Definition Documentation

◆ CPLD_THERMALTRIP_SWITCH_ADDR

#define CPLD_THERMALTRIP_SWITCH_ADDR   0x3A

◆ THERMALTRIP_USER_SETTINGS_OFFSET

#define THERMALTRIP_USER_SETTINGS_OFFSET   0x8500

◆ VR_MUTEX_LOCK_TIMEOUT_MS

#define VR_MUTEX_LOCK_TIMEOUT_MS   1000

Typedef Documentation

◆ thermaltrip_user_settings_struct

Enumeration Type Documentation

◆ USER_SETTING_OFFSET_E

Enumerator
THERMALTRIP 

Function Documentation

◆ set_thermaltrip_user_settings()

bool set_thermaltrip_user_settings ( bool  thermaltrip_enable,
bool  is_perm 
)
Here is the call graph for this function: