Home
last modified time | relevance | path

Searched refs:clk_reg (Results 1 – 10 of 10) sorted by relevance

/linux-4.19.296/drivers/clk/
Dclk-max77686.c51 u32 clk_reg; member
73 .clk_reg = MAX77686_REG_32KHZ,
78 .clk_reg = MAX77686_REG_32KHZ,
83 .clk_reg = MAX77686_REG_32KHZ,
92 .clk_reg = MAX77802_REG_32KHZ,
97 .clk_reg = MAX77802_REG_32KHZ,
106 .clk_reg = MAX77620_REG_CNFG1_32K,
121 return regmap_update_bits(max77686->regmap, max77686->clk_info->clk_reg, in max77686_clk_prepare()
130 regmap_update_bits(max77686->regmap, max77686->clk_info->clk_reg, in max77686_clk_unprepare()
141 ret = regmap_read(max77686->regmap, max77686->clk_info->clk_reg, &val); in max77686_clk_is_prepared()
/linux-4.19.296/drivers/reset/
Dreset-lpc18xx.c40 struct clk *clk_reg; member
159 rc->clk_reg = devm_clk_get(&pdev->dev, "reg"); in lpc18xx_rgu_probe()
160 if (IS_ERR(rc->clk_reg)) { in lpc18xx_rgu_probe()
162 return PTR_ERR(rc->clk_reg); in lpc18xx_rgu_probe()
171 ret = clk_prepare_enable(rc->clk_reg); in lpc18xx_rgu_probe()
183 fcclk = clk_get_rate(rc->clk_reg) / USEC_PER_SEC; in lpc18xx_rgu_probe()
216 clk_disable_unprepare(rc->clk_reg); in lpc18xx_rgu_probe()
/linux-4.19.296/drivers/pci/controller/dwc/
Dpcie-armada8k.c31 struct clk *clk_reg; member
232 pcie->clk_reg = devm_clk_get(dev, "reg"); in armada8k_pcie_probe()
233 if (pcie->clk_reg == ERR_PTR(-EPROBE_DEFER)) { in armada8k_pcie_probe()
237 if (!IS_ERR(pcie->clk_reg)) { in armada8k_pcie_probe()
238 ret = clk_prepare_enable(pcie->clk_reg); in armada8k_pcie_probe()
261 clk_disable_unprepare(pcie->clk_reg); in armada8k_pcie_probe()
/linux-4.19.296/drivers/rtc/
Drtc-lpc24xx.c71 struct clk *clk_reg; member
226 rtc->clk_reg = devm_clk_get(&pdev->dev, "reg"); in lpc24xx_rtc_probe()
227 if (IS_ERR(rtc->clk_reg)) { in lpc24xx_rtc_probe()
229 return PTR_ERR(rtc->clk_reg); in lpc24xx_rtc_probe()
238 ret = clk_prepare_enable(rtc->clk_reg); in lpc24xx_rtc_probe()
270 clk_disable_unprepare(rtc->clk_reg); in lpc24xx_rtc_probe()
287 clk_disable_unprepare(rtc->clk_reg); in lpc24xx_rtc_remove()
/linux-4.19.296/drivers/clk/ux500/
Dclk-prcc.c103 struct clk *clk_reg; in clk_reg_prcc() local
128 clk_reg = clk_register(NULL, &clk->hw); in clk_reg_prcc()
129 if (IS_ERR_OR_NULL(clk_reg)) in clk_reg_prcc()
132 return clk_reg; in clk_reg_prcc()
Dclk-sysctrl.c131 struct clk *clk_reg; in clk_reg_sysctrl() local
170 clk_reg = devm_clk_register(clk->dev, &clk->hw); in clk_reg_sysctrl()
171 if (IS_ERR(clk_reg)) in clk_reg_sysctrl()
174 return clk_reg; in clk_reg_sysctrl()
Dclk-prcmu.c254 struct clk *clk_reg; in clk_reg_prcmu() local
280 clk_reg = clk_register(NULL, &clk->hw); in clk_reg_prcmu()
281 if (IS_ERR_OR_NULL(clk_reg)) in clk_reg_prcmu()
284 return clk_reg; in clk_reg_prcmu()
/linux-4.19.296/drivers/clk/sunxi/
Dclk-sun8i-bus-gates.c37 void __iomem *clk_reg; in sun8i_h3_bus_gates_init() local
86 clk_reg = reg + 4 * (index / 32); in sun8i_h3_bus_gates_init()
91 0, clk_reg, clk_bit, in sun8i_h3_bus_gates_init()
Dclk-simple-gates.c34 void __iomem *clk_reg; in sunxi_simple_gates_setup() local
62 clk_reg = reg + 4 * (index / 32); in sunxi_simple_gates_setup()
67 clk_reg, in sunxi_simple_gates_setup()
/linux-4.19.296/drivers/char/hw_random/
Domap-rng.c160 struct clk *clk_reg; member
492 priv->clk_reg = devm_clk_get(&pdev->dev, "reg"); in omap_rng_probe()
493 if (IS_ERR(priv->clk_reg) && PTR_ERR(priv->clk_reg) == -EPROBE_DEFER) in omap_rng_probe()
495 if (!IS_ERR(priv->clk_reg)) { in omap_rng_probe()
496 ret = clk_prepare_enable(priv->clk_reg); in omap_rng_probe()
524 clk_disable_unprepare(priv->clk_reg); in omap_rng_probe()
543 clk_disable_unprepare(priv->clk_reg); in omap_rng_remove()