OpenBIC
OpenSource Bridge-IC
Toggle main menu visibility
Main Page
Related Pages
Classes
Class List
Class Index
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
v
w
x
Enumerations
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
plat_class.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
#include <stdbool.h>
18
#include <stdint.h>
19
20
#ifndef PLAT_CLASS_H
21
#define PLAT_CLASS_H
22
23
enum
HSC_MODULE
{
24
HSC_MODULE_ADM1272
,
25
HSC_MODULE_XDP710
,
26
HSC_MODULE_UNKNOWN
,
27
};
28
enum
TEMP_MODULE
{
29
SB_TMP461
,
30
SB_NCT214
,
31
TEMP_MODULE_UNKNOWN
,
32
};
33
enum
BOARD_STAGE
{
34
BOARD_STAGE_EVT
,
35
BOARD_STAGE_DVT
,
36
BOARD_STAGE_PVT
,
37
BOARD_STAGE_MP
,
38
BOARD_STAGE_UNKNOWN
,
39
};
40
void
init_aalc_config
();
41
uint8_t
get_hsc_module
();
42
uint8_t
get_temp_module
();
43
uint8_t
get_board_stage
();
44
bool
evt_access
(uint8_t
sensor_num
);
45
#endif
BOARD_STAGE
BOARD_STAGE
Definition:
plat_class.h:33
BOARD_STAGE_UNKNOWN
@ BOARD_STAGE_UNKNOWN
Definition:
plat_class.h:38
BOARD_STAGE_DVT
@ BOARD_STAGE_DVT
Definition:
plat_class.h:35
BOARD_STAGE_PVT
@ BOARD_STAGE_PVT
Definition:
plat_class.h:36
BOARD_STAGE_MP
@ BOARD_STAGE_MP
Definition:
plat_class.h:37
BOARD_STAGE_EVT
@ BOARD_STAGE_EVT
Definition:
plat_class.h:34
init_aalc_config
void init_aalc_config()
Definition:
plat_class.c:25
get_hsc_module
uint8_t get_hsc_module()
Definition:
plat_class.c:30
get_board_stage
uint8_t get_board_stage()
Definition:
plat_class.c:40
HSC_MODULE
HSC_MODULE
Definition:
plat_class.h:23
HSC_MODULE_XDP710
@ HSC_MODULE_XDP710
Definition:
plat_class.h:25
HSC_MODULE_ADM1272
@ HSC_MODULE_ADM1272
Definition:
plat_class.h:24
HSC_MODULE_UNKNOWN
@ HSC_MODULE_UNKNOWN
Definition:
plat_class.h:26
TEMP_MODULE
TEMP_MODULE
Definition:
plat_class.h:28
TEMP_MODULE_UNKNOWN
@ TEMP_MODULE_UNKNOWN
Definition:
plat_class.h:31
SB_NCT214
@ SB_NCT214
Definition:
plat_class.h:30
SB_TMP461
@ SB_TMP461
Definition:
plat_class.h:29
evt_access
bool evt_access(uint8_t sensor_num)
Definition:
plat_class.c:47
get_temp_module
uint8_t get_temp_module()
Definition:
plat_class.c:35
sensor_num
uint8_t sensor_num
Definition:
storage_handler.h:6
meta-facebook
aalc-rpu
src
platform
plat_class.h
Generated by
1.9.2