/linux-4.1.27/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 | 519 struct v4l2_rect rect; member 1345 struct v4l2_rect rect; in rcar_vin_get_formats() local 1354 ret = soc_camera_client_g_rect(sd, &rect); in rcar_vin_get_formats() 1357 rect.left = 0; in rcar_vin_get_formats() 1358 rect.top = 0; in rcar_vin_get_formats() 1359 rect.width = mf.width; in rcar_vin_get_formats() 1360 rect.height = mf.height; in rcar_vin_get_formats() 1400 cam->rect = rect; in rcar_vin_get_formats() 1401 cam->subrect = rect; in rcar_vin_get_formats() 1465 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 1074 struct v4l2_rect rect; in sh_mobile_ceu_get_formats() local 1086 ret = soc_camera_client_g_rect(sd, &rect); in sh_mobile_ceu_get_formats() 1128 cam->rect = rect; in sh_mobile_ceu_get_formats() 1129 cam->subrect = rect; in sh_mobile_ceu_get_formats() 1209 const struct v4l2_rect *rect = &a_writable.c; in sh_mobile_ceu_set_crop() local 1224 dev_geo(dev, "S_CROP(%ux%u@%u:%u)\n", rect->width, rect->height, in sh_mobile_ceu_set_crop() 1225 rect->left, rect->top); in sh_mobile_ceu_set_crop() 1236 &cam->rect, &cam->subrect); in sh_mobile_ceu_set_crop() 1259 interm_width = scale_down(rect->width, scale_cam_h); in sh_mobile_ceu_set_crop() [all …]
|
D | mx3_camera.c | 800 struct v4l2_rect *rect = &a_writable.c; in mx3_camera_set_crop() local 807 soc_camera_limit_side(&rect->left, &rect->width, 0, 2, 4096); in mx3_camera_set_crop() 808 soc_camera_limit_side(&rect->top, &rect->height, 0, 2, 4096); in mx3_camera_set_crop()
|
D | omap1_camera.c | 1218 const struct v4l2_rect *rect = &crop->c; in omap1_cam_set_crop() local 1230 rect->width, rect->height, rect->left, rect->top); in omap1_cam_set_crop()
|
D | mx2_camera.c | 913 struct v4l2_rect *rect = &a_writable.c; in mx2_camera_set_crop() local 918 soc_camera_limit_side(&rect->left, &rect->width, 0, 2, 4096); in mx2_camera_set_crop() 919 soc_camera_limit_side(&rect->top, &rect->height, 0, 2, 4096); in mx2_camera_set_crop()
|
D | pxa_camera.c | 1340 const struct v4l2_rect *rect = &a->c; in pxa_camera_set_crop() local 1364 rect->width, rect->height, rect->left, rect->top); in pxa_camera_set_crop()
|
D | soc_camera.c | 1044 const struct v4l2_rect *rect = &a->c; in soc_camera_s_crop() local 1052 rect->width, rect->height, rect->left, rect->top); in soc_camera_s_crop()
|
/linux-4.1.27/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 | 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 | 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 | 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 | 856 struct v4l2_rect rect = a->c; in ov5642_s_crop() local 859 v4l_bound_align_image(&rect.width, 48, OV5642_MAX_WIDTH, 1, in ov5642_s_crop() 860 &rect.height, 32, OV5642_MAX_HEIGHT, 1, 0); in ov5642_s_crop() 862 priv->crop_rect.width = rect.width; in ov5642_s_crop() 863 priv->crop_rect.height = rect.height; in ov5642_s_crop() 864 priv->total_width = rect.width + BLANKING_EXTRA_WIDTH; in ov5642_s_crop() 865 priv->total_height = max_t(int, rect.height + in ov5642_s_crop() 868 priv->crop_rect.width = rect.width; in ov5642_s_crop() 869 priv->crop_rect.height = rect.height; in ov5642_s_crop() 884 struct v4l2_rect *rect = &a->c; in ov5642_g_crop() local [all …]
|
D | rj54n1cb0c.c | 157 struct v4l2_rect rect; /* Sensor window */ member 544 const struct v4l2_rect *rect = &a->c; in rj54n1_s_crop() local 546 input_w = rect->width, input_h = rect->height; in rj54n1_s_crop() 569 rj54n1->rect.width = input_w; in rj54n1_s_crop() 570 rj54n1->rect.height = input_h; in rj54n1_s_crop() 580 a->c = rj54n1->rect; in rj54n1_g_crop() 1000 input_w = rj54n1->rect.width, input_h = rj54n1->rect.height; in rj54n1_s_fmt() 1111 rj54n1->rect.width = input_w; in rj54n1_s_fmt() 1112 rj54n1->rect.height = input_h; in rj54n1_s_fmt() 1350 rj54n1->rect.left = RJ54N1_COLUMN_SKIP; in rj54n1_probe() [all …]
|
D | imx074.c | 213 struct v4l2_rect *rect = &a->c; in imx074_g_crop() local 216 rect->top = 0; in imx074_g_crop() 217 rect->left = 0; in imx074_g_crop() 218 rect->width = IMX074_WIDTH; in imx074_g_crop() 219 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() 927 struct v4l2_rect rect = { in mt9t112_s_fmt() local 935 ret = mt9t112_set_params(priv, &rect, mf->code); in mt9t112_s_fmt() 1075 struct v4l2_rect rect = { in mt9t112_probe() local 1104 mt9t112_set_params(priv, &rect, MEDIA_BUS_FMT_UYVY8_2X8); in mt9t112_probe()
|
/linux-4.1.27/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.1.27/drivers/media/i2c/ |
D | tvp5150.c | 38 struct v4l2_rect rect; member 746 decoder->rect.height = TVP5150_V_MAX_525_60; in tvp5150_s_std() 748 decoder->rect.height = TVP5150_V_MAX_OTHERS; in tvp5150_s_std() 840 f->width = decoder->rect.width; in tvp5150_mbus_fmt() 841 f->height = decoder->rect.height; in tvp5150_mbus_fmt() 854 struct v4l2_rect rect = a->c; in tvp5150_s_crop() local 860 __func__, rect.left, rect.top, rect.width, rect.height); in tvp5150_s_crop() 866 rect.left = clamp(rect.left, 0, TVP5150_MAX_CROP_LEFT); in tvp5150_s_crop() 867 rect.width = clamp_t(unsigned int, rect.width, in tvp5150_s_crop() 868 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.1.27/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 | 404 const struct fb_fillrect *rect);
|
/linux-4.1.27/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.1.27/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.1.27/drivers/gpu/ipu-v3/ |
D | ipu-cpmem.c | 601 ipu_cpmem_set_resolution(ch, image->rect.width, image->rect.height); in ipu_cpmem_set_image() 609 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image() 610 u_offset = U_OFFSET(pix, image->rect.left, in ipu_cpmem_set_image() 611 image->rect.top) - offset; in ipu_cpmem_set_image() 612 v_offset = V_OFFSET(pix, image->rect.left, in ipu_cpmem_set_image() 613 image->rect.top) - offset; in ipu_cpmem_set_image() 620 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image() 621 u_offset = U2_OFFSET(pix, image->rect.left, in ipu_cpmem_set_image() 622 image->rect.top) - offset; in ipu_cpmem_set_image() 623 v_offset = V2_OFFSET(pix, image->rect.left, in ipu_cpmem_set_image() [all …]
|
/linux-4.1.27/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 | 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.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 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 | 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.1.27/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 | 250 struct qxl_rect rect; in qxl_fb_fillrect_internal() local 264 rect.left = x; in qxl_fb_fillrect_internal() 265 rect.right = x + width; in qxl_fb_fillrect_internal() 266 rect.top = y; in qxl_fb_fillrect_internal() 267 rect.bottom = y + height; in qxl_fb_fillrect_internal() 281 qxl_draw_fill_rec.rect = rect; in qxl_fb_fillrect_internal()
|
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.1.27/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 | 535 s1d13xxxfb_bitblt_solidfill(struct fb_info *info, const struct fb_fillrect *rect) in s1d13xxxfb_bitblt_solidfill() argument 548 dest = ((rect->dy * screen_stride) + (bpp * rect->dx)); in s1d13xxxfb_bitblt_solidfill() 552 rect->dx, rect->dy, screen_stride, dest, in s1d13xxxfb_bitblt_solidfill() 553 rect->width - 1, rect->height - 1); in s1d13xxxfb_bitblt_solidfill() 558 dbg_blit("(solidfill) : rop=%d\n", rect->rop); in s1d13xxxfb_bitblt_solidfill() 566 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_WIDTH0, ((rect->width) & 0x00ff) - 1); in s1d13xxxfb_bitblt_solidfill() 567 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_WIDTH1, (rect->width >> 8)); in s1d13xxxfb_bitblt_solidfill() 570 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_HEIGHT0, ((rect->height) & 0x00ff) - 1); in s1d13xxxfb_bitblt_solidfill() 571 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_HEIGHT1, (rect->height >> 8)); in s1d13xxxfb_bitblt_solidfill() 575 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 | 179 static void vt8623fb_iplan_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in vt8623fb_iplan_fillrect() argument 181 u32 fg = expand_color(rect->color); in vt8623fb_iplan_fillrect() 186 dst1 = info->screen_base + (rect->dy * info->fix.line_length) in vt8623fb_iplan_fillrect() 187 + ((rect->dx / 8) * 4); in vt8623fb_iplan_fillrect() 189 for (y = 0; y < rect->height; y++) { in vt8623fb_iplan_fillrect() 191 for (x = 0; x < rect->width; x += 8) { in vt8623fb_iplan_fillrect() 246 static void vt8623fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in vt8623fb_fillrect() argument 249 && ((rect->width % 8) == 0) && ((rect->dx % 8) == 0) in vt8623fb_fillrect() 251 vt8623fb_iplan_fillrect(info, rect); in vt8623fb_fillrect() 253 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 | 216 static void arkfb_iplan_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in arkfb_iplan_fillrect() argument 218 u32 fg = expand_color(rect->color); in arkfb_iplan_fillrect() 223 dst1 = info->screen_base + (rect->dy * info->fix.line_length) in arkfb_iplan_fillrect() 224 + ((rect->dx / 8) * 4); in arkfb_iplan_fillrect() 226 for (y = 0; y < rect->height; y++) { in arkfb_iplan_fillrect() 228 for (x = 0; x < rect->width; x += 8) { in arkfb_iplan_fillrect() 285 static void arkfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in arkfb_fillrect() argument 288 && ((rect->width % 8) == 0) && ((rect->dx % 8) == 0) in arkfb_fillrect() 290 arkfb_iplan_fillrect(info, rect); in arkfb_fillrect() 292 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 | 387 static void s3fb_iplan_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in s3fb_iplan_fillrect() argument 389 u32 fg = expand_color(rect->color); in s3fb_iplan_fillrect() 394 dst1 = info->screen_base + (rect->dy * info->fix.line_length) in s3fb_iplan_fillrect() 395 + ((rect->dx / 8) * 4); in s3fb_iplan_fillrect() 397 for (y = 0; y < rect->height; y++) { in s3fb_iplan_fillrect() 399 for (x = 0; x < rect->width; x += 8) { in s3fb_iplan_fillrect() 454 static void s3fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in s3fb_fillrect() argument 457 && ((rect->width % 8) == 0) && ((rect->dx % 8) == 0) in s3fb_fillrect() 459 s3fb_iplan_fillrect(info, rect); in s3fb_fillrect() 461 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 | 1366 neo2200_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in neo2200_fillrect() argument 1371 dst = rect->dx + rect->dy * info->var.xres_virtual; in neo2200_fillrect() 1372 rop = rect->rop ? 0x060000 : 0x0c0000; in neo2200_fillrect() 1385 writel(rect->color, &par->neo2200->fgColor); in neo2200_fillrect() 1389 writel(((u32 *) (info->pseudo_palette))[rect->color], in neo2200_fillrect() 1396 writel((rect->height << 16) | (rect->width & 0xffff), in neo2200_fillrect() 1498 neofb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in neofb_fillrect() argument 1505 neo2200_fillrect(info, rect); in neofb_fillrect() 1508 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 | 863 const struct fb_fillrect *rect) in tdfxfb_fillrect() argument 870 u32 dx = rect->dx; in tdfxfb_fillrect() 871 u32 dy = rect->dy; in tdfxfb_fillrect() 874 if (rect->rop == ROP_COPY) in tdfxfb_fillrect() 880 if (dy + rect->height > 4095) { in tdfxfb_fillrect() 885 if (dx + rect->width > 4095) { in tdfxfb_fillrect() 892 tdfx_outl(par, COLORFORE, rect->color); in tdfxfb_fillrect() 894 tdfx_outl(par, COLORFORE, par->palette[rect->color]); in tdfxfb_fillrect() 898 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 | 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 | 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 | ssd1307fb.c | 216 static void ssd1307fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in ssd1307fb_fillrect() argument 219 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 | 974 const struct fb_fillrect *rect) in broadsheetfb_fillrect() argument 978 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.1.27/drivers/media/platform/ |
D | sh_vou.c | 72 struct v4l2_rect rect; member 449 struct v4l2_rect *rect = &vou_dev->rect; in sh_vou_configure_geometry() local 462 frame_out_height = rect->height / 2; in sh_vou_configure_geometry() 463 frame_out_top = rect->top / 2; in sh_vou_configure_geometry() 487 dsr_h = rect->width + rect->left; in sh_vou_configure_geometry() 493 rect->left, frame_out_top, dsr_h, dsr_v); in sh_vou_configure_geometry() 498 sh_vou_reg_ab_write(vou_dev, VOUDPR, (rect->left << 16) | frame_out_top); in sh_vou_configure_geometry() 691 vou_dev->rect.width, vou_dev->rect.height, in sh_vou_s_fmt_vid_out() 719 geo.output = vou_dev->rect; in sh_vou_s_fmt_vid_out() 749 vou_dev->rect = geo.output; in sh_vou_s_fmt_vid_out() [all …]
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/media/platform/exynos4-is/ |
D | fimc-lite.c | 592 struct v4l2_rect *rect; in fimc_lite_subdev_try_fmt() local 601 rect = v4l2_subdev_get_try_crop(&fimc->subdev, cfg, in fimc_lite_subdev_try_fmt() 606 rect = &sink->rect; in fimc_lite_subdev_try_fmt() 610 mf->width = rect->width; in fimc_lite_subdev_try_fmt() 611 mf->height = rect->height; in fimc_lite_subdev_try_fmt() 642 struct v4l2_rect *crop_rect = &fimc->inp_frame.rect; in fimc_lite_try_compose() 928 sel->r = f->rect; in fimc_lite_g_selection() 940 struct v4l2_rect rect = sel->r; in fimc_lite_s_selection() local 947 fimc_lite_try_compose(fimc, &rect); in fimc_lite_s_selection() 950 !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-lite.h | 91 struct v4l2_rect rect; member
|
D | fimc-isp.h | 66 struct v4l2_rect rect; member
|
D | fimc-capture.c | 1329 struct v4l2_rect rect = s->r; in fimc_cap_s_selection() local 1343 fimc_capture_try_selection(ctx, &rect, s->target); in fimc_cap_s_selection() 1346 !enclosed_rectangle(&rect, &s->r)) in fimc_cap_s_selection() 1350 !enclosed_rectangle(&s->r, &rect)) in fimc_cap_s_selection() 1353 s->r = rect; in fimc_cap_s_selection()
|
/linux-4.1.27/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 | 367 void atyfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/gpu/drm/mgag200/ |
D | mgag200_fb.c | 101 const struct fb_fillrect *rect) in mga_fillrect() argument 104 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.1.27/drivers/gpu/drm/cirrus/ |
D | cirrus_fbdev.c | 98 const struct fb_fillrect *rect) in cirrus_fillrect() argument 101 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.1.27/drivers/gpu/drm/ast/ |
D | ast_fb.c | 125 const struct fb_fillrect *rect) in ast_fillrect() argument 128 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.1.27/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() 812 out_frame->rect.width = pix->width; in s3c_camif_vidioc_s_fmt() 813 out_frame->rect.height = pix->height; in s3c_camif_vidioc_s_fmt() 814 out_frame->rect.left = 0; in s3c_camif_vidioc_s_fmt() 815 out_frame->rect.top = 0; in s3c_camif_vidioc_s_fmt() 1017 sel->r = vp->out_frame.rect; in s3c_camif_g_selection() 1029 *r = vp->out_frame.rect; in __camif_try_compose() 1041 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.1.27/drivers/media/platform/davinci/ |
D | vpbe_display.c | 661 struct v4l2_rect rect = crop->c; in vpbe_display_s_crop() local 672 if (rect.top < 0) in vpbe_display_s_crop() 673 rect.top = 0; in vpbe_display_s_crop() 674 if (rect.left < 0) in vpbe_display_s_crop() 675 rect.left = 0; in vpbe_display_s_crop() 677 vpbe_disp_check_window_params(disp_dev, &rect); in vpbe_display_s_crop() 683 rect.width, in vpbe_display_s_crop() 684 rect.height); in vpbe_display_s_crop() 685 vpbe_disp_adj_position(disp_dev, layer, rect.top, in vpbe_display_s_crop() 686 rect.left); in vpbe_display_s_crop() [all …]
|
D | vpfe_capture.c | 1638 struct v4l2_rect rect = crop->c; in vpfe_s_crop() local 1654 if (rect.top < 0 || rect.left < 0) { in vpfe_s_crop() 1662 rect.width = ((rect.width + 15) & ~0xf); in vpfe_s_crop() 1665 if ((rect.left + rect.width > in vpfe_s_crop() 1667 (rect.top + rect.height > in vpfe_s_crop() 1673 ccdc_dev->hw_ops.set_image_window(&rect); in vpfe_s_crop() 1674 vpfe_dev->fmt.fmt.pix.width = rect.width; in vpfe_s_crop() 1675 vpfe_dev->fmt.fmt.pix.height = rect.height; in vpfe_s_crop() 1681 vpfe_dev->crop = rect; in vpfe_s_crop()
|
/linux-4.1.27/drivers/video/fbdev/msm/ |
D | msm_fb.c | 356 static void msmfb_fillrect(struct fb_info *p, const struct fb_fillrect *rect) in msmfb_fillrect() argument 358 cfb_fillrect(p, rect); in msmfb_fillrect() 359 msmfb_update(p, rect->dx, rect->dy, rect->dx + rect->width, in msmfb_fillrect() 360 rect->dy + rect->height); in msmfb_fillrect()
|
D | mdp_ppp.c | 526 static void get_len(struct mdp_img *img, struct mdp_rect *rect, uint32_t bpp, in get_len() argument 529 *len0 = IMG_LEN(rect->h, img->width, rect->w, bpp); in get_len() 584 static void get_chroma_addr(struct mdp_img *img, struct mdp_rect *rect, in get_chroma_addr() argument 593 offset = (rect->x / compress_h) * compress_h; in get_chroma_addr() 594 offset += rect->y == 0 ? 0 : in get_chroma_addr() 595 ((rect->y + 1) / compress_v) * img->width; in get_chroma_addr()
|
/linux-4.1.27/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.1.27/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.1.27/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fb.c | 336 static void vmw_fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in vmw_fb_fillrect() argument 338 cfb_fillrect(info, rect); in vmw_fb_fillrect() 339 vmw_fb_dirty_mark(info->par, rect->dx, rect->dy, in vmw_fb_fillrect() 340 rect->width, rect->height); in vmw_fb_fillrect()
|
D | svga3d_reg.h | 1798 SVGA3dRect rect; member 1804 SVGA3dRect rect; member
|
/linux-4.1.27/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 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.1.27/drivers/media/platform/coda/ |
D | coda-bit.c | 1549 q_data_dst->rect.left = (left_right >> 10) & 0x3ff; in __coda_start_decoding() 1550 q_data_dst->rect.top = (top_bottom >> 10) & 0x3ff; in __coda_start_decoding() 1551 q_data_dst->rect.width = width - q_data_dst->rect.left - in __coda_start_decoding() 1553 q_data_dst->rect.height = height - q_data_dst->rect.top - in __coda_start_decoding() 1835 struct v4l2_rect *rect = &q_data_dst->rect; in coda_finish_decode() local 1837 rect->left = left_right >> 16 & 0xffff; in coda_finish_decode() 1838 rect->top = top_bottom >> 16 & 0xffff; in coda_finish_decode() 1839 rect->width = width - rect->left - in coda_finish_decode() 1841 rect->height = height - rect->top - in coda_finish_decode()
|
D | coda-common.c | 643 q_data->rect.left = 0; in coda_s_fmt() 644 q_data->rect.top = 0; in coda_s_fmt() 645 q_data->rect.width = f->fmt.pix.width; in coda_s_fmt() 646 q_data->rect.height = f->fmt.pix.height; in coda_s_fmt() 773 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 | 151 struct v4l2_rect rect; member
|
/linux-4.1.27/drivers/video/fbdev/intelfb/ |
D | intelfbdrv.c | 152 const struct fb_fillrect *rect); 1494 const struct fb_fillrect *rect) in intelfb_fillrect() argument 1504 cfb_fillrect(info, rect); in intelfb_fillrect() 1508 if (rect->rop == ROP_COPY) in intelfb_fillrect() 1514 color = dinfo->pseudo_palette[rect->color]; in intelfb_fillrect() 1516 color = rect->color; in intelfb_fillrect() 1518 intelfbhw_do_fillrect(dinfo, rect->dx, rect->dy, in intelfb_fillrect() 1519 rect->width, rect->height, color, in intelfb_fillrect()
|
/linux-4.1.27/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.1.27/include/uapi/linux/ |
D | v4l2-subdev.h | 63 struct v4l2_rect rect; member
|
/linux-4.1.27/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); 599 extern void cfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect); 605 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.1.27/drivers/video/fbdev/riva/ |
D | fbdev.c | 1395 static void rivafb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in rivafb_fillrect() argument 1401 cfb_fillrect(info, rect); in rivafb_fillrect() 1406 color = rect->color; in rivafb_fillrect() 1409 color = ((u32 *)info->pseudo_palette)[rect->color]; in rivafb_fillrect() 1411 color = par->palette[rect->color]; in rivafb_fillrect() 1414 switch (rect->rop) { in rivafb_fillrect() 1431 (rect->dx << 16) | rect->dy); in rivafb_fillrect() 1434 (rect->width << 16) | rect->height); in rivafb_fillrect()
|
/linux-4.1.27/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.1.27/drivers/staging/fbtft/ |
D | fbtft-core.c | 504 const struct fb_fillrect *rect) in fbtft_fb_fillrect() argument 510 __func__, rect->dx, rect->dy, rect->width, rect->height); in fbtft_fb_fillrect() 511 sys_fillrect(info, rect); in fbtft_fb_fillrect() 513 par->fbtftops.mkdirty(info, rect->dy, rect->height); in fbtft_fb_fillrect()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/include/video/ |
D | imx-ipu-v3.h | 176 struct v4l2_rect rect; member
|
/linux-4.1.27/drivers/media/platform/s5p-jpeg/ |
D | jpeg-core.c | 1564 struct v4l2_rect *rect = &s->r; in s5p_jpeg_s_selection() local 1574 ret = exynos3250_jpeg_try_downscale(ctx, rect); in s5p_jpeg_s_selection() 1579 ret = exynos3250_jpeg_try_crop(ctx, rect); in s5p_jpeg_s_selection()
|
/linux-4.1.27/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()
|