Lines Matching refs:step
140 u32 clock, struct rv6xx_sclk_stepping *step) in rv6xx_convert_clock_to_stepping() argument
151 step->post_divider = 2 + (dividers.post_div & 0xF) + (dividers.post_div >> 4); in rv6xx_convert_clock_to_stepping()
153 step->post_divider = 1; in rv6xx_convert_clock_to_stepping()
155 step->vco_frequency = clock * step->post_divider; in rv6xx_convert_clock_to_stepping()
161 u32 step_index, struct rv6xx_sclk_stepping *step) in rv6xx_output_stepping() argument
174 if (step->post_divider == 1) in rv6xx_output_stepping()
177 u32 lo_len = (step->post_divider - 2) / 2; in rv6xx_output_stepping()
178 u32 hi_len = step->post_divider - 2 - lo_len; in rv6xx_output_stepping()
184 fb_divider = ((step->vco_frequency * pi->spll_ref_div) / ref_clk) >> in rv6xx_output_stepping()
300 struct rv6xx_sclk_stepping step; in rv6xx_generate_single_step() local
302 rv6xx_convert_clock_to_stepping(rdev, clock, &step); in rv6xx_generate_single_step()
303 rv6xx_output_stepping(rdev, index, &step); in rv6xx_generate_single_step()