|
TT Zephyr Platforms 19.5.0-rc1
Tenstorrent Firmware
|
#include <zephyr/sys/util.h>#include <tenstorrent/smc_msg.h>#include <tenstorrent/msgqueue.h>#include "voltage.h"#include "regulator.h"#include "dvfs.h"Macros | |
| #define | VDD_MIN 700 |
| #define | VDD_MAX 900 |
| #define | VDD_BOOT 750 |
Functions | |
| void | VoltageChange (void) |
| void | VoltageArbRequest (VoltageRequestor req, uint32_t voltage) |
| void | CalculateTargVoltage (void) |
| int | InitVoltagePPM (void) |
| uint8_t | ForceVdd (uint32_t voltage) |
| static uint8_t | ForceVddHandler (const union request *request, struct response *response) |
| REGISTER_MESSAGE (TT_SMC_MSG_FORCE_VDD, ForceVddHandler) | |
Variables | |
| VoltageArbiter | voltage_arbiter |
| #define VDD_BOOT 750 |
| #define VDD_MAX 900 |
| #define VDD_MIN 700 |
| void CalculateTargVoltage | ( | void | ) |
| int InitVoltagePPM | ( | void | ) |
| REGISTER_MESSAGE | ( | TT_SMC_MSG_FORCE_VDD | , |
| ForceVddHandler | ) |
| void VoltageArbRequest | ( | VoltageRequestor | req, |
| uint32_t | voltage ) |
| void VoltageChange | ( | void | ) |
| VoltageArbiter voltage_arbiter |