Lines Matching refs:dividers
320 struct atom_clock_dividers *dividers,
332 post_divider = dividers->post_div;
333 reference_divider = dividers->ref_div;
402 struct atom_clock_dividers dividers;
410 memory_clock, false, ÷rs);
414 if ((dividers.ref_div < 1) || (dividers.ref_div > 5))
419 ÷rs, &clkf, &clkfrac);
421 ret = rv770_encode_yclk_post_div(dividers.post_div, &postdiv_yclk);
432 mpll_ad_func_cntl |= CLKR(encoded_reference_dividers[dividers.ref_div - 1]);
438 if (dividers.vco_mode)
447 ÷rs, &clkf, &clkfrac);
451 ret = rv770_encode_yclk_post_div(dividers.post_div, &postdiv_yclk);
460 mpll_dq_func_cntl |= CLKR(encoded_reference_dividers[dividers.ref_div - 1]);
466 if (dividers.vco_mode)
488 struct atom_clock_dividers dividers;
506 engine_clock, false, ÷rs);
510 reference_divider = 1 + dividers.ref_div;
512 if (dividers.enable_post_div)
513 post_divider = (0x0f & (dividers.post_div >> 4)) + (0x0f & dividers.post_div) + 2;
521 if (dividers.enable_post_div)
526 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div);
527 spll_func_cntl |= SPLL_HILEN((dividers.post_div >> 4) & 0xf);
528 spll_func_cntl |= SPLL_LOLEN(dividers.post_div & 0xf);
2346 struct atom_clock_dividers dividers;
2374 0, false, ÷rs);
2376 pi->ref_div = dividers.ref_div + 1;