OpenBIC
OpenSource Bridge-IC
plat_hook.h File Reference
#include "sensor.h"
Include dependency graph for plat_hook.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _vr_pre_proc_arg
 
struct  _pex89000_pre_proc_arg
 

Typedefs

typedef struct _vr_pre_proc_arg vr_pre_proc_arg
 
typedef struct _pex89000_pre_proc_arg pex89000_pre_proc_arg
 

Functions

bool pre_vr_read (sensor_cfg *cfg, void *args)
 
bool pre_pex89000_read (sensor_cfg *cfg, void *args)
 
bool pre_i2c_bus_read (sensor_cfg *cfg, void *args)
 
bool post_i2c_bus_read (sensor_cfg *cfg, void *args, int *reading)
 
bool post_mp5990_read (sensor_cfg *cfg, void *args, int *reading)
 
bool post_ltc4282_read (sensor_cfg *cfg, void *args, int *reading)
 
bool post_ltc4286_read (sensor_cfg *cfg, void *args, int *reading)
 
struct k_mutex * find_bus_mutex (sensor_cfg *cfg)
 
void ssd_drive_reinit (void)
 
bool is_mb_dc_on ()
 
void set_cx7_init_arg_to_thor2 ()
 

Variables

isl28022_init_arg isl28022_nic_sensor_init_args []
 
ina230_init_arg ina230_nic_sensor_init_args []
 
mp5990_init_arg mp5990_hsc_init_args []
 
adc_asd_init_arg ast_adc_init_args []
 
isl28022_init_arg isl28022_pex_p1v25_sensor_init_args []
 
ina230_init_arg ina230_pex_p1v25_sensor_init_args []
 
isl28022_init_arg isl28022_pex_p1v8_sensor_init_args []
 
ina230_init_arg ina230_pex_p1v8_sensor_init_args []
 
isl28022_init_arg isl28022_ssd_sensor_init_args []
 
ina230_init_arg ina230_ssd_sensor_init_args []
 
pex89000_init_arg pex_sensor_init_args []
 
ltc4282_init_arg ltc4282_hsc_init_args []
 
ltc4286_init_arg ltc4286_hsc_init_args []
 
nct7718w_init_arg nct7718w_init_args []
 
cx7_init_arg cx7_init_args []
 
struct tca9548 mux_conf_addr_0xe0 []
 
struct tca9548 mux_conf_addr_0xe2 []
 
vr_pre_proc_arg vr_pre_read_args []
 
pex89000_pre_proc_arg pex89000_pre_read_args []
 

Typedef Documentation

◆ pex89000_pre_proc_arg

◆ vr_pre_proc_arg

Function Documentation

◆ find_bus_mutex()

struct k_mutex * find_bus_mutex ( sensor_cfg cfg)

◆ is_mb_dc_on()

bool is_mb_dc_on ( )

◆ post_i2c_bus_read()

bool post_i2c_bus_read ( sensor_cfg cfg,
void *  args,
int *  reading 
)

Because BUS9 has two mux behind 16 E1.S with the same i2c address, so close all mux channels after the sensor read to avoid conflict with other devices reading.

close all channels after the sensor read to avoid conflict with other devices reading.

◆ post_ltc4282_read()

bool post_ltc4282_read ( sensor_cfg cfg,
void *  args,
int *  reading 
)

◆ post_ltc4286_read()

bool post_ltc4286_read ( sensor_cfg cfg,
void *  args,
int *  reading 
)

◆ post_mp5990_read()

bool post_mp5990_read ( sensor_cfg cfg,
void *  args,
int *  reading 
)
Here is the call graph for this function:

◆ pre_i2c_bus_read()

bool pre_i2c_bus_read ( sensor_cfg cfg,
void *  args 
)

◆ pre_pex89000_read()

bool pre_pex89000_read ( sensor_cfg cfg,
void *  args 
)
Here is the call graph for this function:

◆ pre_vr_read()

bool pre_vr_read ( sensor_cfg cfg,
void *  args 
)

◆ set_cx7_init_arg_to_thor2()

void set_cx7_init_arg_to_thor2 ( )

◆ ssd_drive_reinit()

void ssd_drive_reinit ( void  )
Here is the call graph for this function:

Variable Documentation

◆ ast_adc_init_args

adc_asd_init_arg ast_adc_init_args[]
extern

◆ cx7_init_args

cx7_init_arg cx7_init_args[]
extern

◆ ina230_nic_sensor_init_args

ina230_init_arg ina230_nic_sensor_init_args[]
extern

◆ ina230_pex_p1v25_sensor_init_args

ina230_init_arg ina230_pex_p1v25_sensor_init_args[]
extern

◆ ina230_pex_p1v8_sensor_init_args

ina230_init_arg ina230_pex_p1v8_sensor_init_args[]
extern

◆ ina230_ssd_sensor_init_args

ina230_init_arg ina230_ssd_sensor_init_args[]
extern

◆ isl28022_nic_sensor_init_args

isl28022_init_arg isl28022_nic_sensor_init_args[]
extern

◆ isl28022_pex_p1v25_sensor_init_args

isl28022_init_arg isl28022_pex_p1v25_sensor_init_args[]
extern

◆ isl28022_pex_p1v8_sensor_init_args

isl28022_init_arg isl28022_pex_p1v8_sensor_init_args[]
extern

◆ isl28022_ssd_sensor_init_args

isl28022_init_arg isl28022_ssd_sensor_init_args[]
extern

◆ ltc4282_hsc_init_args

ltc4282_init_arg ltc4282_hsc_init_args[]
extern

◆ ltc4286_hsc_init_args

ltc4286_init_arg ltc4286_hsc_init_args[]
extern

◆ mp5990_hsc_init_args

mp5990_init_arg mp5990_hsc_init_args[]
extern

◆ mux_conf_addr_0xe0

struct tca9548 mux_conf_addr_0xe0[]
extern

◆ mux_conf_addr_0xe2

struct tca9548 mux_conf_addr_0xe2[]
extern

◆ nct7718w_init_args

nct7718w_init_arg nct7718w_init_args[]
extern

◆ pex89000_pre_read_args

pex89000_pre_proc_arg pex89000_pre_read_args[]
extern

◆ pex_sensor_init_args

pex89000_init_arg pex_sensor_init_args[]
extern

◆ vr_pre_read_args

vr_pre_proc_arg vr_pre_read_args[]
extern