Home
last modified time | relevance | path

Searched refs:clk_gate_ops (Results 1 – 25 of 43) sorted by relevance

12

/openbmc/linux/drivers/clk/imx/
H A Dclk-gate-exclusive.c39 return clk_gate_ops.enable(hw); in clk_gate_exclusive_enable()
44 clk_gate_ops.disable(hw); in clk_gate_exclusive_disable()
49 return clk_gate_ops.is_enabled(hw); in clk_gate_exclusive_is_enabled()
H A Dclk-composite-7ulp.c35 ret = clk_gate_ops.enable(hw); in pcc_gate_enable()
55 clk_gate_ops.disable(hw); in pcc_gate_disable()
60 return clk_gate_ops.is_enabled(hw); in pcc_gate_is_enabled()
146 has_swrst ? &pcc_gate_ops : &clk_gate_ops, CLK_SET_RATE_GATE | in imx_ulp_clk_hw_composite()
/openbmc/linux/drivers/clk/socfpga/
H A Dclk-gate-s10.c142 gateclk_ops.enable = clk_gate_ops.enable; in s10_register_gate()
143 gateclk_ops.disable = clk_gate_ops.disable; in s10_register_gate()
200 gateclk_ops.enable = clk_gate_ops.enable; in agilex_register_gate()
201 gateclk_ops.disable = clk_gate_ops.disable; in agilex_register_gate()
H A Dclk-gate-a10.c67 gateclk_ops.enable = clk_gate_ops.enable; in __socfpga_gate_init()
68 gateclk_ops.disable = clk_gate_ops.disable; in __socfpga_gate_init()
H A Dclk-gate.c166 ops->enable = clk_gate_ops.enable; in socfpga_gate_init()
167 ops->disable = clk_gate_ops.disable; in socfpga_gate_init()
/openbmc/linux/drivers/clk/
H A Dclk-gate.c120 const struct clk_ops clk_gate_ops = { variable
125 EXPORT_SYMBOL_GPL(clk_gate_ops);
153 init.ops = &clk_gate_ops; in __clk_hw_register_gate()
H A Dclk-stm32f4.c600 return clk_gate_ops.is_enabled(hw); in stm32f4_pll_is_enabled()
612 if (clk_gate_ops.is_enabled(hw)) in stm32f4_pll_enable()
615 clk_gate_ops.enable(hw); in stm32f4_pll_enable()
627 clk_gate_ops.disable(hw); in stm32f4_pll_disable()
922 if (clk_gate_ops.is_enabled(hw)) in rgclk_enable()
927 clk_gate_ops.enable(hw); in rgclk_enable()
943 clk_gate_ops.disable(hw); in rgclk_disable()
948 return clk_gate_ops.is_enabled(hw); in rgclk_is_enabled()
1000 ret = clk_gate_ops.enable(hw); in cclk_gate_enable()
1011 clk_gate_ops.disable(hw); in cclk_gate_disable()
[all …]
H A Dclk-stm32h7.c167 if (clk_gate_ops.is_enabled(hw)) in ready_gate_clk_enable()
170 clk_gate_ops.enable(hw); in ready_gate_clk_enable()
195 if (!clk_gate_ops.is_enabled(hw)) in ready_gate_clk_disable()
198 clk_gate_ops.disable(hw); in ready_gate_clk_disable()
408 gcfg->gate->ops : &clk_gate_ops; in get_cfg_composite_div()
887 if (clk_gate_ops.is_enabled(hw)) in odf_gate_enable()
897 ret = clk_gate_ops.enable(hw); in odf_gate_enable()
910 if (!clk_gate_ops.is_enabled(hw)) in odf_gate_disable()
920 clk_gate_ops.disable(hw); in odf_gate_disable()
H A Dclk-fsl-sai.c64 &clk_gate_ops, in fsl_sai_clk_probe()
/openbmc/linux/drivers/clk/renesas/
H A Drcar-cpg-lib.c165 &rpc->gate.hw, &clk_gate_ops, in cpg_rpc_clk_register()
202 &rpcd2->gate.hw, &clk_gate_ops, in cpg_rpcd2_clk_register()
H A Drcar-gen2-cpg.c192 &gate->hw, &clk_gate_ops, 0); in cpg_rcan_clk_register()
238 &gate->hw, &clk_gate_ops, 0); in cpg_adsp_clk_register()
/openbmc/linux/drivers/clk/sunxi/
H A Dclk-a10-hosc.c48 &gate->hw, &clk_gate_ops, 0); in sun4i_osc_clk_setup()
H A Dclk-a20-gmac.c94 &gate->hw, &clk_gate_ops, in sun7i_a20_gmac_clk_setup()
H A Dclk-a10-mod1.c57 &gate->hw, &clk_gate_ops, CLK_SET_RATE_PARENT); in sun4i_mod1_clk_setup()
H A Dclk-sun4i-pll3.c61 &gate->hw, &clk_gate_ops, in sun4i_a10_pll3_setup()
H A Dclk-sun8i-mbus.c80 &gate->hw, &clk_gate_ops, in sun8i_a23_mbus_setup()
H A Dclk-a10-ve.c123 &gate->hw, &clk_gate_ops, in sun4i_ve_clk_setup()
H A Dclk-a10-pll2.c99 &gate->hw, &clk_gate_ops, in sun4i_pll2_setup()
/openbmc/linux/drivers/clk/st/
H A Dclk-flexgen.c62 clk_gate_ops.enable(pgate_hw); in flexgen_enable()
64 clk_gate_ops.enable(fgate_hw); in flexgen_enable()
78 clk_gate_ops.disable(fgate_hw); in flexgen_disable()
90 if (!clk_gate_ops.is_enabled(fgate_hw)) in flexgen_is_enabled()
/openbmc/linux/drivers/clk/mmp/
H A Dclk-audio.c278 &priv->sysclk_div.hw, &clk_gate_ops, in register_clocks()
299 &priv->sspa0_div.hw, &clk_gate_ops, in register_clocks()
330 &priv->sspa1_div.hw, &clk_gate_ops, in register_clocks()
/openbmc/linux/drivers/clk/nxp/
H A Dclk-lpc18xx-cgu.c482 return clk_gate_ops.enable(hw); in lpc18xx_cgu_gate_enable()
487 clk_gate_ops.disable(hw); in lpc18xx_cgu_gate_disable()
507 return clk_gate_ops.is_enabled(hw); in lpc18xx_cgu_gate_is_enabled()
/openbmc/linux/drivers/clk/rockchip/
H A Dclk.c82 gate_ops = &clk_gate_ops; in rockchip_clk_register_branch()
239 gate_ops = &clk_gate_ops; in rockchip_clk_register_frac_branch()
352 &gate->hw, &clk_gate_ops, flags); in rockchip_clk_register_factor_branch()
/openbmc/linux/drivers/mmc/host/
H A Dmeson-mx-sdhc-clkc.c79 &clk_gate_ops, hw); in meson_mx_sdhc_gate_clk_hw_register()
/openbmc/linux/drivers/clk/davinci/
H A Dpll.c272 &gate->hw, &clk_gate_ops, flags); in davinci_pll_div_register()
620 &gate->hw, &clk_gate_ops, 0); in davinci_pll_obsclk_register()
727 &gate->hw, &clk_gate_ops, flags); in davinci_pll_sysclk_register()
/openbmc/linux/drivers/clk/pxa/
H A Dclk-pxa.c120 &pxa_clk->gate.hw, &clk_gate_ops, in clk_pxa_cken_init()

12