Lines Matching refs:ydiv
997 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()
1049 text_map(map, xdiv, nice, a->p0.y / ydiv, a->p0.x, a->p1.x); in map_1d_info()
1053 static void map_2d_info(char **map, int xdiv, int ydiv, char *nice, in map_2d_info() argument
1058 text_map(map, xdiv, nice, (a->p0.y + a->p1.y) / 2 / ydiv, in map_2d_info()
1064 int xdiv = 2, ydiv = 1; in tiler_map_show() local
1084 h_adj = omap_dmm->container_height / ydiv; in tiler_map_show()
1107 fill_map(map, xdiv, ydiv, &block->area, in tiler_map_show()
1113 map_2d_info(map, xdiv, ydiv, nice, in tiler_map_show()
1117 ydiv, &block->area.p0) == ' '; in tiler_map_show()
1118 bool end = read_map_pt(map, xdiv, ydiv, in tiler_map_show()
1122 fill_map(map, xdiv, ydiv, &a, in tiler_map_show()
1124 fill_map_pt(map, xdiv, ydiv, in tiler_map_show()
1127 fill_map_pt(map, xdiv, ydiv, in tiler_map_show()
1130 map_1d_info(map, xdiv, ydiv, nice, in tiler_map_show()