Searched refs:clips_ptr (Results 1 - 4 of 4) sorted by relevance
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ioctl.c | 229 struct drm_vmw_rect __user *clips_ptr; local 238 clips_ptr = (struct drm_vmw_rect *)(unsigned long)arg->clips_ptr; 243 if (clips_ptr == NULL) { 244 DRM_ERROR("Variable clips_ptr must be specified.\n"); 256 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); 313 struct drm_vmw_rect __user *clips_ptr; local 321 clips_ptr = (struct drm_vmw_rect *)(unsigned long)arg->clips_ptr; 326 if (clips_ptr [all...] |
H A D | vmwgfx_kms.c | 454 struct drm_clip_rect *clips_ptr; local 502 for (i = 1, clips_ptr = clips + inc; 503 i < num_clips; i++, clips_ptr += inc) { 504 left = min_t(int, left, (int)clips_ptr->x1); 505 right = max_t(int, right, (int)clips_ptr->x2); 506 top = min_t(int, top, (int)clips_ptr->y1); 507 bottom = max_t(int, bottom, (int)clips_ptr->y2); 519 clips_ptr = clips; 520 for (i = 0; i < num_clips; i++, clips_ptr += inc) { 521 tmp[i].x1 = clips_ptr 862 struct drm_clip_rect *clips_ptr; local [all...] |
/drivers/gpu/drm/qxl/ |
H A D | qxl_draw.c | 279 struct drm_clip_rect *clips_ptr; local 305 for (i = 1, clips_ptr = clips + inc; 306 i < num_clips; i++, clips_ptr += inc) { 307 left = min_t(int, left, (int)clips_ptr->x1); 308 right = max_t(int, right, (int)clips_ptr->x2); 309 top = min_t(int, top, (int)clips_ptr->y1); 310 bottom = max_t(int, bottom, (int)clips_ptr->y2); 377 clips_ptr = clips; 378 for (i = 0; i < num_clips; i++, clips_ptr += inc) { 379 rects[i].left = clips_ptr [all...] |
/drivers/gpu/drm/ |
H A D | drm_crtc.c | 3321 struct drm_clip_rect __user *clips_ptr; local 3337 clips_ptr = (struct drm_clip_rect __user *)(unsigned long)r->clips_ptr; 3339 if (!num_clips != !clips_ptr) { 3352 if (num_clips && clips_ptr) { 3363 ret = copy_from_user(clips, clips_ptr,
|
Completed in 70 milliseconds