TT Zephyr Platforms 19.0.0-rc2
Tenstorrent Firmware
|
#include "clock_wave.h"
#include <zephyr/kernel.h>
#include <tenstorrent/smc_msg.h>
#include <tenstorrent/msgqueue.h>
#include "timer.h"
#include "reg.h"
Data Structures | |
struct | PLL_CNTL_WRAPPER_CLOCK_WAVE_CNTL_reg_t |
union | PLL_CNTL_WRAPPER_CLOCK_WAVE_CNTL_reg_u |
Macros | |
#define | PLL_CNTL_WRAPPER_CLOCK_WAVE_CNTL_REG_ADDR 0x80020038 |
#define | PLL_CNTL_WRAPPER_CLOCK_WAVE_CNTL_REG_DEFAULT 0x00000001 |
Functions | |
static void | switch_clk_scheme (enum tt_clk_scheme clk_scheme) |
static uint8_t | switch_clk_scheme_handler (const union request *request, struct response *response) |
Handler for TT_SMC_MSG_SWITCH_CLK_SCHEME messages. | |
REGISTER_MESSAGE (TT_SMC_MSG_SWITCH_CLK_SCHEME, switch_clk_scheme_handler) |
#define PLL_CNTL_WRAPPER_CLOCK_WAVE_CNTL_REG_ADDR 0x80020038 |
#define PLL_CNTL_WRAPPER_CLOCK_WAVE_CNTL_REG_DEFAULT 0x00000001 |
REGISTER_MESSAGE | ( | TT_SMC_MSG_SWITCH_CLK_SCHEME | , |
switch_clk_scheme_handler | ) |
|
static |
|
static |
Handler for TT_SMC_MSG_SWITCH_CLK_SCHEME messages.
Switches the clock scheme configuration. This affects the AI clock distribution and timing.
request | Pointer to the host request message, use request->switch_clk_scheme for structured access |
response | Pointer to the response message to be sent back to host |