TT Zephyr Platforms 18.11.99
Tenstorrent Firmware
|
#include <stdint.h>
#include <zephyr/sys/util.h>
#include "regulator.h"
#include "regulator_config.h"
Macros | |
#define | REGULATOR_DATA(regulator, cmd) |
Variables | |
static const uint8_t | p1x0_vcore_b0_data [] |
static const uint8_t | p1x0_vcore_b0_mask [] |
static const uint8_t | p1x0_vcore_cb_data [] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00} |
static const uint8_t | p1x0_vcore_cb_mask [] = {0x00, 0x07, 0x00, 0x00, 0x00, 0x00} |
static const uint8_t | p1x0_vcore_d3_data [] = {0x00} |
static const uint8_t | p1x0_vcore_d3_mask [] = {0x80} |
static const uint8_t | p1x0_vcore_ca_data [] = {0x00, 0x78, 0x00, 0x00, 0x00} |
static const uint8_t | p1x0_vcore_ca_mask [] = {0x00, 0xff, 0x00, 0x00, 0x00} |
static const uint8_t | p1x0_vcore_38_data [] = {0x08, 0x00} |
static const uint8_t | p1x0_vcore_38_mask [] = {0xff, 0x07} |
static const uint8_t | p1x0_vcore_39_data [] = {0x0c, 0x00} |
static const uint8_t | p1x0_vcore_39_mask [] = {0xff, 0x07} |
static const uint8_t | p1x0_vcore_e7_data [] = {0x01} |
static const uint8_t | p1x0_vcore_e7_mask [] = {0x07} |
static const RegulatorData | p1x0_vcore_data [] |
static const uint8_t | p1x0_vcorem_b0_data [] |
static const uint8_t | p1x0_vcorem_b0_mask [] |
static const uint8_t | p1x0_vcorem_38_data [] = {0x08, 0x00} |
static const uint8_t | p1x0_vcorem_38_mask [] = {0xff, 0x07} |
static const uint8_t | p1x0_vcorem_39_data [] = {0x0c, 0x00} |
static const uint8_t | p1x0_vcorem_39_mask [] = {0xff, 0x07} |
static const uint8_t | p1x0_vcorem_e7_data [] = {0x04} |
static const uint8_t | p1x0_vcorem_e7_mask [] = {0x07} |
static const RegulatorData | p1x0_vcorem_data [] |
static const uint8_t | p300_vcore_b0_data [] |
static const uint8_t | p300_vcore_b0_mask [] |
static const uint8_t | p300_vcore_cb_data [] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00} |
static const uint8_t | p300_vcore_cb_mask [] = {0x00, 0x07, 0x00, 0x00, 0x00, 0x00} |
static const uint8_t | p300_vcore_38_data [] = {0x02, 0x00} |
static const uint8_t | p300_vcore_38_mask [] = {0xff, 0x07} |
static const uint8_t | p300_vcore_39_data [] = {0x02, 0x00} |
static const uint8_t | p300_vcore_39_mask [] = {0xff, 0x07} |
static const uint8_t | p300_vcore_e7_data [] = {0x01} |
static const uint8_t | p300_vcore_e7_mask [] = {0x07} |
static const RegulatorData | p300_vcore_data [] |
static const uint8_t | p300_vcorem_b0_data [] |
static const uint8_t | p300_vcorem_b0_mask [] |
static const uint8_t | p300_vcorem_38_data [] = {0x08, 0x00} |
static const uint8_t | p300_vcorem_38_mask [] = {0xff, 0x07} |
static const uint8_t | p300_vcorem_39_data [] = {0x0c, 0x00} |
static const uint8_t | p300_vcorem_39_mask [] = {0xff, 0x07} |
static const uint8_t | p300_vcorem_e7_data [] = {0x04} |
static const uint8_t | p300_vcorem_e7_mask [] = {0x07} |
static const RegulatorData | p300_vcorem_data [] |
static const uint8_t | ubb_vcore_b0_data [] |
static const uint8_t | ubb_vcore_b0_mask [] |
static const uint8_t | ubb_vcore_cb_data [] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00} |
static const uint8_t | ubb_vcore_cb_mask [] = {0x00, 0x07, 0x00, 0x00, 0x00, 0x00} |
static const uint8_t | ubb_vcore_d3_data [] = {0x00} |
static const uint8_t | ubb_vcore_d3_mask [] = {0x80} |
static const uint8_t | ubb_vcore_ca_data [] = {0x00, 0x78, 0x00, 0x00, 0x00} |
static const uint8_t | ubb_vcore_ca_mask [] = {0x00, 0xff, 0x00, 0x00, 0x00} |
static const uint8_t | ubb_vcore_38_data [] = {0x02, 0x00} |
static const uint8_t | ubb_vcore_38_mask [] = {0xff, 0x07} |
static const uint8_t | ubb_vcore_39_data [] = {0x02, 0x00} |
static const uint8_t | ubb_vcore_39_mask [] = {0xff, 0x07} |
static const uint8_t | ubb_vcore_e7_data [] = {0x01} |
static const uint8_t | ubb_vcore_e7_mask [] = {0x07} |
static const RegulatorData | ubb_vcore_data [] |
static const uint8_t | ubb_vcorem_b0_data [] |
static const uint8_t | ubb_vcorem_b0_mask [] |
static const uint8_t | ubb_vcorem_38_data [] = {0x02, 0x00} |
static const uint8_t | ubb_vcorem_38_mask [] = {0xff, 0x07} |
static const uint8_t | ubb_vcorem_39_data [] = {0x02, 0x00} |
static const uint8_t | ubb_vcorem_39_mask [] = {0xff, 0x07} |
static const uint8_t | ubb_vcorem_e7_data [] = {0x04} |
static const uint8_t | ubb_vcorem_e7_mask [] = {0x07} |
static const RegulatorData | ubb_vcorem_data [] |
static const uint8_t | ubb_gddrio_29_data [] = {0xbc, 0x01} |
static const uint8_t | ubb_gddrio_29_mask [] = {0xff, 0xff} |
static const uint8_t | ubb_gddrio_21_data [] = {0xa3, 0x02} |
static const uint8_t | ubb_gddrio_21_mask [] = {0xff, 0xff} |
static const RegulatorData | ubb_gddrio_data [] |
static const uint8_t | serdes_vr_d2_data [] = {0x07} |
static const uint8_t | serdes_vr_d2_mask [] = {0xff} |
static const RegulatorData | serdes_vr_data [] |
static const RegulatorConfig | p150_config [] |
const BoardRegulatorsConfig | p150_regulators_config |
static const RegulatorConfig | p300_left_config [] |
const BoardRegulatorsConfig | p300_left_regulators_config |
static const RegulatorConfig | p300_right_config [] |
const BoardRegulatorsConfig | p300_right_regulators_config |
static const RegulatorConfig | ubb_config [] |
const BoardRegulatorsConfig | ubb_regulators_config |
#define REGULATOR_DATA | ( | regulator, | |
cmd ) |
BUILD_ASSERT | ( | sizeof(p1x0_vcore_38_data) | = =sizeof(p1x0_vcore_38_mask) | ) |
BUILD_ASSERT | ( | sizeof(p1x0_vcore_39_data) | = =sizeof(p1x0_vcore_39_mask) | ) |
BUILD_ASSERT | ( | sizeof(p1x0_vcore_b0_data) | = =sizeof(p1x0_vcore_b0_mask) | ) |
BUILD_ASSERT | ( | sizeof(p1x0_vcore_ca_data) | = =sizeof(p1x0_vcore_ca_mask) | ) |
BUILD_ASSERT | ( | sizeof(p1x0_vcore_cb_data) | = =sizeof(p1x0_vcore_cb_mask) | ) |
BUILD_ASSERT | ( | sizeof(p1x0_vcore_d3_data) | = =sizeof(p1x0_vcore_d3_mask) | ) |
BUILD_ASSERT | ( | sizeof(p1x0_vcore_e7_data) | = =sizeof(p1x0_vcore_e7_mask) | ) |
BUILD_ASSERT | ( | sizeof(p1x0_vcorem_38_data) | = =sizeof(p1x0_vcorem_38_mask) | ) |
BUILD_ASSERT | ( | sizeof(p1x0_vcorem_39_data) | = =sizeof(p1x0_vcorem_39_mask) | ) |
BUILD_ASSERT | ( | sizeof(p1x0_vcorem_b0_data) | = =sizeof(p1x0_vcorem_b0_mask) | ) |
BUILD_ASSERT | ( | sizeof(p1x0_vcorem_e7_data) | = =sizeof(p1x0_vcorem_e7_mask) | ) |
BUILD_ASSERT | ( | sizeof(p300_vcore_38_data) | = =sizeof(p300_vcore_38_mask) | ) |
BUILD_ASSERT | ( | sizeof(p300_vcore_39_data) | = =sizeof(p300_vcore_39_mask) | ) |
BUILD_ASSERT | ( | sizeof(p300_vcore_b0_data) | = =sizeof(p300_vcore_b0_mask) | ) |
BUILD_ASSERT | ( | sizeof(p300_vcore_cb_data) | = =sizeof(p300_vcore_cb_mask) | ) |
BUILD_ASSERT | ( | sizeof(p300_vcore_e7_data) | = =sizeof(p300_vcore_e7_mask) | ) |
BUILD_ASSERT | ( | sizeof(p300_vcorem_38_data) | = =sizeof(p300_vcorem_38_mask) | ) |
BUILD_ASSERT | ( | sizeof(p300_vcorem_39_data) | = =sizeof(p300_vcorem_39_mask) | ) |
BUILD_ASSERT | ( | sizeof(p300_vcorem_b0_data) | = =sizeof(p300_vcorem_b0_mask) | ) |
BUILD_ASSERT | ( | sizeof(p300_vcorem_e7_data) | = =sizeof(p300_vcorem_e7_mask) | ) |
BUILD_ASSERT | ( | sizeof(serdes_vr_d2_data) | = =sizeof(serdes_vr_d2_mask) | ) |
BUILD_ASSERT | ( | sizeof(ubb_gddrio_21_data) | = =sizeof(ubb_gddrio_21_mask) | ) |
BUILD_ASSERT | ( | sizeof(ubb_gddrio_29_data) | = =sizeof(ubb_gddrio_29_mask) | ) |
BUILD_ASSERT | ( | sizeof(ubb_vcore_38_data) | = =sizeof(ubb_vcore_38_mask) | ) |
BUILD_ASSERT | ( | sizeof(ubb_vcore_39_data) | = =sizeof(ubb_vcore_39_mask) | ) |
BUILD_ASSERT | ( | sizeof(ubb_vcore_b0_data) | = =sizeof(ubb_vcore_b0_mask) | ) |
BUILD_ASSERT | ( | sizeof(ubb_vcore_ca_data) | = =sizeof(ubb_vcore_ca_mask) | ) |
BUILD_ASSERT | ( | sizeof(ubb_vcore_cb_data) | = =sizeof(ubb_vcore_cb_mask) | ) |
BUILD_ASSERT | ( | sizeof(ubb_vcore_d3_data) | = =sizeof(ubb_vcore_d3_mask) | ) |
BUILD_ASSERT | ( | sizeof(ubb_vcore_e7_data) | = =sizeof(ubb_vcore_e7_mask) | ) |
BUILD_ASSERT | ( | sizeof(ubb_vcorem_38_data) | = =sizeof(ubb_vcorem_38_mask) | ) |
BUILD_ASSERT | ( | sizeof(ubb_vcorem_39_data) | = =sizeof(ubb_vcorem_39_mask) | ) |
BUILD_ASSERT | ( | sizeof(ubb_vcorem_b0_data) | = =sizeof(ubb_vcorem_b0_mask) | ) |
BUILD_ASSERT | ( | sizeof(ubb_vcorem_e7_data) | = =sizeof(ubb_vcorem_e7_mask) | ) |
|
static |
const BoardRegulatorsConfig p150_regulators_config |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const BoardRegulatorsConfig p300_left_regulators_config |
|
static |
const BoardRegulatorsConfig p300_right_regulators_config |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const BoardRegulatorsConfig ubb_regulators_config |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |