Home
last modified time | relevance | path

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

/linux/drivers/clk/
H A Dclk-composite.c207 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_is_enabled() local
212 return gate_ops->is_enabled(gate_hw); in clk_composite_is_enabled()
218 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_enable() local
223 return gate_ops->enable(gate_hw); in clk_composite_enable()
229 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_disable() local
234 gate_ops->disable(gate_hw); in clk_composite_disable()
242 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in __clk_hw_register_composite() argument
315 if (gate_hw && gate_ops) { in __clk_hw_register_composite()
316 if (!gate_ops->is_enabled || !gate_ops->enable || in __clk_hw_register_composite()
317 !gate_ops->disable) { in __clk_hw_register_composite()
[all …]
H A 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()
1327 c_cfg.gate_hw, c_cfg.gate_ops, in stm32h7_rcc_init()
1350 c_cfg.gate_hw, c_cfg.gate_ops, in stm32h7_rcc_init()
1365 c_cfg.gate_hw, c_cfg.gate_ops, in stm32h7_rcc_init()
1379 c_cfg.gate_hw, c_cfg.gate_ops, in stm32h7_rcc_init()
H A Dclk-bm1880.c762 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, *div_ops = NULL; in bm1880_clk_register_composite() local
800 gate_ops = &clk_gate_ops; in bm1880_clk_register_composite()
826 div_ops, gate_hw, gate_ops, in bm1880_clk_register_composite()
H A Dclk-stm32f4.c1633 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL; in stm32_register_aux_clk() local
1647 gate_ops = &clk_gate_ops; in stm32_register_aux_clk()
1673 gate_hw, gate_ops, in stm32_register_aux_clk()
/linux/drivers/clk/tegra/
H A Dclk-sdmmc-mux.c169 const struct clk_ops *gate_ops = sdmmc_mux->gate_ops; in clk_sdmmc_mux_is_enabled() local
174 return gate_ops->is_enabled(gate_hw); in clk_sdmmc_mux_is_enabled()
180 const struct clk_ops *gate_ops = sdmmc_mux->gate_ops; in clk_sdmmc_mux_enable() local
185 return gate_ops->enable(gate_hw); in clk_sdmmc_mux_enable()
191 const struct clk_ops *gate_ops = sdmmc_mux->gate_ops; in clk_sdmmc_mux_disable() local
194 gate_ops->disable(gate_hw); in clk_sdmmc_mux_disable()
200 const struct clk_ops *gate_ops = sdmmc_mux->gate_ops; in clk_sdmmc_mux_disable_unused() local
203 gate_ops->disable_unused(gate_hw); in clk_sdmmc_mux_disable_unused()
267 sdmmc_mux->gate_ops = &tegra_clk_periph_gate_ops; in tegra_clk_register_sdmmc_mux_div()
H A Dclk-periph.c81 const struct clk_ops *gate_ops = periph->gate_ops; in clk_periph_is_enabled() local
86 return gate_ops->is_enabled(gate_hw); in clk_periph_is_enabled()
92 const struct clk_ops *gate_ops = periph->gate_ops; in clk_periph_enable() local
97 return gate_ops->enable(gate_hw); in clk_periph_enable()
103 const struct clk_ops *gate_ops = periph->gate_ops; in clk_periph_disable() local
106 gate_ops->disable(gate_hw); in clk_periph_disable()
112 const struct clk_ops *gate_ops = periph->gate_ops; in clk_periph_disable_unused() local
115 gate_ops->disable_unused(gate_hw); in clk_periph_disable_unused()
H A Dclk.h625 const struct clk_ops *gate_ops; member
667 .gate_ops = &tegra_clk_periph_gate_ops, \
787 const struct clk_ops *gate_ops; member
/linux/drivers/clk/imx/
H A Dclk-composite-8m.c248 const struct clk_ops *gate_ops; in __imx8m_clk_hw_composite() local
298 gate_ops = &clk_gate_ops; in __imx8m_clk_hw_composite()
300 gate_ops = &imx8m_clk_composite_gate_ops; in __imx8m_clk_hw_composite()
304 divider_ops, gate_hw, gate_ops, flags); in __imx8m_clk_hw_composite()
/linux/drivers/clk/rockchip/
H A 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()
H A Dclk.c53 *gate_ops = NULL; in rockchip_clk_register_branch() local
82 gate_ops = &clk_gate_ops; in rockchip_clk_register_branch()
109 gate ? &gate->hw : NULL, gate_ops, in rockchip_clk_register_branch()
218 const struct clk_ops *div_ops = NULL, *gate_ops = NULL; in rockchip_clk_register_frac_branch() local
239 gate_ops = &clk_gate_ops; in rockchip_clk_register_frac_branch()
256 gate ? &gate->hw : NULL, gate_ops, in rockchip_clk_register_frac_branch()
/linux/drivers/clk/berlin/
H A Dberlin2-div.c236 const struct clk_ops *gate_ops = &berlin2_div_gate_ops; in berlin2_div_register() local
249 gate_ops = NULL; in berlin2_div_register()
255 &div->hw, gate_ops, flags); in berlin2_div_register()
/linux/include/linux/
H A Dclk-provider.h1309 const struct clk_ops *gate_ops; member
1318 struct clk_hw *gate_hw, const struct clk_ops *gate_ops,
1324 struct clk_hw *gate_hw, const struct clk_ops *gate_ops,
1331 struct clk_hw *gate_hw, const struct clk_ops *gate_ops,
1338 struct clk_hw *gate_hw, const struct clk_ops *gate_ops,
1345 struct clk_hw *gate_hw, const struct clk_ops *gate_ops,
/linux/drivers/clk/mediatek/
H A Dclk-mtk.c226 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, *div_ops = NULL; in mtk_clk_register_composite() local
266 gate_ops = &clk_gate_ops; in mtk_clk_register_composite()
288 gate_hw, gate_ops, in mtk_clk_register_composite()
/linux/drivers/clk/mvebu/
H A Darmada-37xx-periph.c620 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, in armada_3700_add_composite_clk() local
640 gate_ops = gate_hw->init->ops; in armada_3700_add_composite_clk()
689 gate_hw, gate_ops, CLK_IGNORE_UNUSED); in armada_3700_add_composite_clk()
/linux/drivers/clk/stm32/
H A Dclk-stm32mp1.c632 const struct clk_ops *mux_ops, *div_ops, *gate_ops; in clk_stm32_register_composite() local
640 gate_ops = NULL; in clk_stm32_register_composite()
668 gate_ops = &clk_gate_ops; in clk_stm32_register_composite()
671 gate_ops = cfg->gate->ops; in clk_stm32_register_composite()
677 gate_hw, gate_ops, flags); in clk_stm32_register_composite()