Searched refs:pll_ref_div (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.15/drivers/clk/tegra/ |
D | clk-tegra-fixed.c | 32 u32 val, pll_ref_div; in tegra_osc_clk_init() local 82 pll_ref_div = 1 << val; in tegra_osc_clk_init() 88 0, 1, pll_ref_div); in tegra_osc_clk_init() 92 *pll_ref_freq = *osc_freq / pll_ref_div; in tegra_osc_clk_init()
|
D | clk-tegra20.c | 574 u32 pll_ref_div = osc_ctrl & OSC_CTRL_PLL_REF_DIV_MASK; in tegra20_clk_measure_input_freq() local 579 BUG_ON(pll_ref_div != OSC_CTRL_PLL_REF_DIV_1); in tegra20_clk_measure_input_freq() 583 BUG_ON(pll_ref_div != OSC_CTRL_PLL_REF_DIV_1); in tegra20_clk_measure_input_freq() 587 BUG_ON(pll_ref_div != OSC_CTRL_PLL_REF_DIV_1); in tegra20_clk_measure_input_freq() 591 BUG_ON(pll_ref_div != OSC_CTRL_PLL_REF_DIV_1); in tegra20_clk_measure_input_freq() 606 u32 pll_ref_div = readl_relaxed(clk_base + OSC_CTRL) & in tegra20_get_pll_ref_div() local 609 switch (pll_ref_div) { in tegra20_get_pll_ref_div() 617 pr_err("Invalid pll ref divider %d\n", pll_ref_div); in tegra20_get_pll_ref_div() 864 unsigned int pll_ref_div; in tegra20_osc_clk_init() local 874 pll_ref_div = tegra20_get_pll_ref_div(); in tegra20_osc_clk_init() [all …]
|
/Linux-v5.15/drivers/gpu/drm/radeon/ |
D | radeon_legacy_crtc.c | 747 uint32_t pll_ref_div = 0; in radeon_set_pll() local 802 pll_ref_div = lvds->panel_ref_divider; in radeon_set_pll() 836 pll_ref_div = reference_div; in radeon_set_pll() 850 pll_ref_div & 0x3ff, in radeon_set_pll() 860 &pll_ref_div, &pll_fb_post_div, in radeon_set_pll() 877 pll_ref_div, in radeon_set_pll() 900 (unsigned)pll_ref_div, in radeon_set_pll() 905 (unsigned)pll_ref_div & RADEON_P2PLL_REF_DIV_MASK, in radeon_set_pll() 923 radeon_legacy_tv_adjust_pll1(encoder, &htotal_cntl, &pll_ref_div, in radeon_set_pll() 934 if ((pll_ref_div == (RREG32_PLL(RADEON_PPLL_REF_DIV) & RADEON_PPLL_REF_DIV_MASK)) && in radeon_set_pll() [all …]
|
/Linux-v5.15/drivers/video/fbdev/aty/ |
D | mach64_ct.c | 216 q = par->ref_clk_per * pll->pll_ref_div * 4 / vclk_per; in aty_valid_pll_ct() 229 (par->ref_clk_per * pll->pll_ref_div); in aty_valid_pll_ct() 268 …ret = par->ref_clk_per * pll->ct.pll_ref_div * pll->ct.vclk_post_div_real / pll->ct.vclk_fb_div / … in aty_pll_to_var_ct() 300 pll->ct.pll_ref_div, pll->ct.vclk_post_div, pll->ct.vclk_post_div_real); in aty_set_pll_ct() 391 pll->ct.pll_ref_div = aty_ld_pll_ct(PLL_REF_DIV, par); in aty_get_pll_ct() 517 pll->ct.pll_ref_div = aty_ld_pll_ct(PLL_REF_DIV, par); in aty_init_pll_ct() 527 pll->ct.pll_ref_div = par->pll_per * 2 * 255 / par->ref_clk_per; in aty_init_pll_ct() 530 q = par->ref_clk_per * pll->ct.pll_ref_div * 8 / in aty_init_pll_ct() 554 (par->ref_clk_per * pll->ct.pll_ref_div); in aty_init_pll_ct() 581 q = par->ref_clk_per * pll->ct.pll_ref_div * 4 / par->mclk_per; in aty_init_pll_ct() [all …]
|
D | atyfb_base.c | 1806 u8 pll_ref_div; member 1864 clk.pll_ref_div = pll->ct.pll_ref_div; in atyfb_ioctl() 1890 pll->ct.pll_ref_div = clk.pll_ref_div; in atyfb_ioctl() 2476 u8 pll_ref_div = aty_ld_pll_ct(PLL_REF_DIV, par); in aty_init() local 2478 if (pll_ref_div) { in aty_init() 2480 diff1 = 510 * 14 / pll_ref_div - par->pll_limits.pll_max; in aty_init() 2481 diff2 = 510 * 29 / pll_ref_div - par->pll_limits.pll_max; in aty_init()
|
D | atyfb.h | 83 u8 pll_ref_div; member
|
/Linux-v5.15/drivers/video/fbdev/ |
D | w100fb.h | 661 u32 pll_ref_div : 4; member
|
D | w100fb.c | 1166 w100_pwr_state.pll_ref_fb_div.f.pll_ref_div = pll->M; in w100_pll_set_clk() 1237 w100_pwr_state.pll_ref_fb_div.f.pll_ref_div = 0x0; /* M = 1 */ in w100_pwm_setup()
|