Home
last modified time | relevance | path

Searched refs:RREG32_PLL (Results 1 – 12 of 12) sorted by relevance

/drivers/gpu/drm/radeon/
Dradeon_clocks.c40 fb_div = RREG32_PLL(RADEON_M_SPLL_REF_FB_DIV); in radeon_legacy_get_engine_clock()
46 RREG32_PLL(RADEON_M_SPLL_REF_FB_DIV) & RADEON_M_SPLL_REF_DIV_MASK; in radeon_legacy_get_engine_clock()
53 post_div = RREG32_PLL(RADEON_SCLK_CNTL) & RADEON_SCLK_SRC_SEL_MASK; in radeon_legacy_get_engine_clock()
70 fb_div = RREG32_PLL(RADEON_M_SPLL_REF_FB_DIV); in radeon_legacy_get_memory_clock()
76 RREG32_PLL(RADEON_M_SPLL_REF_FB_DIV) & RADEON_M_SPLL_REF_DIV_MASK; in radeon_legacy_get_memory_clock()
83 post_div = RREG32_PLL(RADEON_MCLK_CNTL) & 0x7; in radeon_legacy_get_memory_clock()
117 p1pll->reference_div = RREG32_PLL(RADEON_PPLL_REF_DIV) & 0x3ff; in radeon_read_clocks_OF()
147 RREG32_PLL(RADEON_M_SPLL_REF_FB_DIV) & in radeon_read_clocks_OF()
195 u32 tmp = RREG32_PLL(RADEON_PPLL_REF_DIV); in radeon_get_clock_info()
211 RREG32_PLL(RADEON_M_SPLL_REF_FB_DIV) & in radeon_get_clock_info()
[all …]
Dradeon_legacy_crtc.c221 RREG32_PLL(RADEON_PPLL_REF_DIV) & RADEON_PPLL_ATOMIC_UPDATE_R); in radeon_pll_wait_for_read_update_complete()
229 while (RREG32_PLL(RADEON_PPLL_REF_DIV) & RADEON_PPLL_ATOMIC_UPDATE_R); in radeon_pll_write_update()
248 RREG32_PLL(RADEON_P2PLL_REF_DIV) & RADEON_P2PLL_ATOMIC_UPDATE_R); in radeon_pll2_wait_for_read_update_complete()
256 while (RREG32_PLL(RADEON_P2PLL_REF_DIV) & RADEON_P2PLL_ATOMIC_UPDATE_R); in radeon_pll2_write_update()
857 uint32_t pixclks_cntl = ((RREG32_PLL(RADEON_PIXCLKS_CNTL) & in radeon_set_pll()
906 RREG32_PLL(RADEON_P2PLL_CNTL)); in radeon_set_pll()
925 pixclks_cntl = RREG32_PLL(RADEON_PIXCLKS_CNTL); in radeon_set_pll()
937 if ((pll_ref_div == (RREG32_PLL(RADEON_PPLL_REF_DIV) & RADEON_PPLL_REF_DIV_MASK)) && in radeon_set_pll()
938 (pll_fb_post_div == (RREG32_PLL(RADEON_PPLL_DIV_3) & in radeon_set_pll()
1012 RREG32_PLL(RADEON_PPLL_CNTL)); in radeon_set_pll()
Drs600.c248 dyn_pwrmgt_sclk_length = RREG32_PLL(DYN_PWRMGT_SCLK_LENGTH); in rs600_pm_misc()
265 dyn_sclk_vol_cntl = RREG32_PLL(DYN_SCLK_VOL_CNTL); in rs600_pm_misc()
277 hdp_dyn_cntl = RREG32_PLL(HDP_DYN_CNTL); in rs600_pm_misc()
285 mc_host_dyn_cntl = RREG32_PLL(MC_HOST_DYN_CNTL); in rs600_pm_misc()
292 dyn_backbias_cntl = RREG32_PLL(DYN_BACKBIAS_CNTL); in rs600_pm_misc()
Dradeon_combios.c1147 ppll_val = RREG32_PLL(RADEON_PPLL_DIV_0 + ppll_div_sel); in radeon_legacy_get_lvds_info_from_regs()
1152 RREG32_PLL(RADEON_PPLL_REF_DIV) & 0x3ff; in radeon_legacy_get_lvds_info_from_regs()
2985 val = RREG32_PLL(reg); in radeon_combios_external_tmds_setup()
3064 (RREG32_PLL in combios_parse_mmio_table()
3114 tmp = RREG32_PLL(addr); in combios_parse_pll_table()
3132 (RREG32_PLL in combios_parse_pll_table()
3140 if (RREG32_PLL in combios_parse_pll_table()
3148 RREG32_PLL(RADEON_CLK_PWRMGT_CNTL); in combios_parse_pll_table()
3152 RREG32_PLL in combios_parse_pll_table()
Drv515.c508 RREG32_PLL(R_00000F_CP_DYN_CNTL) | S_00000F_CP_FORCEON(1)); in rv515_clock_startup()
510 RREG32_PLL(R_000011_E2_DYN_CNTL) | S_000011_E2_FORCEON(1)); in rv515_clock_startup()
512 RREG32_PLL(R_000013_IDCT_DYN_CNTL) | S_000013_IDCT_FORCEON(1)); in rv515_clock_startup()
Dr420.c200 sclk_cntl = RREG32_PLL(R_00000D_SCLK_CNTL); in r420_clock_resume()
Dradeon_legacy_encoders.c110 pixclks_cntl = RREG32_PLL(RADEON_PIXCLKS_CNTL); in radeon_legacy_lvds_update()
653 vclk_ecp_cntl = RREG32_PLL(RADEON_VCLK_ECP_CNTL); in radeon_legacy_primary_dac_detect()
1576 pixclks_cntl = RREG32_PLL(RADEON_PIXCLKS_CNTL); in radeon_legacy_tv_dac_detect()
Dr100.c374 sclk_cntl = RREG32_PLL(SCLK_CNTL); in r100_pm_misc()
375 sclk_cntl2 = RREG32_PLL(SCLK_CNTL2); in r100_pm_misc()
377 sclk_more_cntl = RREG32_PLL(SCLK_MORE_CNTL); in r100_pm_misc()
2690 tmp = RREG32_PLL(RADEON_PLL_PWRMGT_CNTL); in r100_set_common_regs()
3877 tmp = RREG32_PLL(R_00000D_SCLK_CNTL); in r100_clock_startup()
Dradeon_legacy_tv.c283 save_pll_test = RREG32_PLL(RADEON_PLL_TEST_CNTL); in radeon_wait_pll_lock()
Dr300.c1368 tmp = RREG32_PLL(R_00000D_SCLK_CNTL); in r300_clock_startup()
Dradeon.h2543 #define RREG32_PLL(reg) rdev->pll_rreg(rdev, (reg)) macro
2576 uint32_t tmp_ = RREG32_PLL(reg); \
/drivers/gpu/drm/amd/amdgpu/
Damdgpu.h2184 uint32_t tmp_ = RREG32_PLL(reg); \