Searched refs:round_div (Results 1 – 2 of 2) sorted by relevance
694 sclk = round_div((2 * Ns * xtal), (2 * M)); in radeon_probe_pll_params()695 mclk = round_div((2 * Nm * xtal), (2 * M)); in radeon_probe_pll_params()1628 fb_div = round_div(rinfo->pll.ref_div*pll_output_freq, in radeon_calc_pll_regs()1846 hRatio = round_div(mode->xres * HORZ_STRETCH_RATIO_MAX, in radeonfb_set_par()1859 vRatio = round_div(mode->yres * VERT_STRETCH_RATIO_MAX, in radeonfb_set_par()
439 static inline int round_div(int num, int den) in round_div() function