OpenBIC
OpenSource Bridge-IC
plat_pldm_monitor.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 PLAT_PLDM_MONITOR_H
18#define PLAT_PLDM_MONITOR_H
19
25};
26
31};
32
33void plat_send_ssd_present_event(uint8_t ssd_id);
35void plat_send_ssd_power_fault_event(uint8_t ssd_id, uint8_t status);
36
37#endif
plat_pldm_event_sensor_num
Definition: plat_pldm_monitor.h:30
plat_pldm_device_state_set_offset
Definition: plat_pldm_monitor.h:145
@ PLDM_STATE_SET_OFFSET_DEVICE_POWER_STATUS
Definition: plat_pldm_monitor.h:148
@ PLDM_STATE_SET_OFFSET_DEVICE_STATUS
Definition: plat_pldm_monitor.h:147
@ PLDM_STATE_SET_OFFSET_DEVICE_PRESENCE
Definition: plat_pldm_monitor.h:146
void plat_ssd_present_check()
Definition: plat_pldm_monitor.c:46
void plat_send_ssd_power_fault_event(uint8_t ssd_id, uint8_t status)
Definition: plat_pldm_monitor.c:57
@ PLDM_EVENT_SSD_2
Definition: plat_pldm_monitor.h:22
@ PLDM_EVENT_SSD_4
Definition: plat_pldm_monitor.h:24
@ PLDM_EVENT_SSD_3
Definition: plat_pldm_monitor.h:23
@ PLDM_EVENT_SSD_1
Definition: plat_pldm_monitor.h:21
void plat_send_ssd_present_event(uint8_t ssd_id)
Definition: plat_pldm_monitor.c:32
uint8_t status
Definition: mctp_ctrl.h:1