OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>
#include <string.h>
#include <logging/log.h>
#include "libutil.h"
#include "sensor.h"
#include "pmbus.h"
#include "plat_hook.h"
#include "common_i2c_mux.h"
#include "i2c-mux-pca954x.h"
#include "i2c-mux-pca984x.h"
#include "plat_sensor_table.h"
#include "ltc2991.h"
#include "plat_i2c.h"
#include "plat_ipmi.h"
#include "plat_class.h"
#include "xdpe12284c.h"
#include "plat_dev.h"
#include "plat_mctp.h"
#include "util_sys.h"
Macros | |
#define | VR_A0V8_INIT_OFFSET 0 |
#define | VR_D0V8_INIT_OFFSET 1 |
#define | VR_VDDQCD_INIT_OFFSET 2 |
Functions | |
LOG_MODULE_REGISTER (plat_hook) | |
bool | pre_nvme_read (sensor_cfg *cfg, void *args) |
bool | post_nvme_read (sensor_cfg *cfg, void *args, int *reading) |
bool | pre_sq52205_read (sensor_cfg *cfg, void *args) |
bool | post_sq52205_read (sensor_cfg *cfg, void *args, int *reading) |
bool | pre_cxl_switch_mux (uint8_t sensor_num, void *arg) |
bool | post_cxl_switch_mux (uint8_t sensor_num, void *arg) |
bool | pre_cxl_vr_read (sensor_cfg *cfg, void *args) |
bool | post_cxl_xdpe12284c_read (sensor_cfg *cfg, void *args, int *reading) |
bool | pre_pm8702_read (sensor_cfg *cfg, void *args) |
#define VR_A0V8_INIT_OFFSET 0 |
#define VR_D0V8_INIT_OFFSET 1 |
#define VR_VDDQCD_INIT_OFFSET 2 |
LOG_MODULE_REGISTER | ( | plat_hook | ) |
bool post_cxl_switch_mux | ( | uint8_t | sensor_num, |
void * | arg | ||
) |
bool post_cxl_xdpe12284c_read | ( | sensor_cfg * | cfg, |
void * | args, | ||
int * | reading | ||
) |
bool post_nvme_read | ( | sensor_cfg * | cfg, |
void * | args, | ||
int * | reading | ||
) |
bool post_sq52205_read | ( | sensor_cfg * | cfg, |
void * | args, | ||
int * | reading | ||
) |
bool pre_cxl_switch_mux | ( | uint8_t | sensor_num, |
void * | arg | ||
) |
bool pre_cxl_vr_read | ( | sensor_cfg * | cfg, |
void * | args | ||
) |
bool pre_nvme_read | ( | sensor_cfg * | cfg, |
void * | args | ||
) |
bool pre_pm8702_read | ( | sensor_cfg * | cfg, |
void * | args | ||
) |
bool pre_sq52205_read | ( | sensor_cfg * | cfg, |
void * | args | ||
) |
adc_asd_init_arg adc_asd_init_args[] |
mux_config bus_2_pca9548_configs[] |
CXL ID mux config
mux_config bus_4_pca9548_configs[] |
mux_config bus_8_pca9548_configs[] |
JCN 1~4, 9~12 E1.S 0 mux config
mux_config cxl_mux_configs[] |
ina233_init_arg ina233_init_args[] |
ltc2991_init_arg ltc2991_init_args[] |
ina233_init_arg mc_ina233_init_args[] |
mp5990_init_arg mp5990_init_args[] |
uint8_t plat_monitor_table_arg[] |
uint8_t pm8702_pre_arg[] |
pwr_monitor_pre_proc_arg pwr_monitor_pre_proc_args[] |
sq52205_init_arg sq52205_init_args[] |
vr_pre_arg vr_pre_args[] |