class AmlA5HifiPllDevice

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

Public Methods

zx_status_t Initialize ()

Initialize `AmlA5HifiPllDevice`.

Defined at line 67 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 73 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 76 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 110 of file ../../src/devices/lib/amlogic/a5-hiu.cc

zx_status_t Enable ()

Enable the selected clock.

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

void Disable ()

Disable the selected clock.

Defined at line 23 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 61 of file ../../src/devices/lib/amlogic/a5-pll-rates.cc

Protected Methods

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

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