TT Zephyr Platforms 18.11.99
Tenstorrent Firmware
|
Go to the source code of this file.
Data Structures | |
struct | dmStaticInfo |
struct | cm2dmMessage |
struct | cm2dmAck |
union | cm2dmAckWire |
struct | bh_arc |
struct | cm2dmMessageRet |
Macros | |
#define | BH_ARC_INIT(n) |
Typedefs | |
typedef struct dmStaticInfo | dmStaticInfo |
typedef struct cm2dmMessage | cm2dmMessage |
typedef struct cm2dmAck | cm2dmAck |
typedef struct cm2dmMessageRet | cm2dmMessageRet |
Enumerations | |
enum | Cm2DmMsgId { kCm2DmMsgIdNull = 0 , kCm2DmMsgIdResetReq = 1 , kCm2DmMsgIdPing = 2 , kCm2DmMsgIdFanSpeedUpdate = 3 , kCm2DmMsgIdReady = 4 , kCm2DmMsgIdAutoResetTimeoutUpdate = 5 , kCm2DmMsgTelemHeartbeatUpdate = 6 , kCm2DmMsgIdForcedFanSpeedUpdate = 7 , kCm2DmMsgCount } |
enum | Cm2DmResetLevel { kCm2DmResetLevelAsic = 0 , kCm2DmResetLevelDmc = 3 } |
Functions | |
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) |
#define BH_ARC_INIT | ( | n | ) |
typedef struct cm2dmAck cm2dmAck |
typedef struct cm2dmMessage cm2dmMessage |
typedef struct cm2dmMessageRet cm2dmMessageRet |
typedef struct dmStaticInfo dmStaticInfo |
enum Cm2DmMsgId |
enum Cm2DmResetLevel |
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_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 ) |