Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/renesas/
H A Drcar-gen3-cpg.c37 #define CPG_PLLnCR_STC_MASK GENMASK(30, 24) /* PLL Circuit Mult. Ratio */ macro
59 val = readl(pll_clk->pllcr_reg) & CPG_PLLnCR_STC_MASK; in cpg_pll_clk_recalc_rate()
60 mult = (val >> __ffs(CPG_PLLnCR_STC_MASK)) + 1; in cpg_pll_clk_recalc_rate()
96 val &= ~CPG_PLLnCR_STC_MASK; in cpg_pll_clk_set_rate()
97 val |= (mult - 1) << __ffs(CPG_PLLnCR_STC_MASK); in cpg_pll_clk_set_rate()