class AmlA5MpllDevice

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

Public Methods

zx_status_t Initialize ()

Initialize `AmlA5HifiPllDevice`.

Defined at line 108 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 114 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 117 of file ../../src/devices/lib/amlogic/include/soc/aml-a5/a5-hiu.h

std::unique_ptr<AmlMesonPllDevice> Create (fdf::MmioView view, const meson_clk_pll_data_t * data, const cpp20::span<const hhi_pll_rate_t> rates_table)

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

zx_status_t Enable ()

Enable the selected clock.

Defined at line 97 of file ../../src/devices/lib/amlogic/a5-pll-rates.cc

void Disable ()

Disable the selected clock.

Defined at line 95 of file ../../src/devices/lib/amlogic/a5-pll-rates.cc

zx_status_t SetRate (const uint64_t hz)

Set the rate of the selected clock.

Defined at line 110 of file ../../src/devices/lib/amlogic/a5-pll-rates.cc

Protected Methods

void AmlA5MpllDevice (fdf::MmioView view, const meson_clk_pll_data_t * data, const cpp20::span<const hhi_pll_rate_t> rates_table)

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