Home
last modified time | relevance | path

Searched refs:ydiv (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c997 static void fill_map(char **map, int xdiv, int ydiv, struct tcm_area *a, in fill_map() argument
1001 for (y = a->p0.y / ydiv; y <= a->p1.y / ydiv; y++) in fill_map()
1007 static void fill_map_pt(char **map, int xdiv, int ydiv, struct tcm_pt *p, in fill_map_pt() argument
1010 map[p->y / ydiv][p->x / xdiv] = c; in fill_map_pt()
1013 static char read_map_pt(char **map, int xdiv, int ydiv, struct tcm_pt *p) in read_map_pt() argument
1015 return map[p->y / ydiv][p->x / xdiv]; in read_map_pt()
1034 static void map_1d_info(char **map, int xdiv, int ydiv, char *nice, in map_1d_info() argument
1039 text_map(map, xdiv, nice, (a->p0.y + a->p1.y) / 2 / ydiv, 0, in map_1d_info()
1043 text_map(map, xdiv, nice, a->p0.y / ydiv, in map_1d_info()
1046 text_map(map, xdiv, nice, a->p1.y / ydiv, in map_1d_info()
[all …]
/Linux-v6.6/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c647 int ydiv = i ? fb->format->vsub : 1; in atmel_hlcdc_plane_atomic_check() local
655 offset = (hstate->src_y / ydiv) * in atmel_hlcdc_plane_atomic_check()
659 hstate->xstride[i] = -(((hstate->src_h - 1) / ydiv) * in atmel_hlcdc_plane_atomic_check()
666 ydiv) * fb->pitches[i]; in atmel_hlcdc_plane_atomic_check()
675 ydiv) * fb->pitches[i]; in atmel_hlcdc_plane_atomic_check()
677 hstate->xstride[i] = ((hstate->src_h - 1) / ydiv) * in atmel_hlcdc_plane_atomic_check()
683 offset = (hstate->src_y / ydiv) * fb->pitches[i]; in atmel_hlcdc_plane_atomic_check()