OpenBIC
OpenSource Bridge-IC
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
oem_handler.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef OEM_HANDLER_H
18#define OEM_HANDLER_H
19
20#include "ipmi.h"
21
22uint8_t get_hsc_pwr_reading(int *reading);
23
25
26#ifdef CONFIG_ESPI
28#endif
29
30#ifdef ENABLE_FAN
31void OEM_SET_FAN_DUTY_MANUAL(ipmi_msg *msg);
32void OEM_GET_SET_FAN_CTRL_MODE(ipmi_msg *msg);
33#endif
34
35void OEM_GET_MB_INDEX(ipmi_msg *msg);
37void IPMI_OEM_handler(ipmi_msg *msg);
38
39#endif
__weak void OEM_SET_SYSTEM_GUID(ipmi_msg *msg)
Definition: oem_handler.c:89
void OEM_GET_MB_INDEX(ipmi_msg *msg)
Definition: oem_handler.c:245
void OEM_NM_SENSOR_READ(ipmi_msg *msg)
uint8_t get_hsc_pwr_reading(int *reading)
Definition: oem_handler.c:30
void IPMI_OEM_handler(ipmi_msg *msg)
Definition: oem_handler.c:309
void OEM_CABLE_DETECTION(ipmi_msg *msg)
Definition: oem_handler.c:269
uint8_t reading[1]
Definition: pldm_monitor.h:3
Definition: ipmb.h:165