Lines Matching refs:dividers
322 struct atom_clock_dividers *dividers,
334 post_divider = dividers->post_div;
335 reference_divider = dividers->ref_div;
404 struct atom_clock_dividers dividers;
412 memory_clock, false, ÷rs);
416 if ((dividers.ref_div < 1) || (dividers.ref_div > 5))
421 ÷rs, &clkf, &clkfrac);
423 ret = rv770_encode_yclk_post_div(dividers.post_div, &postdiv_yclk);
434 mpll_ad_func_cntl |= CLKR(encoded_reference_dividers[dividers.ref_div - 1]);
440 if (dividers.vco_mode)
449 ÷rs, &clkf, &clkfrac);
453 ret = rv770_encode_yclk_post_div(dividers.post_div, &postdiv_yclk);
462 mpll_dq_func_cntl |= CLKR(encoded_reference_dividers[dividers.ref_div - 1]);
468 if (dividers.vco_mode)
490 struct atom_clock_dividers dividers;
508 engine_clock, false, ÷rs);
512 reference_divider = 1 + dividers.ref_div;
514 if (dividers.enable_post_div)
515 post_divider = (0x0f & (dividers.post_div >> 4)) + (0x0f & dividers.post_div) + 2;
523 if (dividers.enable_post_div)
528 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div);
529 spll_func_cntl |= SPLL_HILEN((dividers.post_div >> 4) & 0xf);
530 spll_func_cntl |= SPLL_LOLEN(dividers.post_div & 0xf);
2348 struct atom_clock_dividers dividers;
2376 0, false, ÷rs);
2378 pi->ref_div = dividers.ref_div + 1;