Lines Matching full:pclk
22 * @pclk: peripheral clock common for all DACs
27 struct clk *pclk; member
64 ret = clk_prepare_enable(priv->pclk); in stm32_dac_core_hw_start()
66 dev_err(dev, "pclk enable failed: %d\n", ret); in stm32_dac_core_hw_start()
83 clk_disable_unprepare(priv->pclk); in stm32_dac_core_hw_stop()
114 regmap = devm_regmap_init_mmio_clk(dev, "pclk", mmio, in stm32_dac_probe()
120 priv->pclk = devm_clk_get(dev, "pclk"); in stm32_dac_probe()
121 if (IS_ERR(priv->pclk)) { in stm32_dac_probe()
122 ret = PTR_ERR(priv->pclk); in stm32_dac_probe()
123 dev_err(dev, "pclk get failed\n"); in stm32_dac_probe()
164 priv->common.hfsel = (clk_get_rate(priv->pclk) > 80000000UL); in stm32_dac_probe()