Lines Matching refs:spll
42 struct radeon_pll *spll = &rdev->clock.spll; in radeon_legacy_get_engine_clock() local
48 fb_div *= spll->reference_freq; in radeon_legacy_get_engine_clock()
111 struct radeon_pll *spll = &rdev->clock.spll; in radeon_read_clocks_OF() local
150 spll->reference_freq = mpll->reference_freq = p1pll->reference_freq; in radeon_read_clocks_OF()
151 spll->reference_div = mpll->reference_div = in radeon_read_clocks_OF()
186 struct radeon_pll *spll = &rdev->clock.spll; in radeon_get_clock_info() local
214 if (spll->reference_div < 2) in radeon_get_clock_info()
215 spll->reference_div = in radeon_get_clock_info()
220 mpll->reference_div = spll->reference_div; in radeon_get_clock_info()
233 spll->reference_freq = 1432; in radeon_get_clock_info()
238 spll->reference_freq = 2700; in radeon_get_clock_info()
267 spll->reference_div = in radeon_get_clock_info()
270 mpll->reference_div = spll->reference_div; in radeon_get_clock_info()
323 spll->min_post_div = 1; in radeon_get_clock_info()
324 spll->max_post_div = 1; in radeon_get_clock_info()
325 spll->min_ref_div = 2; in radeon_get_clock_info()
326 spll->max_ref_div = 0xff; in radeon_get_clock_info()
327 spll->min_feedback_div = 4; in radeon_get_clock_info()
328 spll->max_feedback_div = 0xff; in radeon_get_clock_info()
329 spll->best_vco = 0; in radeon_get_clock_info()
355 struct radeon_pll *spll = &rdev->clock.spll; in calc_eng_mem_clock() local
356 int ref_div = spll->reference_div; in calc_eng_mem_clock()
376 req_clock += spll->reference_freq; in calc_eng_mem_clock()
377 req_clock /= (2 * spll->reference_freq); in calc_eng_mem_clock()
382 req_clock *= spll->reference_freq; in calc_eng_mem_clock()