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
_ltc4282_pre_proc_arg
{
21
char
*
vsource_status
;
22
}
ltc4282_pre_proc_arg
;
23
24
/**************************************************************************************************
25
* INIT ARGS
26
**************************************************************************************************/
27
extern
adc_asd_init_arg
adc_asd_init_args
[];
28
29
extern
adm1278_init_arg
adm1278_init_args
[];
30
31
extern
ltc4282_init_arg
ltc4282_init_args
[];
32
33
/**************************************************************************************************
34
* PRE-HOOK/POST-HOOK ARGS
35
**************************************************************************************************/
36
extern
ltc4282_pre_proc_arg
ltc4282_pre_read_args
[];
37
38
/**************************************************************************************************
39
* PRE-HOOK/POST-HOOK FUNC
40
**************************************************************************************************/
41
bool
pre_ltc4282_read
(
sensor_cfg
*cfg,
void
*args);
42
43
#endif
adc_asd_init_args
adc_asd_init_arg adc_asd_init_args[]
Definition:
plat_hook.c:744
_adc_asd_init_arg
Definition:
sensor.h:364
_adm1278_init_arg
Definition:
sensor.h:369
_ltc4282_init_arg
Definition:
sensor.h:403
_ltc4282_pre_proc_arg
Definition:
plat_hook.h:20
_ltc4282_pre_proc_arg::vsource_status
char * vsource_status
Definition:
plat_hook.h:21
_sensor_cfg_
Definition:
sensor.h:256
adm1278_init_args
adm1278_init_arg adm1278_init_args[]
Definition:
plat_hook.c:44
ltc4282_init_args
ltc4282_init_arg ltc4282_init_args[]
Definition:
plat_hook.c:42
ltc4282_pre_proc_arg
struct _ltc4282_pre_proc_arg ltc4282_pre_proc_arg
ltc4282_pre_read_args
ltc4282_pre_proc_arg ltc4282_pre_read_args[]
Definition:
plat_hook.c:47
pre_ltc4282_read
bool pre_ltc4282_read(sensor_cfg *cfg, void *args)
Definition:
plat_hook.c:65
meta-facebook
yv35-bb
src
platform
plat_hook.h
Generated by
1.9.2