OpenBIC
OpenSource Bridge-IC
|
#include <logging/log.h>
#include "pmbus.h"
#include "ast_adc.h"
#include "pdr.h"
#include "tmp431.h"
#include "sensor.h"
#include "pldm_sensor.h"
#include "pldm_monitor.h"
#include "plat_hook.h"
#include "plat_i2c.h"
#include "plat_pldm_sensor.h"
#include "plat_class.h"
#include "plat_gpio.h"
#include "emc1413.h"
Classes | |
struct | plat_sensor_vr_extend_info |
struct | plat_sensor_tmp_extend_info |
Typedefs | |
typedef struct plat_sensor_vr_extend_info | plat_sensor_vr_extend_info |
typedef struct plat_sensor_tmp_extend_info | plat_sensor_tmp_extend_info |
typedef struct plat_sensor_tmp_extend_info plat_sensor_tmp_extend_info |
typedef struct plat_sensor_vr_extend_info plat_sensor_vr_extend_info |
size_t char16_strlen | ( | const char16_t * | str | ) |
void find_init_args_by_sensor_id | ( | uint16_t | sensor_id, |
void ** | init_args | ||
) |
void find_tmp_addr_and_offset_by_sensor_id | ( | uint8_t | sensor_id, |
uint8_t * | tmp_addr, | ||
uint16_t * | tmp_offset | ||
) |
void find_vr_addr_by_sensor_id | ( | uint8_t | sensor_id, |
uint8_t * | vr_addr | ||
) |
bool get_plat_sensor_polling_enable_flag | ( | ) |
bool get_plat_sensor_temp_polling_enable_flag | ( | ) |
bool get_plat_sensor_ubc_polling_enable_flag | ( | ) |
bool get_plat_sensor_vr_polling_enable_flag | ( | ) |
sensor_cfg * get_sensor_cfg_by_sensor_id | ( | uint8_t | sensor_id | ) |
bool get_sensor_info_by_sensor_id | ( | uint8_t | sensor_id, |
uint8_t * | vr_bus, | ||
uint8_t * | vr_addr, | ||
uint8_t * | sensor_dev | ||
) |
bool is_dc_access | ( | uint8_t | sensor_num | ) |
bool is_osfp_3v3_access | ( | uint8_t | sensor_num | ) |
bool is_temp_access | ( | uint8_t | cfg_idx | ) |
bool is_ubc_access | ( | uint8_t | sensor_num | ) |
bool is_vr_access | ( | uint8_t | sensor_num | ) |
LOG_MODULE_REGISTER | ( | plat_pldm_sensor | ) |
uint16_t plat_get_pdr_entity_aux_names_size | ( | ) |
uint32_t plat_get_pdr_size | ( | uint8_t | pdr_type | ) |
void plat_init_entity_aux_names_pdr_table | ( | ) |
void plat_load_aux_sensor_names_pdr_table | ( | PDR_sensor_auxiliary_names * | aux_sensor_name_table | ) |
void plat_load_entity_aux_names_pdr_table | ( | PDR_entity_auxiliary_names * | entity_aux_name_table | ) |
void plat_load_numeric_sensor_pdr_table | ( | PDR_numeric_sensor * | numeric_sensor_table | ) |
void plat_pldm_sensor_change_temp_addr | ( | ) |
void plat_pldm_sensor_change_temp_dev | ( | ) |
void plat_pldm_sensor_change_ubc_dev | ( | ) |
void plat_pldm_sensor_change_vr_addr | ( | ) |
void plat_pldm_sensor_change_vr_dev | ( | ) |
void plat_pldm_sensor_change_vr_init_args | ( | ) |
void plat_pldm_sensor_get_pdr_numeric_sensor | ( | int | thread_id, |
int | sensor_num, | ||
PDR_numeric_sensor * | numeric_sensor_table | ||
) |
int plat_pldm_sensor_get_sensor_count | ( | int | thread_id | ) |
pldm_sensor_info * plat_pldm_sensor_load | ( | int | thread_id | ) |
pldm_sensor_thread * plat_pldm_sensor_load_thread | ( | ) |
void set_plat_sensor_polling_enable_flag | ( | bool | value | ) |
void set_plat_sensor_temp_polling_enable_flag | ( | bool | value | ) |
void set_plat_sensor_ubc_polling_enable_flag | ( | bool | value | ) |
void set_plat_sensor_vr_polling_enable_flag | ( | bool | value | ) |
PDR_entity_auxiliary_names plat_pdr_entity_aux_names_table[] |
uint16_t plat_pdr_entity_aux_names_table_size = 0 |
PDR_sensor_auxiliary_names plat_pdr_sensor_aux_names_table[] |
pldm_sensor_info plat_pldm_sensor_temp_table[] |
pldm_sensor_info plat_pldm_sensor_ubc_table[] |
pldm_sensor_info plat_pldm_sensor_vr_table[] |
plat_sensor_tmp_extend_info plat_sensor_tmp_extend_table[] |
plat_sensor_vr_extend_info plat_sensor_vr_extend_table[] |