Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/clk/
Dclk-composite.c184 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_is_enabled() local
189 return gate_ops->is_enabled(gate_hw); in clk_composite_is_enabled()
195 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_enable() local
200 return gate_ops->enable(gate_hw); in clk_composite_enable()
206 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_disable() local
211 gate_ops->disable(gate_hw); in clk_composite_disable()
218 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_hw_register_composite() argument
288 if (gate_hw && gate_ops) { in clk_hw_register_composite()
289 if (!gate_ops->is_enabled || !gate_ops->enable || in clk_hw_register_composite()
290 !gate_ops->disable) { in clk_hw_register_composite()
[all …]
Dclk-stm32h7.c356 const struct clk_ops *gate_ops; member
366 const struct clk_ops *mux_ops, *div_ops, *gate_ops; in get_cfg_composite_div() local
371 mux_ops = div_ops = gate_ops = NULL; in get_cfg_composite_div()
407 gate_ops = gcfg->gate->ops ? in get_cfg_composite_div()
419 composite->gate_ops = gate_ops; in get_cfg_composite_div()
1328 c_cfg.gate_hw, c_cfg.gate_ops, in stm32h7_rcc_init()
1351 c_cfg.gate_hw, c_cfg.gate_ops, in stm32h7_rcc_init()
1366 c_cfg.gate_hw, c_cfg.gate_ops, in stm32h7_rcc_init()
1380 c_cfg.gate_hw, c_cfg.gate_ops, in stm32h7_rcc_init()
Dclk-stm32f4.c1372 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL; in stm32_register_aux_clk() local
1386 gate_ops = &clk_gate_ops; in stm32_register_aux_clk()
1412 gate_hw, gate_ops, in stm32_register_aux_clk()
Dclk-stm32mp1.c615 const struct clk_ops *mux_ops, *div_ops, *gate_ops; in clk_stm32_register_composite() local
623 gate_ops = NULL; in clk_stm32_register_composite()
651 gate_ops = &clk_gate_ops; in clk_stm32_register_composite()
654 gate_ops = cfg->gate->ops; in clk_stm32_register_composite()
660 gate_hw, gate_ops, flags); in clk_stm32_register_composite()
/Linux-v4.19/drivers/clk/tegra/
Dclk-sdmmc-mux.c168 const struct clk_ops *gate_ops = sdmmc_mux->gate_ops; in clk_sdmmc_mux_is_enabled() local
173 return gate_ops->is_enabled(gate_hw); in clk_sdmmc_mux_is_enabled()
179 const struct clk_ops *gate_ops = sdmmc_mux->gate_ops; in clk_sdmmc_mux_enable() local
184 return gate_ops->enable(gate_hw); in clk_sdmmc_mux_enable()
190 const struct clk_ops *gate_ops = sdmmc_mux->gate_ops; in clk_sdmmc_mux_disable() local
193 gate_ops->disable(gate_hw); in clk_sdmmc_mux_disable()
240 sdmmc_mux->gate_ops = &tegra_clk_periph_gate_ops; in tegra_clk_register_sdmmc_mux_div()
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.h575 const struct clk_ops *gate_ops; member
617 .gate_ops = &tegra_clk_periph_gate_ops, \
724 const struct clk_ops *gate_ops; member
/Linux-v4.19/drivers/clk/berlin/
Dberlin2-div.c234 const struct clk_ops *gate_ops = &berlin2_div_gate_ops; in berlin2_div_register() local
247 gate_ops = NULL; in berlin2_div_register()
253 &div->hw, gate_ops, flags); in berlin2_div_register()
/Linux-v4.19/drivers/clk/rockchip/
Dclk-half-divider.c174 *gate_ops = NULL; in rockchip_clk_register_halfdiv() local
199 gate_ops = &clk_gate_ops; in rockchip_clk_register_halfdiv()
218 gate ? &gate->hw : NULL, gate_ops, in rockchip_clk_register_halfdiv()
Dclk.c59 *gate_ops = NULL; in rockchip_clk_register_branch() local
87 gate_ops = &clk_gate_ops; in rockchip_clk_register_branch()
111 gate ? &gate->hw : NULL, gate_ops, in rockchip_clk_register_branch()
226 const struct clk_ops *div_ops = NULL, *gate_ops = NULL; in rockchip_clk_register_frac_branch() local
247 gate_ops = &clk_gate_ops; in rockchip_clk_register_frac_branch()
266 gate ? &gate->hw : NULL, gate_ops, in rockchip_clk_register_frac_branch()
/Linux-v4.19/drivers/clk/mediatek/
Dclk-mtk.c155 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, *div_ops = NULL; in mtk_clk_register_composite() local
195 gate_ops = &clk_gate_ops; in mtk_clk_register_composite()
217 gate_hw, gate_ops, in mtk_clk_register_composite()
/Linux-v4.19/drivers/clk/mvebu/
Darmada-37xx-periph.c601 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, in armada_3700_add_composite_clk() local
621 gate_ops = gate_hw->init->ops; in armada_3700_add_composite_clk()
670 gate_hw, gate_ops, CLK_IGNORE_UNUSED); in armada_3700_add_composite_clk()
/Linux-v4.19/include/linux/
Dclk-provider.h685 const struct clk_ops *gate_ops; member
694 struct clk_hw *gate_hw, const struct clk_ops *gate_ops,
701 struct clk_hw *gate_hw, const struct clk_ops *gate_ops,