Home
last modified time | relevance | path

Searched refs:pll_val (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/clk/
H A Dclk-vt8500.c551 u32 pll_val; in vtwm_pll_set_rate() local
561 pll_val = VT8500_BITS_TO_VAL(mul, div1); in vtwm_pll_set_rate()
566 pll_val = WM8650_BITS_TO_VAL(mul, div1, div2); in vtwm_pll_set_rate()
571 pll_val = WM8750_BITS_TO_VAL(filter, mul, div1, div2); in vtwm_pll_set_rate()
576 pll_val = WM8850_BITS_TO_VAL(mul, div1, div2); in vtwm_pll_set_rate()
589 writel(pll_val, pll->reg); in vtwm_pll_set_rate()
640 u32 pll_val = readl(pll->reg); in vtwm_pll_recalc_rate() local
645 pll_freq = parent_rate * VT8500_PLL_MUL(pll_val); in vtwm_pll_recalc_rate()
646 pll_freq /= VT8500_PLL_DIV(pll_val); in vtwm_pll_recalc_rate()
649 pll_freq = parent_rate * WM8650_PLL_MUL(pll_val); in vtwm_pll_recalc_rate()
[all...]
/kernel/linux/linux-6.6/drivers/clk/
H A Dclk-vt8500.c551 u32 pll_val; in vtwm_pll_set_rate() local
561 pll_val = VT8500_BITS_TO_VAL(mul, div1); in vtwm_pll_set_rate()
566 pll_val = WM8650_BITS_TO_VAL(mul, div1, div2); in vtwm_pll_set_rate()
571 pll_val = WM8750_BITS_TO_VAL(filter, mul, div1, div2); in vtwm_pll_set_rate()
576 pll_val = WM8850_BITS_TO_VAL(mul, div1, div2); in vtwm_pll_set_rate()
589 writel(pll_val, pll->reg); in vtwm_pll_set_rate()
640 u32 pll_val = readl(pll->reg); in vtwm_pll_recalc_rate() local
645 pll_freq = parent_rate * VT8500_PLL_MUL(pll_val); in vtwm_pll_recalc_rate()
646 pll_freq /= VT8500_PLL_DIV(pll_val); in vtwm_pll_recalc_rate()
649 pll_freq = parent_rate * WM8650_PLL_MUL(pll_val); in vtwm_pll_recalc_rate()
[all...]
/kernel/linux/linux-5.10/drivers/phy/cadence/
H A Dphy-cadence-torrent.c577 u32 pll_val; in cdns_torrent_dp_set_pll_en() local
598 pll_val = pll_bits; in cdns_torrent_dp_set_pll_en()
600 pll_val = 0x00000000; in cdns_torrent_dp_set_pll_en()
602 cdns_torrent_dp_write(regmap, PHY_PMA_XCVR_PLLCLK_EN, pll_val); in cdns_torrent_dp_set_pll_en()
608 (rd_val & pll_bits) == pll_val, in cdns_torrent_dp_set_pll_en()
/kernel/linux/linux-6.6/drivers/phy/cadence/
H A Dphy-cadence-torrent.c1091 u32 pll_val; in cdns_torrent_dp_set_pll_en() local
1094 pll_val = cdns_torrent_dp_read(regmap, PHY_PMA_XCVR_PLLCLK_EN); in cdns_torrent_dp_set_pll_en()
1098 pll_val |= pll_bits; in cdns_torrent_dp_set_pll_en()
1102 pll_val &= (~pll_bits); in cdns_torrent_dp_set_pll_en()
1106 cdns_torrent_dp_write(regmap, PHY_PMA_XCVR_PLLCLK_EN, pll_val); in cdns_torrent_dp_set_pll_en()

Completed in 12 milliseconds