OpenBIC
OpenSource Bridge-IC
plat_sdr_table.c File Reference
#include <string.h>
#include "sdr.h"
#include "plat_class.h"
#include "plat_sdr_table.h"
#include "plat_sensor_table.h"
#include "plat_ipmb.h"
#include <logging/log.h>
Include dependency graph for plat_sdr_table.c:

Functions

 LOG_MODULE_REGISTER (plat_sdr_table)
 
void load_sdr_table (void)
 
uint8_t pal_get_extend_sdr ()
 
void pal_extend_full_sdr_table ()
 

Variables

SDR_Full_sensor plat_sdr_table []
 
SDR_Full_sensor hotswap_sdr_table []
 
uint8_t fix_2ou_sdr_table [][10]
 
const int SDR_TABLE_SIZE = ARRAY_SIZE(plat_sdr_table)
 

Function Documentation

◆ load_sdr_table()

void load_sdr_table ( void  )
Here is the call graph for this function:

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_sdr_table  )

◆ pal_extend_full_sdr_table()

void pal_extend_full_sdr_table ( void  )

◆ pal_get_extend_sdr()

uint8_t pal_get_extend_sdr ( )

Variable Documentation

◆ fix_2ou_sdr_table

uint8_t fix_2ou_sdr_table[][10]
Initial value:
= {
{ SENSOR_NUM_MB_HSC_OUTPUT_CURR_A, 0xFF, 0xE3, 0xD9, 0x00, 0x00, 0x00, 0x21, 0x00, 0xE0 },
{ SENSOR_NUM_MB_HSC_INPUT_PWR_W, 0xFA, 0xDF, 0xD5, 0x00, 0x00, 0x00, 0x2A, 0x00, 0xF0 },
}
#define SENSOR_NUM_MB_HSC_OUTPUT_CURR_A
Definition: plat_sensor_table.h:88
#define SENSOR_NUM_MB_HSC_INPUT_PWR_W
Definition: plat_sensor_table.h:95

◆ hotswap_sdr_table

SDR_Full_sensor hotswap_sdr_table[]

◆ plat_sdr_table

SDR_Full_sensor plat_sdr_table[]

◆ SDR_TABLE_SIZE

const int SDR_TABLE_SIZE = ARRAY_SIZE(plat_sdr_table)