Lines Matching refs:dividers
494 struct atom_clock_dividers dividers; in cypress_populate_mclk_value() local
501 memory_clock, strobe_mode, ÷rs); in cypress_populate_mclk_value()
509 dividers.post_div = 1; in cypress_populate_mclk_value()
512 ibias = cypress_map_clkf_to_ibias(rdev, dividers.whole_fb_div); in cypress_populate_mclk_value()
519 mpll_ad_func_cntl |= CLKR(dividers.ref_div); in cypress_populate_mclk_value()
520 mpll_ad_func_cntl |= YCLK_POST_DIV(dividers.post_div); in cypress_populate_mclk_value()
521 mpll_ad_func_cntl |= CLKF(dividers.whole_fb_div); in cypress_populate_mclk_value()
522 mpll_ad_func_cntl |= CLKFRAC(dividers.frac_fb_div); in cypress_populate_mclk_value()
525 if (dividers.vco_mode) in cypress_populate_mclk_value()
536 mpll_dq_func_cntl |= CLKR(dividers.ref_div); in cypress_populate_mclk_value()
537 mpll_dq_func_cntl |= YCLK_POST_DIV(dividers.post_div); in cypress_populate_mclk_value()
538 mpll_dq_func_cntl |= CLKF(dividers.whole_fb_div); in cypress_populate_mclk_value()
539 mpll_dq_func_cntl |= CLKFRAC(dividers.frac_fb_div); in cypress_populate_mclk_value()
547 if (dividers.vco_mode) in cypress_populate_mclk_value()
555 u32 vco_freq = memory_clock * dividers.post_div; in cypress_populate_mclk_value()
560 u32 decoded_ref = rv740_get_decoded_reference_divider(dividers.ref_div); in cypress_populate_mclk_value()
563 (0x4000 * dividers.whole_fb_div + 0x800 * dividers.frac_fb_div) / (clk_s * 625); in cypress_populate_mclk_value()
2023 struct atom_clock_dividers dividers; in cypress_dpm_init() local
2054 0, false, ÷rs); in cypress_dpm_init()
2056 pi->ref_div = dividers.ref_div + 1; in cypress_dpm_init()