OpenBIC
OpenSource Bridge-IC
plat_user_setting.c File Reference
#include <stdio.h>
#include <string.h>
#include "libutil.h"
#include <logging/log.h>
#include "plat_hook.h"
#include "pmbus.h"
#include "plat_gpio.h"
#include "plat_pldm_sensor.h"
#include "plat_cpld.h"
#include "plat_i2c.h"
#include "plat_fru.h"
#include "plat_user_setting.h"
Include dependency graph for plat_user_setting.c:

Macros

#define EEPROM_MAX_WRITE_TIME   5
 

Functions

 LOG_MODULE_REGISTER (plat_user_setting)
 
bool set_user_settings_thermaltrip_to_eeprom (void *thermaltrip_user_settings, uint8_t data_length)
 
bool set_thermaltrip_user_settings (bool thermaltrip_enable, bool is_perm)
 

Variables

thermaltrip_user_settings_struct thermaltrip_user_settings = { 0xFF }
 

Macro Definition Documentation

◆ EEPROM_MAX_WRITE_TIME

#define EEPROM_MAX_WRITE_TIME   5

Function Documentation

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_user_setting  )

◆ set_thermaltrip_user_settings()

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

◆ set_user_settings_thermaltrip_to_eeprom()

bool set_user_settings_thermaltrip_to_eeprom ( void *  thermaltrip_user_settings,
uint8_t  data_length 
)
Here is the call graph for this function:

Variable Documentation

◆ thermaltrip_user_settings

thermaltrip_user_settings_struct thermaltrip_user_settings = { 0xFF }