Home
last modified time | relevance | path

Searched refs:clk_gate (Results 1 – 25 of 41) sorted by relevance

12

/Linux-v4.19/drivers/clk/socfpga/
Dclk-gate-a10.c108 u32 clk_gate[2]; in __socfpga_gate_init() local
123 rc = of_property_read_u32_array(node, "clk-gate", clk_gate, 2); in __socfpga_gate_init()
125 clk_gate[0] = 0; in __socfpga_gate_init()
127 if (clk_gate[0]) { in __socfpga_gate_init()
128 socfpga_clk->hw.reg = clk_mgr_a10_base_addr + clk_gate[0]; in __socfpga_gate_init()
129 socfpga_clk->hw.bit_idx = clk_gate[1]; in __socfpga_gate_init()
Dclk-gate.c182 u32 clk_gate[2]; in __socfpga_gate_init() local
197 rc = of_property_read_u32_array(node, "clk-gate", clk_gate, 2); in __socfpga_gate_init()
199 clk_gate[0] = 0; in __socfpga_gate_init()
201 if (clk_gate[0]) { in __socfpga_gate_init()
202 socfpga_clk->hw.reg = clk_mgr_base_addr + clk_gate[0]; in __socfpga_gate_init()
203 socfpga_clk->hw.bit_idx = clk_gate[1]; in __socfpga_gate_init()
Dclk.h49 struct clk_gate hw;
53 struct clk_gate hw;
66 struct clk_gate hw;
/Linux-v4.19/drivers/clk/
Dclk-gate.c44 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_endisable()
92 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_is_enabled()
129 struct clk_gate *gate; in clk_hw_register_gate()
187 struct clk_gate *gate; in clk_unregister_gate()
203 struct clk_gate *gate; in clk_hw_unregister_gate()
Dclk-stm32f4.c446 struct clk_gate gate;
539 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_enable()
565 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_recalc()
577 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_round_rate()
594 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_set_rate()
841 struct clk_gate gate;
849 struct clk_gate *gate = to_clk_gate(hw); in rgclk_enable()
990 struct clk_gate *gate; in stm32_register_cclk()
1369 struct clk_gate *gate = NULL; in stm32_register_aux_clk()
Dclk-stm32h7.c151 struct clk_gate gate;
162 struct clk_gate *gate = to_clk_gate(hw); in ready_gate_clk_enable()
190 struct clk_gate *gate = to_clk_gate(hw); in ready_gate_clk_disable()
332 static struct clk_gate *_get_cgate(void __iomem *reg, u8 bit_idx, u32 flags, in _get_cgate()
335 struct clk_gate *gate; in _get_cgate()
365 struct clk_gate *gate = NULL; in get_cfg_composite_div()
/Linux-v4.19/drivers/clk/imx/
Dclk-gate-exclusive.c28 struct clk_gate gate;
34 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_exclusive_enable()
65 struct clk_gate *gate; in imx_clk_gate_exclusive()
/Linux-v4.19/drivers/clk/sunxi/
Dclk-a10-hosc.c30 struct clk_gate *gate; in sun4i_osc_clk_setup()
41 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sun4i_osc_clk_setup()
Dclk-a20-gmac.c64 struct clk_gate *gate; in sun7i_a20_gmac_clk_setup()
77 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sun7i_a20_gmac_clk_setup()
Dclk-a10-pll2.c53 struct clk_gate *gate; in sun4i_pll2_setup()
82 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sun4i_pll2_setup()
Dclk-factors.h51 struct clk_gate *gate;
Dclk-a10-mod1.c33 struct clk_gate *gate; in sun4i_mod1_clk_setup()
Dclk-sun4i-pll3.c33 struct clk_gate *gate; in sun4i_a10_pll3_setup()
Dclk-factors.c186 struct clk_gate *gate = NULL; in __sunxi_factors_register()
219 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in __sunxi_factors_register()
Dclk-sun8i-mbus.c39 struct clk_gate *gate; in sun8i_a23_mbus_setup()
Dclk-a10-ve.c97 struct clk_gate *gate; in sun4i_ve_clk_setup()
/Linux-v4.19/drivers/clk/st/
Dclk-flexgen.c29 struct clk_gate pgate;
33 struct clk_gate fgate;
37 struct clk_gate sync;
43 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw)
153 struct clk_gate *config = to_clk_gate(sync_hw); in flexgen_set_rate()
/Linux-v4.19/drivers/clk/nxp/
Dclk-lpc18xx-ccu.c42 struct clk_gate gate;
138 struct clk_gate *gate = to_clk_gate(hw); in lpc18xx_ccu_gate_endisable()
Dclk-lpc18xx-cgu.c168 struct clk_gate gate;
202 struct clk_gate gate;
266 struct clk_gate gate;
/Linux-v4.19/drivers/iio/adc/
Dmeson_saradc.c243 struct clk_gate clk_gate; member
617 priv->clk_gate.reg = base + MESON_SAR_ADC_REG3; in meson_sar_adc_clk_init()
618 priv->clk_gate.bit_idx = __ffs(MESON_SAR_ADC_REG3_CLK_EN); in meson_sar_adc_clk_init()
619 priv->clk_gate.hw.init = &init; in meson_sar_adc_clk_init()
621 priv->adc_clk = devm_clk_register(&indio_dev->dev, &priv->clk_gate.hw); in meson_sar_adc_clk_init()
/Linux-v4.19/drivers/clk/rockchip/
Dclk.c56 struct clk_gate *gate = NULL; in rockchip_clk_register_branch()
132 struct clk_gate gate;
224 struct clk_gate *gate = NULL; in rockchip_clk_register_frac_branch()
329 struct clk_gate *gate = NULL; in rockchip_clk_register_factor_branch()
/Linux-v4.19/drivers/clk/renesas/
Drcar-gen2-cpg.c170 struct clk_gate *gate; in cpg_rcan_clk_register()
214 struct clk_gate *gate; in cpg_adsp_clk_register()
Dclk-rcar-gen2.c171 struct clk_gate *gate; in cpg_rcan_clk_register()
214 struct clk_gate *gate; in cpg_adsp_clk_register()
/Linux-v4.19/Documentation/driver-api/
Dclk.rst111 struct clk_gate {
118 struct clk_gate contains struct clk_hw hw as well as hardware-specific
143 static void clk_gate_set_bit(struct clk_gate *gate)
154 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw)
/Linux-v4.19/drivers/clk/samsung/
Dclk-exynos-clkout.c29 struct clk_gate gate;

12