|
OpenBIC
OpenSource Bridge-IC
|
#include "plat_sensor_table.h"#include <stdlib.h>#include <stdio.h>#include <string.h>#include "sensor.h"#include "ast_adc.h"#include "intel_peci.h"#include "hal_gpio.h"#include "plat_class.h"#include "plat_gpio.h"#include "plat_hook.h"#include "plat_i2c.h"#include "power_status.h"#include "pmbus.h"#include "tmp431.h"#include "libutil.h"
Functions | |
| void | load_sensor_config (void) |
| void | check_vr_type (uint8_t index) |
| void | check_outlet_temp_type (uint8_t index) |
| void | pal_extend_sensor_config () |
| bool | pal_is_time_to_poll (uint8_t sensor_num, int poll_time) |
| uint8_t | get_hsc_pwr_reading (int *reading) |
| bool | disable_dimm_pmic_sensor (uint8_t sensor_num) |
Variables | |
| SET_GPIO_VALUE_CFG | pre_bat_3v = { A_P3V_BAT_SCALED_EN_R, GPIO_HIGH } |
| SET_GPIO_VALUE_CFG | post_bat_3v = { A_P3V_BAT_SCALED_EN_R, GPIO_LOW } |
| sensor_poll_time_cfg | diff_poll_time_sensor_table [] |
| dimm_pmic_mapping_cfg | dimm_pmic_map_table [] |
| sensor_cfg | plat_sensor_config [] |
| sensor_cfg | mp5990_sensor_config_table [] |
| sensor_cfg | adm1278_sensor_config_table [] |
| sensor_cfg | ltc4286_sensor_config_table [] |
| sensor_cfg | ltc4282_sensor_config_table [] |
| sensor_cfg | evt3_class1_adi_temperature_sensor_table [] |
| sensor_cfg | DPV2_sensor_config_table [] |
| const int | SENSOR_CONFIG_SIZE = ARRAY_SIZE(plat_sensor_config) |
| void check_outlet_temp_type | ( | uint8_t | index | ) |

| void check_vr_type | ( | uint8_t | index | ) |

| bool disable_dimm_pmic_sensor | ( | uint8_t | sensor_num | ) |

| uint8_t get_hsc_pwr_reading | ( | int * | reading | ) |
| void load_sensor_config | ( | void | ) |

| void pal_extend_sensor_config | ( | void | ) |
| bool pal_is_time_to_poll | ( | uint8_t | sensor_num, |
| int | poll_time | ||
| ) |
| sensor_cfg adm1278_sensor_config_table[] |
| sensor_poll_time_cfg diff_poll_time_sensor_table[] |
| dimm_pmic_mapping_cfg dimm_pmic_map_table[] |
| sensor_cfg DPV2_sensor_config_table[] |
| sensor_cfg evt3_class1_adi_temperature_sensor_table[] |
| sensor_cfg ltc4282_sensor_config_table[] |
| sensor_cfg ltc4286_sensor_config_table[] |
| sensor_cfg mp5990_sensor_config_table[] |
| sensor_cfg plat_sensor_config[] |
| SET_GPIO_VALUE_CFG post_bat_3v = { A_P3V_BAT_SCALED_EN_R, GPIO_LOW } |
| SET_GPIO_VALUE_CFG pre_bat_3v = { A_P3V_BAT_SCALED_EN_R, GPIO_HIGH } |
| const int SENSOR_CONFIG_SIZE = ARRAY_SIZE(plat_sensor_config) |