OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>
#include <string.h>
#include "sensor.h"
#include "plat_def.h"
#include "plat_class.h"
#include "plat_i2c.h"
#include "plat_gpio.h"
#include "plat_hook.h"
#include "plat_sensor_table.h"
#include "i2c-mux-tca9548.h"
#include "logging/log.h"
#include "libipmi.h"
#include "ipmi.h"
#include "power_status.h"
#include "nvidia.h"
#include "plat_mctp.h"
Macros | |
#define | ADJUST_MP5990_CURRENT(x) (x * 1) |
#define | ADJUST_MP5990_POWER(x) (x * 1) |
#define | ADJUST_RS31380R_CURRENT(x) (x * 1) |
#define | ADJUST_RS31380R_POWER(x) (x * 1) |
#define | RETIMER_INIT_RETRY_COUNT 3 |
Functions | |
LOG_MODULE_REGISTER (plat_hook) | |
bool | pre_vol_bat3v_read (sensor_cfg *cfg, void *args) |
bool | post_vol_bat3v_read (sensor_cfg *cfg, void *args, int *reading) |
bool | post_mp5990_cur_read (sensor_cfg *cfg, void *args, int *reading) |
bool | post_mp5990_pwr_read (sensor_cfg *cfg, void *args, int *reading) |
bool | post_rs31380r_cur_read (sensor_cfg *cfg, void *args, int *reading) |
bool | post_rs31380r_pwr_read (sensor_cfg *cfg, void *args, int *reading) |
bool | pre_tmp451_read (sensor_cfg *cfg, void *args) |
bool | pre_tmp75_read (sensor_cfg *cfg, void *args) |
bool | pre_pt4080l_read (sensor_cfg *cfg, void *args) |
bool | pre_ds160pt801_read (sensor_cfg *cfg, void *args) |
Variables | |
adc_asd_init_arg | ast_adc_init_args [] |
mp5990_init_arg | mp5990_init_args [] |
rs31380r_init_arg | rs31380r_init_args [] |
ina230_init_arg | ina230_init_args [] |
pt5161l_init_arg | pt5161l_init_args [] |
nv_satmc_init_arg | satmc_init_args [] |
struct tca9548 | mux_conf_addr_0xe0 [4] |
struct tca9548 | mux_conf_addr_0xe2 [2] |
#define ADJUST_MP5990_CURRENT | ( | x | ) | (x * 1) |
#define ADJUST_MP5990_POWER | ( | x | ) | (x * 1) |
#define ADJUST_RS31380R_CURRENT | ( | x | ) | (x * 1) |
#define ADJUST_RS31380R_POWER | ( | x | ) | (x * 1) |
#define RETIMER_INIT_RETRY_COUNT 3 |
LOG_MODULE_REGISTER | ( | plat_hook | ) |
bool post_mp5990_cur_read | ( | sensor_cfg * | cfg, |
void * | args, | ||
int * | reading | ||
) |
bool post_mp5990_pwr_read | ( | sensor_cfg * | cfg, |
void * | args, | ||
int * | reading | ||
) |
bool post_rs31380r_cur_read | ( | sensor_cfg * | cfg, |
void * | args, | ||
int * | reading | ||
) |
bool post_rs31380r_pwr_read | ( | sensor_cfg * | cfg, |
void * | args, | ||
int * | reading | ||
) |
bool post_vol_bat3v_read | ( | sensor_cfg * | cfg, |
void * | args, | ||
int * | reading | ||
) |
bool pre_ds160pt801_read | ( | sensor_cfg * | cfg, |
void * | args | ||
) |
bool pre_pt4080l_read | ( | sensor_cfg * | cfg, |
void * | args | ||
) |
bool pre_tmp451_read | ( | sensor_cfg * | cfg, |
void * | args | ||
) |
bool pre_tmp75_read | ( | sensor_cfg * | cfg, |
void * | args | ||
) |
bool pre_vol_bat3v_read | ( | sensor_cfg * | cfg, |
void * | args | ||
) |
adc_asd_init_arg ast_adc_init_args[] |
ina230_init_arg ina230_init_args[] |
mp5990_init_arg mp5990_init_args[] |
struct tca9548 mux_conf_addr_0xe0[4] |
struct tca9548 mux_conf_addr_0xe2[2] |
pt5161l_init_arg pt5161l_init_args[] |
rs31380r_init_arg rs31380r_init_args[] |
nv_satmc_init_arg satmc_init_args[] |