Lines Matching defs:dout
113 unsigned long f, dout, best_f, fvco;
142 dout = DIV_ROUND_CLOSEST(fvco, fout);
143 dout = clamp_t(unsigned long, dout, 1, 128 << fract_shift);
144 f = fvco / dout;
149 *best_dout = dout << (3 - fract_shift);
322 unsigned int d, m, dout;
331 axi_clkgen_calc_params(parent_rate, rate, &d, &m, &dout);
333 if (d == 0 || dout == 0 || m == 0)
336 if ((dout & 0x7) != 0 || (m & 0x7) != 0)
344 axi_clkgen_calc_clk_params(dout >> 3, dout & 0x7, ¶ms);
371 unsigned int d, m, dout;
374 axi_clkgen_calc_params(*parent_rate, rate, &d, &m, &dout);
376 if (d == 0 || dout == 0 || m == 0)
380 tmp = DIV_ROUND_CLOSEST_ULL(tmp, dout * d);
416 unsigned int d, m, dout;
420 dout = axi_clkgen_get_div(axi_clkgen, MMCM_REG_CLKOUT0_1,
431 if (d == 0 || dout == 0)
435 tmp = DIV_ROUND_CLOSEST_ULL(tmp, dout * d);