Lines Matching refs:gate
87 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_is_enabled()
98 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_enable()
109 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_disable()
150 bool div = !(periph->gate.flags & TEGRA_PERIPH_NO_DIV); in _tegra_clk_register_periph()
152 if (periph->gate.flags & TEGRA_PERIPH_NO_DIV) { in _tegra_clk_register_periph()
155 } else if (periph->gate.flags & TEGRA_PERIPH_NO_GATE) in _tegra_clk_register_periph()
165 bank = get_reg_bank(periph->gate.clk_num); in _tegra_clk_register_periph()
174 periph->gate.clk_base = clk_base; in _tegra_clk_register_periph()
175 periph->gate.regs = bank; in _tegra_clk_register_periph()
176 periph->gate.enable_refcnt = periph_clk_enb_refcnt; in _tegra_clk_register_periph()
184 periph->gate.hw.clk = clk; in _tegra_clk_register_periph()
203 periph->gate.flags |= TEGRA_PERIPH_NO_DIV; in tegra_clk_register_periph_nodiv()