Searched refs:gate_hw (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/drivers/clk/
H A Dclk-composite.c161 struct clk_hw *gate_hw = composite->gate_hw; clk_composite_is_enabled() local
163 __clk_hw_set_clk(gate_hw, hw); clk_composite_is_enabled()
165 return gate_ops->is_enabled(gate_hw); clk_composite_is_enabled()
172 struct clk_hw *gate_hw = composite->gate_hw; clk_composite_enable() local
174 __clk_hw_set_clk(gate_hw, hw); clk_composite_enable()
176 return gate_ops->enable(gate_hw); clk_composite_enable()
183 struct clk_hw *gate_hw = composite->gate_hw; clk_composite_disable() local
185 __clk_hw_set_clk(gate_hw, hw); clk_composite_disable()
187 gate_ops->disable(gate_hw); clk_composite_disable()
194 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, clk_register_composite()
258 if (gate_hw && gate_ops) { clk_register_composite()
265 composite->gate_hw = gate_hw; clk_register_composite()
285 if (composite->gate_hw) clk_register_composite()
286 composite->gate_hw->clk = clk; clk_register_composite()
190 clk_register_composite(struct device *dev, const char *name, const char **parent_names, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) clk_register_composite() argument
/linux-4.1.27/drivers/clk/tegra/
H A Dclk-periph.c87 struct clk_hw *gate_hw = &periph->gate.hw; clk_periph_is_enabled() local
89 __clk_hw_set_clk(gate_hw, hw); clk_periph_is_enabled()
91 return gate_ops->is_enabled(gate_hw); clk_periph_is_enabled()
98 struct clk_hw *gate_hw = &periph->gate.hw; clk_periph_enable() local
100 __clk_hw_set_clk(gate_hw, hw); clk_periph_enable()
102 return gate_ops->enable(gate_hw); clk_periph_enable()
109 struct clk_hw *gate_hw = &periph->gate.hw; clk_periph_disable() local
111 gate_ops->disable(gate_hw); clk_periph_disable()
/linux-4.1.27/drivers/clk/sunxi/
H A Dclk-factors.c170 struct clk_hw *gate_hw = NULL; sunxi_factors_register() local
212 gate_hw = &gate->hw; sunxi_factors_register()
236 gate_hw, &clk_gate_ops, 0); sunxi_factors_register()
H A Dclk-sunxi.c1127 struct clk_hw *gate_hw, *rate_hw; sunxi_divs_clk_setup() local
1171 gate_hw = NULL; sunxi_divs_clk_setup()
1185 gate_hw = &gate->hw; sunxi_divs_clk_setup()
1222 gate_hw, &clk_gate_ops, sunxi_divs_clk_setup()
/linux-4.1.27/include/linux/
H A Dclk-provider.h502 * @gate_hw: handle between composite and hardware-specific gate clock
513 struct clk_hw *gate_hw; member in struct:clk_composite
524 struct clk_hw *gate_hw, const struct clk_ops *gate_ops,
/linux-4.1.27/drivers/clk/st/
H A Dclkgen-mux.c819 kfree(container_of(composite->gate_hw, struct clk_gate, hw)); st_of_clkgen_vcc_setup()

Completed in 212 milliseconds