TT-System-Firmware APIs 19.13.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
bh_efuse.h File Reference
#include <errno.h>
#include <stdint.h>
#include <zephyr/device.h>
Include dependency graph for bh_efuse.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tt_efuse_driver_api

Enumerations

enum  tt_bh_efuse_box_id {
  TT_BH_EFUSE_BOX_DFT0 = 0 ,
  TT_BH_EFUSE_BOX_DFT1 = 1 ,
  TT_BH_EFUSE_BOX_FUNC = 2 ,
  TT_BH_EFUSE_BOX_ID_NUM = 3
}
enum  tt_bh_efuse_access_type {
  TT_BH_EFUSE_ACCESS_INDIRECT = 0 ,
  TT_BH_EFUSE_ACCESS_DIRECT = 1
}

Functions

static int tt_bh_efuse_read (const struct device *dev, enum tt_bh_efuse_access_type acc_type, enum tt_bh_efuse_box_id box_id, uint32_t offset, uint32_t *value)

Enumeration Type Documentation

◆ tt_bh_efuse_access_type

Enumerator
TT_BH_EFUSE_ACCESS_INDIRECT 
TT_BH_EFUSE_ACCESS_DIRECT 

◆ tt_bh_efuse_box_id

Enumerator
TT_BH_EFUSE_BOX_DFT0 
TT_BH_EFUSE_BOX_DFT1 
TT_BH_EFUSE_BOX_FUNC 
TT_BH_EFUSE_BOX_ID_NUM 

Function Documentation

◆ tt_bh_efuse_read()

int tt_bh_efuse_read ( const struct device * dev,
enum tt_bh_efuse_access_type acc_type,
enum tt_bh_efuse_box_id box_id,
uint32_t offset,
uint32_t * value )
inlinestatic