/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_atombios.c | 589 struct amdgpu_pll *ppll = &adev->clock.ppll[0]; in amdgpu_atombios_get_clock_info() local 596 ppll->reference_freq = in amdgpu_atombios_get_clock_info() 598 ppll->reference_div = 0; in amdgpu_atombios_get_clock_info() 600 ppll->pll_out_min = in amdgpu_atombios_get_clock_info() 602 ppll->pll_out_max = in amdgpu_atombios_get_clock_info() 605 ppll->lcd_pll_out_min = in amdgpu_atombios_get_clock_info() 607 if (ppll->lcd_pll_out_min == 0) in amdgpu_atombios_get_clock_info() 608 ppll->lcd_pll_out_min = ppll->pll_out_min; in amdgpu_atombios_get_clock_info() 609 ppll->lcd_pll_out_max = in amdgpu_atombios_get_clock_info() 611 if (ppll->lcd_pll_out_max == 0) in amdgpu_atombios_get_clock_info() [all …]
|
H A D | amdgpu_pll.c | 288 * amdgpu_pll_get_shared_dp_ppll - return the PPLL used by another crtc for DP 292 * Returns the PPLL (Pixel PLL) used by another crtc/encoder which is 293 * also in DP mode. For DP, a single PPLL can be used for all DP 317 * amdgpu_pll_get_shared_nondp_ppll - return the PPLL used by another non-DP crtc 321 * Returns the PPLL (Pixel PLL) used by another non-DP crtc/encoder which can
|
H A D | dce_v8_0.c | 2130 * dce_v8_0_pick_pll - Allocate a PPLL for use by the crtc. 2134 * Returns the PPLL (Pixel PLL) to be used by the crtc. For DP monitors 2135 * a single PPLL can be used for all DP crtcs/encoders. For non-DP 2136 * monitors a dedicated PPLL must be used. If a particular board has 2161 /* skip PPLL programming if using ext clock */ in dce_v8_0_pick_pll() 2164 /* use the same PPLL for all DP monitors */ in dce_v8_0_pick_pll() 2170 /* use the same PPLL for all monitors with the same clock */ in dce_v8_0_pick_pll() 2184 DRM_ERROR("unable to allocate a PPLL\n"); in dce_v8_0_pick_pll() 2195 DRM_ERROR("unable to allocate a PPLL\n"); in dce_v8_0_pick_pll() 2512 /* disable the ppll */ in dce_v8_0_crtc_disable() [all …]
|
H A D | atombios_crtc.c | 836 pll = &adev->clock.ppll[0]; in amdgpu_atombios_crtc_set_pll() 839 pll = &adev->clock.ppll[1]; in amdgpu_atombios_crtc_set_pll() 844 pll = &adev->clock.ppll[2]; in amdgpu_atombios_crtc_set_pll()
|
H A D | dce_v10_0.c | 2222 * dce_v10_0_pick_pll - Allocate a PPLL for use by the crtc. 2226 * Returns the PPLL (Pixel PLL) to be used by the crtc. For DP monitors 2227 * a single PPLL can be used for all DP crtcs/encoders. For non-DP 2228 * monitors a dedicated PPLL must be used. If a particular board has 2253 /* skip PPLL programming if using ext clock */ in dce_v10_0_pick_pll() 2256 /* use the same PPLL for all DP monitors */ in dce_v10_0_pick_pll() 2262 /* use the same PPLL for all monitors with the same clock */ in dce_v10_0_pick_pll() 2276 DRM_ERROR("unable to allocate a PPLL\n"); in dce_v10_0_pick_pll() 2594 /* disable the ppll */ in dce_v10_0_crtc_disable() 2657 /* if we can't get a PPLL for a non-DP encoder, fail */ in dce_v10_0_crtc_mode_fixup()
|
H A D | amdgpu.h | 430 struct amdgpu_pll ppll[AMDGPU_MAX_PPLL]; member
|
/linux/drivers/gpu/drm/radeon/ |
H A D | atombios_crtc.c | 1742 * radeon_get_shared_dp_ppll - return the PPLL used by another crtc for DP 1746 * Returns the PPLL (Pixel PLL) used by another crtc/encoder which is 1747 * also in DP mode. For DP, a single PPLL can be used for all DP 1776 * radeon_get_shared_nondp_ppll - return the PPLL used by another non-DP crtc 1780 * Returns the PPLL (Pixel PLL) used by another non-DP crtc/encoder which can 1826 * radeon_atom_pick_pll - Allocate a PPLL for use by the crtc. 1830 * Returns the PPLL (Pixel PLL) to be used by the crtc. For DP monitors 1831 * a single PPLL can be used for all DP crtcs/encoders. For non-DP 1832 * monitors a dedicated PPLL must be used. If a particular board has 1875 /* skip PPLL programming if using ext clock */ in radeon_atom_pick_pll() [all …]
|
H A D | atombios.h | 1545 // 0 means disable PPLL 1552 UCHAR ucCRTC; // Which CRTC uses this Ppll 1565 // 0 means disable PPLL 1572 UCHAR ucCRTC; // Which CRTC uses this Ppll 1612 … // 0 means disable PPLL. For VGA PPLL,make sure this value is not 0. 1625 … // bit[3]=0:use PPLL for dispclk source, =1: use engine clock for dispclock source 1641 // 0 means disable PPLL/DCPLL. 1649 UCHAR ucMiscInfo; // bit[0]= Force program PPLL 1652 // bit[4]= RefClock source for PPLL. 1675 … // 0 means disable PPLL/DCPLL. Expanded to 24 bits comparing to previous version. [all …]
|
H A D | radeon_encoders.c | 55 /* DVO requires 2x ppll clocks depending on tmds chip */ in radeon_encoder_clones()
|
/linux/drivers/clk/imx/ |
H A D | clk-imx35.c | 60 static const char *std_sel[] = {"ppll", "arm"}; 64 /* 0 */ ckih, mpll, ppll, mpll_075, arm, hsp, hsp_div, hsp_sel, ahb, enumerator 109 clk[ppll] = imx_clk_pllv1(IMX_PLLV1_IMX35, "ppll", "ckih", base + MX35_CCM_PPCTL); in _mx35_clocks_init()
|
/linux/drivers/clk/rockchip/ |
H A D | clk-rk3528.c | 24 apll, cpll, gpll, ppll, dpll, enumerator 39 RK3036_PLL_RATE(1000000000, 1, 125, 3, 1, 1, 0), /* PPLL */ 194 [ppll] = PLL(pll_rk3328, PLL_PPLL, "ppll", mux_pll_p, 975 COMPOSITE_NOMUX(CLK_GMAC1_VPU_25M, "clk_gmac1_25m", "ppll", 0, 978 COMPOSITE_NOMUX(CLK_PPLL_125M_MATRIX, "clk_ppll_125m_src", "ppll", 0, 1040 COMPOSITE_NOMUX(CLK_PPLL_100M_MATRIX, "clk_ppll_100m_src", "ppll", CLK_IS_CRITICAL, 1043 COMPOSITE_NOMUX(CLK_PPLL_50M_MATRIX, "clk_ppll_50m_src", "ppll", CLK_IS_CRITICAL,
|
H A D | clk-rk3588.c | 19 b0pll, b1pll, lpll, v0pll, aupll, cpll, gpll, npll, ppll, enumerator 514 PNAME(mux_24m_ppll_spll_p) = { "xin24m", "ppll", "spll" }; 515 PNAME(mux_24m_ppll_p) = { "xin24m", "ppll" }; 673 [ppll] = PLL(pll_rk3588_core, PLL_PPLL, "ppll", mux_pll_p, 2140 COMPOSITE_NOMUX(CLK_REF_PIPE_PHY0_PLL_SRC, "clk_ref_pipe_phy0_pll_src", "ppll", 0, 2143 COMPOSITE_NOMUX(CLK_REF_PIPE_PHY1_PLL_SRC, "clk_ref_pipe_phy1_pll_src", "ppll", 0, 2146 COMPOSITE_NOMUX(CLK_REF_PIPE_PHY2_PLL_SRC, "clk_ref_pipe_phy2_pll_src", "ppll", 0, 2287 GATE(CLK_PHY0_REF_ALT_P, "clk_phy0_ref_alt_p", "ppll", 0, 2289 GATE(CLK_PHY0_REF_ALT_M, "clk_phy0_ref_alt_m", "ppll", 0, 2291 GATE(CLK_PHY1_REF_ALT_P, "clk_phy1_ref_alt_p", "ppll", 0, [all …]
|
H A D | clk-rk3568.c | 19 ppll, hpll, enumerator 296 PNAME(ppll_usb480m_cpll_gpll_p) = { "ppll", "usb480m", "cpll", "gpll"}; 314 PNAME(clk_pdpmu_p) = { "ppll", "gpll" }; 315 PNAME(clk_mac_2top_p) = { "cpll_125m", "cpll_50m", "cpll_25m", "ppll" }; 321 [ppll] = PLL(pll_rk3328, PLL_PPLL, "ppll", mux_pll_p, 1472 FACTOR(0, "ppll_ph0", "ppll", 0, 1, 2), 1473 FACTOR(0, "ppll_ph180", "ppll", 0, 1, 2),
|
H A D | clk-rk3576.c | 22 bpll, lpll, vpll, aupll, cpll, gpll, ppll, enumerator 383 [ppll] = PLL(pll_rk3588_ddr, PLL_PPLL, "ppll", mux_pll_p, 1566 COMPOSITE_NOMUX(CLK_PCIE_100M_SRC, "clk_pcie_100m_src", "ppll", 0, 1569 COMPOSITE_NOMUX(CLK_PCIE_100M_NDUTY_SRC, "clk_pcie_100m_nduty_src", "ppll", 0, 1578 COMPOSITE_NOMUX(CLK_REF_MPHY_26M, "clk_ref_mphy_26m", "ppll", CLK_IS_CRITICAL,
|
/linux/drivers/gpu/drm/amd/display/include/ |
H A D | bios_parser_types.h | 208 * other ppll params */ 211 * other ppll params */
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | imx35-clock.yaml | 21 ppll 2
|
/linux/Documentation/gpu/amdgpu/display/ |
H A D | dc-glossary.rst | 41 * PPLL: Pixel PLL
|
/linux/include/dt-bindings/clock/ |
H A D | xlnx-versal-clk.h | 19 #define PPLL 10 macro
|
/linux/drivers/video/fbdev/aty/ |
H A D | radeon_base.c | 1365 /* We still have to force a switch to selected PPLL div thanks to in radeon_write_pll_regs() 1377 /* Swich VCKL clock input to CPUCLK so it stays fed while PPLL updates*/ in radeon_write_pll_regs() 1380 /* Reset PPLL & enable atomic update */ in radeon_write_pll_regs() 1385 /* Switch to selected PPLL divider */ in radeon_write_pll_regs() 1392 /* Set PPLL ref. div */ in radeon_write_pll_regs() 1411 /* Set PPLL divider 3 & post divider*/ in radeon_write_pll_regs() 1437 /* Switch back VCLK source to PPLL */ in radeon_write_pll_regs() 1826 /* Calculate PPLL value if necessary */ in radeonfb_set_par()
|
H A D | radeon_pm.c | 1662 /* Restore our "reference" PPLL divider set by firmware in radeon_pm_restore_pixel_pll() 2088 /* PPLL and P2PLL default values & off */ in radeon_reinitialize_M9P() 2205 /* Restore PPLL, spread spectrum & LVDS */ in radeon_reinitialize_M9P()
|
H A D | radeon_monitor.c | 673 "from PPLL %d\n", in radeon_fixup_panel_info()
|
/linux/drivers/gpu/drm/amd/include/ |
H A D | atombios.h | 1820 // 0 means disable PPLL 1827 UCHAR ucCRTC; // Which CRTC uses this Ppll 1840 // 0 means disable PPLL 1847 UCHAR ucCRTC; // Which CRTC uses this Ppll 1887 … // 0 means disable PPLL. For VGA PPLL,make sure this value is not 0. 1900 … // bit[3]=0:use PPLL for dispclk source, =1: use engine clock for dispclock source 1917 // 0 means disable PPLL/DCPLL. 1925 UCHAR ucMiscInfo; // bit[0]= Force program PPLL 1928 // bit[4]= RefClock source for PPLL. 1951 … // 0 means disable PPLL/DCPLL. Expanded to 24 bits comparing to previous version. [all …]
|
H A D | atomfirmware.h | 4085 …uint8_t dceclkflag; // Bit [1:0] = PPLL ref clock source ( when u…
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_clock_source.c | 335 * So calculate PPLL FB and fractional FB divider in calculate_pixel_clock_pll_dividers()
|