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
#include "
pldm_monitor.h
"
17
#include "
plat_sensor_table.h
"
18
19
#ifndef PLAT_PLDM_MONITOR_H
20
#define PLAT_PLDM_MONITOR_H
21
22
#define MAX_STATE_EFFECTER_IDX 187
23
24
enum
pldm_plat_effecter_id_high_byte
{
25
PLAT_EFFECTER_ID_GPIO_HIGH_BYTE
= (0xFF << 8),
26
};
27
28
extern
struct
pldm_state_effecter_info
plat_state_effecter_table
[];
29
30
enum
plat_pldm_bic_state_set_offset
{
31
PLDM_STATE_SET_OFFSET_BIC_BOOT_RESTART_CAUSE
= 0,
32
};
33
34
enum
plat_pldm_device_state_set_offset
{
35
PLDM_STATE_SET_OFFSET_DEVICE_PRESENCE
= 0,
36
PLDM_STATE_SET_OFFSET_DEVICE_STATUS
= 1,
37
};
38
39
#endif
plat_state_effecter_table
struct pldm_state_effecter_info plat_state_effecter_table[]
Definition:
plat_pldm_monitor.c:35
pldm_plat_effecter_id_high_byte
pldm_plat_effecter_id_high_byte
Definition:
plat_pldm_monitor.h:24
PLAT_EFFECTER_ID_GPIO_HIGH_BYTE
@ PLAT_EFFECTER_ID_GPIO_HIGH_BYTE
Definition:
plat_pldm_monitor.h:25
plat_pldm_device_state_set_offset
plat_pldm_device_state_set_offset
Definition:
plat_pldm_monitor.h:145
PLDM_STATE_SET_OFFSET_DEVICE_STATUS
@ PLDM_STATE_SET_OFFSET_DEVICE_STATUS
Definition:
plat_pldm_monitor.h:147
PLDM_STATE_SET_OFFSET_DEVICE_PRESENCE
@ PLDM_STATE_SET_OFFSET_DEVICE_PRESENCE
Definition:
plat_pldm_monitor.h:146
plat_pldm_bic_state_set_offset
plat_pldm_bic_state_set_offset
Definition:
plat_pldm_monitor.h:83
PLDM_STATE_SET_OFFSET_BIC_BOOT_RESTART_CAUSE
@ PLDM_STATE_SET_OFFSET_BIC_BOOT_RESTART_CAUSE
Definition:
plat_pldm_monitor.h:84
pldm_monitor.h
pldm_state_effecter_info
Definition:
pldm_monitor.h:425
plat_sensor_table.h
meta-facebook
minerva-ag
src
platform
plat_pldm_monitor.h
Generated by
1.9.2