17#ifndef OEM_1S_HANDLER_H
18#define OEM_1S_HANDLER_H
48#define IS_SECTOR_END_MASK 0x80
57#define GLOBAL_GPIO_IDX_KEY 0xFF
130#ifdef CONFIG_SNOOP_ASPEED
131void OEM_1S_GET_POST_CODE(
ipmi_msg *msg);
135void OEM_1S_PECI_ACCESS(
ipmi_msg *msg);
139void OEM_1S_APML_READ(
ipmi_msg *msg);
140void OEM_1S_APML_WRITE(
ipmi_msg *msg);
141void OEM_1S_SEND_APML_REQUEST(
ipmi_msg *msg);
142void OEM_1S_GET_APML_RESPONSE(
ipmi_msg *msg);
146void OEM_1S_SET_JTAG_TAP_STA(
ipmi_msg *msg);
147void OEM_1S_JTAG_DATA_SHIFT(
ipmi_msg *msg);
148void OEM_1S_JTAG_TCK_CYCLE(
ipmi_msg *msg);
156void OEM_1S_SET_FAN_DUTY_AUTO(
ipmi_msg *msg);
157void OEM_1S_GET_FAN_DUTY(
ipmi_msg *msg);
158void OEM_1S_GET_FAN_RPM(
ipmi_msg *msg);
161#ifdef CONFIG_I3C_ASPEED
uint8_t status
Definition: mctp_ctrl.h:1
void OEM_1S_GET_SDR(ipmi_msg *msg)
Definition: oem_1s_handler.c:2070
void OEM_1S_FW_UPDATE(ipmi_msg *msg)
Definition: oem_1s_handler.c:239
GET_SET_GPIO_OPTIONS
Definition: oem_1s_handler.h:58
@ SET_GPIO_OUTPUT_STATUS
Definition: oem_1s_handler.h:60
@ SET_GPIO_DIRECTION_STATUS
Definition: oem_1s_handler.h:62
@ GET_GPIO_DIRECTION_STATUS
Definition: oem_1s_handler.h:61
@ GET_GPIO_STATUS
Definition: oem_1s_handler.h:59
void OEM_1S_MSG_OUT(ipmi_msg *msg)
Definition: oem_1s_handler.c:88
struct _ACCURACY_SENSOR_READING_REQ ACCURACY_SENSOR_READING_REQ
void OEM_1S_READ_BIC_REGISTER(ipmi_msg *msg)
Definition: oem_1s_handler.c:1516
void OEM_1S_GET_VR_MONITOR_STATUS(ipmi_msg *msg)
Definition: oem_1s_handler.c:1429
void OEM_1S_GET_SET_GPIO(ipmi_msg *msg)
Definition: oem_1s_handler.c:1131
GET_SET_VGPIO_OPTIONS
Definition: oem_1s_handler.h:65
@ SET_VGPIO_STATUS
Definition: oem_1s_handler.h:67
@ GET_VGPIO_DIRECTION_AND_STATUS
Definition: oem_1s_handler.h:66
void OEM_1S_PRE_POWER_OFF_CONTROL(ipmi_msg *msg)
Definition: oem_1s_handler.c:2279
void OEM_1S_INFORM_BMC_TO_CONTROL_POWER(ipmi_msg *msg)
Definition: oem_1s_handler.c:610
void OEM_1S_SET_VR_MONITOR_STATUS(ipmi_msg *msg)
Definition: oem_1s_handler.c:1406
void OEM_1S_SET_GPIO_CONFIG(ipmi_msg *msg)
Definition: oem_1s_handler.c:230
void OEM_1S_GET_GPIO_CONFIG(ipmi_msg *msg)
Definition: oem_1s_handler.c:221
void OEM_1S_NOTIFY_PMIC_ERROR(ipmi_msg *msg)
Definition: oem_1s_handler.c:2037
void OEM_1S_WRITE_BIC_REGISTER(ipmi_msg *msg)
Definition: oem_1s_handler.c:1538
void OEM_1S_GET_FW_VERSION(ipmi_msg *msg)
Definition: oem_1s_handler.c:411
void OEM_1S_RESET_BIC(ipmi_msg *msg)
Definition: oem_1s_handler.c:1444
void OEM_1S_GET_FPGA_USER_CODE(ipmi_msg *msg)
Definition: oem_1s_handler.c:1752
FIRMWARE_INFO
Definition: oem_1s_handler.h:22
@ BIC_PLAT_NAME
Definition: oem_1s_handler.h:23
@ BIC_PROJ_NAME
Definition: oem_1s_handler.h:25
@ BIC_PLAT_BOARD_ID
Definition: oem_1s_handler.h:24
@ BIC_PROJ_STAGE
Definition: oem_1s_handler.h:26
void OEM_1S_GET_CARD_TYPE(ipmi_msg *msg)
Definition: oem_1s_handler.c:1772
void OEM_1S_RECORD_DAM_PIN_STATUS(uint8_t gpio_num, uint8_t status)
Definition: oem_1s_handler.c:2773
struct _ACCURACY_SENSOR_READING_RES ACCURACY_SENSOR_READING_RES
ERROR_CODE_SET_PMIC_ERROR_FLAG
Definition: oem_1s_handler.h:41
@ INVALID_DIMM_ID
Definition: oem_1s_handler.h:45
@ INVALID_ERROR_TYPE
Definition: oem_1s_handler.h:44
@ SUCCESS
Definition: oem_1s_handler.h:42
@ NOT_SUPPORT
Definition: oem_1s_handler.h:43
void OEM_1S_SAFE_WRITE_READ_M2_DATA(ipmi_msg *msg)
Definition: oem_1s_handler.c:2270
void OEM_1S_SET_DEVICE_ACTIVE(ipmi_msg *msg)
Definition: oem_1s_handler.c:2288
void OEM_1S_GET_BIOS_VERSION(ipmi_msg *msg)
Definition: oem_1s_handler.c:2224
void OEM_1S_READ_FW_IMAGE(ipmi_msg *msg)
Definition: oem_1s_handler.c:644
void OEM_1S_SENSOR_POLL_EN(ipmi_msg *msg)
Definition: oem_1s_handler.c:985
void OEM_1S_12V_CYCLE_SLOT(ipmi_msg *msg)
Definition: oem_1s_handler.c:1487
void OEM_1S_GET_BIC_STATUS(ipmi_msg *msg)
Definition: oem_1s_handler.c:1389
void OEM_1S_CLEAR_CMOS(ipmi_msg *msg)
Definition: oem_1s_handler.c:1837
void OEM_1S_INFORM_PEER_SLED_CYCLE(ipmi_msg *msg)
Definition: oem_1s_handler.c:1738
void OEM_1S_GET_PCIE_CARD_SENSOR_READING(ipmi_msg *msg)
Definition: oem_1s_handler.c:2242
void OEM_1S_GET_GPIO(ipmi_msg *msg)
Definition: oem_1s_handler.c:190
void OEM_1S_GET_DIMM_I3C_MUX_SELECTION(ipmi_msg *msg)
Definition: oem_1s_handler.c:2261
void OEM_1S_GET_SET_BIC_VGPIO(ipmi_msg *msg)
Definition: oem_1s_handler.c:1206
void OEM_1S_GET_PCIE_CARD_STATUS(ipmi_msg *msg)
Definition: oem_1s_handler.c:2233
void OEM_1S_BMC_IPMB_ACCESS(ipmi_msg *msg)
Definition: oem_1s_handler.c:2131
FIRWARE_UPDATE_TARGET
Definition: oem_1s_handler.h:49
@ CXL_UPDATE
Definition: oem_1s_handler.h:53
@ CPLD_UPDATE
Definition: oem_1s_handler.h:51
@ PRoT_FLASH_UPDATE
Definition: oem_1s_handler.h:54
@ BIC_UPDATE
Definition: oem_1s_handler.h:52
@ BIOS_UPDATE
Definition: oem_1s_handler.h:50
void OEM_1S_GET_BIC_FW_INFO(ipmi_msg *msg)
Definition: oem_1s_handler.c:368
void IPMI_OEM_1S_handler(ipmi_msg *msg)
Definition: oem_1s_handler.c:2449
FIRMWARE_COMPONENT
Definition: oem_1s_handler.h:29
@ COMPNT_PVCCD_HV
Definition: oem_1s_handler.h:36
@ COMPNT_CPLD
Definition: oem_1s_handler.h:30
@ COMPNT_PVCCIN
Definition: oem_1s_handler.h:34
@ COMPNT_PVCCINFAON
Definition: oem_1s_handler.h:37
@ COMPNT_PVCCFA_EHV_FIVRA
Definition: oem_1s_handler.h:35
@ COMPNT_BIOS
Definition: oem_1s_handler.h:33
@ COMPNT_PVCCFA_EHV
Definition: oem_1s_handler.h:38
@ COMPNT_ME
Definition: oem_1s_handler.h:32
@ COMPNT_BIC
Definition: oem_1s_handler.h:31
uint8_t gpio_idx_exchange(ipmi_msg *msg)
Definition: oem_1s_handler.c:1093
void OEM_1S_GET_PCIE_RETIMER_TYPE(ipmi_msg *msg)
Definition: oem_1s_handler.c:2206
void OEM_1S_ERASE_BIOS_FLASH(ipmi_msg *msg)
Definition: oem_1s_handler.c:2786
void OEM_1S_PEX_FLASH_READ(ipmi_msg *msg)
Definition: oem_1s_handler.c:1747
void OEM_1S_GET_4BYTE_POST_CODE(ipmi_msg *msg)
Definition: oem_1s_handler.c:758
void OEM_1S_SET_ADD_DEBUG_SEL_MODE(ipmi_msg *msg)
Definition: oem_1s_handler.c:2176
void OEM_1S_ACCURACY_SENSOR_READING(ipmi_msg *msg)
Definition: oem_1s_handler.c:1008
void OEM_1S_I2C_DEV_SCAN(ipmi_msg *msg)
Definition: oem_1s_handler.c:1372
void OEM_1S_GET_BIOS_ERASE_PROGRESS(ipmi_msg *msg)
Definition: oem_1s_handler.c:2797
void OEM_1S_GET_HSC_STATUS(ipmi_msg *msg)
Definition: oem_1s_handler.c:2215
void OEM_1S_GET_FW_SHA256(ipmi_msg *msg)
void OEM_1S_DEBUG_GET_HW_SIGNAL(ipmi_msg *msg)
Definition: oem_1s_handler.c:2297
void OEM_1S_RESET_BMC(ipmi_msg *msg)
Definition: oem_1s_handler.c:624
Definition: oem_1s_handler.h:70
uint8_t read_option
Definition: oem_1s_handler.h:72
uint8_t sensor_num
Definition: oem_1s_handler.h:71
Definition: oem_1s_handler.h:75
uint16_t decimal
Definition: oem_1s_handler.h:76
uint16_t fraction
Definition: oem_1s_handler.h:77
uint8_t status
Definition: oem_1s_handler.h:78
void OEM_1S_WRITE_READ_DIMM(ipmi_msg *msg)
Definition: plat_ipmi.c:258