Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/mediatek/
H A Dclk-pll.c44 int pcwfbits = 0; in __mtk_pll_recalc_rate() local
52 pcwfbits = pcwbits - ibits; in __mtk_pll_recalc_rate()
56 if (pcwfbits && (vco & GENMASK(pcwfbits - 1, 0))) in __mtk_pll_recalc_rate()
59 vco >>= pcwfbits; in __mtk_pll_recalc_rate()
/openbmc/u-boot/drivers/clk/mediatek/
H A Dclk-mtk.c86 int pcwfbits; in __mtk_pll_recalc_rate() local
91 pcwfbits = pcwbits > INTEGER_BITS ? pcwbits - INTEGER_BITS : 0; in __mtk_pll_recalc_rate()
95 if (pcwfbits && (vco & GENMASK(pcwfbits - 1, 0))) in __mtk_pll_recalc_rate()
98 vco >>= pcwfbits; in __mtk_pll_recalc_rate()