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
hal_c2h.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 C2H_NPCM_H
18
#define C2H_NPCM_H
19
20
typedef
enum
{
21
CR07_LDN
= 0x07,
22
CR15_L_GIO
= 0x15,
23
CR1A_L_PWD
= 0x1A,
24
CR1B_L_FUN
= 0x1B,
25
CR20_SID_H
= 0x20,
26
CR21_SID_L
= 0x21,
27
CR24_CHPREV
= 0x24,
28
CR25_SIOCF5
= 0x25,
29
CR26_SIOCF6
= 0x26,
30
CR28_SIOGPS
= 0x28,
31
CR29_SIOCF9
= 0x29,
32
CR2A_DEVICE_ID
= 0x2A,
33
CR2D_CFD
= 0x2D,
34
CR2F_SIOSFR
= 0x2F,
35
}
CR_REG_Enum
;
36
37
void
c2h_npcm_init
(
void
);
38
int
get_chip_id
(
void
);
39
int
get_chip_rev
(
void
);
40
int
get_device_id
(
void
);
41
42
#endif
c2h_npcm_init
void c2h_npcm_init(void)
get_device_id
int get_device_id(void)
get_chip_id
int get_chip_id(void)
CR_REG_Enum
CR_REG_Enum
Definition:
hal_c2h.h:20
CR1B_L_FUN
@ CR1B_L_FUN
Definition:
hal_c2h.h:24
CR07_LDN
@ CR07_LDN
Definition:
hal_c2h.h:21
CR2A_DEVICE_ID
@ CR2A_DEVICE_ID
Definition:
hal_c2h.h:32
CR20_SID_H
@ CR20_SID_H
Definition:
hal_c2h.h:25
CR15_L_GIO
@ CR15_L_GIO
Definition:
hal_c2h.h:22
CR29_SIOCF9
@ CR29_SIOCF9
Definition:
hal_c2h.h:31
CR21_SID_L
@ CR21_SID_L
Definition:
hal_c2h.h:26
CR1A_L_PWD
@ CR1A_L_PWD
Definition:
hal_c2h.h:23
CR26_SIOCF6
@ CR26_SIOCF6
Definition:
hal_c2h.h:29
CR28_SIOGPS
@ CR28_SIOGPS
Definition:
hal_c2h.h:30
CR24_CHPREV
@ CR24_CHPREV
Definition:
hal_c2h.h:27
CR25_SIOCF5
@ CR25_SIOCF5
Definition:
hal_c2h.h:28
CR2F_SIOSFR
@ CR2F_SIOSFR
Definition:
hal_c2h.h:34
CR2D_CFD
@ CR2D_CFD
Definition:
hal_c2h.h:33
get_chip_rev
int get_chip_rev(void)
common
hal
hal_c2h.h
Generated by
1.9.2