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_util.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
bool
modbus_i2c_master_write_read
(
const
uint16_t *modbus_data, uint8_t
data_len
);
17
void
modbus_i2c_master_write_read_response
(uint16_t *modbus_data);
18
void
regs_reverse
(uint16_t reg_len, uint16_t *
data
);
19
void
plat_enable_sensor_poll
();
20
void
plat_disable_sensor_poll
();
21
void
set_status_flag_config
(uint8_t
idx
, uint32_t
val
);
22
void
get_status_flag_config
(uint8_t *
idx
, uint32_t *
val
);
23
uint8_t
get_rpu_ready_pin_status
();
24
float
pow_of_10
(int8_t exp);
25
bool
set_log_level
(uint16_t
data
);
26
uint8_t
get_fsc_mode
();
idx
uint8_t idx
Definition:
plat_util.c:40
val
uint32_t val
Definition:
plat_util.c:41
pow_of_10
float pow_of_10(int8_t exp)
Definition:
plat_util.c:138
regs_reverse
void regs_reverse(uint16_t reg_len, uint16_t *data)
Definition:
plat_util.c:95
get_rpu_ready_pin_status
uint8_t get_rpu_ready_pin_status()
Definition:
plat_util.c:129
get_fsc_mode
uint8_t get_fsc_mode()
Definition:
plat_util.c:187
plat_disable_sensor_poll
void plat_disable_sensor_poll()
Definition:
plat_util.c:110
plat_enable_sensor_poll
void plat_enable_sensor_poll()
Definition:
plat_util.c:102
set_log_level
bool set_log_level(uint16_t data)
Definition:
plat_util.c:156
set_status_flag_config
void set_status_flag_config(uint8_t idx, uint32_t val)
Definition:
plat_util.c:118
modbus_i2c_master_write_read_response
void modbus_i2c_master_write_read_response(uint16_t *modbus_data)
Definition:
plat_util.c:88
get_status_flag_config
void get_status_flag_config(uint8_t *idx, uint32_t *val)
Definition:
plat_util.c:123
modbus_i2c_master_write_read
bool modbus_i2c_master_write_read(const uint16_t *modbus_data, uint8_t data_len)
Definition:
plat_util.c:46
data_len
uint16_t data_len
Definition:
ipmb.h:14
data
uint8_t data[]
Definition:
isl69259.c:2
meta-facebook
aalc-rpu
src
platform
plat_util.h
Generated by
1.9.2