OpenBIC
OpenSource Bridge-IC
rg3mxxb12.c File Reference
#include <logging/log.h>
#include "rg3mxxb12.h"
#include "libutil.h"
Include dependency graph for rg3mxxb12.c:

Macros

#define RETRY   3
 

Functions

 LOG_MODULE_REGISTER (dev_rg3mxxb12)
 
bool rg3mxxb12_select_slave_port_connect (uint8_t bus, uint8_t slave_port)
 
bool rg3mxxb12_get_device_info (uint8_t bus, uint16_t *i3c_hub_type)
 
bool rg3mxxb12_get_device_info_i3c (uint8_t bus, uint16_t *i3c_hub_type)
 
bool rg3mxxb12_i2c_mode_only_init (uint8_t bus, uint8_t slave_port, uint8_t ldo_volt, uint8_t pullup_resistor)
 
bool rg3mxxb12_i3c_mode_only_init (I3C_MSG *i3c_msg, uint8_t ldo_volt)
 
bool rg3mxxb12_set_slave_port (uint8_t bus, uint8_t addr, uint8_t setting)
 

Macro Definition Documentation

◆ RETRY

#define RETRY   3

Function Documentation

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( dev_rg3mxxb12  )

◆ rg3mxxb12_get_device_info()

bool rg3mxxb12_get_device_info ( uint8_t  bus,
uint16_t *  i3c_hub_type 
)

◆ rg3mxxb12_get_device_info_i3c()

bool rg3mxxb12_get_device_info_i3c ( uint8_t  bus,
uint16_t *  i3c_hub_type 
)

◆ rg3mxxb12_i2c_mode_only_init()

bool rg3mxxb12_i2c_mode_only_init ( uint8_t  bus,
uint8_t  slave_port,
uint8_t  ldo_volt,
uint8_t  pullup_resistor 
)

◆ rg3mxxb12_i3c_mode_only_init()

bool rg3mxxb12_i3c_mode_only_init ( I3C_MSG i3c_msg,
uint8_t  ldo_volt 
)
Here is the call graph for this function:

◆ rg3mxxb12_select_slave_port_connect()

bool rg3mxxb12_select_slave_port_connect ( uint8_t  bus,
uint8_t  slave_port 
)

◆ rg3mxxb12_set_slave_port()

bool rg3mxxb12_set_slave_port ( uint8_t  bus,
uint8_t  addr,
uint8_t  setting 
)
Here is the call graph for this function: