class TestMuxClockTrivial

Defined at line 118 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

Public Methods

zx_status_t SetInput (const uint32_t index)

Defined at line 9 of file ../../src/devices/clock/lib/clocktree/tests/testclock.cc

zx_status_t GetNumInputs (uint32_t * out)

Defined at line 19 of file ../../src/devices/clock/lib/clocktree/tests/testclock.cc

zx_status_t GetInput (uint32_t * out)

Defined at line 25 of file ../../src/devices/clock/lib/clocktree/tests/testclock.cc

zx_status_t GetInputId (const uint32_t index, uint32_t * id)

Defined at line 31 of file ../../src/devices/clock/lib/clocktree/tests/testclock.cc

uint32_t ParentId ()

Defined at line 39 of file ../../src/devices/clock/lib/clocktree/tests/testclock.cc

void TestMuxClockTrivial (const char * name, const uint32_t id, const uint32_t * parents, uint32_t n)

Defined at line 120 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t Enable ()

Clock Gating Control.

Defined at line 124 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t Disable ()

Defined at line 125 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t IsHwEnabled (bool * out)

Defined at line 126 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t SetRate (const Hertz rate, const Hertz parent_rate)

Clock frequency control.

Defined at line 129 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t QuerySupportedRate (const Hertz max, const Hertz parent_rate, Hertz * out)

Defined at line 132 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t GetRate (const Hertz parent_rate, Hertz * out)

Defined at line 136 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h