Home
last modified time | relevance | path

Searched refs:clock_cntl (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dcik.c1948 u32 clock_cntl, pc; in cik_need_reset_on_init() local
1954 clock_cntl = RREG32_SMC(ixSMC_SYSCON_CLOCK_CNTL_0); in cik_need_reset_on_init()
1956 if ((0 == REG_GET_FIELD(clock_cntl, SMC_SYSCON_CLOCK_CNTL_0, ck_disable)) && in cik_need_reset_on_init()
H A Dvi.c1414 u32 clock_cntl, pc; in vi_need_reset_on_init() local
1420 clock_cntl = RREG32_SMC(ixSMC_SYSCON_CLOCK_CNTL_0); in vi_need_reset_on_init()
1422 if ((0 == REG_GET_FIELD(clock_cntl, SMC_SYSCON_CLOCK_CNTL_0, ck_disable)) && in vi_need_reset_on_init()
/openbmc/linux/drivers/video/fbdev/aty/
H A Datyfb_base.c3072 u8 clock_cntl; in atyfb_setup_sparc() local
3088 clock_cntl = aty_ld_8(CLOCK_CNTL, par); in atyfb_setup_sparc()
3101 N = pll_regs[VCLK0_FB_DIV + (clock_cntl & 3)]; in atyfb_setup_sparc()
3106 P = aty_postdividers[((pll_regs[VCLK_POST_DIV] >> ((clock_cntl & 3) << 1)) & 3) | in atyfb_setup_sparc()
3107 ((pll_regs[PLL_EXT_CNTL] >> (2 + (clock_cntl & 3))) & 4)]; in atyfb_setup_sparc()