![]() |
TT-System-Firmware APIs 19.10.99
Tenstorrent Firmware
|
#include <stddef.h>#include <pb_decode.h>#include <tenstorrent/tt_boot_fs.h>#include <zephyr/device.h>#include <zephyr/devicetree.h>#include <zephyr/drivers/misc/bh_fwtable.h>#include <zephyr/kernel.h>#include <zephyr/init.h>#include <zephyr/logging/log.h>
Data Structures | |
| struct | bh_fwtable_config |
| struct | bh_fwtable_data |
Macros | |
| #define | DT_DRV_COMPAT tenstorrent_bh_fwtable |
| #define | RESET_UNIT_STRAP_REGISTERS_L_REG_ADDR 0x80030D20 |
| #define | BH_FWTABLE_LOADCFG(_enum, _tag, _field, _msgtype) |
| #define | DEFINE_BH_FWTABLE(_inst) |
Enumerations | |
| enum | bh_fwtable_e { BH_FWTABLE_FLSHINFO , BH_FWTABLE_BOARDCFG , BH_FWTABLE_CMFWCFG } |
Functions | |
| LOG_MODULE_REGISTER (bh_fwtable, CONFIG_BH_FWTABLE_LOG_LEVEL) | |
| 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) |
| uint8_t | tt_bh_fwtable_get_board_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) |
| static int | tt_bh_fwtable_load (const struct device *dev, enum bh_fwtable_e table) |
| static int | tt_bh_fwtable_init (const struct device *dev) |
| #define BH_FWTABLE_LOADCFG | ( | _enum, | |
| _tag, | |||
| _field, | |||
| _msgtype ) |
| #define DEFINE_BH_FWTABLE | ( | _inst | ) |
| #define DT_DRV_COMPAT tenstorrent_bh_fwtable |
| #define RESET_UNIT_STRAP_REGISTERS_L_REG_ADDR 0x80030D20 |
| enum bh_fwtable_e |
| LOG_MODULE_REGISTER | ( | bh_fwtable | , |
| CONFIG_BH_FWTABLE_LOG_LEVEL | ) |
| const FlashInfoTable * tt_bh_fwtable_get_flash_info_table | ( | const struct device * | dev | ) |
| const FwTable * tt_bh_fwtable_get_fw_table | ( | const struct device * | dev | ) |
| const ReadOnly * tt_bh_fwtable_get_read_only_table | ( | const struct device * | dev | ) |
|
static |
| bool tt_bh_fwtable_is_p300_left_chip | ( | void | ) |
|
static |