OpenBIC
OpenSource Bridge-IC
plat_class.c File Reference
#include <stdio.h>
#include <logging/log.h>
#include "plat_class.h"
#include "plat_cpld.h"
#include "plat_pldm_sensor.h"
#include "plat_fru.h"
#include "plat_i2c.h"
#include "plat_util.h"
#include "plat_mctp.h"
Include dependency graph for plat_class.c:

Functions

 LOG_MODULE_REGISTER (plat_class)
 
bool plat_cpld_eerprom_read (uint8_t *data, uint16_t offset, uint8_t len)
 
void init_plat_config ()
 
uint8_t get_vr_module ()
 
uint8_t get_ubc_module ()
 
uint8_t get_mmc_slot ()
 
uint8_t get_asic_board_id ()
 
uint8_t get_board_rev_id ()
 
uint8_t get_tray_location ()
 

Variables

uint8_t board_rev_id = 0
 

Function Documentation

◆ get_asic_board_id()

uint8_t get_asic_board_id ( )

◆ get_board_rev_id()

uint8_t get_board_rev_id ( )

◆ get_mmc_slot()

uint8_t get_mmc_slot ( )

◆ get_tray_location()

uint8_t get_tray_location ( )

◆ get_ubc_module()

uint8_t get_ubc_module ( )

◆ get_vr_module()

uint8_t get_vr_module ( )

◆ init_plat_config()

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

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_class  )

◆ plat_cpld_eerprom_read()

bool plat_cpld_eerprom_read ( uint8_t *  data,
uint16_t  offset,
uint8_t  len 
)
Here is the call graph for this function:

Variable Documentation

◆ board_rev_id

uint8_t board_rev_id = 0