Searched refs:xdiv (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.c | 1009 static void fill_map(char **map, int xdiv, int ydiv, struct tcm_area *a, in fill_map() argument 1014 for (x = a->p0.x / xdiv; x <= a->p1.x / xdiv; x++) in fill_map() 1019 static void fill_map_pt(char **map, int xdiv, int ydiv, struct tcm_pt *p, in fill_map_pt() argument 1022 map[p->y / ydiv][p->x / xdiv] = c; in fill_map_pt() 1025 static char read_map_pt(char **map, int xdiv, int ydiv, struct tcm_pt *p) in read_map_pt() argument 1027 return map[p->y / ydiv][p->x / xdiv]; in read_map_pt() 1030 static int map_width(int xdiv, int x0, int x1) in map_width() argument 1032 return (x1 / xdiv) - (x0 / xdiv) + 1; in map_width() 1035 static void text_map(char **map, int xdiv, char *nice, int yd, int x0, int x1) in text_map() argument 1037 char *p = map[yd] + (x0 / xdiv); in text_map() [all …]
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | cpufreq-nforce2.c | 88 unsigned char xmul, xdiv; in nforce2_calc_pll() local 94 for (xdiv = 2; xdiv <= 0x80; xdiv++) in nforce2_calc_pll() 96 if (nforce2_calc_fsb(NFORCE2_PLL(xmul, xdiv)) == in nforce2_calc_pll() 99 div = xdiv; in nforce2_calc_pll()
|
/kernel/linux/linux-5.10/drivers/media/tuners/ |
D | fc0012.c | 127 unsigned short xtal_freq_khz_2, xin, xdiv; in fc0012_set_params() local 202 xdiv = (unsigned short)(f_vco / xtal_freq_khz_2); in fc0012_set_params() 203 if ((f_vco - xdiv * xtal_freq_khz_2) >= (xtal_freq_khz_2 / 2)) in fc0012_set_params() 204 xdiv++; in fc0012_set_params() 206 pm = (unsigned char)(xdiv / 8); in fc0012_set_params() 207 am = (unsigned char)(xdiv - (8 * pm)); in fc0012_set_params()
|
D | fc0011.c | 171 u32 fvco, xin, frac, xdiv, xdivr; in fc0011_set_params() local 207 xdiv = fvco / 18000; in fc0011_set_params() 208 WARN_ON(xdiv > 0xFF); in fc0011_set_params() 209 frac = fvco - xdiv * 18000; in fc0011_set_params() 221 xdivr = xdiv; in fc0011_set_params() 222 if (fvco - xdiv * 18000 >= 9000) in fc0011_set_params()
|
D | fc0013.c | 218 unsigned short xtal_freq_khz_2, xin, xdiv; in fc0013_set_params() local 355 xdiv = (unsigned short)(f_vco / xtal_freq_khz_2); in fc0013_set_params() 356 if ((f_vco - xdiv * xtal_freq_khz_2) >= (xtal_freq_khz_2 / 2)) in fc0013_set_params() 357 xdiv++; in fc0013_set_params() 359 pm = (unsigned char)(xdiv / 8); in fc0013_set_params() 360 am = (unsigned char)(xdiv - (8 * pm)); in fc0013_set_params()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_plane.c | 643 int xdiv = i ? fb->format->hsub : 1; in atmel_hlcdc_plane_atomic_check() local 655 xdiv) * state->bpp[i]; in atmel_hlcdc_plane_atomic_check() 665 xdiv) * state->bpp[i]; in atmel_hlcdc_plane_atomic_check() 666 state->xstride[i] = ((((state->src_w - 1) / xdiv) - 1) * in atmel_hlcdc_plane_atomic_check() 673 offset += (state->src_x / xdiv) * state->bpp[i]; in atmel_hlcdc_plane_atomic_check() 681 offset += (state->src_x / xdiv) * state->bpp[i]; in atmel_hlcdc_plane_atomic_check() 683 ((state->src_w / xdiv) * in atmel_hlcdc_plane_atomic_check()
|