Searched refs:pll_hw (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/clk/actions/ |
D | owl-pll.c | 18 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 …]
|
D | owl-pll.h | 37 struct owl_pll_hw pll_hw; member 58 .pll_hw = OWL_PLL_HW(_reg, _bfreq, _bit_idx, _shift, \ 73 .pll_hw = OWL_PLL_HW(_reg, _bfreq, _bit_idx, _shift, \ 88 .pll_hw = OWL_PLL_HW(_reg, _bfreq, _bit_idx, _shift, \
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_lvds_pll.c | 13 struct clk_hw pll_hw; member 17 #define to_mdp4_lvds_pll(x) container_of(x, struct mdp4_lvds_pll, pll_hw) 150 lvds_pll->pll_hw.init = &pll_init; in mpd4_lvds_pll_init() 151 clk = devm_clk_register(dev->dev, &lvds_pll->pll_hw); in mpd4_lvds_pll_init()
|
/kernel/linux/linux-5.10/drivers/phy/mediatek/ |
D | phy-mtk-hdmi.c | 53 return container_of(hw, struct mtk_hdmi_phy, pll_hw); in to_mtk_hdmi_phy() 147 hdmi_phy->pll_hw.init = &clk_init; in mtk_hdmi_phy_probe() 148 hdmi_phy->pll = devm_clk_register(dev, &hdmi_phy->pll_hw); in mtk_hdmi_phy_probe()
|
D | phy-mtk-hdmi.h | 35 struct clk_hw pll_hw; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/ |
D | mtk_mipi_tx.c | 10 return container_of(hw, struct mtk_mipi_tx, pll_hw); in mtk_mipi_tx_from_clk_hw() 193 mipi_tx->pll_hw.init = &clk_init; in mtk_mipi_tx_probe() 194 mipi_tx->pll = devm_clk_register(dev, &mipi_tx->pll_hw); in mtk_mipi_tx_probe()
|
D | mtk_mipi_tx.h | 35 struct clk_hw pll_hw; member
|
/kernel/linux/linux-5.10/drivers/clk/ |
D | clk-stm32f4.c | 745 struct clk_hw *pll_hw, spinlock_t *lock) in clk_register_pll_div() argument 772 pll_div->hw_pll = pll_hw; in clk_register_pll_div() 791 struct clk_hw *pll_hw; in stm32f4_rcc_register_pll() local 821 pll_hw = &pll->gate.hw; in stm32f4_rcc_register_pll() 822 ret = clk_hw_register(NULL, pll_hw); in stm32f4_rcc_register_pll() 838 pll_hw, in stm32f4_rcc_register_pll() 840 return pll_hw; in stm32f4_rcc_register_pll()
|
D | clk-bm1880.c | 495 struct bm1880_pll_hw_clock *pll_hw = to_bm1880_pll_clk(hw); in bm1880_pll_recalc_rate() local 499 regval = readl(pll_hw->base + pll_hw->pll.reg); in bm1880_pll_recalc_rate()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/ |
D | dsi.c | 312 const struct dss_pll_hw *pll_hw; member 5030 pll->hw = dsi->data->pll_hw; in dsi_init_pll_data() 5198 .pll_hw = &dss_omap3_dsi_pll_hw, 5210 .pll_hw = &dss_omap3_dsi_pll_hw, 5222 .pll_hw = &dss_omap4_dsi_pll_hw, 5236 .pll_hw = &dss_omap5_dsi_pll_hw,
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 444 + struct clk_hw *pll_hw; 474 + rockchip_boost_enable_recovery_sw_low(cpuclk->pll_hw); 516 + rockchip_boost_add_core_div(cpuclk->pll_hw, alt_prate); 560 + rockchip_boost_disable_recovery_sw(cpuclk->pll_hw); 616 + cpuclk->pll_hw = __clk_get_hw(pll_clk); 617 + rockchip_boost_init(cpuclk->pll_hw);
|