OpenBIC
OpenSource Bridge-IC
plat_power.c File Reference
#include "plat_power.h"
#include <logging/log.h>
#include "plat_class.h"
#include "plat_i2c.h"
#include "hal_i2c.h"
#include "plat_mctp.h"
#include "ipmi.h"
#include "sensor.h"
Include dependency graph for plat_power.c:

Functions

 LOG_MODULE_REGISTER (plat_power)
 
void init_vpp_power_status ()
 
uint8_t get_last_vpp_power_status ()
 
uint8_t get_updated_vpp_power_status ()
 
int get_set_1ou_m2_power (ipmi_msg *msg, uint8_t device_id, uint8_t option)
 

Variables

uint8_t _1ou_m2_mapping_table [4] = { 4, 3, 2, 1 }
 

Function Documentation

◆ get_last_vpp_power_status()

uint8_t get_last_vpp_power_status ( )

◆ get_set_1ou_m2_power()

int get_set_1ou_m2_power ( ipmi_msg msg,
uint8_t  device_id,
uint8_t  option 
)
Here is the call graph for this function:

◆ get_updated_vpp_power_status()

uint8_t get_updated_vpp_power_status ( )
Here is the call graph for this function:

◆ init_vpp_power_status()

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

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_power  )

Variable Documentation

◆ _1ou_m2_mapping_table

uint8_t _1ou_m2_mapping_table[4] = { 4, 3, 2, 1 }