Home
last modified time | relevance | path

Searched refs:round_div (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/video/fbdev/aty/
Daty128fb.c462 #define round_div(n, d) ((n+(d/2))/d) macro
967 par->constants.xclk = round_div((2 * Nx * par->constants.ref_clk), in aty128_timings()
1395 pll->feedback_divider = round_div(n, d); in aty128_var_to_pll()
1441 x = round_div(n, d); in aty128_ddafifo()
1463 x = round_div(n, d); in aty128_ddafifo()
Dradeon_base.c694 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()
Dradeonfb.h439 static inline int round_div(int num, int den) in round_div() function