|
OpenBIC
OpenSource Bridge-IC
|
#include "plat_ipmi.h"#include <stdio.h>#include <stdlib.h>#include <logging/log.h>#include "hal_gpio.h"#include "libutil.h"#include "ipmi.h"#include "oem_1s_handler.h"#include "plat_class.h"#include "plat_ipmb.h"#include "plat_gpio.h"#include "pmbus.h"#include "plat_sensor_table.h"#include "util_sys.h"#include "isl69254iraz_t.h"#include "xdpe12284c.h"
Macros | |
| #define | I2C_MAX_RETRY 3 |
| #define | FEXP_BIC_I2C_WRITE_IF 0x20 |
| #define | FEXP_BIC_I2C_READ_IF 0x21 |
| #define | FEXP_BIC_I2C_UPDATE_IF 0x22 |
| #define | FEXP_BIC_IPMI_I2C_SW_IF 0x23 |
| #define | BIC_COMMAND_STATUS 0x23 |
| #define | SNOWFLAKE_BIC_CMD_STATUS_SIZE 3 |
| #define | SNOWFLAKE_BIC_BOOTLOADER_RESPONSE_SIZE 5 |
| #define | SNOWFLAKE_BIC_BOOTLOADER_ACK_SIZE 2 |
| #define | EXTEND_MSG_OUT_CC_OFFSET 4 |
Functions | |
| LOG_MODULE_DECLARE (ipmi) | |
| int | pal_extend_msg_out_interface_handler (ipmi_msg *msg) |
| void | OEM_1S_GET_CARD_TYPE (ipmi_msg *msg) |
| void | OEM_1S_GET_FW_VERSION (ipmi_msg *msg) |
| void | OEM_1S_GET_GPIO (ipmi_msg *msg) |
| void | OEM_1S_GET_GPIO_CONFIG (ipmi_msg *msg) |
| uint8_t | gpio_idx_exchange (ipmi_msg *msg) |
| void | OEM_1S_GET_SET_GPIO (ipmi_msg *msg) |
| #define BIC_COMMAND_STATUS 0x23 |
| #define EXTEND_MSG_OUT_CC_OFFSET 4 |
| #define FEXP_BIC_I2C_READ_IF 0x21 |
| #define FEXP_BIC_I2C_UPDATE_IF 0x22 |
| #define FEXP_BIC_I2C_WRITE_IF 0x20 |
| #define FEXP_BIC_IPMI_I2C_SW_IF 0x23 |
| #define I2C_MAX_RETRY 3 |
| #define SNOWFLAKE_BIC_BOOTLOADER_ACK_SIZE 2 |
| #define SNOWFLAKE_BIC_BOOTLOADER_RESPONSE_SIZE 5 |
| #define SNOWFLAKE_BIC_CMD_STATUS_SIZE 3 |
| uint8_t gpio_idx_exchange | ( | ipmi_msg * | msg | ) |
| LOG_MODULE_DECLARE | ( | ipmi | ) |
| void OEM_1S_GET_CARD_TYPE | ( | ipmi_msg * | msg | ) |
| void OEM_1S_GET_FW_VERSION | ( | ipmi_msg * | msg | ) |
| void OEM_1S_GET_GPIO | ( | ipmi_msg * | msg | ) |

| void OEM_1S_GET_GPIO_CONFIG | ( | ipmi_msg * | msg | ) |

| void OEM_1S_GET_SET_GPIO | ( | ipmi_msg * | msg | ) |

| int pal_extend_msg_out_interface_handler | ( | ipmi_msg * | msg | ) |