OpenBIC
OpenSource Bridge-IC
|
#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"
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 } |
uint8_t get_last_vpp_power_status | ( | ) |
int get_set_1ou_m2_power | ( | ipmi_msg * | msg, |
uint8_t | device_id, | ||
uint8_t | option | ||
) |
uint8_t get_updated_vpp_power_status | ( | ) |
void init_vpp_power_status | ( | ) |
LOG_MODULE_REGISTER | ( | plat_power | ) |
uint8_t _1ou_m2_mapping_table[4] = { 4, 3, 2, 1 } |