Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/clk/actions/
Dowl-pll.c18 static u32 owl_pll_calculate_mul(struct owl_pll_hw *pll_hw, unsigned long rate) in owl_pll_calculate_mul() argument
22 mul = DIV_ROUND_CLOSEST(rate, pll_hw->bfreq); in owl_pll_calculate_mul()
23 if (mul < pll_hw->min_mul) in owl_pll_calculate_mul()
24 mul = pll_hw->min_mul; in owl_pll_calculate_mul()
25 else if (mul > pll_hw->max_mul) in owl_pll_calculate_mul()
26 mul = pll_hw->max_mul; in owl_pll_calculate_mul()
28 return mul &= mul_mask(pll_hw); in owl_pll_calculate_mul()
63 struct owl_pll_hw *pll_hw = &pll->pll_hw; in owl_pll_round_rate() local
67 if (pll_hw->table) { in owl_pll_round_rate()
68 clkt = _get_pll_table(pll_hw->table, rate); in owl_pll_round_rate()
[all …]
Dowl-pll.h34 struct owl_pll_hw pll_hw; member
54 .pll_hw = OWL_PLL_HW(_reg, _bfreq, _bit_idx, _shift, \
69 .pll_hw = OWL_PLL_HW(_reg, _bfreq, _bit_idx, _shift, \
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_lvds_pll.c24 struct clk_hw pll_hw; member
28 #define to_mdp4_lvds_pll(x) container_of(x, struct mdp4_lvds_pll, pll_hw)
161 lvds_pll->pll_hw.init = &pll_init; in mpd4_lvds_pll_init()
162 clk = devm_clk_register(dev->dev, &lvds_pll->pll_hw); in mpd4_lvds_pll_init()
/Linux-v4.19/drivers/gpu/drm/mediatek/
Dmtk_mipi_tx.c139 struct clk_hw pll_hw; member
145 return container_of(hw, struct mtk_mipi_tx, pll_hw); in mtk_mipi_tx_from_clk_hw()
434 mipi_tx->pll_hw.init = &clk_init; in mtk_mipi_tx_probe()
435 mipi_tx->pll = devm_clk_register(dev, &mipi_tx->pll_hw); in mtk_mipi_tx_probe()
Dmtk_mt8173_hdmi_phy.c130 struct clk_hw pll_hw; member
223 return container_of(hw, struct mtk_hdmi_phy, pll_hw); in to_mtk_hdmi_phy()
468 hdmi_phy->pll_hw.init = &clk_init; in mtk_hdmi_phy_probe()
469 hdmi_phy->pll = devm_clk_register(dev, &hdmi_phy->pll_hw); in mtk_hdmi_phy_probe()
/Linux-v4.19/drivers/clk/
Dclk-stm32f4.c677 struct clk_hw *pll_hw, spinlock_t *lock) in clk_register_pll_div() argument
704 pll_div->hw_pll = pll_hw; in clk_register_pll_div()
723 struct clk_hw *pll_hw; in stm32f4_rcc_register_pll() local
753 pll_hw = &pll->gate.hw; in stm32f4_rcc_register_pll()
754 ret = clk_hw_register(NULL, pll_hw); in stm32f4_rcc_register_pll()
770 pll_hw, in stm32f4_rcc_register_pll()
772 return pll_hw; in stm32f4_rcc_register_pll()
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Ddsi.c323 const struct dss_pll_hw *pll_hw; member
5224 pll->hw = dsi->data->pll_hw; in dsi_init_pll_data()
5237 .pll_hw = &dss_omap3_dsi_pll_hw,
5249 .pll_hw = &dss_omap3_dsi_pll_hw,
5261 .pll_hw = &dss_omap4_dsi_pll_hw,
5275 .pll_hw = &dss_omap5_dsi_pll_hw,