Go to the source code of this file.
|
int | bharc_smbus_block_read (const struct bh_arc *dev, uint8_t cmd, uint8_t *count, uint8_t *output) |
int | bharc_smbus_block_write (const struct bh_arc *dev, uint8_t cmd, uint8_t count, uint8_t *input) |
int | bharc_smbus_word_data_write (const struct bh_arc *dev, uint16_t cmd, uint16_t word) |
int | bharc_smbus_byte_data_write (const struct bh_arc *dev, uint8_t cmd, uint8_t word) |
int | bharc_smbus_block_write_block_read (const struct bh_arc *dev, uint8_t cmd, uint8_t snd_count, uint8_t *send_buf, uint8_t *rcv_count, uint8_t *rcv_buf) |
int | bharc_enable_i2cbus (const struct bh_arc *dev) |
int | bharc_disable_i2cbus (const struct bh_arc *dev) |
◆ BH_ARC_INIT
Value:
}), ({})) }
#define DEVICE_DT_GET(node_id)
#define DT_PROP_HAS_IDX(node_id, prop, idx)
#define DT_GPIO_FLAGS_BY_IDX(node_id, gpio_pha, idx)
#define DT_GPIO_PIN_BY_IDX(node_id, gpio_pha, idx)
#define DT_GPIO_CTLR_BY_IDX(node_id, gpio_pha, idx)
#define SMBUS_DT_SPEC_GET(node_id)
#define COND_CODE_1(_flag, _if_1_code, _else_code)
◆ cm2dmAck
typedef struct cm2dmAck cm2dmAck |
◆ cm2dmMessage
typedef struct cm2dmMessage cm2dmMessage |
◆ cm2dmMessageRet
typedef struct cm2dmMessageRet cm2dmMessageRet |
◆ dmStaticInfo
typedef struct dmStaticInfo dmStaticInfo |
◆ Cm2DmMsgId
Enumerator |
---|
kCm2DmMsgIdNull | 0 | |
kCm2DmMsgIdResetReq | 1 | |
kCm2DmMsgIdPing | 2 | |
kCm2DmMsgIdFanSpeedUpdate | 3 | |
kCm2DmMsgIdReady | 4 | |
kCm2DmMsgIdAutoResetTimeoutUpdate | 5 | |
kCm2DmMsgTelemHeartbeatUpdate | 6 | |
kCm2DmMsgIdForcedFanSpeedUpdate | 7 | |
kCm2DmMsgCount | | |
◆ Cm2DmResetLevel
Enumerator |
---|
kCm2DmResetLevelAsic | 0 | |
kCm2DmResetLevelDmc | 3 | |
◆ bharc_disable_i2cbus()
int bharc_disable_i2cbus |
( |
const struct bh_arc * | dev | ) |
|
◆ bharc_enable_i2cbus()
int bharc_enable_i2cbus |
( |
const struct bh_arc * | dev | ) |
|
◆ bharc_smbus_block_read()
◆ bharc_smbus_block_write()
◆ bharc_smbus_block_write_block_read()
◆ bharc_smbus_byte_data_write()
◆ bharc_smbus_word_data_write()