TT Zephyr Platforms 18.11.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
bh_fwtable.h File Reference
#include <stdint.h>
#include <zephyr/device.h>
#include "fw_table.pb.h"
#include "flash_info.pb.h"
#include "read_only.pb.h"

Go to the source code of this file.

Enumerations

enum  PcbType {
  PcbTypeOrion = 0 ,
  PcbTypeP100 = 1 ,
  PcbTypeP150 = 2 ,
  PcbTypeP300 = 3 ,
  PcbTypeUBB = 4 ,
  PcbTypeUnknown = 0xFF
}

Functions

const FwTable * tt_bh_fwtable_get_fw_table (const struct device *dev)
const FlashInfoTable * tt_bh_fwtable_get_flash_info_table (const struct device *dev)
const ReadOnly * tt_bh_fwtable_get_read_only_table (const struct device *dev)
PcbType tt_bh_fwtable_get_pcb_type (const struct device *dev)
bool tt_bh_fwtable_is_p300_left_chip (void)
uint32_t tt_bh_fwtable_get_asic_location (const struct device *dev)

Enumeration Type Documentation

◆ PcbType

enum PcbType
Enumerator
PcbTypeOrion 
PcbTypeP100 
PcbTypeP150 
PcbTypeP300 
PcbTypeUBB 
PcbTypeUnknown 0xFF 

Function Documentation

◆ tt_bh_fwtable_get_asic_location()

uint32_t tt_bh_fwtable_get_asic_location ( const struct device * dev)

◆ tt_bh_fwtable_get_flash_info_table()

const FlashInfoTable * tt_bh_fwtable_get_flash_info_table ( const struct device * dev)

◆ tt_bh_fwtable_get_fw_table()

const FwTable * tt_bh_fwtable_get_fw_table ( const struct device * dev)

◆ tt_bh_fwtable_get_pcb_type()

PcbType tt_bh_fwtable_get_pcb_type ( const struct device * dev)

◆ tt_bh_fwtable_get_read_only_table()

const ReadOnly * tt_bh_fwtable_get_read_only_table ( const struct device * dev)

◆ tt_bh_fwtable_is_p300_left_chip()

bool tt_bh_fwtable_is_p300_left_chip ( void )