Home
last modified time | relevance | path

Searched refs:gate_hw (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/drivers/clk/
Dclk-composite.c160 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_is_enabled() local
162 __clk_hw_set_clk(gate_hw, hw); in clk_composite_is_enabled()
164 return gate_ops->is_enabled(gate_hw); in clk_composite_is_enabled()
171 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_enable() local
173 __clk_hw_set_clk(gate_hw, hw); in clk_composite_enable()
175 return gate_ops->enable(gate_hw); in clk_composite_enable()
182 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_disable() local
184 __clk_hw_set_clk(gate_hw, hw); in clk_composite_disable()
186 gate_ops->disable(gate_hw); in clk_composite_disable()
193 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_register_composite() argument
[all …]
/linux-4.4.14/drivers/clk/tegra/
Dclk-periph.c86 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_is_enabled() local
88 __clk_hw_set_clk(gate_hw, hw); in clk_periph_is_enabled()
90 return gate_ops->is_enabled(gate_hw); in clk_periph_is_enabled()
97 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_enable() local
99 __clk_hw_set_clk(gate_hw, hw); in clk_periph_enable()
101 return gate_ops->enable(gate_hw); in clk_periph_enable()
108 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_disable() local
110 gate_ops->disable(gate_hw); in clk_periph_disable()
/linux-4.4.14/drivers/clk/mediatek/
Dclk-mtk.c145 struct clk_hw *mux_hw = NULL, *gate_hw = NULL, *div_hw = NULL; in mtk_clk_register_composite() local
185 gate_hw = &gate->hw; in mtk_clk_register_composite()
208 gate_hw, gate_ops, in mtk_clk_register_composite()
/linux-4.4.14/drivers/clk/sunxi/
Dclk-factors.c171 struct clk_hw *gate_hw = NULL; in sunxi_factors_register() local
211 gate_hw = &gate->hw; in sunxi_factors_register()
235 gate_hw, &clk_gate_ops, 0); in sunxi_factors_register()
Dclk-sunxi.c981 struct clk_hw *gate_hw, *rate_hw; in sunxi_divs_clk_setup() local
1025 gate_hw = NULL; in sunxi_divs_clk_setup()
1039 gate_hw = &gate->hw; in sunxi_divs_clk_setup()
1076 gate_hw, &clk_gate_ops, in sunxi_divs_clk_setup()
/linux-4.4.14/include/linux/
Dclk-provider.h575 struct clk_hw *gate_hw; member
586 struct clk_hw *gate_hw, const struct clk_ops *gate_ops,
/linux-4.4.14/drivers/clk/st/
Dclkgen-mux.c827 kfree(container_of(composite->gate_hw, struct clk_gate, hw)); in st_of_clkgen_vcc_setup()