TT Zephyr Platforms 18.11.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
clock_wave.c File Reference
#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

void SwitchClkScheme (ClockingScheme clk_scheme)
uint8_t switch_clk_scheme_handler (const union request *request, struct response *response)
 REGISTER_MESSAGE (TT_SMC_MSG_SWITCH_CLK_SCHEME, switch_clk_scheme_handler)

Macro Definition Documentation

◆ PLL_CNTL_WRAPPER_CLOCK_WAVE_CNTL_REG_ADDR

#define PLL_CNTL_WRAPPER_CLOCK_WAVE_CNTL_REG_ADDR   0x80020038

◆ PLL_CNTL_WRAPPER_CLOCK_WAVE_CNTL_REG_DEFAULT

#define PLL_CNTL_WRAPPER_CLOCK_WAVE_CNTL_REG_DEFAULT   0x00000001

Function Documentation

◆ REGISTER_MESSAGE()

◆ switch_clk_scheme_handler()

uint8_t switch_clk_scheme_handler ( const union request * request,
struct response * response )

◆ SwitchClkScheme()

void SwitchClkScheme ( ClockingScheme clk_scheme)