![]() |
TT-System-Firmware APIs 19.8.99
Tenstorrent Firmware
|
#include "aiclk_ppm.h"#include "cat.h"#include "cm2dm_msg.h"#include "fan_ctrl.h"#include "functional_efuse.h"#include "harvesting.h"#include "reg.h"#include "regulator.h"#include "status_reg.h"#include "telemetry.h"#include "telemetry_internal.h"#include "gddr.h"#include "eth.h"#include <float.h>#include <math.h>#include <stdint.h>#include <string.h>#include <tenstorrent/post_code.h>#include <zephyr/logging/log.h>#include <zephyr/drivers/misc/bh_fwtable.h>#include <zephyr/device.h>#include <zephyr/devicetree.h>#include <zephyr/drivers/clock_control/clock_control_tt_bh.h>#include <zephyr/drivers/clock_control.h>Data Structures | |
| struct | telemetry_entry |
| Represents an entry in the telemetry table. More... | |
| struct | telemetry_table |
| Represents the telemetry table containing telemetry data and metadata. More... | |
Macros | |
| #define | RESET_UNIT_STRAP_REGISTERS_L_REG_ADDR 0x80030D20 |
Variables | |
| static const struct device *const | fwtable_dev = DEVICE_DT_GET(DT_NODELABEL(fwtable)) |
| static const struct device *const | pll_dev_0 = DEVICE_DT_GET_OR_NULL(DT_NODELABEL(pll0)) |
| static const struct device *const | pll_dev_1 = DEVICE_DT_GET_OR_NULL(DT_NODELABEL(pll1)) |
| static const struct device *const | pll_dev_4 = DEVICE_DT_GET_OR_NULL(DT_NODELABEL(pll4)) |
| static struct telemetry_table | telemetry_table |
| Documentation for telemetry table variables. | |
| static uint32_t * | telemetry = &telemetry_table.telemetry[0] |
| Pointer to the telemetry data buffer. | |
| static struct k_timer | telem_update_timer |
| static struct k_work | telem_update_worker |
| static int | telem_update_interval = 100 |
| #define RESET_UNIT_STRAP_REGISTERS_L_REG_ADDR 0x80030D20 |
| uint32_t ConvertFloatToTelemetry | ( | float | value | ) |
| float ConvertTelemetryToFloat | ( | int32_t | value | ) |
| int GetMaxGDDRTemp | ( | void | ) |
| void init_telemetry | ( | uint32_t | app_version | ) |
|
static |
|
static |
| LOG_MODULE_REGISTER | ( | telemetry | , |
| CONFIG_TT_APP_LOG_LEVEL | ) |
| void StartTelemetryTimer | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
| void UpdateTelemetryBoardPowerLimit | ( | uint32_t | power_limit | ) |
| void UpdateTelemetryHostAiclkLimit | ( | uint32_t | fmax | ) |
| void UpdateTelemetryNocTranslation | ( | bool | translation_enabled | ) |
| void UpdateTelemetryTdpLimit | ( | uint32_t | tdp_limit | ) |
| void UpdateTelemetryThermTripCount | ( | uint16_t | therm_trip_count | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |