Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/
H A Domap_dmm_tiler.c1009 static void fill_map(char **map, int xdiv, int ydiv, struct tcm_area *a, in fill_map() argument
1013 for (y = a->p0.y / ydiv; y <= a->p1.y / ydiv; y++) 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()
1046 static void map_1d_info(char **map, int xdiv, int ydiv, char *nice, in map_1d_info() argument
1051 text_map(map, xdiv, nice, (a->p0.y + a->p1.y) / 2 / ydiv, 0, in map_1d_info()
1055 text_map(map, xdiv, nice, a->p0.y / ydiv, in map_1d_info()
1058 text_map(map, xdiv, nice, a->p1.y / ydiv, in map_1d_info()
[all …]
/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga2/
H A Drga2_reg_info.c172 RK_U32 ydiv = 1, xdiv = 2; in RGA2_set_reg_src_info() local
271 case RGA2_FORMAT_YCbCr_422_SP : src0_format = 0x8; xdiv = 1; ydiv = 1; break; in RGA2_set_reg_src_info()
272 case RGA2_FORMAT_YCbCr_422_P : src0_format = 0x9; xdiv = 2; ydiv = 1; break; in RGA2_set_reg_src_info()
273 case RGA2_FORMAT_YCbCr_420_SP : src0_format = 0xa; xdiv = 1; ydiv = 2; break; in RGA2_set_reg_src_info()
274 case RGA2_FORMAT_YCbCr_420_P : src0_format = 0xb; xdiv = 2; ydiv = 2; break; in RGA2_set_reg_src_info()
275 … case RGA2_FORMAT_YCrCb_422_SP : src0_format = 0x8; xdiv = 1; ydiv = 1; src0_cbcr_swp = 1; break; in RGA2_set_reg_src_info()
276 … case RGA2_FORMAT_YCrCb_422_P : src0_format = 0x9; xdiv = 2; ydiv = 1; src0_cbcr_swp = 1; break; in RGA2_set_reg_src_info()
277 … case RGA2_FORMAT_YCrCb_420_SP : src0_format = 0xa; xdiv = 1; ydiv = 2; src0_cbcr_swp = 1; break; in RGA2_set_reg_src_info()
278 … case RGA2_FORMAT_YCrCb_420_P : src0_format = 0xb; xdiv = 2; ydiv = 2; src0_cbcr_swp = 1; break; in RGA2_set_reg_src_info()
280 case RGA2_FORMAT_YCbCr_420_SP_10B : src0_format = 0xa; xdiv = 1; ydiv = 2; yuv10 = 1; break; in RGA2_set_reg_src_info()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_plane.c644 int ydiv = i ? fb->format->vsub : 1; in atmel_hlcdc_plane_atomic_check() local
652 offset = (state->src_y / ydiv) * in atmel_hlcdc_plane_atomic_check()
656 state->xstride[i] = -(((state->src_h - 1) / ydiv) * in atmel_hlcdc_plane_atomic_check()
663 ydiv) * fb->pitches[i]; in atmel_hlcdc_plane_atomic_check()
672 ydiv) * fb->pitches[i]; in atmel_hlcdc_plane_atomic_check()
674 state->xstride[i] = ((state->src_h - 1) / ydiv) * in atmel_hlcdc_plane_atomic_check()
680 offset = (state->src_y / ydiv) * fb->pitches[i]; in atmel_hlcdc_plane_atomic_check()
/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga3/
H A Drga2_reg_info.c223 u32 ydiv = 1, xdiv = 2; in RGA2_set_reg_src_info() local
447 ydiv = 1; in RGA2_set_reg_src_info()
452 ydiv = 1; in RGA2_set_reg_src_info()
457 ydiv = 2; in RGA2_set_reg_src_info()
462 ydiv = 2; in RGA2_set_reg_src_info()
467 ydiv = 1; in RGA2_set_reg_src_info()
473 ydiv = 1; in RGA2_set_reg_src_info()
479 ydiv = 2; in RGA2_set_reg_src_info()
485 ydiv = 2; in RGA2_set_reg_src_info()
492 ydiv = 2; in RGA2_set_reg_src_info()
[all …]