Lines Matching +full:de +full:- +full:asserting

1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/clk-provider.h>
27 * configuration into common-clock-framework.
239 writel(data, pll->mmio + reg); in pll_write()
244 return readl(pll->mmio + reg); in pll_read()
249 return platform_get_drvdata(pll->pdev); in pll_get_phy()
266 /* Wait for a short time before de-asserting in hdmi_pll_enable()
269 * to assert and de-assert. in hdmi_pll_enable()
273 /* De-assert PLL S/W reset */ in hdmi_pll_enable()
282 * Wait for a short time before de-asserting to allow the hardware to in hdmi_pll_enable()
284 * assert and de-assert. in hdmi_pll_enable()
287 /* De-assert PHY S/W reset */ in hdmi_pll_enable()
305 while (--pll_lock_retry > 0) { in hdmi_pll_enable()
313 if (--timeout_count > 0) in hdmi_pll_enable()
363 return &freqtbl[i - 1]; in find_rate()
365 return &freqtbl[i - 1]; in find_rate()
373 return pll->pixclk; in hdmi_pll_recalc_rate()
381 return pll_rate->rate; in hdmi_pll_round_rate()
393 for (i = 0; i < pll_rate->num_reg; i++) in hdmi_pll_set_rate()
394 pll_write(pll, pll_rate->conf[i].reg, pll_rate->conf[i].val); in hdmi_pll_set_rate()
396 pll->pixclk = rate; in hdmi_pll_set_rate()
423 struct device *dev = &pdev->dev; in msm_hdmi_pll_8960_init()
428 for (i = 0; i < (ARRAY_SIZE(freqtbl) - 1); i++) in msm_hdmi_pll_8960_init()
430 return -EINVAL; in msm_hdmi_pll_8960_init()
434 return -ENOMEM; in msm_hdmi_pll_8960_init()
436 pll->mmio = msm_ioremap(pdev, "hdmi_pll"); in msm_hdmi_pll_8960_init()
437 if (IS_ERR(pll->mmio)) { in msm_hdmi_pll_8960_init()
439 return -ENOMEM; in msm_hdmi_pll_8960_init()
442 pll->pdev = pdev; in msm_hdmi_pll_8960_init()
443 pll->clk_hw.init = &pll_init; in msm_hdmi_pll_8960_init()
445 ret = devm_clk_hw_register(dev, &pll->clk_hw); in msm_hdmi_pll_8960_init()
451 ret = devm_of_clk_add_hw_provider(dev, of_clk_hw_simple_get, &pll->clk_hw); in msm_hdmi_pll_8960_init()