TT Zephyr Platforms 18.11.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
pll.h File Reference
#include <stdint.h>

Go to the source code of this file.

Functions

int PLLInit (void)
void PLLAllBypass (void)
uint32_t GetAICLK (void)
uint32_t GetAPBCLK (void)
uint32_t GetAXICLK (void)
uint32_t GetARCCLK (void)
uint32_t GetL2CPUCLK (uint8_t l2cpu_num)
int SetGddrMemClk (uint32_t gddr_mem_clk_mhz)
void SetAICLK (uint32_t aiclk_in_mhz)
void DropAICLK (void)

Function Documentation

◆ DropAICLK()

void DropAICLK ( void )

◆ GetAICLK()

uint32_t GetAICLK ( void )

◆ GetAPBCLK()

uint32_t GetAPBCLK ( void )

◆ GetARCCLK()

uint32_t GetARCCLK ( void )

◆ GetAXICLK()

uint32_t GetAXICLK ( void )

◆ GetL2CPUCLK()

uint32_t GetL2CPUCLK ( uint8_t l2cpu_num)

◆ PLLAllBypass()

void PLLAllBypass ( void )

◆ PLLInit()

int PLLInit ( void )

◆ SetAICLK()

void SetAICLK ( uint32_t aiclk_in_mhz)

◆ SetGddrMemClk()

int SetGddrMemClk ( uint32_t gddr_mem_clk_mhz)

Attempt to set the requested GDDRMEMCLK frequency

This function tries to find a valid set of PLL settings to hit the requested GDDRMEMCLK frequency. It then updates the PLL if valid settings are found.

Returns
0 on success, -1 on failure