Lines Matching refs:dout
131 unsigned long f, dout, best_f, fvco;
160 dout = DIV_ROUND_CLOSEST(fvco, fout);
161 dout = clamp_t(unsigned long, dout, 1, 128 << fract_shift);
162 f = fvco / dout;
167 *best_dout = dout << (3 - fract_shift);
341 unsigned int d, m, dout;
350 axi_clkgen_calc_params(limits, parent_rate, rate, &d, &m, &dout);
352 if (d == 0 || dout == 0 || m == 0)
355 if ((dout & 0x7) != 0 || (m & 0x7) != 0)
363 axi_clkgen_calc_clk_params(dout >> 3, dout & 0x7, ¶ms);
392 unsigned int d, m, dout;
396 &d, &m, &dout);
398 if (d == 0 || dout == 0 || m == 0)
402 tmp = DIV_ROUND_CLOSEST_ULL(tmp, dout * d);
439 unsigned int d, m, dout;
443 dout = axi_clkgen_get_div(axi_clkgen, MMCM_REG_CLKOUT0_1,
454 if (d == 0 || dout == 0)
458 tmp = DIV_ROUND_CLOSEST_ULL(tmp, dout * d);