Home
last modified time | relevance | path

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

12

/drivers/clk/
Dclk-gate.c26 static inline u32 clk_gate_readl(struct clk_gate *gate) in clk_gate_readl()
34 static inline void clk_gate_writel(struct clk_gate *gate, u32 val) in clk_gate_writel()
57 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_endisable()
105 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_is_enabled()
142 struct clk_gate *gate; in clk_hw_register_gate()
200 struct clk_gate *gate; in clk_unregister_gate()
216 struct clk_gate *gate; in clk_hw_unregister_gate()
Dclk-stm32f4.c518 struct clk_gate gate;
611 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_enable()
637 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_recalc()
649 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_round_rate()
666 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_set_rate()
913 struct clk_gate gate;
921 struct clk_gate *gate = to_clk_gate(hw); in rgclk_enable()
1062 struct clk_gate *gate; in stm32_register_cclk()
1633 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()
/drivers/clk/socfpga/
Dclk-gate-a10.c97 u32 clk_gate[2]; in __socfpga_gate_init() local
112 rc = of_property_read_u32_array(node, "clk-gate", clk_gate, 2); in __socfpga_gate_init()
114 clk_gate[0] = 0; in __socfpga_gate_init()
116 if (clk_gate[0]) { in __socfpga_gate_init()
117 socfpga_clk->hw.reg = clk_mgr_a10_base_addr + clk_gate[0]; in __socfpga_gate_init()
118 socfpga_clk->hw.bit_idx = clk_gate[1]; in __socfpga_gate_init()
Dclk-gate.c173 u32 clk_gate[2]; in socfpga_gate_init() local
193 rc = of_property_read_u32_array(node, "clk-gate", clk_gate, 2); in socfpga_gate_init()
195 clk_gate[0] = 0; in socfpga_gate_init()
197 if (clk_gate[0]) { in socfpga_gate_init()
198 socfpga_clk->hw.reg = clk_mgr_base_addr + clk_gate[0]; in socfpga_gate_init()
199 socfpga_clk->hw.bit_idx = clk_gate[1]; in socfpga_gate_init()
Dclk.h40 struct clk_gate hw;
44 struct clk_gate hw;
57 struct clk_gate hw;
/drivers/clk/imx/
Dclk-gate-exclusive.c25 struct clk_gate gate;
31 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_exclusive_enable()
62 struct clk_gate *gate; in imx_clk_hw_gate_exclusive()
Dclk-composite-7ulp.c32 struct clk_gate *gate = NULL; in imx7ulp_clk_composite()
/drivers/clk/st/
Dclk-flexgen.c30 struct clk_gate pgate;
34 struct clk_gate fgate;
38 struct clk_gate sync;
44 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw)
154 struct clk_gate *config = to_clk_gate(sync_hw); in flexgen_set_rate()
/drivers/clk/sunxi/
Dclk-a10-hosc.c21 struct clk_gate *gate; in sun4i_osc_clk_setup()
32 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sun4i_osc_clk_setup()
Dclk-a20-gmac.c56 struct clk_gate *gate; in sun7i_a20_gmac_clk_setup()
69 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sun7i_a20_gmac_clk_setup()
Dclk-a10-pll2.c45 struct clk_gate *gate; in sun4i_pll2_setup()
74 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sun4i_pll2_setup()
Dclk-factors.h51 struct clk_gate *gate;
Dclk-a10-mod1.c25 struct clk_gate *gate; in sun4i_mod1_clk_setup()
Dclk-factors.c183 struct clk_gate *gate = NULL; in __sunxi_factors_register()
216 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in __sunxi_factors_register()
Dclk-sun4i-pll3.c25 struct clk_gate *gate; in sun4i_a10_pll3_setup()
Dclk-sun8i-mbus.c31 struct clk_gate *gate; in sun8i_a23_mbus_setup()
Dclk-a10-ve.c89 struct clk_gate *gate; in sun4i_ve_clk_setup()
/drivers/clk/nxp/
Dclk-lpc18xx-ccu.c43 struct clk_gate gate;
139 struct clk_gate *gate = to_clk_gate(hw); in lpc18xx_ccu_gate_endisable()
Dclk-lpc18xx-cgu.c169 struct clk_gate gate;
203 struct clk_gate gate;
267 struct clk_gate gate;
/drivers/clk/rockchip/
Dclk.c48 struct clk_gate *gate = NULL; in rockchip_clk_register_branch()
127 struct clk_gate gate;
219 struct clk_gate *gate = NULL; in rockchip_clk_register_frac_branch()
324 struct clk_gate *gate = NULL; in rockchip_clk_register_factor_branch()
/drivers/iio/adc/
Dmeson_saradc.c275 struct clk_gate clk_gate; member
691 priv->clk_gate.reg = base + MESON_SAR_ADC_REG3; in meson_sar_adc_clk_init()
692 priv->clk_gate.bit_idx = __ffs(MESON_SAR_ADC_REG3_CLK_EN); in meson_sar_adc_clk_init()
693 priv->clk_gate.hw.init = &init; in meson_sar_adc_clk_init()
695 priv->adc_clk = devm_clk_register(&indio_dev->dev, &priv->clk_gate.hw); in meson_sar_adc_clk_init()
/drivers/clk/renesas/
Drcar-gen2-cpg.c167 struct clk_gate *gate; in cpg_rcan_clk_register()
211 struct clk_gate *gate; in cpg_adsp_clk_register()
Dclk-rcar-gen2.c169 struct clk_gate *gate; in cpg_rcan_clk_register()
212 struct clk_gate *gate; in cpg_adsp_clk_register()
/drivers/clk/samsung/
Dclk-exynos-clkout.c27 struct clk_gate gate;

12