Searched refs:gates (Results 1 - 2 of 2) sorted by relevance

/fuchsia/zircon/system/dev/clk/hisi-lib/include/dev/clk/hisi-lib/
H A Dhisi.h22 zx_status_t hisi_clk_init(const char* name, hisi_clk_gate_t* gates,
/fuchsia/zircon/system/dev/clk/hisi-lib/
H A Dhisi-clk.c24 // HiSilicon has two different types of clock gates:
37 // These constants only apply to separated clock gates and correspond to the
52 hisi_clk_gate_t* gates; member in struct:hisi_clk
93 const hisi_clk_gate_t* const gate = &hisi_clk->gates[idx];
143 static void hisi_validate_gates(const hisi_clk_gate_t* gates, const size_t n) { argument
149 ZX_DEBUG_ASSERT(HISI_CLK_FLAG_BANK(gates[i].flags) != kBadFlagMask);
153 zx_status_t hisi_clk_init(const char* name, hisi_clk_gate_t* gates, argument
157 hisi_validate_gates(gates, gate_count);
166 hisi_clk->gates = gates;
[all...]

Completed in 483 milliseconds