OpenBIC
OpenSource Bridge-IC
plat_sdr_table.c File Reference
#include "plat_sdr_table.h"
#include <stdio.h>
#include <string.h>
#include "sdr.h"
#include "sensor.h"
#include "plat_class.h"
#include "plat_ipmb.h"
#include "plat_sensor_table.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_class2_sdr_table [][10]
 
uint8_t fix_2ou_sdr_table [][10]
 
SDR_Full_sensor fix_1ou_sdr_table []
 
SDR_Full_sensor dpv2_sdr_table []
 
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

◆ dpv2_sdr_table

SDR_Full_sensor dpv2_sdr_table[]

◆ fix_1ou_sdr_table

SDR_Full_sensor fix_1ou_sdr_table[]
Initial value:
= {
}

◆ fix_2ou_sdr_table

uint8_t fix_2ou_sdr_table[][10]
Initial value:
= {
{ SENSOR_NUM_CUR_HSCOUT, 0xE2, 0xBF, 0xAC, 0x00, 0x00, 0x00, 0x1F, 0x00, 0xE0 },
{ SENSOR_NUM_PWR_HSCIN, 0xE0, 0xBD, 0xAB, 0x00, 0x00, 0x00, 0x27, 0x00, 0xF0 },
}
#define SENSOR_NUM_CUR_HSCOUT
Definition: plat_sensor_table.h:94
#define SENSOR_NUM_PWR_HSCIN
Definition: plat_sensor_table.h:105

◆ fix_class2_sdr_table

uint8_t fix_class2_sdr_table[][10]
Initial value:
= {
{ SENSOR_NUM_CUR_HSCOUT, 0xE2, 0xBF, 0xAC, 0x00, 0x00, 0x00, 0x1F, 0x00, 0xE0 },
{ SENSOR_NUM_PWR_HSCIN, 0xE0, 0xBD, 0xAB, 0x00, 0x00, 0x00, 0x27, 0x00, 0xF0 },
}

◆ 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)