class AmlA5SysPllDevice

Defined at line 29 of file ../../src/devices/lib/amlogic/include/soc/aml-a5/a5-hiu.h

Public Methods

zx_status_t Initialize ()

Initialize `AmlA5SysPllDevice`.

Defined at line 35 of file ../../src/devices/lib/amlogic/include/soc/aml-a5/a5-hiu.h

const hhi_pll_rate_t * GetRateTable ()

Return correct clock rate table for selected clock.

Defined at line 38 of file ../../src/devices/lib/amlogic/include/soc/aml-a5/a5-hiu.h

size_t GetRateTableSize ()

Return the count of the rate table for the clock.

Defined at line 41 of file ../../src/devices/lib/amlogic/include/soc/aml-a5/a5-hiu.h

zx_status_t Enable ()

Enable the selected clock.

Defined at line 44 of file ../../src/devices/lib/amlogic/include/soc/aml-a5/a5-hiu.h

void Disable ()

Disable the selected clock.

Defined at line 47 of file ../../src/devices/lib/amlogic/include/soc/aml-a5/a5-hiu.h

zx_status_t SetRate (const uint64_t hz)

Set the rate of the selected clock.

Defined at line 50 of file ../../src/devices/lib/amlogic/include/soc/aml-a5/a5-hiu.h

std::unique_ptr<AmlMesonPllDevice> Create (const cpp20::span<const hhi_pll_rate_t> rates_table)

Defined at line 96 of file ../../src/devices/lib/amlogic/a5-hiu.cc

Protected Methods

void AmlA5SysPllDevice (const cpp20::span<const hhi_pll_rate_t> rates_table)

Defined at line 53 of file ../../src/devices/lib/amlogic/include/soc/aml-a5/a5-hiu.h