class TestGateClock

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

Public Methods

void TestGateClock (const char * name, uint32_t id, uint32_t parent, bool enabled)

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

zx_status_t Enable ()

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

zx_status_t Disable ()

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

zx_status_t IsHwEnabled (bool * out)

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

zx_status_t SetRate (const Hertz rate, const Hertz parent_rate)

Defined at line 63 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 66 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t GetRate (const Hertz parent_rate, Hertz * out)

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

zx_status_t SetInput (const uint32_t index)

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

zx_status_t GetNumInputs (uint32_t * out)

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

zx_status_t GetInput (uint32_t * out)

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

zx_status_t GetInputId (const uint32_t index, uint32_t * id)

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

uint32_t ParentId ()

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

uint32_t EnableCount ()

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

uint32_t DisableCount ()

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