OpenBIC
OpenSource Bridge-IC
plat_ioexp.c File Reference
#include <logging/log.h>
#include "pldm_sensor.h"
#include "plat_i2c.h"
#include "plat_util.h"
#include "plat_ioexp.h"
#include "plat_class.h"
#include "plat_pldm_sensor.h"
#include "plat_hook.h"
Include dependency graph for plat_ioexp.c:

Functions

 LOG_MODULE_REGISTER (plat_ioexp)
 
bool pca6416a_i2c_read (uint8_t offset, uint8_t *data, uint8_t len)
 
bool pca6416a_i2c_write (uint8_t offset, uint8_t *data, uint8_t len)
 
bool pca6416a_init (void)
 
bool tca6424a_i2c_read (uint8_t offset, uint8_t *data, uint8_t len)
 
bool tca6424a_i2c_write (uint8_t offset, uint8_t *data, uint8_t len)
 
bool tca6424a_i2c_write_bit (uint8_t offset, uint8_t bit, uint8_t val)
 
void set_hamsa_mfio_6_8_10_input ()
 
void set_hamsa_mfio_6_8_10_output ()
 
bool tca6424a_init (void)
 
void set_pca6554apw_ioe_value (uint8_t ioe_bus, uint8_t ioe_addr, uint8_t ioe_reg, uint8_t value)
 
int get_pca6554apw_ioe_value (uint8_t ioe_bus, uint8_t ioe_addr, uint8_t ioe_reg, uint8_t *value)
 
void init_U200051_IO ()
 
void init_U200052_IO ()
 
void init_U200053_IO ()
 
void init_U200070_IO ()
 
bool tcal6408r_i2c_read (uint8_t offset, uint8_t *data, uint8_t len)
 
bool tcal6408r_i2c_write (uint8_t offset, uint8_t *data, uint8_t len)
 
bool tcal6408r_i2c_write_bit (uint8_t offset, uint8_t bit, uint8_t val)
 
void set_nuwa0_mfio_6_8_10_input (void)
 
void set_nuwa1_mfio_6_8_10_input (void)
 
void set_nuwa0_mfio_6_8_10_output (void)
 
void set_nuwa1_mfio_6_8_10_output (void)
 
bool tcal6408r_init (void)
 
bool is_evb_ioe_accessible ()
 
void ioexp_init (void)
 

Function Documentation

◆ get_pca6554apw_ioe_value()

int get_pca6554apw_ioe_value ( uint8_t  ioe_bus,
uint8_t  ioe_addr,
uint8_t  ioe_reg,
uint8_t *  value 
)
Here is the call graph for this function:

◆ init_U200051_IO()

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

◆ init_U200052_IO()

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

◆ init_U200053_IO()

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

◆ init_U200070_IO()

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

◆ ioexp_init()

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

◆ is_evb_ioe_accessible()

bool is_evb_ioe_accessible ( )
Here is the call graph for this function:

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_ioexp  )

◆ pca6416a_i2c_read()

bool pca6416a_i2c_read ( uint8_t  offset,
uint8_t *  data,
uint8_t  len 
)
Here is the call graph for this function:

◆ pca6416a_i2c_write()

bool pca6416a_i2c_write ( uint8_t  offset,
uint8_t *  data,
uint8_t  len 
)
Here is the call graph for this function:

◆ pca6416a_init()

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

◆ set_hamsa_mfio_6_8_10_input()

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

◆ set_hamsa_mfio_6_8_10_output()

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

◆ set_nuwa0_mfio_6_8_10_input()

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

◆ set_nuwa0_mfio_6_8_10_output()

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

◆ set_nuwa1_mfio_6_8_10_input()

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

◆ set_nuwa1_mfio_6_8_10_output()

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

◆ set_pca6554apw_ioe_value()

void set_pca6554apw_ioe_value ( uint8_t  ioe_bus,
uint8_t  ioe_addr,
uint8_t  ioe_reg,
uint8_t  value 
)
Here is the call graph for this function:

◆ tca6424a_i2c_read()

bool tca6424a_i2c_read ( uint8_t  offset,
uint8_t *  data,
uint8_t  len 
)
Here is the call graph for this function:

◆ tca6424a_i2c_write()

bool tca6424a_i2c_write ( uint8_t  offset,
uint8_t *  data,
uint8_t  len 
)
Here is the call graph for this function:

◆ tca6424a_i2c_write_bit()

bool tca6424a_i2c_write_bit ( uint8_t  offset,
uint8_t  bit,
uint8_t  val 
)
Here is the call graph for this function:

◆ tca6424a_init()

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

◆ tcal6408r_i2c_read()

bool tcal6408r_i2c_read ( uint8_t  offset,
uint8_t *  data,
uint8_t  len 
)
Here is the call graph for this function:

◆ tcal6408r_i2c_write()

bool tcal6408r_i2c_write ( uint8_t  offset,
uint8_t *  data,
uint8_t  len 
)
Here is the call graph for this function:

◆ tcal6408r_i2c_write_bit()

bool tcal6408r_i2c_write_bit ( uint8_t  offset,
uint8_t  bit,
uint8_t  val 
)
Here is the call graph for this function:

◆ tcal6408r_init()

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