Lines Matching refs:gates
24 // 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;
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) {
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,
157 hisi_validate_gates(gates, gate_count);
166 hisi_clk->gates = gates;
192 // Map in MMIO for separated clock gates.
202 // Map in MMIO for regular clock gates.