OpenBIC
OpenSource Bridge-IC
plat_class.c File Reference
#include <stdio.h>
#include <logging/log.h>
#include "plat_adc.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_vr_vendor_module (void)
 
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 ()
 
void pal_show_board_types (const struct shell *shell)
 
void pal_show_extra_info (const struct shell *shell)
 

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:

◆ init_vr_vendor_module()

void init_vr_vendor_module ( void  )

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_class  )

◆ pal_show_board_types()

void pal_show_board_types ( const struct shell *  shell)
Here is the call graph for this function:

◆ pal_show_extra_info()

void pal_show_extra_info ( const struct shell *  shell)
Here is the call graph for this function:

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