Searched refs:round_div (Results 1 – 5 of 5) sorted by relevance
/openbmc/u-boot/drivers/ddr/marvell/a38x/ |
H A D | mv_ddr_common.c | 32 int round_div(unsigned int dividend, unsigned int divisor, unsigned int *quotient) in round_div() function
|
H A D | mv_ddr_common.h | 52 int round_div(unsigned int dividend, unsigned int divisor, unsigned int *quotient);
|
/openbmc/linux/drivers/video/fbdev/aty/ |
H A D | aty128fb.c | 462 #define round_div(n, d) ((n+(d/2))/d) macro 965 par->constants.xclk = round_div((2 * Nx * par->constants.ref_clk), in aty128_timings() 1393 pll->feedback_divider = round_div(n, d); in aty128_var_to_pll() 1439 x = round_div(n, d); in aty128_ddafifo() 1461 x = round_div(n, d); in aty128_ddafifo()
|
H A D | radeon_base.c | 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()
|
H A D | radeonfb.h | 439 static inline int round_div(int num, int den) in round_div() function
|