OpenBIC
OpenSource Bridge-IC
|
Go to the source code of this file.
Classes | |
struct | vr_mapping_sensor |
struct | vr_vout_user_settings |
struct | vr_mapping_status |
struct | _vr_pre_proc_arg |
struct | temp_mapping_sensor |
struct | temp_threshold_user_settings_struct |
struct | temp_threshold_mapping_sensor |
Macros | |
#define | VR_MAX_NUM 11 |
#define | VR_MUTEX_LOCK_TIMEOUT_MS 1000 |
Typedefs | |
typedef struct vr_mapping_sensor | vr_mapping_sensor |
typedef struct vr_vout_user_settings | vr_vout_user_settings |
typedef struct vr_mapping_status | vr_mapping_status |
typedef struct _vr_pre_proc_arg | vr_pre_proc_arg |
typedef struct temp_mapping_sensor | temp_mapping_sensor |
typedef struct temp_threshold_user_settings_struct | temp_threshold_user_settings_struct |
typedef struct temp_threshold_mapping_sensor | temp_threshold_mapping_sensor |
Functions | |
bool | plat_get_vout_min (uint8_t rail, uint16_t *millivolt) |
bool | plat_get_vout_max (uint8_t rail, uint16_t *millivolt) |
bool | plat_set_vout_min (uint8_t rail, uint16_t *millivolt) |
bool | plat_set_vout_max (uint8_t rail, uint16_t *millivolt) |
bool | temp_sensor_rail_name_get (uint8_t rail, uint8_t **name) |
bool | temp_sensor_rail_enum_get (uint8_t *name, uint8_t *num) |
bool | plat_get_temp_status (uint8_t rail, uint8_t *temp_status) |
bool | plat_clear_temp_status (uint8_t rail) |
bool | pre_vr_read (sensor_cfg *cfg, void *args) |
bool | post_vr_read (sensor_cfg *cfg, void *args, int *const reading) |
bool | perm_config_clear () |
bool | is_mb_dc_on () |
void * | vr_mutex_get (enum VR_INDEX_E vr_index) |
void | vr_mutex_init (void) |
bool | vr_rail_name_get (uint8_t rail, uint8_t **name) |
bool | vr_rail_enum_get (uint8_t *name, uint8_t *num) |
int | power_level_send_event (bool is_assert, int ubc1_current, int ubc2_current) |
bool | post_ubc_read (sensor_cfg *cfg, void *args, int *reading) |
void | set_uart_power_event_is_enable (bool is_enable) |
void | pwr_level_mutex_init (void) |
void | set_alert_level_to_default_or_user_setting (bool is_default, int32_t user_setting) |
int | set_user_settings_alert_level_to_eeprom (void *user_settings, uint8_t data_length) |
int | get_user_settings_alert_level_from_eeprom (void *user_settings, uint8_t data_length) |
int | get_alert_level_info (bool *is_assert, int32_t *default_value, int32_t *setting_value) |
bool | vr_rail_voltage_peak_get (uint8_t *name, int *peak_value) |
bool | vr_rail_voltage_peak_clear (uint8_t rail_index) |
bool | vr_vout_user_settings_get (void *user_settings) |
void | user_settings_init (void) |
bool | temp_index_threshold_type_name_get (uint8_t type, uint8_t **name) |
bool | temp_threshold_type_enum_get (uint8_t *name, uint8_t *num) |
bool | plat_get_temp_threshold (uint8_t temp_index_threshold_type, uint32_t *millidegree_celsius) |
bool | plat_set_temp_threshold (uint8_t temp_index_threshold_type, uint32_t *millidegree_celsius, bool is_default, bool is_perm) |
bool | plat_get_vout_command (uint8_t rail, uint16_t *millivolt) |
bool | plat_set_vout_command (uint8_t rail, uint16_t *millivolt, bool is_default, bool is_perm) |
bool | plat_get_vr_status (uint8_t rail, uint8_t vr_status_rail, uint16_t *vr_status) |
bool | plat_clear_vr_status (uint8_t rail) |
bool | vr_status_name_get (uint8_t rail, uint8_t **name) |
bool | vr_status_enum_get (uint8_t *name, uint8_t *num) |
#define VR_MAX_NUM 11 |
#define VR_MUTEX_LOCK_TIMEOUT_MS 1000 |
typedef struct temp_mapping_sensor temp_mapping_sensor |
typedef struct temp_threshold_mapping_sensor temp_threshold_mapping_sensor |
typedef struct vr_mapping_sensor vr_mapping_sensor |
typedef struct vr_mapping_status vr_mapping_status |
typedef struct _vr_pre_proc_arg vr_pre_proc_arg |
typedef struct vr_vout_user_settings vr_vout_user_settings |
enum PLAT_TEMP_INDEX_E |
enum VR_INDEX_E |
enum VR_RAIL_E |
enum VR_STAUS_E |
int get_alert_level_info | ( | bool * | is_assert, |
int32_t * | default_value, | ||
int32_t * | setting_value | ||
) |
int get_user_settings_alert_level_from_eeprom | ( | void * | user_settings, |
uint8_t | data_length | ||
) |
bool is_mb_dc_on | ( | ) |
bool perm_config_clear | ( | ) |
bool plat_clear_temp_status | ( | uint8_t | rail | ) |
bool plat_clear_vr_status | ( | uint8_t | rail | ) |
bool plat_get_temp_status | ( | uint8_t | rail, |
uint8_t * | temp_status | ||
) |
bool plat_get_temp_threshold | ( | uint8_t | temp_index_threshold_type, |
uint32_t * | millidegree_celsius | ||
) |
bool plat_get_vout_command | ( | uint8_t | rail, |
uint16_t * | millivolt | ||
) |
bool plat_get_vout_max | ( | uint8_t | rail, |
uint16_t * | millivolt | ||
) |
bool plat_get_vout_min | ( | uint8_t | rail, |
uint16_t * | millivolt | ||
) |
bool plat_get_vr_status | ( | uint8_t | rail, |
uint8_t | vr_status_rail, | ||
uint16_t * | vr_status | ||
) |
bool plat_set_temp_threshold | ( | uint8_t | temp_index_threshold_type, |
uint32_t * | millidegree_celsius, | ||
bool | is_default, | ||
bool | is_perm | ||
) |
bool plat_set_vout_command | ( | uint8_t | rail, |
uint16_t * | millivolt, | ||
bool | is_default, | ||
bool | is_perm | ||
) |
bool plat_set_vout_max | ( | uint8_t | rail, |
uint16_t * | millivolt | ||
) |
bool plat_set_vout_min | ( | uint8_t | rail, |
uint16_t * | millivolt | ||
) |
bool post_ubc_read | ( | sensor_cfg * | cfg, |
void * | args, | ||
int * | reading | ||
) |
bool post_vr_read | ( | sensor_cfg * | cfg, |
void * | args, | ||
int *const | reading | ||
) |
int power_level_send_event | ( | bool | is_assert, |
int | ubc1_current, | ||
int | ubc2_current | ||
) |
bool pre_vr_read | ( | sensor_cfg * | cfg, |
void * | args | ||
) |
void pwr_level_mutex_init | ( | void | ) |
void set_alert_level_to_default_or_user_setting | ( | bool | is_default, |
int32_t | user_setting | ||
) |
void set_uart_power_event_is_enable | ( | bool | is_enable | ) |
int set_user_settings_alert_level_to_eeprom | ( | void * | user_settings, |
uint8_t | data_length | ||
) |
bool temp_index_threshold_type_name_get | ( | uint8_t | type, |
uint8_t ** | name | ||
) |
bool temp_sensor_rail_enum_get | ( | uint8_t * | name, |
uint8_t * | num | ||
) |
bool temp_sensor_rail_name_get | ( | uint8_t | rail, |
uint8_t ** | name | ||
) |
bool temp_threshold_type_enum_get | ( | uint8_t * | name, |
uint8_t * | num | ||
) |
void user_settings_init | ( | void | ) |
void * vr_mutex_get | ( | enum VR_INDEX_E | vr_index | ) |
void vr_mutex_init | ( | void | ) |
bool vr_rail_enum_get | ( | uint8_t * | name, |
uint8_t * | num | ||
) |
bool vr_rail_name_get | ( | uint8_t | rail, |
uint8_t ** | name | ||
) |
bool vr_rail_voltage_peak_clear | ( | uint8_t | rail_index | ) |
bool vr_rail_voltage_peak_get | ( | uint8_t * | name, |
int * | peak_value | ||
) |
bool vr_status_enum_get | ( | uint8_t * | name, |
uint8_t * | num | ||
) |
bool vr_status_name_get | ( | uint8_t | rail, |
uint8_t ** | name | ||
) |
bool vr_vout_user_settings_get | ( | void * | user_settings | ) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |