OpenBIC
OpenSource Bridge-IC
plat_hook.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_HOOK_H
18
#define PLAT_HOOK_H
19
20
typedef
struct
_isl69254iraz_t_pre_arg_
{
21
uint8_t
vr_page
;
22
}
isl69254iraz_t_pre_arg
;
23
24
/**************************************************************************************************
25
* INIT ARGS
26
**************************************************************************************************/
27
extern
adc_asd_init_arg
adc_asd_init_args
[];
28
extern
ina230_init_arg
ina231_init_args
[];
29
extern
isl28022_init_arg
isl28022_init_args
[];
30
31
/**************************************************************************************************
32
* PRE-HOOK/POST-HOOK ARGS
33
**************************************************************************************************/
34
//extern isl69254iraz_t_pre_arg isl69254iraz_t_pre_read_args[];
35
36
/**************************************************************************************************
37
* PRE-HOOK/POST-HOOK FUNC
38
**************************************************************************************************/
39
bool
pre_ina233_read
(
sensor_cfg
*cfg,
void
*args);
40
bool
pre_isl69254iraz_t_read
(
sensor_cfg
*cfg,
void
*args);
41
42
#endif
adc_asd_init_args
adc_asd_init_arg adc_asd_init_args[]
Definition:
plat_hook.c:742
pre_ina233_read
bool pre_ina233_read(sensor_cfg *cfg, void *args)
Definition:
plat_hook.c:707
_adc_asd_init_arg
Definition:
sensor.h:363
_ina230_init_arg
Definition:
sensor.h:528
_isl28022_init_arg
Definition:
sensor.h:309
_isl69254iraz_t_pre_arg_
Definition:
plat_hook.h:20
_isl69254iraz_t_pre_arg_::vr_page
uint8_t vr_page
Definition:
plat_hook.h:21
_sensor_cfg_
Definition:
sensor.h:255
isl69254iraz_t_pre_arg
struct _isl69254iraz_t_pre_arg_ isl69254iraz_t_pre_arg
pre_isl69254iraz_t_read
bool pre_isl69254iraz_t_read(sensor_cfg *cfg, void *args)
Definition:
plat_hook.c:197
ina231_init_args
ina230_init_arg ina231_init_args[]
Definition:
plat_hook.c:52
isl28022_init_args
isl28022_init_arg isl28022_init_args[]
Definition:
plat_hook.c:119
meta-facebook
yv3-vf
src
platform
plat_hook.h
Generated by
1.9.2