OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>
#include <string.h>
#include "libutil.h"
#include "ast_adc.h"
#include "sensor.h"
#include "hal_i2c.h"
#include "plat_sensor_table.h"
#include "plat_hook.h"
#include <logging/log.h>
#include "pmbus.h"
Functions | |
K_MUTEX_DEFINE (wait_pm8702_mutex) | |
LOG_MODULE_REGISTER (plat_hook) | |
bool | pre_vr_read (sensor_cfg *cfg, void *args) |
bool | pre_isl69254iraz_t_read (sensor_cfg *cfg, void *args) |
bool | post_isl69254iraz_t_read (sensor_cfg *cfg, void *args, int *reading) |
bool | pre_pm8702_read (sensor_cfg *cfg, void *args) |
bool | post_pm8702_read (sensor_cfg *cfg, void *args, int *reading) |
Variables | |
adc_asd_init_arg | adc_asd_init_args [] = { [0] = { .is_init = false } } |
pm8702_dimm_init_arg | pm8702_dimm_init_args [] |
ina233_init_arg | ina233_init_args [] |
isl69254iraz_t_pre_arg | isl69254iraz_t_pre_read_args [] |
vr_pre_proc_arg | vr_page_select [] |
ina230_init_arg | SQ5220x_init_args [] |
K_MUTEX_DEFINE | ( | wait_pm8702_mutex | ) |
LOG_MODULE_REGISTER | ( | plat_hook | ) |
bool post_isl69254iraz_t_read | ( | sensor_cfg * | cfg, |
void * | args, | ||
int * | reading | ||
) |
bool post_pm8702_read | ( | sensor_cfg * | cfg, |
void * | args, | ||
int * | reading | ||
) |
bool pre_isl69254iraz_t_read | ( | sensor_cfg * | cfg, |
void * | args | ||
) |
bool pre_pm8702_read | ( | sensor_cfg * | cfg, |
void * | args | ||
) |
bool pre_vr_read | ( | sensor_cfg * | cfg, |
void * | args | ||
) |
adc_asd_init_arg adc_asd_init_args[] = { [0] = { .is_init = false } } |
ina233_init_arg ina233_init_args[] |
isl69254iraz_t_pre_arg isl69254iraz_t_pre_read_args[] |
pm8702_dimm_init_arg pm8702_dimm_init_args[] |
ina230_init_arg SQ5220x_init_args[] |
vr_pre_proc_arg vr_page_select[] |