/linux-4.4.14/drivers/media/platform/soc_camera/ |
D | soc_scale_crop.c | 41 int soc_camera_client_g_rect(struct v4l2_subdev *sd, struct v4l2_rect *rect) in soc_camera_client_g_rect() argument 51 *rect = crop.c; in soc_camera_client_g_rect() 60 *rect = cap.defrect; in soc_camera_client_g_rect() 67 static void update_subrect(struct v4l2_rect *rect, struct v4l2_rect *subrect) in update_subrect() argument 69 if (rect->width < subrect->width) in update_subrect() 70 subrect->width = rect->width; in update_subrect() 72 if (rect->height < subrect->height) in update_subrect() 73 subrect->height = rect->height; in update_subrect() 75 if (rect->left > subrect->left) in update_subrect() 76 subrect->left = rect->left; in update_subrect() [all …]
|
D | soc_scale_crop.h | 33 int soc_camera_client_g_rect(struct v4l2_subdev *sd, struct v4l2_rect *rect); 38 struct v4l2_rect *rect, struct v4l2_rect *subrect, 43 struct v4l2_rect *rect, struct v4l2_rect *subrect,
|
D | rcar_vin.c | 520 struct v4l2_rect rect; member 1365 struct v4l2_rect rect; in rcar_vin_get_formats() local 1374 ret = soc_camera_client_g_rect(sd, &rect); in rcar_vin_get_formats() 1377 rect.left = 0; in rcar_vin_get_formats() 1378 rect.top = 0; in rcar_vin_get_formats() 1379 rect.width = mf->width; in rcar_vin_get_formats() 1380 rect.height = mf->height; in rcar_vin_get_formats() 1420 cam->rect = rect; in rcar_vin_get_formats() 1421 cam->subrect = rect; in rcar_vin_get_formats() 1486 const struct v4l2_rect *rect = &a_writable.c; in rcar_vin_set_crop() local [all …]
|
D | sh_mobile_ceu_camera.c | 150 struct v4l2_rect rect; member 1091 struct v4l2_rect rect; in sh_mobile_ceu_get_formats() local 1103 ret = soc_camera_client_g_rect(sd, &rect); in sh_mobile_ceu_get_formats() 1145 cam->rect = rect; in sh_mobile_ceu_get_formats() 1146 cam->subrect = rect; in sh_mobile_ceu_get_formats() 1226 const struct v4l2_rect *rect = &a_writable.c; in sh_mobile_ceu_set_crop() local 1244 dev_geo(dev, "S_CROP(%ux%u@%u:%u)\n", rect->width, rect->height, in sh_mobile_ceu_set_crop() 1245 rect->left, rect->top); in sh_mobile_ceu_set_crop() 1256 &cam->rect, &cam->subrect); in sh_mobile_ceu_set_crop() 1279 interm_width = scale_down(rect->width, scale_cam_h); in sh_mobile_ceu_set_crop() [all …]
|
D | mx3_camera.c | 807 struct v4l2_rect *rect = &a_writable.c; in mx3_camera_set_crop() local 817 soc_camera_limit_side(&rect->left, &rect->width, 0, 2, 4096); in mx3_camera_set_crop() 818 soc_camera_limit_side(&rect->top, &rect->height, 0, 2, 4096); in mx3_camera_set_crop()
|
D | omap1_camera.c | 1222 const struct v4l2_rect *rect = &crop->c; in omap1_cam_set_crop() local 1237 rect->width, rect->height, rect->left, rect->top); in omap1_cam_set_crop()
|
D | mx2_camera.c | 915 struct v4l2_rect *rect = &a_writable.c; in mx2_camera_set_crop() local 923 soc_camera_limit_side(&rect->left, &rect->width, 0, 2, 4096); in mx2_camera_set_crop() 924 soc_camera_limit_side(&rect->top, &rect->height, 0, 2, 4096); in mx2_camera_set_crop()
|
D | pxa_camera.c | 1343 const struct v4l2_rect *rect = &a->c; in pxa_camera_set_crop() local 1370 rect->width, rect->height, rect->left, rect->top); in pxa_camera_set_crop()
|
D | soc_camera.c | 1059 const struct v4l2_rect *rect = &a->c; in soc_camera_s_crop() local 1067 rect->width, rect->height, rect->left, rect->top); in soc_camera_s_crop()
|
/linux-4.4.14/drivers/video/fbdev/sis/ |
D | sis_accel.c | 318 void fbcon_sis_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in fbcon_sis_fillrect() argument 331 cfb_fillrect(info, rect); in fbcon_sis_fillrect() 335 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) in fbcon_sis_fillrect() 339 width = ((rect->dx + rect->width) > vxres) ? (vxres - rect->dx) : rect->width; in fbcon_sis_fillrect() 340 height = ((rect->dy + rect->height) > vyres) ? (vyres - rect->dy) : rect->height; in fbcon_sis_fillrect() 343 case 8: col = rect->color; in fbcon_sis_fillrect() 346 case 32: col = ((u32 *)(info->pseudo_palette))[rect->color]; in fbcon_sis_fillrect() 353 SiS300SetupForSolidFill(ivideo, col, myrops[rect->rop]); in fbcon_sis_fillrect() 354 SiS300SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); in fbcon_sis_fillrect() 360 SiS310SetupForSolidFill(ivideo, col, myrops[rect->rop]); in fbcon_sis_fillrect() [all …]
|
D | sis_accel.h | 397 void fbcon_sis_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
|
D | sis_main.h | 684 const struct fb_fillrect *rect);
|
/linux-4.4.14/drivers/media/i2c/soc_camera/ |
D | mt9t031.c | 78 struct v4l2_rect rect; /* Sensor window */ member 202 struct v4l2_rect *rect, u16 xskip, u16 yskip) in mt9t031_set_params() argument 228 rect->left &= ~1; in mt9t031_set_params() 231 rect->left &= ~3; in mt9t031_set_params() 234 rect->left = rect->left > roundup(MT9T031_COLUMN_SKIP, 6) ? in mt9t031_set_params() 235 (rect->left / 6) * 6 : roundup(MT9T031_COLUMN_SKIP, 6); in mt9t031_set_params() 238 rect->top &= ~1; in mt9t031_set_params() 241 xskip, yskip, rect->width, rect->height, rect->left, rect->top); in mt9t031_set_params() 263 rect->left, rect->top); in mt9t031_set_params() 270 ret = reg_write(client, MT9T031_COLUMN_START, rect->left); in mt9t031_set_params() [all …]
|
D | mt9m111.c | 209 struct v4l2_rect rect; /* cropping rectangle */ member 319 struct mt9m111_context *ctx, struct v4l2_rect *rect, in mt9m111_setup_rect_ctx() argument 323 int ret = mt9m111_reg_write(client, ctx->reducer_xzoom, rect->width); in mt9m111_setup_rect_ctx() 325 ret = mt9m111_reg_write(client, ctx->reducer_yzoom, rect->height); in mt9m111_setup_rect_ctx() 333 static int mt9m111_setup_geometry(struct mt9m111 *mt9m111, struct v4l2_rect *rect, in mt9m111_setup_geometry() argument 339 ret = reg_write(COLUMN_START, rect->left); in mt9m111_setup_geometry() 341 ret = reg_write(ROW_START, rect->top); in mt9m111_setup_geometry() 344 ret = reg_write(WINDOW_WIDTH, rect->width); in mt9m111_setup_geometry() 346 ret = reg_write(WINDOW_HEIGHT, rect->height); in mt9m111_setup_geometry() 352 rect, width, height); in mt9m111_setup_geometry() [all …]
|
D | ov6650.c | 201 struct v4l2_rect rect; /* sensor cropping window */ member 441 a->c = priv->rect; in ov6650_g_crop() 450 struct v4l2_rect rect = a->c; in ov6650_s_crop() local 456 rect.left = ALIGN(rect.left, 2); in ov6650_s_crop() 457 rect.width = ALIGN(rect.width, 2); in ov6650_s_crop() 458 rect.top = ALIGN(rect.top, 2); in ov6650_s_crop() 459 rect.height = ALIGN(rect.height, 2); in ov6650_s_crop() 460 soc_camera_limit_side(&rect.left, &rect.width, in ov6650_s_crop() 462 soc_camera_limit_side(&rect.top, &rect.height, in ov6650_s_crop() 465 ret = ov6650_reg_write(client, REG_HSTRT, rect.left >> 1); in ov6650_s_crop() [all …]
|
D | mt9m001.c | 96 struct v4l2_rect rect; /* Sensor window */ member 178 struct v4l2_rect rect = a->c; in mt9m001_s_crop() local 187 rect.height = ALIGN(rect.height, 2); in mt9m001_s_crop() 190 rect.width = ALIGN(rect.width, 2); in mt9m001_s_crop() 191 rect.left = ALIGN(rect.left, 2); in mt9m001_s_crop() 193 soc_camera_limit_side(&rect.left, &rect.width, in mt9m001_s_crop() 196 soc_camera_limit_side(&rect.top, &rect.height, in mt9m001_s_crop() 199 mt9m001->total_h = rect.height + mt9m001->y_skip_top + vblank; in mt9m001_s_crop() 211 ret = reg_write(client, MT9M001_COLUMN_START, rect.left); in mt9m001_s_crop() 213 ret = reg_write(client, MT9M001_ROW_START, rect.top); in mt9m001_s_crop() [all …]
|
D | mt9v022.c | 156 struct v4l2_rect rect; /* Sensor window */ member 283 struct v4l2_rect rect = a->c; in mt9v022_s_crop() local 289 rect.width = ALIGN(rect.width, 2); in mt9v022_s_crop() 290 rect.height = ALIGN(rect.height, 2); in mt9v022_s_crop() 294 soc_camera_limit_side(&rect.left, &rect.width, in mt9v022_s_crop() 297 soc_camera_limit_side(&rect.top, &rect.height, in mt9v022_s_crop() 305 rect.height + mt9v022->y_skip_top + 43); in mt9v022_s_crop() 317 ret = reg_write(client, MT9V022_COLUMN_START, rect.left); in mt9v022_s_crop() 319 ret = reg_write(client, MT9V022_ROW_START, rect.top); in mt9v022_s_crop() 333 rect.width > min_row - min_blank ? in mt9v022_s_crop() [all …]
|
D | ov772x.c | 390 struct v4l2_rect rect; member 489 .rect = { 498 .rect = { 669 u32 diff = abs(width - ov772x_win_sizes[i].rect.width) in ov772x_select_win() 670 + abs(height - ov772x_win_sizes[i].rect.height); in ov772x_select_win() 761 ret = ov772x_write(client, HSTART, win->rect.left >> 2); in ov772x_set_params() 764 ret = ov772x_write(client, HSIZE, win->rect.width >> 2); in ov772x_set_params() 767 ret = ov772x_write(client, VSTART, win->rect.top >> 1); in ov772x_set_params() 770 ret = ov772x_write(client, VSIZE, win->rect.height >> 1); in ov772x_set_params() 773 ret = ov772x_write(client, HOUTSIZE, win->rect.width >> 2); in ov772x_set_params() [all …]
|
D | ov5642.c | 857 struct v4l2_rect rect = a->c; in ov5642_s_crop() local 860 v4l_bound_align_image(&rect.width, 48, OV5642_MAX_WIDTH, 1, in ov5642_s_crop() 861 &rect.height, 32, OV5642_MAX_HEIGHT, 1, 0); in ov5642_s_crop() 863 priv->crop_rect.width = rect.width; in ov5642_s_crop() 864 priv->crop_rect.height = rect.height; in ov5642_s_crop() 865 priv->total_width = rect.width + BLANKING_EXTRA_WIDTH; in ov5642_s_crop() 866 priv->total_height = max_t(int, rect.height + in ov5642_s_crop() 869 priv->crop_rect.width = rect.width; in ov5642_s_crop() 870 priv->crop_rect.height = rect.height; in ov5642_s_crop() 885 struct v4l2_rect *rect = &a->c; in ov5642_g_crop() local [all …]
|
D | rj54n1cb0c.c | 157 struct v4l2_rect rect; /* Sensor window */ member 545 const struct v4l2_rect *rect = &a->c; in rj54n1_s_crop() local 547 input_w = rect->width, input_h = rect->height; in rj54n1_s_crop() 570 rj54n1->rect.width = input_w; in rj54n1_s_crop() 571 rj54n1->rect.height = input_h; in rj54n1_s_crop() 581 a->c = rj54n1->rect; in rj54n1_g_crop() 977 input_w = rj54n1->rect.width, input_h = rj54n1->rect.height; in rj54n1_set_fmt() 1108 rj54n1->rect.width = input_w; in rj54n1_set_fmt() 1109 rj54n1->rect.height = input_h; in rj54n1_set_fmt() 1350 rj54n1->rect.left = RJ54N1_COLUMN_SKIP; in rj54n1_probe() [all …]
|
D | imx074.c | 214 struct v4l2_rect *rect = &a->c; in imx074_g_crop() local 217 rect->top = 0; in imx074_g_crop() 218 rect->left = 0; in imx074_g_crop() 219 rect->width = IMX074_WIDTH; in imx074_g_crop() 220 rect->height = IMX074_HEIGHT; in imx074_g_crop()
|
D | mt9t112.c | 842 const struct v4l2_rect *rect, in mt9t112_set_params() argument 857 priv->frame = *rect; in mt9t112_set_params() 902 const struct v4l2_rect *rect = &a->c; in mt9t112_s_crop() local 904 return mt9t112_set_params(priv, rect, priv->format->code); in mt9t112_s_crop() 932 struct v4l2_rect rect = { in mt9t112_s_fmt() local 940 ret = mt9t112_set_params(priv, &rect, mf->code); in mt9t112_s_fmt() 1092 struct v4l2_rect rect = { in mt9t112_probe() local 1121 mt9t112_set_params(priv, &rect, MEDIA_BUS_FMT_UYVY8_2X8); in mt9t112_probe()
|
/linux-4.4.14/drivers/video/fbdev/savage/ |
D | savagefb_accel.c | 65 void savagefb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in savagefb_fillrect() argument 70 if (!rect->width || !rect->height) in savagefb_fillrect() 74 color = rect->color; in savagefb_fillrect() 76 color = ((u32 *)info->pseudo_palette)[rect->color]; in savagefb_fillrect() 83 BCI_CMD_SET_ROP(cmd, savagefb_rop[rect->rop]); in savagefb_fillrect() 88 BCI_SEND( BCI_X_Y(rect->dx, rect->dy) ); in savagefb_fillrect() 89 BCI_SEND( BCI_W_H(rect->width, rect->height) ); in savagefb_fillrect()
|
D | savagefb.h | 402 const struct fb_fillrect *rect);
|
/linux-4.4.14/drivers/media/i2c/ |
D | tvp5150.c | 39 struct v4l2_rect rect; member 747 decoder->rect.height = TVP5150_V_MAX_525_60; in tvp5150_s_std() 749 decoder->rect.height = TVP5150_V_MAX_OTHERS; in tvp5150_s_std() 846 f->width = decoder->rect.width; in tvp5150_fill_fmt() 847 f->height = decoder->rect.height; in tvp5150_fill_fmt() 860 struct v4l2_rect rect = a->c; in tvp5150_s_crop() local 866 __func__, rect.left, rect.top, rect.width, rect.height); in tvp5150_s_crop() 872 rect.left = clamp(rect.left, 0, TVP5150_MAX_CROP_LEFT); in tvp5150_s_crop() 873 rect.width = clamp_t(unsigned int, rect.width, in tvp5150_s_crop() 874 TVP5150_H_MAX - TVP5150_MAX_CROP_LEFT - rect.left, in tvp5150_s_crop() [all …]
|
D | mt9m032.c | 448 struct v4l2_rect rect; in mt9m032_set_pad_selection() local 464 rect.left = clamp(ALIGN(sel->r.left, 2), MT9M032_COLUMN_START_MIN, in mt9m032_set_pad_selection() 466 rect.top = clamp(ALIGN(sel->r.top, 2), MT9M032_ROW_START_MIN, in mt9m032_set_pad_selection() 468 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9m032_set_pad_selection() 470 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9m032_set_pad_selection() 473 rect.width = min_t(unsigned int, rect.width, in mt9m032_set_pad_selection() 474 MT9M032_PIXEL_ARRAY_WIDTH - rect.left); in mt9m032_set_pad_selection() 475 rect.height = min_t(unsigned int, rect.height, in mt9m032_set_pad_selection() 476 MT9M032_PIXEL_ARRAY_HEIGHT - rect.top); in mt9m032_set_pad_selection() 480 if (rect.width != __crop->width || rect.height != __crop->height) { in mt9m032_set_pad_selection() [all …]
|
D | mt9t001.c | 424 struct v4l2_rect rect; in mt9t001_set_selection() local 432 rect.left = clamp(ALIGN(sel->r.left, 2), in mt9t001_set_selection() 435 rect.top = clamp(ALIGN(sel->r.top, 2), in mt9t001_set_selection() 438 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9t001_set_selection() 441 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9t001_set_selection() 445 rect.width = min_t(unsigned int, rect.width, in mt9t001_set_selection() 446 MT9T001_PIXEL_ARRAY_WIDTH - rect.left); in mt9t001_set_selection() 447 rect.height = min_t(unsigned int, rect.height, in mt9t001_set_selection() 448 MT9T001_PIXEL_ARRAY_HEIGHT - rect.top); in mt9t001_set_selection() 452 if (rect.width != __crop->width || rect.height != __crop->height) { in mt9t001_set_selection() [all …]
|
D | mt9v032.c | 578 struct v4l2_rect rect; in mt9v032_set_selection() local 586 rect.left = clamp(ALIGN(sel->r.left + 1, 2) - 1, in mt9v032_set_selection() 589 rect.top = clamp(ALIGN(sel->r.top + 1, 2) - 1, in mt9v032_set_selection() 592 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9v032_set_selection() 595 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9v032_set_selection() 599 rect.width = min_t(unsigned int, in mt9v032_set_selection() 600 rect.width, MT9V032_PIXEL_ARRAY_WIDTH - rect.left); in mt9v032_set_selection() 601 rect.height = min_t(unsigned int, in mt9v032_set_selection() 602 rect.height, MT9V032_PIXEL_ARRAY_HEIGHT - rect.top); in mt9v032_set_selection() 606 if (rect.width != __crop->width || rect.height != __crop->height) { in mt9v032_set_selection() [all …]
|
D | mt9p031.c | 604 struct v4l2_rect rect; in mt9p031_set_selection() local 612 rect.left = clamp(ALIGN(sel->r.left, 2), MT9P031_COLUMN_START_MIN, in mt9p031_set_selection() 614 rect.top = clamp(ALIGN(sel->r.top, 2), MT9P031_ROW_START_MIN, in mt9p031_set_selection() 616 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9p031_set_selection() 619 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9p031_set_selection() 623 rect.width = min_t(unsigned int, rect.width, in mt9p031_set_selection() 624 MT9P031_PIXEL_ARRAY_WIDTH - rect.left); in mt9p031_set_selection() 625 rect.height = min_t(unsigned int, rect.height, in mt9p031_set_selection() 626 MT9P031_PIXEL_ARRAY_HEIGHT - rect.top); in mt9p031_set_selection() 630 if (rect.width != __crop->width || rect.height != __crop->height) { in mt9p031_set_selection() [all …]
|
D | s5k6aa.c | 1169 struct v4l2_rect *rect; in s5k6aa_get_selection() local 1177 rect = __s5k6aa_get_crop_rect(s5k6aa, cfg, sel->which); in s5k6aa_get_selection() 1178 sel->r = *rect; in s5k6aa_get_selection() 1182 rect->left, rect->top, rect->width, rect->height); in s5k6aa_get_selection()
|
/linux-4.4.14/drivers/video/fbdev/mb862xx/ |
D | mb862xxfb_accel.c | 257 const struct fb_fillrect *rect) in mb86290fb_fillrect() argument 266 if (!rect->width || !rect->height || rect->dx > vxres in mb86290fb_fillrect() 267 || rect->dy > vyres) in mb86290fb_fillrect() 272 x2 = rect->dx + rect->width; in mb86290fb_fillrect() 273 y2 = rect->dy + rect->height; in mb86290fb_fillrect() 276 width = x2 - rect->dx; in mb86290fb_fillrect() 277 height = y2 - rect->dy; in mb86290fb_fillrect() 280 fg = ((u32 *) (info->pseudo_palette))[rect->color]; in mb86290fb_fillrect() 282 fg = rect->color; in mb86290fb_fillrect() 284 switch (rect->rop) { in mb86290fb_fillrect() [all …]
|
/linux-4.4.14/drivers/video/console/ |
D | tileblit.c | 37 struct fb_tilerect rect; in tile_clear() local 41 rect.index = vc->vc_video_erase_char & in tile_clear() 43 rect.fg = attr_fgcol_ec(fgshift, vc, info); in tile_clear() 44 rect.bg = attr_bgcol_ec(bgshift, vc, info); in tile_clear() 45 rect.sx = sx; in tile_clear() 46 rect.sy = sy; in tile_clear() 47 rect.width = width; in tile_clear() 48 rect.height = height; in tile_clear() 49 rect.rop = ROP_COPY; in tile_clear() 51 info->tileops->fb_tilefill(info, &rect); in tile_clear()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nv50_fbcon.c | 30 nv50_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in nv50_fbcon_fillrect() argument 37 ret = RING_SPACE(chan, rect->rop == ROP_COPY ? 7 : 11); in nv50_fbcon_fillrect() 41 if (rect->rop != ROP_COPY) { in nv50_fbcon_fillrect() 48 OUT_RING(chan, ((uint32_t *)info->pseudo_palette)[rect->color]); in nv50_fbcon_fillrect() 50 OUT_RING(chan, rect->color); in nv50_fbcon_fillrect() 52 OUT_RING(chan, rect->dx); in nv50_fbcon_fillrect() 53 OUT_RING(chan, rect->dy); in nv50_fbcon_fillrect() 54 OUT_RING(chan, rect->dx + rect->width); in nv50_fbcon_fillrect() 55 OUT_RING(chan, rect->dy + rect->height); in nv50_fbcon_fillrect() 56 if (rect->rop != ROP_COPY) { in nv50_fbcon_fillrect()
|
D | nvc0_fbcon.c | 30 nvc0_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in nvc0_fbcon_fillrect() argument 37 ret = RING_SPACE(chan, rect->rop == ROP_COPY ? 7 : 11); in nvc0_fbcon_fillrect() 41 if (rect->rop != ROP_COPY) { in nvc0_fbcon_fillrect() 48 OUT_RING (chan, ((uint32_t *)info->pseudo_palette)[rect->color]); in nvc0_fbcon_fillrect() 50 OUT_RING (chan, rect->color); in nvc0_fbcon_fillrect() 52 OUT_RING (chan, rect->dx); in nvc0_fbcon_fillrect() 53 OUT_RING (chan, rect->dy); in nvc0_fbcon_fillrect() 54 OUT_RING (chan, rect->dx + rect->width); in nvc0_fbcon_fillrect() 55 OUT_RING (chan, rect->dy + rect->height); in nvc0_fbcon_fillrect() 56 if (rect->rop != ROP_COPY) { in nvc0_fbcon_fillrect()
|
D | nouveau_fbcon.c | 59 nouveau_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in nouveau_fbcon_fillrect() argument 73 ret = nv04_fbcon_fillrect(info, rect); in nouveau_fbcon_fillrect() 76 ret = nv50_fbcon_fillrect(info, rect); in nouveau_fbcon_fillrect() 78 ret = nvc0_fbcon_fillrect(info, rect); in nouveau_fbcon_fillrect() 87 drm_fb_helper_cfb_fillrect(info, rect); in nouveau_fbcon_fillrect() 317 struct fb_fillrect rect; in nouveau_fbcon_zfill() local 323 rect.dx = rect.dy = 0; in nouveau_fbcon_zfill() 324 rect.width = info->var.xres_virtual; in nouveau_fbcon_zfill() 325 rect.height = info->var.yres_virtual; in nouveau_fbcon_zfill() 326 rect.color = 0; in nouveau_fbcon_zfill() [all …]
|
D | nv04_fbcon.c | 50 nv04_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in nv04_fbcon_fillrect() argument 62 OUT_RING(chan, (rect->rop != ROP_COPY) ? 1 : 3); in nv04_fbcon_fillrect() 66 OUT_RING(chan, ((uint32_t *)info->pseudo_palette)[rect->color]); in nv04_fbcon_fillrect() 68 OUT_RING(chan, rect->color); in nv04_fbcon_fillrect() 70 OUT_RING(chan, (rect->dx << 16) | rect->dy); in nv04_fbcon_fillrect() 71 OUT_RING(chan, (rect->width << 16) | rect->height); in nv04_fbcon_fillrect()
|
D | nouveau_fbcon.h | 52 int nv04_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect); 56 int nv50_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect); 61 int nvc0_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
|
/linux-4.4.14/drivers/gpu/drm/qxl/ |
D | qxl_draw.c | 77 const struct qxl_rect *rect, in make_drawable() argument 108 if (rect) in make_drawable() 109 drawable->bbox = *rect; in make_drawable() 160 struct qxl_rect rect; in qxl_draw_opaque_fb() local 197 rect.left = x; in qxl_draw_opaque_fb() 198 rect.right = x + width; in qxl_draw_opaque_fb() 199 rect.top = y; in qxl_draw_opaque_fb() 200 rect.bottom = y + height; in qxl_draw_opaque_fb() 202 ret = make_drawable(qdev, 0, QXL_DRAW_COPY, &rect, release); in qxl_draw_opaque_fb() 409 struct qxl_rect rect; in qxl_draw_copyarea() local [all …]
|
D | qxl_fb.c | 199 const struct fb_fillrect *rect) in qxl_fb_fillrect() argument 203 drm_fb_helper_sys_fillrect(info, rect); in qxl_fb_fillrect() 204 qxl_dirty_update(qfbdev, rect->dx, rect->dy, rect->width, in qxl_fb_fillrect() 205 rect->height); in qxl_fb_fillrect()
|
D | qxl_cmd.c | 583 struct qxl_rect rect; in qxl_update_surface() local 588 rect.left = 0; in qxl_update_surface() 589 rect.right = surf->surf.width; in qxl_update_surface() 590 rect.top = 0; in qxl_update_surface() 591 rect.bottom = surf->surf.height; in qxl_update_surface() 593 ret = qxl_io_update_area(qdev, surf, &rect); in qxl_update_surface()
|
D | qxl_drv.h | 221 struct qxl_rect rect; member
|
/linux-4.4.14/drivers/gpu/ipu-v3/ |
D | ipu-cpmem.c | 680 ipu_cpmem_set_resolution(ch, image->rect.width, image->rect.height); in ipu_cpmem_set_image() 688 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image() 689 u_offset = U_OFFSET(pix, image->rect.left, in ipu_cpmem_set_image() 690 image->rect.top) - offset; in ipu_cpmem_set_image() 691 v_offset = V_OFFSET(pix, image->rect.left, in ipu_cpmem_set_image() 692 image->rect.top) - offset; in ipu_cpmem_set_image() 699 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image() 700 u_offset = U2_OFFSET(pix, image->rect.left, in ipu_cpmem_set_image() 701 image->rect.top) - offset; in ipu_cpmem_set_image() 702 v_offset = V2_OFFSET(pix, image->rect.left, in ipu_cpmem_set_image() [all …]
|
/linux-4.4.14/drivers/video/fbdev/ |
D | wmt_ge_rops.c | 49 void wmt_ge_fillrect(struct fb_info *p, const struct fb_fillrect *rect) in wmt_ge_fillrect() argument 58 fg = ((u32 *) (p->pseudo_palette))[rect->color]; in wmt_ge_fillrect() 60 fg = rect->color; in wmt_ge_fillrect() 73 writel(rect->dx, regbase + GE_DESTAREAX_OFF); in wmt_ge_fillrect() 74 writel(rect->dy, regbase + GE_DESTAREAY_OFF); in wmt_ge_fillrect() 75 writel(rect->width - 1, regbase + GE_DESTAREAW_OFF); in wmt_ge_fillrect() 76 writel(rect->height - 1, regbase + GE_DESTAREAH_OFF); in wmt_ge_fillrect() 80 writel(rect->rop == ROP_XOR ? 0x5a : 0xf0, regbase + GE_ROPCODE_OFF); in wmt_ge_fillrect()
|
D | hitfb.c | 125 static void hitfb_fillrect(struct fb_info *p, const struct fb_fillrect *rect) in hitfb_fillrect() argument 127 if (rect->rop != ROP_COPY) in hitfb_fillrect() 128 cfb_fillrect(p, rect); in hitfb_fillrect() 135 fb_writew(((u32 *) (p->pseudo_palette))[rect->color], in hitfb_fillrect() 137 hitfb_accel_set_dest(1, rect->dx, rect->dy, rect->width, in hitfb_fillrect() 138 rect->height); in hitfb_fillrect() 141 fb_writew(rect->color, HD64461_GRSCR); in hitfb_fillrect() 142 hitfb_accel_set_dest(0, rect->dx, rect->dy, rect->width, in hitfb_fillrect() 143 rect->height); in hitfb_fillrect()
|
D | wmt_ge_rops.h | 4 const struct fb_fillrect *rect); 17 const struct fb_fillrect *rect) in wmt_ge_fillrect() argument 19 sys_fillrect(p, rect); in wmt_ge_fillrect()
|
D | vga16fb.c | 827 static void vga_8planes_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in vga_8planes_fillrect() argument 829 u32 dx = rect->dx, width = rect->width; in vga_8planes_fillrect() 838 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect() 840 if (rect->rop == ROP_COPY) { in vga_8planes_fillrect() 848 height = rect->height; in vga_8planes_fillrect() 855 writeb(rect->color, where); in vga_8planes_fillrect() 867 for (y = 0; y < rect->height; y++) { in vga_8planes_fillrect() 881 static void vga16fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in vga16fb_fillrect() argument 889 if (!rect->width || !rect->height || rect->dx > vxres || rect->dy > vyres) in vga16fb_fillrect() 895 x2 = rect->dx + rect->width; in vga16fb_fillrect() [all …]
|
D | s1d13xxxfb.c | 534 s1d13xxxfb_bitblt_solidfill(struct fb_info *info, const struct fb_fillrect *rect) in s1d13xxxfb_bitblt_solidfill() argument 547 dest = ((rect->dy * screen_stride) + (bpp * rect->dx)); in s1d13xxxfb_bitblt_solidfill() 551 rect->dx, rect->dy, screen_stride, dest, in s1d13xxxfb_bitblt_solidfill() 552 rect->width - 1, rect->height - 1); in s1d13xxxfb_bitblt_solidfill() 557 dbg_blit("(solidfill) : rop=%d\n", rect->rop); in s1d13xxxfb_bitblt_solidfill() 565 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_WIDTH0, ((rect->width) & 0x00ff) - 1); in s1d13xxxfb_bitblt_solidfill() 566 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_WIDTH1, (rect->width >> 8)); in s1d13xxxfb_bitblt_solidfill() 569 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_HEIGHT0, ((rect->height) & 0x00ff) - 1); in s1d13xxxfb_bitblt_solidfill() 570 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_HEIGHT1, (rect->height >> 8)); in s1d13xxxfb_bitblt_solidfill() 574 fg = ((u32 *)info->pseudo_palette)[rect->color]; in s1d13xxxfb_bitblt_solidfill() [all …]
|
D | hgafb.c | 456 static void hgafb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in hgafb_fillrect() argument 461 y = rect->dy; in hgafb_fillrect() 463 for (rows = rect->height; rows--; y++) { in hgafb_fillrect() 464 dest = rowaddr(info, y) + (rect->dx >> 3); in hgafb_fillrect() 465 switch (rect->rop) { in hgafb_fillrect() 467 memset_io(dest, rect->color, (rect->width >> 3)); in hgafb_fillrect()
|
D | vt8623fb.c | 169 static void vt8623fb_iplan_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in vt8623fb_iplan_fillrect() argument 171 u32 fg = expand_color(rect->color); in vt8623fb_iplan_fillrect() 176 dst1 = info->screen_base + (rect->dy * info->fix.line_length) in vt8623fb_iplan_fillrect() 177 + ((rect->dx / 8) * 4); in vt8623fb_iplan_fillrect() 179 for (y = 0; y < rect->height; y++) { in vt8623fb_iplan_fillrect() 181 for (x = 0; x < rect->width; x += 8) { in vt8623fb_iplan_fillrect() 236 static void vt8623fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in vt8623fb_fillrect() argument 239 && ((rect->width % 8) == 0) && ((rect->dx % 8) == 0) in vt8623fb_fillrect() 241 vt8623fb_iplan_fillrect(info, rect); in vt8623fb_fillrect() 243 cfb_fillrect(info, rect); in vt8623fb_fillrect()
|
D | hyperv_fb.c | 174 struct rect { struct 182 struct rect rect[1]; argument 336 msg.dirt.rect[0].x1 = 0; in synthvid_update() 337 msg.dirt.rect[0].y1 = 0; in synthvid_update() 338 msg.dirt.rect[0].x2 = info->var.xres; in synthvid_update() 339 msg.dirt.rect[0].y2 = info->var.yres; in synthvid_update() 606 const struct fb_fillrect *rect) in hvfb_cfb_fillrect() argument 610 cfb_fillrect(p, rect); in hvfb_cfb_fillrect()
|
D | arcfb.c | 366 const struct fb_fillrect *rect) in arcfb_fillrect() argument 370 sys_fillrect(info, rect); in arcfb_fillrect() 373 arcfb_lcd_update(par, rect->dx, rect->dy, rect->width, rect->height); in arcfb_fillrect()
|
D | arkfb.c | 203 static void arkfb_iplan_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in arkfb_iplan_fillrect() argument 205 u32 fg = expand_color(rect->color); in arkfb_iplan_fillrect() 210 dst1 = info->screen_base + (rect->dy * info->fix.line_length) in arkfb_iplan_fillrect() 211 + ((rect->dx / 8) * 4); in arkfb_iplan_fillrect() 213 for (y = 0; y < rect->height; y++) { in arkfb_iplan_fillrect() 215 for (x = 0; x < rect->width; x += 8) { in arkfb_iplan_fillrect() 272 static void arkfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in arkfb_fillrect() argument 275 && ((rect->width % 8) == 0) && ((rect->dx % 8) == 0) in arkfb_fillrect() 277 arkfb_iplan_fillrect(info, rect); in arkfb_fillrect() 279 cfb_fillrect(info, rect); in arkfb_fillrect()
|
D | tmiofb.c | 437 tmiofb_fillrect(struct fb_info *fbi, const struct fb_fillrect *rect) in tmiofb_fillrect() argument 440 TMIOFB_ACC_DSADR((rect->dy * fbi->mode->xres + rect->dx) * 2), in tmiofb_fillrect() 441 TMIOFB_ACC_DHPIX(rect->width - 1), in tmiofb_fillrect() 442 TMIOFB_ACC_DVPIX(rect->height - 1), in tmiofb_fillrect() 443 TMIOFB_ACC_FILL(rect->color), in tmiofb_fillrect() 449 cfb_fillrect(fbi, rect); in tmiofb_fillrect() 479 const struct fb_fillrect rect = { in tmiofb_clearscreen() local 488 info->fbops->fb_fillrect(info, &rect); in tmiofb_clearscreen()
|
D | ffb.c | 475 static void ffb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in ffb_fillrect() argument 482 BUG_ON(rect->rop != ROP_COPY && rect->rop != ROP_XOR); in ffb_fillrect() 484 fg = ((u32 *)info->pseudo_palette)[rect->color]; in ffb_fillrect() 494 ffb_rop(par, rect->rop == ROP_COPY ? in ffb_fillrect() 500 upa_writel(rect->dy, &fbc->by); in ffb_fillrect() 501 upa_writel(rect->dx, &fbc->bx); in ffb_fillrect() 502 upa_writel(rect->height, &fbc->bh); in ffb_fillrect() 503 upa_writel(rect->width, &fbc->bw); in ffb_fillrect()
|
D | cg6.c | 316 static void cg6_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in cg6_fillrect() argument 329 sbus_writel(rect->color, &fbc->fg); in cg6_fillrect() 335 sbus_writel(rect->dy, &fbc->arecty); in cg6_fillrect() 336 sbus_writel(rect->dx, &fbc->arectx); in cg6_fillrect() 337 sbus_writel(rect->dy + rect->height, &fbc->arecty); in cg6_fillrect() 338 sbus_writel(rect->dx + rect->width, &fbc->arectx); in cg6_fillrect()
|
D | atafb.c | 96 const struct fb_fillrect *rect); 2501 static void atafb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in atafb_fillrect() argument 2507 if (!rect->width || !rect->height) in atafb_fillrect() 2512 cfb_fillrect(info, rect); in atafb_fillrect() 2521 x2 = rect->dx + rect->width; in atafb_fillrect() 2522 y2 = rect->dy + rect->height; in atafb_fillrect() 2525 width = x2 - rect->dx; in atafb_fillrect() 2526 height = y2 - rect->dy; in atafb_fillrect() 2529 atafb_mfb_fillrect(info, par->next_line, rect->color, in atafb_fillrect() 2530 rect->dy, rect->dx, height, width); in atafb_fillrect() [all …]
|
D | xen-fbfront.c | 243 static void xenfb_fillrect(struct fb_info *p, const struct fb_fillrect *rect) in xenfb_fillrect() argument 247 sys_fillrect(p, rect); in xenfb_fillrect() 248 xenfb_refresh(info, rect->dx, rect->dy, rect->width, rect->height); in xenfb_fillrect()
|
D | s3fb.c | 376 static void s3fb_iplan_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in s3fb_iplan_fillrect() argument 378 u32 fg = expand_color(rect->color); in s3fb_iplan_fillrect() 383 dst1 = info->screen_base + (rect->dy * info->fix.line_length) in s3fb_iplan_fillrect() 384 + ((rect->dx / 8) * 4); in s3fb_iplan_fillrect() 386 for (y = 0; y < rect->height; y++) { in s3fb_iplan_fillrect() 388 for (x = 0; x < rect->width; x += 8) { in s3fb_iplan_fillrect() 443 static void s3fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in s3fb_fillrect() argument 446 && ((rect->width % 8) == 0) && ((rect->dx % 8) == 0) in s3fb_fillrect() 448 s3fb_iplan_fillrect(info, rect); in s3fb_fillrect() 450 cfb_fillrect(info, rect); in s3fb_fillrect()
|
D | sm501fb.c | 1382 static void sm501fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in sm501fb_fillrect() argument 1386 int width = rect->width, height = rect->height; in sm501fb_fillrect() 1388 if ((rect->dx >= info->var.xres_virtual) || in sm501fb_fillrect() 1389 (rect->dy >= info->var.yres_virtual)) in sm501fb_fillrect() 1392 if ((rect->dx + width) >= info->var.xres_virtual) in sm501fb_fillrect() 1393 width = info->var.xres_virtual - rect->dx - 1; in sm501fb_fillrect() 1394 if ((rect->dy + height) >= info->var.yres_virtual) in sm501fb_fillrect() 1395 height = info->var.yres_virtual - rect->dy - 1; in sm501fb_fillrect() 1433 smc501_writel(rect->color, fbi->regs2d + SM501_2D_FOREGROUND); in sm501fb_fillrect() 1436 smc501_writel((rect->dx << 16) | rect->dy, in sm501fb_fillrect()
|
D | neofb.c | 1361 neo2200_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in neo2200_fillrect() argument 1366 dst = rect->dx + rect->dy * info->var.xres_virtual; in neo2200_fillrect() 1367 rop = rect->rop ? 0x060000 : 0x0c0000; in neo2200_fillrect() 1380 writel(rect->color, &par->neo2200->fgColor); in neo2200_fillrect() 1384 writel(((u32 *) (info->pseudo_palette))[rect->color], in neo2200_fillrect() 1391 writel((rect->height << 16) | (rect->width & 0xffff), in neo2200_fillrect() 1493 neofb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in neofb_fillrect() argument 1500 neo2200_fillrect(info, rect); in neofb_fillrect() 1503 cfb_fillrect(info, rect); in neofb_fillrect()
|
D | hecubafb.c | 125 const struct fb_fillrect *rect) in hecubafb_fillrect() argument 129 sys_fillrect(info, rect); in hecubafb_fillrect()
|
D | sunxvr500.c | 162 static void e3d_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in e3d_fillrect() argument 168 cfb_fillrect(info, rect); in e3d_fillrect() 170 cfb_fillrect(info, rect); in e3d_fillrect()
|
D | tdfxfb.c | 844 const struct fb_fillrect *rect) in tdfxfb_fillrect() argument 851 u32 dx = rect->dx; in tdfxfb_fillrect() 852 u32 dy = rect->dy; in tdfxfb_fillrect() 855 if (rect->rop == ROP_COPY) in tdfxfb_fillrect() 861 if (dy + rect->height > 4095) { in tdfxfb_fillrect() 866 if (dx + rect->width > 4095) { in tdfxfb_fillrect() 873 tdfx_outl(par, COLORFORE, rect->color); in tdfxfb_fillrect() 875 tdfx_outl(par, COLORFORE, par->palette[rect->color]); in tdfxfb_fillrect() 879 tdfx_outl(par, DSTSIZE, rect->width | (rect->height << 16)); in tdfxfb_fillrect()
|
D | tgafb.c | 920 tgafb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) argument 929 dx = rect->dx; 930 dy = rect->dy; 931 width = rect->width; 932 height = rect->height; 953 if (rect->rop != ROP_COPY) { 954 cfb_fillrect(info, rect); 959 color = rect->color;
|
D | sstfb.c | 797 static void sstfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) 809 sst_write(BLTCOLOR, rect->color); 810 sst_write(BLTROP, rect->rop == ROP_COPY ? BLTROP_COPY : BLTROP_XOR); 812 sst_write(BLTDSTXY, rect->dx | (rect->dy << 16)); 813 sst_write(BLTSIZE, rect->width | (rect->height << 16));
|
D | cyber2000fb.c | 160 cyber2000fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in cyber2000fb_fillrect() argument 166 cfb_fillrect(info, rect); in cyber2000fb_fillrect() 171 cyber2000fb_writew(rect->width - 1, CO_REG_PIXWIDTH, cfb); in cyber2000fb_fillrect() 172 cyber2000fb_writew(rect->height - 1, CO_REG_PIXHEIGHT, cfb); in cyber2000fb_fillrect() 174 col = rect->color; in cyber2000fb_fillrect() 179 dst = rect->dx + rect->dy * cfb->fb.var.xres_virtual; in cyber2000fb_fillrect()
|
D | amifb.c | 3167 const struct fb_fillrect *rect) in amifb_fillrect() argument 3174 if (!rect->width || !rect->height) in amifb_fillrect() 3181 x2 = rect->dx + rect->width; in amifb_fillrect() 3182 y2 = rect->dy + rect->height; in amifb_fillrect() 3185 width = x2 - rect->dx; in amifb_fillrect() 3186 height = y2 - rect->dy; in amifb_fillrect() 3191 dst_idx += rect->dy * par->next_line * 8 + rect->dx; in amifb_fillrect() 3193 switch (rect->rop) { in amifb_fillrect() 3197 rect->color); in amifb_fillrect() 3202 dst, dst_idx, width, rect->color); in amifb_fillrect()
|
D | imsttfb.c | 991 imsttfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in imsttfb_fillrect() argument 996 bgc = rect->color; in imsttfb_fillrect() 1003 dy = rect->dy * line_pitch; in imsttfb_fillrect() 1004 dx = rect->dx * Bpp; in imsttfb_fillrect() 1005 height = rect->height; in imsttfb_fillrect() 1007 width = rect->width * Bpp; in imsttfb_fillrect() 1010 if (rect->rop == ROP_COPY) { in imsttfb_fillrect()
|
D | w100fb.c | 352 const struct fb_fillrect *rect) in w100fb_fillrect() argument 359 cfb_fillrect(info, rect); in w100fb_fillrect() 368 writel(rect->color, remapped_regs + mmDP_BRUSH_FRGD_CLR); in w100fb_fillrect() 371 writel((rect->dy << 16) | (rect->dx & 0xffff), remapped_regs + mmDST_Y_X); in w100fb_fillrect() 372 writel((rect->width << 16) | (rect->height & 0xffff), in w100fb_fillrect()
|
D | smscufx.c | 944 const struct fb_fillrect *rect) in ufx_ops_fillrect() argument 948 sys_fillrect(info, rect); in ufx_ops_fillrect() 950 ufx_handle_damage(dev, rect->dx, rect->dy, rect->width, in ufx_ops_fillrect() 951 rect->height); in ufx_ops_fillrect()
|
D | udlfb.c | 689 const struct fb_fillrect *rect) in dlfb_ops_fillrect() argument 693 sys_fillrect(info, rect); in dlfb_ops_fillrect() 695 dlfb_handle_damage(dev, rect->dx, rect->dy, rect->width, in dlfb_ops_fillrect() 696 rect->height, info->screen_base); in dlfb_ops_fillrect()
|
D | ssd1307fb.c | 248 static void ssd1307fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in ssd1307fb_fillrect() argument 251 sys_fillrect(info, rect); in ssd1307fb_fillrect()
|
D | metronomefb.c | 487 const struct fb_fillrect *rect) in metronomefb_fillrect() argument 491 sys_fillrect(info, rect); in metronomefb_fillrect()
|
D | broadsheetfb.c | 976 const struct fb_fillrect *rect) in broadsheetfb_fillrect() argument 980 sys_fillrect(info, rect); in broadsheetfb_fillrect()
|
D | auo_k190x.c | 412 const struct fb_fillrect *rect) in auok190xfb_fillrect() argument 416 sys_fillrect(info, rect); in auok190xfb_fillrect()
|
D | sh_mobile_lcdcfb.c | 1800 const struct fb_fillrect *rect) in sh_mobile_lcdc_fillrect() argument 1802 sys_fillrect(info, rect); in sh_mobile_lcdc_fillrect() 2081 struct fb_fillrect rect = { in sh_mobile_lcdc_blank() local 2085 sh_mobile_lcdc_fillrect(info, &rect); in sh_mobile_lcdc_blank()
|
/linux-4.4.14/drivers/media/platform/ |
D | sh_vou.c | 84 struct v4l2_rect rect; member 440 struct v4l2_rect *rect = &vou_dev->rect; in sh_vou_configure_geometry() local 453 frame_out_height = rect->height / 2; in sh_vou_configure_geometry() 454 frame_out_top = rect->top / 2; in sh_vou_configure_geometry() 478 dsr_h = rect->width + rect->left; in sh_vou_configure_geometry() 484 rect->left, frame_out_top, dsr_h, dsr_v); in sh_vou_configure_geometry() 489 sh_vou_reg_ab_write(vou_dev, VOUDPR, (rect->left << 16) | frame_out_top); in sh_vou_configure_geometry() 728 geo.output = vou_dev->rect; in sh_vou_set_fmt_vid_out() 763 vou_dev->rect = geo.output; in sh_vou_set_fmt_vid_out() 849 vou_dev->rect.top = vou_dev->rect.left = 0; in sh_vou_s_std() [all …]
|
/linux-4.4.14/drivers/video/fbdev/matrox/ |
D | matroxfb_accel.c | 105 static void matroxfb_fillrect(struct fb_info* info, const struct fb_fillrect* rect); 107 static void matroxfb_cfb4_fillrect(struct fb_info* info, const struct fb_fillrect* rect); 326 static void matroxfb_fillrect(struct fb_info* info, const struct fb_fillrect* rect) { in matroxfb_fillrect() argument 329 switch (rect->rop) { in matroxfb_fillrect() 331 …_clear(minfo, ((u_int32_t *)info->pseudo_palette)[rect->color], rect->dy, rect->dx, rect->height, … in matroxfb_fillrect() 394 static void matroxfb_cfb4_fillrect(struct fb_info* info, const struct fb_fillrect* rect) { in matroxfb_cfb4_fillrect() argument 397 switch (rect->rop) { in matroxfb_cfb4_fillrect() 399 …_clear(minfo, ((u_int32_t *)info->pseudo_palette)[rect->color], rect->dy, rect->dx, rect->height, … in matroxfb_cfb4_fillrect()
|
/linux-4.4.14/tools/perf/ui/gtk/ |
D | browser.c | 19 GdkRectangle rect; in perf_gtk__resize_window() local 29 gdk_screen_get_monitor_geometry(screen, monitor, &rect); in perf_gtk__resize_window() 31 width = rect.width * 3 / 4; in perf_gtk__resize_window() 32 height = rect.height * 3 / 4; in perf_gtk__resize_window()
|
/linux-4.4.14/drivers/video/fbdev/nvidia/ |
D | nv_accel.c | 316 void nvidiafb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in nvidiafb_fillrect() argument 325 cfb_fillrect(info, rect); in nvidiafb_fillrect() 330 color = rect->color; in nvidiafb_fillrect() 332 color = ((u32 *) info->pseudo_palette)[rect->color]; in nvidiafb_fillrect() 334 if (rect->rop != ROP_COPY) in nvidiafb_fillrect() 335 NVSetRopSolid(info, rect->rop, ~0); in nvidiafb_fillrect() 341 NVDmaNext(par, (rect->dx << 16) | rect->dy); in nvidiafb_fillrect() 342 NVDmaNext(par, (rect->width << 16) | rect->height); in nvidiafb_fillrect() 346 if (rect->rop != ROP_COPY) in nvidiafb_fillrect()
|
D | nv_proto.h | 53 const struct fb_fillrect *rect);
|
/linux-4.4.14/drivers/video/fbdev/core/ |
D | sysfillrect.c | 243 void sys_fillrect(struct fb_info *p, const struct fb_fillrect *rect) in sys_fillrect() argument 246 unsigned long width = rect->width, height = rect->height; in sys_fillrect() 257 fg = ((u32 *) (p->pseudo_palette))[rect->color]; in sys_fillrect() 259 fg = rect->color; in sys_fillrect() 265 dst_idx += rect->dy*p->fix.line_length*8+rect->dx*bpp; in sys_fillrect() 275 switch (rect->rop) { in sys_fillrect() 305 switch (rect->rop) { in sys_fillrect()
|
D | cfbfillrect.c | 278 void cfb_fillrect(struct fb_info *p, const struct fb_fillrect *rect) in cfb_fillrect() argument 281 unsigned long width = rect->width, height = rect->height; in cfb_fillrect() 292 fg = ((u32 *) (p->pseudo_palette))[rect->color]; in cfb_fillrect() 294 fg = rect->color; in cfb_fillrect() 300 dst_idx += rect->dy*p->fix.line_length*8+rect->dx*bpp; in cfb_fillrect() 312 switch (rect->rop) { in cfb_fillrect() 342 switch (rect->rop) { in cfb_fillrect()
|
D | svgalib.c | 256 void svga_tilefill(struct fb_info *info, struct fb_tilerect *rect) in svga_tilefill() argument 261 int attr = (0x0F & rect->bg) << 4 | (0x0F & rect->fg); in svga_tilefill() 263 fb += rect->sx * colstride + rect->sy * rowstride; in svga_tilefill() 265 for (dy = 0; dy < rect->height; dy++) { in svga_tilefill() 267 for (dx = 0; dx < rect->width; dx++) { in svga_tilefill() 268 fb_writeb(rect->index, fb2); in svga_tilefill()
|
/linux-4.4.14/drivers/media/platform/exynos4-is/ |
D | fimc-lite.c | 589 struct v4l2_rect *rect; in fimc_lite_subdev_try_fmt() local 598 rect = v4l2_subdev_get_try_crop(&fimc->subdev, cfg, in fimc_lite_subdev_try_fmt() 603 rect = &sink->rect; in fimc_lite_subdev_try_fmt() 607 mf->width = rect->width; in fimc_lite_subdev_try_fmt() 608 mf->height = rect->height; in fimc_lite_subdev_try_fmt() 639 struct v4l2_rect *crop_rect = &fimc->inp_frame.rect; in fimc_lite_try_compose() 925 sel->r = f->rect; in fimc_lite_g_selection() 937 struct v4l2_rect rect = sel->r; in fimc_lite_s_selection() local 944 fimc_lite_try_compose(fimc, &rect); in fimc_lite_s_selection() 947 !enclosed_rectangle(&rect, &sel->r)) in fimc_lite_s_selection() [all …]
|
D | fimc-lite-reg.c | 168 cfg |= (f->rect.left << 16) | f->rect.top; in flite_hw_set_window_offset() 172 hoff2 = f->f_width - f->rect.width - f->rect.left; in flite_hw_set_window_offset() 173 voff2 = f->f_height - f->rect.height - f->rect.top; in flite_hw_set_window_offset() 263 cfg |= (f->rect.top << 16) | f->rect.left; in flite_hw_set_dma_window()
|
D | fimc-isp.h | 66 struct v4l2_rect rect; member
|
D | fimc-lite.h | 91 struct v4l2_rect rect; member
|
D | fimc-capture.c | 1325 struct v4l2_rect rect = s->r; in fimc_cap_s_selection() local 1339 fimc_capture_try_selection(ctx, &rect, s->target); in fimc_cap_s_selection() 1342 !enclosed_rectangle(&rect, &s->r)) in fimc_cap_s_selection() 1346 !enclosed_rectangle(&s->r, &rect)) in fimc_cap_s_selection() 1349 s->r = rect; in fimc_cap_s_selection()
|
/linux-4.4.14/drivers/video/fbdev/aty/ |
D | mach64_accel.c | 243 void atyfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in atyfb_fillrect() argument 246 u32 color, dx = rect->dx, width = rect->width, rotation = 0; in atyfb_fillrect() 250 if (!rect->width || !rect->height) in atyfb_fillrect() 253 cfb_fillrect(info, rect); in atyfb_fillrect() 259 color = ((u32 *)(info->pseudo_palette))[rect->color]; in atyfb_fillrect() 261 color = rect->color; in atyfb_fillrect() 279 draw_rect(dx, rect->dy, width, rect->height, par); in atyfb_fillrect()
|
D | atyfb.h | 364 void atyfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
|
/linux-4.4.14/drivers/video/fbdev/i810/ |
D | i810_accel.c | 298 void i810fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in i810fb_fillrect() argument 305 cfb_fillrect(info, rect); in i810fb_fillrect() 310 color = rect->color; in i810fb_fillrect() 312 color = ((u32 *) (info->pseudo_palette))[rect->color]; in i810fb_fillrect() 314 rop = i810fb_rop[rect->rop]; in i810fb_fillrect() 316 dx = rect->dx * par->depth; in i810fb_fillrect() 317 width = rect->width * par->depth; in i810fb_fillrect() 318 dy = rect->dy; in i810fb_fillrect() 319 height = rect->height; in i810fb_fillrect()
|
D | i810_main.h | 28 const struct fb_fillrect *rect);
|
/linux-4.4.14/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | SchedGui.py | 120 rect = y / (RootFrame.RECT_HEIGHT + RootFrame.RECT_SPACE) 123 if rect < 0 or rect > self.nr_rects - 1 or height > RootFrame.RECT_HEIGHT: 126 return rect 136 rect = self.rect_from_ypixel(y) 137 if rect == -1: 142 self.sched_tracer.mouse_down(rect, t)
|
/linux-4.4.14/drivers/media/platform/ti-vpe/ |
D | vpdma.c | 635 struct v4l2_rect rect = *c_rect; in vpdma_add_out_dtd() local 644 rect.height >>= 1; in vpdma_add_out_dtd() 645 rect.top >>= 1; in vpdma_add_out_dtd() 651 dma_addr += rect.top * stride + (rect.left * depth >> 3); in vpdma_add_out_dtd() 707 struct v4l2_rect rect = *c_rect; in vpdma_add_in_dtd() local 715 rect.height >>= 1; in vpdma_add_in_dtd() 716 rect.top >>= 1; in vpdma_add_in_dtd() 722 dma_addr += rect.top * stride + (rect.left * depth >> 3); in vpdma_add_in_dtd() 735 dtd->xfer_length_height = dtd_xfer_length_height(rect.width, in vpdma_add_in_dtd() 736 rect.height); in vpdma_add_in_dtd()
|
/linux-4.4.14/drivers/gpu/drm/mgag200/ |
D | mgag200_fb.c | 101 const struct fb_fillrect *rect) in mga_fillrect() argument 104 drm_fb_helper_sys_fillrect(info, rect); in mga_fillrect() 105 mga_dirty_update(mfbdev, rect->dx, rect->dy, rect->width, in mga_fillrect() 106 rect->height); in mga_fillrect()
|
/linux-4.4.14/drivers/gpu/drm/cirrus/ |
D | cirrus_fbdev.c | 98 const struct fb_fillrect *rect) in cirrus_fillrect() argument 101 drm_fb_helper_sys_fillrect(info, rect); in cirrus_fillrect() 102 cirrus_dirty_update(afbdev, rect->dx, rect->dy, rect->width, in cirrus_fillrect() 103 rect->height); in cirrus_fillrect()
|
/linux-4.4.14/drivers/gpu/drm/ast/ |
D | ast_fb.c | 125 const struct fb_fillrect *rect) in ast_fillrect() argument 128 drm_fb_helper_sys_fillrect(info, rect); in ast_fillrect() 129 ast_dirty_update(afbdev, rect->dx, rect->dy, rect->width, in ast_fillrect() 130 rect->height); in ast_fillrect()
|
/linux-4.4.14/include/drm/ |
D | drm_fb_helper.h | 182 const struct fb_fillrect *rect); 189 const struct fb_fillrect *rect); 309 const struct fb_fillrect *rect) in drm_fb_helper_sys_fillrect() argument 324 const struct fb_fillrect *rect) in drm_fb_helper_cfb_fillrect() argument
|
/linux-4.4.14/drivers/gpu/drm/virtio/ |
D | virtgpu_fb.c | 173 const struct fb_fillrect *rect) in virtio_gpu_3d_fillrect() argument 176 drm_fb_helper_sys_fillrect(info, rect); in virtio_gpu_3d_fillrect() 177 virtio_gpu_dirty_update(&vfbdev->vgfb, true, rect->dx, rect->dy, in virtio_gpu_3d_fillrect() 178 rect->width, rect->height); in virtio_gpu_3d_fillrect()
|
/linux-4.4.14/drivers/media/platform/s3c-camif/ |
D | camif-capture.c | 60 f->dma_offset.initial = f->rect.top * f->f_width + f->rect.left; in camif_prepare_dma_offset() 61 f->dma_offset.line = f->f_width - (f->rect.left + f->rect.width); in camif_prepare_dma_offset() 251 pix_size = frame->rect.width * frame->rect.height; in camif_prepare_addr() 811 out_frame->rect.width = pix->width; in s3c_camif_vidioc_s_fmt() 812 out_frame->rect.height = pix->height; in s3c_camif_vidioc_s_fmt() 813 out_frame->rect.left = 0; in s3c_camif_vidioc_s_fmt() 814 out_frame->rect.top = 0; in s3c_camif_vidioc_s_fmt() 1016 sel->r = vp->out_frame.rect; in s3c_camif_g_selection() 1028 *r = vp->out_frame.rect; in __camif_try_compose() 1040 struct v4l2_rect rect = sel->r; in s3c_camif_s_selection() local [all …]
|
D | camif-core.h | 124 struct v4l2_rect rect; member
|
D | camif-core.c | 157 int target_x = vp->out_frame.rect.width; in s3c_camif_get_scaler_config() 158 int target_y = vp->out_frame.rect.height; in s3c_camif_get_scaler_config()
|
D | camif-regs.c | 279 camif_get_dma_burst(frame->rect.width, fmt->ybpp, &ymburst, &yrburst); in camif_hw_set_output_dma()
|
/linux-4.4.14/drivers/media/platform/davinci/ |
D | vpbe_display.c | 662 struct v4l2_rect rect = crop->c; in vpbe_display_s_crop() local 673 if (rect.top < 0) in vpbe_display_s_crop() 674 rect.top = 0; in vpbe_display_s_crop() 675 if (rect.left < 0) in vpbe_display_s_crop() 676 rect.left = 0; in vpbe_display_s_crop() 678 vpbe_disp_check_window_params(disp_dev, &rect); in vpbe_display_s_crop() 684 rect.width, in vpbe_display_s_crop() 685 rect.height); in vpbe_display_s_crop() 686 vpbe_disp_adj_position(disp_dev, layer, rect.top, in vpbe_display_s_crop() 687 rect.left); in vpbe_display_s_crop() [all …]
|
D | vpfe_capture.c | 1641 struct v4l2_rect rect = crop->c; in vpfe_s_crop() local 1657 if (rect.top < 0 || rect.left < 0) { in vpfe_s_crop() 1665 rect.width = ((rect.width + 15) & ~0xf); in vpfe_s_crop() 1668 if ((rect.left + rect.width > in vpfe_s_crop() 1670 (rect.top + rect.height > in vpfe_s_crop() 1676 ccdc_dev->hw_ops.set_image_window(&rect); in vpfe_s_crop() 1677 vpfe_dev->fmt.fmt.pix.width = rect.width; in vpfe_s_crop() 1678 vpfe_dev->fmt.fmt.pix.height = rect.height; in vpfe_s_crop() 1684 vpfe_dev->crop = rect; in vpfe_s_crop()
|
/linux-4.4.14/drivers/media/pci/bt8xx/ |
D | bttv-driver.c | 704 __s32 top = btv->crop[!!fh->do_crop].rect.top; in check_alloc_btres_lock() 1129 (max_t(unsigned int, 48, c->rect.width >> 4) + 3) & ~3; in bttv_crop_calc_limits() 1131 max_t(unsigned int, 32, c->rect.height >> 4); in bttv_crop_calc_limits() 1134 c->max_scaled_width = c->rect.width & ~3; in bttv_crop_calc_limits() 1135 c->max_scaled_height = c->rect.height; in bttv_crop_calc_limits() 1141 c->rect = bttv_tvnorms[norm].cropcap.defrect; in bttv_crop_reset() 1592 c.rect = bttv_tvnorms[norm].cropcap.defrect; in bttv_prepare_buffer() 1627 buf->crop.top != c.rect.top || in bttv_prepare_buffer() 1628 buf->crop.left != c.rect.left || in bttv_prepare_buffer() 1629 buf->crop.width != c.rect.width || in bttv_prepare_buffer() [all …]
|
D | bttvp.h | 205 struct v4l2_rect rect; member
|
/linux-4.4.14/arch/tile/kernel/ |
D | hardwall.c | 323 struct hardwall_info *rect; in do_hardwall_trap() local 350 list_for_each_entry(rect, &hwt->list, list) { in do_hardwall_trap() 351 if (cpumask_test_cpu(cpu, &rect->cpumask)) in do_hardwall_trap() 360 BUG_ON(&rect->list == &hwt->list); in do_hardwall_trap() 367 if (rect->teardown_in_progress) { in do_hardwall_trap() 382 rect->teardown_in_progress = 1; in do_hardwall_trap() 390 list_for_each_entry(p, &rect->task_head, in do_hardwall_trap() 392 BUG_ON(p->thread.hardwall[hwt->index].info != rect); in do_hardwall_trap()
|
/linux-4.4.14/drivers/gpu/drm/udl/ |
D | udl_fb.c | 287 static void udl_fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in udl_fb_fillrect() argument 291 drm_fb_helper_sys_fillrect(info, rect); in udl_fb_fillrect() 293 udl_handle_damage(&ufbdev->ufb, rect->dx, rect->dy, rect->width, in udl_fb_fillrect() 294 rect->height); in udl_fb_fillrect()
|
/linux-4.4.14/Documentation/DocBook/ |
D | gpu.xml.db | 431 API-struct-drm-rect 432 API-drm-rect-adjust-size 433 API-drm-rect-translate 434 API-drm-rect-downscale 435 API-drm-rect-width 436 API-drm-rect-height 437 API-drm-rect-visible 438 API-drm-rect-equals 439 API-drm-rect-intersect 440 API-drm-rect-clip-scaled [all …]
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fb.c | 349 static void vmw_fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in vmw_fb_fillrect() argument 351 cfb_fillrect(info, rect); in vmw_fb_fillrect() 352 vmw_fb_dirty_mark(info->par, rect->dx, rect->dy, in vmw_fb_fillrect() 353 rect->width, rect->height); in vmw_fb_fillrect()
|
D | vmwgfx_stdu.c | 303 update->body.rect.x = left; in vmw_stdu_populate_update() 304 update->body.rect.y = top; in vmw_stdu_populate_update() 305 update->body.rect.w = right - left; in vmw_stdu_populate_update() 306 update->body.rect.h = bottom - top; in vmw_stdu_populate_update()
|
/linux-4.4.14/drivers/media/platform/coda/ |
D | coda-bit.c | 1635 q_data_dst->rect.left = (left_right >> 10) & 0x3ff; in __coda_start_decoding() 1636 q_data_dst->rect.top = (top_bottom >> 10) & 0x3ff; in __coda_start_decoding() 1637 q_data_dst->rect.width = width - q_data_dst->rect.left - in __coda_start_decoding() 1639 q_data_dst->rect.height = height - q_data_dst->rect.top - in __coda_start_decoding() 1908 struct v4l2_rect *rect = &q_data_dst->rect; in coda_finish_decode() local 1910 rect->left = left_right >> 16 & 0xffff; in coda_finish_decode() 1911 rect->top = top_bottom >> 16 & 0xffff; in coda_finish_decode() 1912 rect->width = width - rect->left - in coda_finish_decode() 1914 rect->height = height - rect->top - in coda_finish_decode()
|
D | coda-common.c | 587 q_data->rect.left = 0; in coda_s_fmt() 588 q_data->rect.top = 0; in coda_s_fmt() 589 q_data->rect.width = f->fmt.pix.width; in coda_s_fmt() 590 q_data->rect.height = f->fmt.pix.height; in coda_s_fmt() 728 rsel = &q_data->rect; in coda_g_selection() 1119 ctx->q_data[V4L2_M2M_SRC].rect.width = max_w; in set_default_params() 1120 ctx->q_data[V4L2_M2M_SRC].rect.height = max_h; in set_default_params() 1121 ctx->q_data[V4L2_M2M_DST].rect.width = max_w; in set_default_params() 1122 ctx->q_data[V4L2_M2M_DST].rect.height = max_h; in set_default_params()
|
D | coda.h | 153 struct v4l2_rect rect; member
|
/linux-4.4.14/drivers/video/fbdev/intelfb/ |
D | intelfbdrv.c | 148 const struct fb_fillrect *rect); 1464 const struct fb_fillrect *rect) in intelfb_fillrect() argument 1474 cfb_fillrect(info, rect); in intelfb_fillrect() 1478 if (rect->rop == ROP_COPY) in intelfb_fillrect() 1484 color = dinfo->pseudo_palette[rect->color]; in intelfb_fillrect() 1486 color = rect->color; in intelfb_fillrect() 1488 intelfbhw_do_fillrect(dinfo, rect->dx, rect->dy, in intelfb_fillrect() 1489 rect->width, rect->height, color, in intelfb_fillrect()
|
/linux-4.4.14/drivers/video/fbdev/via/ |
D | viafbdev.c | 679 const struct fb_fillrect *rect) in viafb_fillrect() argument 687 cfb_fillrect(info, rect); in viafb_fillrect() 691 if (!rect->width || !rect->height) in viafb_fillrect() 695 fg_color = ((u32 *)info->pseudo_palette)[rect->color]; in viafb_fillrect() 697 fg_color = rect->color; in viafb_fillrect() 699 if (rect->rop == ROP_XOR) in viafb_fillrect() 706 rect->width, rect->height, info->var.bits_per_pixel, in viafb_fillrect() 707 viapar->vram_addr, info->fix.line_length, rect->dx, rect->dy, in viafb_fillrect() 709 cfb_fillrect(info, rect); in viafb_fillrect()
|
/linux-4.4.14/include/uapi/linux/ |
D | v4l2-subdev.h | 63 struct v4l2_rect rect; member
|
/linux-4.4.14/include/linux/ |
D | fb.h | 272 void (*fb_fillrect) (struct fb_info *info, const struct fb_fillrect *rect); 376 void (*fb_tilefill)(struct fb_info *info, struct fb_tilerect *rect); 602 extern void cfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect); 608 extern void sys_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
|
D | svga.h | 110 void svga_tilefill(struct fb_info *info, struct fb_tilerect *rect);
|
/linux-4.4.14/drivers/staging/fbtft/ |
D | fbtft-core.c | 475 const struct fb_fillrect *rect) in fbtft_fb_fillrect() argument 481 __func__, rect->dx, rect->dy, rect->width, rect->height); in fbtft_fb_fillrect() 482 sys_fillrect(info, rect); in fbtft_fb_fillrect() 484 par->fbtftops.mkdirty(info, rect->dy, rect->height); in fbtft_fb_fillrect()
|
/linux-4.4.14/drivers/video/fbdev/riva/ |
D | fbdev.c | 1390 static void rivafb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in rivafb_fillrect() argument 1396 cfb_fillrect(info, rect); in rivafb_fillrect() 1401 color = rect->color; in rivafb_fillrect() 1404 color = ((u32 *)info->pseudo_palette)[rect->color]; in rivafb_fillrect() 1406 color = par->palette[rect->color]; in rivafb_fillrect() 1409 switch (rect->rop) { in rivafb_fillrect() 1426 (rect->dx << 16) | rect->dy); in rivafb_fillrect() 1429 (rect->width << 16) | rect->height); in rivafb_fillrect()
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | v4l2-subdev.c | 293 crop->rect = sel.r; in subdev_do_ioctl() 310 sel.r = crop->rect; in subdev_do_ioctl() 315 crop->rect = sel.r; in subdev_do_ioctl()
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/device_include/ |
D | svga3d_cmd.h | 923 SVGA3dRect rect; member 932 SVGA3dRect rect; member 2044 SVGA3dRect rect; member
|
/linux-4.4.14/drivers/staging/media/davinci_vpfe/ |
D | dm365_isif.c | 1578 struct v4l2_rect *rect; in isif_pad_set_selection() local 1580 rect = v4l2_subdev_get_try_crop(sd, cfg, ISIF_PAD_SINK); in isif_pad_set_selection() 1581 memcpy(rect, &vpfe_isif->crop, sizeof(*rect)); in isif_pad_set_selection() 1606 struct v4l2_rect *rect; in isif_pad_get_selection() local 1608 rect = v4l2_subdev_get_try_crop(sd, cfg, ISIF_PAD_SINK); in isif_pad_get_selection() 1609 memcpy(&sel->r, rect, sizeof(*rect)); in isif_pad_get_selection()
|
/linux-4.4.14/drivers/hid/ |
D | hid-picolcd_fb.c | 298 const struct fb_fillrect *rect) in picolcd_fb_fillrect() argument 302 sys_fillrect(info, rect); in picolcd_fb_fillrect()
|
/linux-4.4.14/include/video/ |
D | imx-ipu-v3.h | 177 struct v4l2_rect rect; member
|
/linux-4.4.14/drivers/media/platform/vsp1/ |
D | vsp1_video.c | 339 struct v4l2_rect *rect = in vsp1_pipeline_validate_branch() local 344 input->location.left = rect->left; in vsp1_pipeline_validate_branch() 345 input->location.top = rect->top; in vsp1_pipeline_validate_branch()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_fb_helper.c | 881 const struct fb_fillrect *rect) in drm_fb_helper_sys_fillrect() argument 883 sys_fillrect(info, rect); in drm_fb_helper_sys_fillrect() 923 const struct fb_fillrect *rect) in drm_fb_helper_cfb_fillrect() argument 925 cfb_fillrect(info, rect); in drm_fb_helper_cfb_fillrect()
|
/linux-4.4.14/drivers/media/platform/s5p-jpeg/ |
D | jpeg-core.c | 1818 struct v4l2_rect *rect = &s->r; in s5p_jpeg_s_selection() local 1828 ret = exynos3250_jpeg_try_downscale(ctx, rect); in s5p_jpeg_s_selection() 1833 ret = exynos3250_jpeg_try_crop(ctx, rect); in s5p_jpeg_s_selection()
|
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-main.c | 1582 const struct fb_fillrect rect = { in omapfb_clear_fb() local 1591 cfb_fillrect(fbi, &rect); in omapfb_clear_fb()
|