Lines Matching refs:gate
86 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_is_enabled()
97 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_enable()
108 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_disable()
149 bool div = !(periph->gate.flags & TEGRA_PERIPH_NO_DIV); in _tegra_clk_register_periph()
151 if (periph->gate.flags & TEGRA_PERIPH_NO_DIV) { in _tegra_clk_register_periph()
154 } else if (periph->gate.flags & TEGRA_PERIPH_NO_GATE) in _tegra_clk_register_periph()
164 bank = get_reg_bank(periph->gate.clk_num); in _tegra_clk_register_periph()
173 periph->gate.clk_base = clk_base; in _tegra_clk_register_periph()
174 periph->gate.regs = bank; in _tegra_clk_register_periph()
175 periph->gate.enable_refcnt = periph_clk_enb_refcnt; in _tegra_clk_register_periph()
183 periph->gate.hw.clk = clk; in _tegra_clk_register_periph()
202 periph->gate.flags |= TEGRA_PERIPH_NO_DIV; in tegra_clk_register_periph_nodiv()