TT Zephyr Platforms 18.11.99
Tenstorrent Firmware
|
#include <tenstorrent/smc_msg.h>
#include <tenstorrent/msgqueue.h>
#include <zephyr/logging/log.h>
#include "aiclk_ppm.h"
#include "gddr.h"
Enumerations | |
enum | power_bit_flags_e { power_bit_flag_aiclk , power_bit_flag_mrisc , power_bit_flag_max } |
enum | power_settings_e { power_settings_max } |
Functions | |
LOG_MODULE_REGISTER (power, CONFIG_TT_APP_LOG_LEVEL) | |
static int32_t | apply_power_settings (const struct power_setting_rqst *power_setting) |
static uint8_t | power_setting_msg_handler (const union request *request, struct response *response) |
Handles the request to set the power settings. | |
REGISTER_MESSAGE (TT_SMC_MSG_POWER_SETTING, power_setting_msg_handler) |
enum power_bit_flags_e |
enum power_settings_e |
|
static |
LOG_MODULE_REGISTER | ( | power | , |
CONFIG_TT_APP_LOG_LEVEL | ) |
|
static |
Handles the request to set the power settings.
[in] | request | The request, of type power_setting_rqst_t, with command code TT_SMC_MSG_POWER_SETTING |
[out] | response | The response to the host |
REGISTER_MESSAGE | ( | TT_SMC_MSG_POWER_SETTING | , |
power_setting_msg_handler | ) |