Home
last modified time | relevance | path

Searched refs:gate_ops (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/drivers/clk/
Dclk-composite.c160 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_is_enabled() local
165 return gate_ops->is_enabled(gate_hw); in clk_composite_is_enabled()
171 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_enable() local
176 return gate_ops->enable(gate_hw); in clk_composite_enable()
182 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_disable() local
187 gate_ops->disable(gate_hw); in clk_composite_disable()
194 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_register_composite() argument
258 if (gate_hw && gate_ops) { in clk_register_composite()
259 if (!gate_ops->is_enabled || !gate_ops->enable || in clk_register_composite()
260 !gate_ops->disable) { in clk_register_composite()
[all …]
/linux-4.1.27/drivers/clk/tegra/
Dclk-periph.c86 const struct clk_ops *gate_ops = periph->gate_ops; in clk_periph_is_enabled() local
91 return gate_ops->is_enabled(gate_hw); in clk_periph_is_enabled()
97 const struct clk_ops *gate_ops = periph->gate_ops; in clk_periph_enable() local
102 return gate_ops->enable(gate_hw); in clk_periph_enable()
108 const struct clk_ops *gate_ops = periph->gate_ops; in clk_periph_disable() local
111 gate_ops->disable(gate_hw); in clk_periph_disable()
Dclk.h424 const struct clk_ops *gate_ops; member
466 .gate_ops = &tegra_clk_periph_gate_ops, \
/linux-4.1.27/drivers/clk/rockchip/
Dclk.c54 *gate_ops = NULL; in rockchip_clk_register_branch() local
79 gate_ops = &clk_gate_ops; in rockchip_clk_register_branch()
99 gate ? &gate->hw : NULL, gate_ops, in rockchip_clk_register_branch()
114 const struct clk_ops *div_ops = NULL, *gate_ops = NULL; in rockchip_clk_register_frac_branch() local
125 gate_ops = &clk_gate_ops; in rockchip_clk_register_frac_branch()
147 gate ? &gate->hw : NULL, gate_ops, in rockchip_clk_register_frac_branch()
/linux-4.1.27/drivers/clk/berlin/
Dberlin2-div.c245 const struct clk_ops *gate_ops = &berlin2_div_gate_ops; in berlin2_div_register() local
258 gate_ops = NULL; in berlin2_div_register()
264 &div->hw, gate_ops, flags); in berlin2_div_register()
/linux-4.1.27/include/linux/
Dclk-provider.h517 const struct clk_ops *gate_ops; member
524 struct clk_hw *gate_hw, const struct clk_ops *gate_ops,