Home
last modified time | relevance | path

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

/drivers/clk/
Dclk-composite.c159 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_is_enabled() local
164 return gate_ops->is_enabled(gate_hw); in clk_composite_is_enabled()
170 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_enable() local
175 return gate_ops->enable(gate_hw); in clk_composite_enable()
181 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_disable() local
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
255 if (gate_hw && gate_ops) { in clk_register_composite()
256 if (!gate_ops->is_enabled || !gate_ops->enable || in clk_register_composite()
257 !gate_ops->disable) { in clk_register_composite()
[all …]
/drivers/clk/tegra/
Dclk-periph.c85 const struct clk_ops *gate_ops = periph->gate_ops; in clk_periph_is_enabled() local
90 return gate_ops->is_enabled(gate_hw); in clk_periph_is_enabled()
96 const struct clk_ops *gate_ops = periph->gate_ops; in clk_periph_enable() local
101 return gate_ops->enable(gate_hw); in clk_periph_enable()
107 const struct clk_ops *gate_ops = periph->gate_ops; in clk_periph_disable() local
110 gate_ops->disable(gate_hw); in clk_periph_disable()
Dclk.h451 const struct clk_ops *gate_ops; member
493 .gate_ops = &tegra_clk_periph_gate_ops, \
/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()
101 gate ? &gate->hw : NULL, gate_ops, in rockchip_clk_register_branch()
121 const struct clk_ops *div_ops = NULL, *gate_ops = NULL; in rockchip_clk_register_frac_branch() local
132 gate_ops = &clk_gate_ops; in rockchip_clk_register_frac_branch()
156 gate ? &gate->hw : NULL, gate_ops, in rockchip_clk_register_frac_branch()
/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()
/drivers/clk/mediatek/
Dclk-mtk.c146 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, *div_ops = NULL; in mtk_clk_register_composite() local
186 gate_ops = &clk_gate_ops; in mtk_clk_register_composite()
208 gate_hw, gate_ops, in mtk_clk_register_composite()